This reference page is linked to from the following overview topics: Determining DirectX Version, Accessing the DirectX Device.
Main entry point to access the D3D 10 GFX layer.
#include <IDX10HardwareRenderer.h>
Public Member Functions |
|
virtual Interface_ID | GetID () |
virtual ID3D10Device * | GetDevice ()=0 |
Access to the main D3D 10 device. |
|
virtual D3DXMATRIX | GetWorldXform () const =0 |
Access the World Matrix. |
|
virtual D3DXMATRIX | GetViewXform () const =0 |
Access the View Matrix. |
|
virtual D3DXMATRIX | GetProjXform () const =0 |
Access the Projection Matrix. |
|
virtual void | GetWindowDimension (int *width, int *height)=0 |
Access the current viewport width and
height. |
|
virtual D3D10SceneLight * | GetLight (int index)=0 |
Access the light used in the viewport.
|
virtual Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{ return D3D10_GRAPHICS_WINDOW_INTERFACE_ID; }
virtual ID3D10Device* GetDevice | ( | ) | [pure virtual] |
Access to the main D3D 10 device.
virtual D3DXMATRIX GetWorldXform | ( | ) | const [pure virtual] |
virtual D3DXMATRIX GetViewXform | ( | ) | const [pure virtual] |
virtual D3DXMATRIX GetProjXform | ( | ) | const [pure virtual] |
virtual void GetWindowDimension | ( | int * | width, |
int * | height | ||
) | [pure virtual] |
Access the current viewport width and height.
*width | A pointer to the buffer to receive the width value |
*height | A pointer to the buffer to receive the height value |
virtual D3D10SceneLight* GetLight | ( | int | index | ) | [pure virtual] |
Access the light used in the viewport.
Currently there are a total of 8 lights used,
index | The index of the light to access |