- DXContextCreate
- DXContextSetSize
- DXContextGetSize
- DXContextClearColors
- DXContextClearDepth
- DXContextGetColors
- DXContextGetDepth
- DXBufferCreate
- DXTextureCreate
- DXInputCreate
- DXInputSet
- DXShaderCreate
- DXShaderSetLayout
- DXShaderInputsSet
- DXShaderTexturesSet
- DXDraw
- DXDrawIndexed
- DXPrimiveTopologySet
- DXBufferSet
- DXShaderSet
- DXHandleType
- DXRelease
DXContextSetSize
Changes a frame size of a graphic context created in DXContextCreate().
bool DXContextSetSize(
|
Parameters
context
[in] Handle for a graphic context created in DXContextCreate().
width
[in] Frame width in pixels.
height
[in] Frame height in pixels.
Return Value
In case of successful execution, returns true, otherwise - false. To receive an error code, the GetLastError() function should be called.
Note
A frame size of a graphic context should be changed only between frame renderings.