|
Public Member Functions |
| | IVideoDevice (SVideoDeviceCreationParameters *params) |
| | Constructor.
|
| virtual | ~IVideoDevice () |
| | Destructor.
|
| virtual IEngine * | getEngine ()=0 |
| | Returns a pointer to the engine.
|
| virtual E_VD_TYPE | getVideoDeviceType ()=0 |
| | Returns the video device type.
|
| virtual void | setClearColor (SColor &color)=0 |
| | Sets the screen clear color.
|
| virtual bool | update ()=0 |
| | Do NOT use.
|
| virtual void | beginRender ()=0 |
| | Prepares window for rendering.
|
| virtual void | endRender ()=0 |
| | Ends rendering, and swaps buffers.
|
| virtual void | setMaterial (SMaterial *material)=0 |
| virtual void | drawIndexedTriangleList (unsigned int *indices, unsigned int indexCount, SVertex3d *vertices, unsigned int vertexCount)=0 |
| virtual void | drawIndexedTriangleList (unsigned int *indices, unsigned int indexCount, SVertex3dMUV *vertices, unsigned int vertexCount)=0 |
| virtual void | drawIndexedQuadList (unsigned int *indices, unsigned int indexCount, SVertex3d *vertices, unsigned int vertexCount)=0 |
| virtual void | enableRender2D ()=0 |
| | Prepares device for 2-dimensional rendering.
|
| virtual void | disableRender2D ()=0 |
| | Prepares device for 3-dimensional rendering.
|
| virtual void | setTransform (IMatrix4x4 &matrix, E_TRANSFORM_MATRIX matType)=0 |
| | Sets the the given matrix.
|
| virtual void | resetTransform (E_TRANSFORM_MATRIX matType)=0 |
| | Resets the given matrix to identity.
|
| virtual void | pushTransform (E_TRANSFORM_MATRIX matType)=0 |
| | Pushes the given matrix to the matrix stack.
|
| virtual void | popTransform (E_TRANSFORM_MATRIX matType)=0 |
| | Pops the given matrix off the top of the matrix stack.
|
| virtual SDimension2d & | getViewportSize ()=0 |
| | Returns the viewport size.
|
Protected Attributes |
| IEngine * | engine |
| SDimension2d | viewport |
| SColor | clearColor |