This reference page is linked to from the following overview topics: Low-level Device API.
#include <TargetHandle.h>
Application can use this class either as a render target or convert it to texture and assign to model.
Public Member Functions |
|
| GraphicsDriverAPI | TargetHandle () |
| GraphicsDriverAPI | TargetHandle (const TargetHandle &from) |
| GraphicsDriverAPI TargetHandle & | operator= (const TargetHandle &from) |
| virtual GraphicsDriverAPI | ~TargetHandle () |
| virtual GraphicsDriverAPI bool | Initialize (size_t width, size_t height) |
| Initialize the instance of target. |
|
| GraphicsDriverAPI TargetHandle | ( | ) |
| GraphicsDriverAPI TargetHandle | ( | const TargetHandle & | from | ) |
| virtual GraphicsDriverAPI ~TargetHandle | ( | ) | [virtual] |
| GraphicsDriverAPI TargetHandle& operator= | ( | const TargetHandle & | from | ) |
| virtual GraphicsDriverAPI bool Initialize | ( | size_t | width, |
| size_t | height | ||
| ) | [virtual] |
Initialize the instance of target.
The target format is fixed to A8R8G8B8 A TargetHandle should be initialized before it's used
| [in] | width | the width of target. |
| [in] | height | the height of target. |
| [in] | format | member of the TextureFormat enumerated type, describing the pixel format of the target. |