Display - the class of the output device. More...
Public Member Functions | |
_FORCEINLINE GlContext * | createContext (const char *name="") |
create new context. | |
virtual GlContext * | getContext (char *)=0 |
Returns the context by name. | |
virtual void * | getHandle ()=0 |
return handle of device | |
virtual _int32 | height ()=0 |
the height of the screen | |
virtual bool | isGlobalPoint (vector2i *pos)=0 |
Crossing checking the global coordinates of the screen with display. | |
_FORCEINLINE bool | isVSync () |
Checking mode vertical sync. | |
virtual _int32 | left ()=0 |
The left position of the screen in desktop coordinate system. | |
_FORCEINLINE void | SetVSync (bool val) |
Setting of a mode vertical sync. | |
_FORCEINLINE void | SetWindowed (bool val) |
Setting of a mode window/fullscreen. | |
virtual _int32 | top ()=0 |
The top position of the screen in desktop coordinate system. | |
virtual _int32 | width ()=0 |
the width of the screen | |
Public Member Functions inherited from csad::BaseObject | |
_FORCEINLINE bool | isContainer () |
returns true if the object is a container. | |
_FORCEINLINE ParametersList * | read (ParametersList *data) |
read attributes object. | |
virtual void * | set (unsigned _int32, void *)=0 |
used for any interface commands. | |
_FORCEINLINE void * | type () |
the output pointer to the typeid() of the class. | |
_FORCEINLINE void | write (ParametersList *data) |
record attributes of the object. | |
Additional Inherited Members | |
Public Types inherited from csad::BaseObject | |
enum | BASE { ANY = 0x00000000, EVENT = 0x00000001, TYPE = 0x00000002, CONTAINER = 0x00000003, MANAGER_COUNT = 0x00000004, MANAGER = 0x00000005, WRITE = 0x00000006, READ = 0x00000007, SELECT = 0x00000008, RUN = 0x00000009, LIST = 0x0000000A, LIST_COUNT = 0x0000000B, NAME = 0x0000000C, CHILD_NAME = 0x0000000D } |
the basic format of the interface More... | |
Display - the class of the output device.
In different ways this can be separately selected output device or the output window. When using operating systems support window organization applications, you can specify the mode display full screen or windowed. To specify the mode of displaying the image indicated ...
<Scene name="the name of the scene"> <Display name="" dev="the logical number of the controller" id="logical device number" mode="fullscreen/windowed" render="soft/gl/gles"> ... </Display>