| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- $#include "Graphics.h"
- class Graphics : public Object
- {
- void SetWindowTitle(const String& windowTitle);
- void SetWindowTitle(const char* windowTitle);
-
- bool SetMode(int width, int height, bool fullscreen, bool resizable, bool vsync, bool tripleBuffer, int multiSample);
- bool SetMode(int width, int height);
-
- void SetSRGB(bool enable);
- bool ToggleFullscreen();
- void Close();
- bool TakeScreenShot(Image& destImage);
-
- bool IsInitialized() const;
- void* GetExternalWindow() const;
- const String& GetWindowTitle() const;
- int GetWidth() const;
- int GetHeight() const;
- int GetMultiSample() const;
- bool GetFullscreen() const;
- bool GetResizable() const;
- bool GetVSync() const;
- bool GetTripleBuffer() const;
- bool GetSRGB() const;
- bool IsDeviceLost() const;
- unsigned GetNumPrimitives() const;
- unsigned GetNumBatches() const;
- unsigned GetDummyColorFormat() const;
- unsigned GetShadowMapFormat() const;
- unsigned GetHiresShadowMapFormat() const;
- bool GetSM3Support() const;
- bool GetInstancingSupport() const;
- bool GetLightPrepassSupport() const;
- bool GetDeferredSupport() const;
- bool GetHardwareShadowSupport() const;
- bool GetStreamOffsetSupport() const;
- bool GetSRGBSupport() const;
- bool GetSRGBWriteSupport() const;
-
- tolua_readonly tolua_property__is_set bool initialized;
- tolua_property__get_set const String& windowTitle;
- tolua_readonly tolua_property__get_set int width;
- tolua_readonly tolua_property__get_set int height;
- tolua_readonly tolua_property__get_set int multiSample;
- tolua_readonly tolua_property__get_set bool fullscreen;
- tolua_readonly tolua_property__get_set bool resizable;
- tolua_readonly tolua_property__get_set bool vSync;
- tolua_readonly tolua_property__get_set bool tripleBuffer;
- tolua_property__get_set bool sRGB;
- tolua_readonly tolua_property__is_set bool deviceLost;
- tolua_readonly tolua_property__get_set unsigned numPrimitives;
- tolua_readonly tolua_property__get_set unsigned numBatches;
- tolua_readonly tolua_property__get_set unsigned dummyColorFormat;
- tolua_readonly tolua_property__get_set unsigned shadowMapFormat;
- tolua_readonly tolua_property__get_set unsigned hiresShadowMapFormat;
- tolua_readonly tolua_property__get_set bool sM3Support;
- tolua_readonly tolua_property__get_set bool instancingSupport;
- tolua_readonly tolua_property__get_set bool lightPrepassSupport;
- tolua_readonly tolua_property__get_set bool deferredSupport;
- tolua_readonly tolua_property__get_set bool hardwareShadowSupport;
- tolua_readonly tolua_property__get_set bool streamOffsetSupport;
- tolua_readonly tolua_property__get_set bool sRGBSupport;
- tolua_readonly tolua_property__get_set bool sRGBWriteSupport;
- };
|