BsScriptGUIRenderTexture.h 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsScriptEnginePrerequisites.h"
  5. #include "Wrappers/GUI/BsScriptGUIElement.h"
  6. namespace bs
  7. {
  8. /** @addtogroup ScriptInteropEngine
  9. * @{
  10. */
  11. /** Interop class between C++ & CLR for GUIRenderTexture. */
  12. class BS_SCR_BE_EXPORT ScriptGUIRenderTexture : public TScriptGUIElement < ScriptGUIRenderTexture >
  13. {
  14. public:
  15. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "GUIRenderTexture")
  16. private:
  17. ScriptGUIRenderTexture(MonoObject* instance, GUIRenderTexture* texture);
  18. /************************************************************************/
  19. /* CLR HOOKS */
  20. /************************************************************************/
  21. static void internal_createInstance(MonoObject* instance, ScriptRenderTexture* texture, bool transparent,
  22. MonoString* style, MonoArray* guiOptions);
  23. static void internal_setTexture(ScriptGUIRenderTexture* nativeInstance, ScriptRenderTexture* texture);
  24. static void internal_setTint(ScriptGUIRenderTexture* nativeInstance, Color* color);
  25. };
  26. /** @} */
  27. }