| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- $#include "Graphics.h"
- class Graphics : public Object
- {
- void SetWindowTitle(const String 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;
- };
|