BsScriptGUIRenderTexture.h 716 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "BsScriptEnginePrerequisites.h"
  3. #include "BsScriptGUIElement.h"
  4. namespace BansheeEngine
  5. {
  6. class BS_SCR_BE_EXPORT ScriptGUIRenderTexture : public TScriptGUIElement < ScriptGUIRenderTexture >
  7. {
  8. public:
  9. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "GUIRenderTexture")
  10. private:
  11. static void internal_createInstance(MonoObject* instance, ScriptRenderTexture2D* texture,
  12. MonoString* style, MonoArray* guiOptions);
  13. static void internal_setTexture(ScriptGUIRenderTexture* nativeInstance, ScriptRenderTexture2D* texture);
  14. static void internal_setTint(ScriptGUIRenderTexture* nativeInstance, Color color);
  15. ScriptGUIRenderTexture(MonoObject* instance, GUIRenderTexture* texture);
  16. };
  17. }