This reference page is linked to from the following overview topics: Determining DirectX Version, Accessing the DirectX Device.
#include <id3d9graphicswindow.h>
Public Member Functions |
|
virtual Interface_ID | GetID () |
virtual LifetimeType | LifetimeControl () |
virtual LPDIRECT3DDEVICE9 | GetDevice ()=0 |
Get Direct3D Device from GFX. |
|
virtual LPDIRECT3DVERTEXBUFFER9 | GetVertexBuffer (UINT length, DWORD FVF)=0 |
Get VertexBuffer
from GFX. |
|
virtual LPDIRECT3DINDEXBUFFER9 | GetIndexBuffer (UINT length, D3DFORMAT format)=0 |
Get IndexBuffer from GFX. |
|
virtual D3DXMATRIX | GetWorldXform ()=0 |
Get Transforms from GFX. |
|
virtual D3DXMATRIX | GetViewXform ()=0 |
virtual D3DXMATRIX | GetProjXform ()=0 |
virtual D3DCOLOR | GetColor (ColorType t)=0 |
Get Constant Color of specified type from GFX. |
|
virtual Tab< D3DLIGHT9 * > * | GetLights ()=0 |
Get a pointer to a 'Tab' table array of
pointers to enabled Direct3D Lights from GFX. |
|
virtual D3DMATERIAL9 | GetMaterial ()=0 |
Get Material from GFX. |
|
virtual DWORD | GetTextureTiling (int texStage, int coord)=0 |
Get Texture Tiling for specified texStage
and texCoord from GFX. |
|
virtual D3DXMATRIX | GetTexXform (int texStage)=0 |
Get Texture Transform for specified texStage
from GFX. |
|
virtual void | GetWindowDimension (int &width, int &height)=0 |
Get the current viewport dimensions.
|
|
virtual BOOL | IsAntiAliasingEnabled ()=0 |
Get MSAA status from GFX. |
virtual Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{ return D3D9_GRAPHICS_WINDOW_INTERFACE_ID; }
virtual LifetimeType LifetimeControl | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{ return noRelease; }
virtual LPDIRECT3DDEVICE9 GetDevice | ( | ) | [pure virtual] |
Get Direct3D Device from GFX.
virtual LPDIRECT3DVERTEXBUFFER9 GetVertexBuffer | ( | UINT | length, |
DWORD | FVF | ||
) | [pure virtual] |
Get VertexBuffer from GFX.
Unless older Flexible Vertex Formats are in use, FVF should be zero.
virtual LPDIRECT3DINDEXBUFFER9 GetIndexBuffer | ( | UINT | length, |
D3DFORMAT | format | ||
) | [pure virtual] |
Get IndexBuffer from GFX.
virtual D3DXMATRIX GetWorldXform | ( | ) | [pure virtual] |
Get Transforms from GFX.
virtual D3DXMATRIX GetViewXform | ( | ) | [pure virtual] |
virtual D3DXMATRIX GetProjXform | ( | ) | [pure virtual] |
virtual D3DCOLOR GetColor | ( | ColorType | t | ) | [pure virtual] |
Get Constant Color of specified type from GFX.
virtual Tab<D3DLIGHT9 *>* GetLights | ( | ) | [pure virtual] |
Get a pointer to a 'Tab' table array of pointers to enabled Direct3D Lights from GFX.
virtual D3DMATERIAL9 GetMaterial | ( | ) | [pure virtual] |
Get Material from GFX.
virtual DWORD GetTextureTiling | ( | int | texStage, |
int | coord | ||
) | [pure virtual] |
Get Texture Tiling for specified texStage and texCoord from GFX.
virtual D3DXMATRIX GetTexXform | ( | int | texStage | ) | [pure virtual] |
Get Texture Transform for specified texStage from GFX.
virtual void GetWindowDimension | ( | int & | width, |
int & | height | ||
) | [pure virtual] |
Get the current viewport dimensions.
Get the current viewport dimensions. This is useful for doing multi pass rendering and the off screen buffer needs to be created the same size as the viewport currently being drawn.
[out] | width | - The width of the current viewport. |
[out] | height | - The height of the current viewport. |
virtual BOOL IsAntiAliasingEnabled | ( | ) | [pure virtual] |
Get MSAA status from GFX.