Platform_Win32_3D_D3D9 Class Reference
Inheritance diagram for Platform_Win32_3D_D3D9:

Public Member Functions | |
| Platform_Win32_3D_D3D9 (struct HWND__ *windowHandle, bool fullscreen, int screenWidth, int screenHeight) | |
| virtual | ~Platform_Win32_3D_D3D9 () |
| virtual bool | Setup () |
| virtual void | BeginScene (unsigned int color, float z, unsigned int stencil) |
| virtual void | EndScene () |
| virtual Platform_3D_VertexBuffer * | CreateVertexBuffer (int vertexFormat, int vertexCount, bool dynamic) |
| virtual Platform_3D_IndexBuffer * | CreateIndexBuffer (int indexCount, bool dynamic) |
| virtual Platform_3D_Texture * | CreateTexture (void *data, int size) |
| virtual Platform_3D_Texture * | CreateTexture (int width, int height, void *data) |
| virtual void | Render (int startVertex, int vertexCount, int startIndex, int indexCount) |
| virtual void | Render (int startVertex, int vertexCount) |
| virtual void | RenderStrip (int startVertex, int vertexCount, int startIndex, int indexCount) |
| virtual void | RenderStrip (int startVertex, int vertexCount) |
| virtual void | RenderFan (int startVertex, int vertexCount, int startIndex, int indexCount) |
| virtual void | RenderFan (int startVertex, int vertexCount) |
| virtual void | SetWorldMatrix (const float worldMatrix[16]) |
| virtual void | SetViewMatrix (const float viewMatrix[16]) |
| virtual void | SetProjectionMatrix (const float projectionMatrix[16]) |
| virtual int | GetLightCount () |
| virtual void | EnableDirectionalLight (int lightIndex, float colorR, float colorG, float colorB, float directionX, float directionY, float directionZ) |
| virtual void | DisableLight (int lightIndex) |
| virtual void | SetAmbientLight (unsigned int color) |
| virtual void | EnableLighting (bool enabled) |
| virtual void | EnableZRead (bool enabled) |
| virtual void | EnableZWrite (bool enabled) |
Detailed Description
Definition at line 24 of file Platform_Win32_3D_D3D9.h.
Constructor & Destructor Documentation
| Platform_Win32_3D_D3D9::Platform_Win32_3D_D3D9 | ( | struct HWND__ * | windowHandle, | |
| bool | fullscreen, | |||
| int | screenWidth, | |||
| int | screenHeight | |||
| ) |
Definition at line 17 of file Platform_Win32_3D_D3D9.cpp.
| Platform_Win32_3D_D3D9::~Platform_Win32_3D_D3D9 | ( | ) | [virtual] |
Definition at line 250 of file Platform_Win32_3D_D3D9.cpp.
Member Function Documentation
| bool Platform_Win32_3D_D3D9::Setup | ( | ) | [virtual] |
| void Platform_Win32_3D_D3D9::BeginScene | ( | unsigned int | color, | |
| float | z, | |||
| unsigned int | stencil | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::EndScene | ( | ) | [virtual] |
| Platform_3D_VertexBuffer * Platform_Win32_3D_D3D9::CreateVertexBuffer | ( | int | vertexFormat, | |
| int | vertexCount, | |||
| bool | dynamic | |||
| ) | [virtual] |
| Platform_3D_IndexBuffer * Platform_Win32_3D_D3D9::CreateIndexBuffer | ( | int | indexCount, | |
| bool | dynamic | |||
| ) | [virtual] |
| Platform_3D_Texture * Platform_Win32_3D_D3D9::CreateTexture | ( | void * | data, | |
| int | size | |||
| ) | [virtual] |
| Platform_3D_Texture * Platform_Win32_3D_D3D9::CreateTexture | ( | int | width, | |
| int | height, | |||
| void * | data | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::Render | ( | int | startVertex, | |
| int | vertexCount, | |||
| int | startIndex, | |||
| int | indexCount | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::Render | ( | int | startVertex, | |
| int | vertexCount | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::RenderStrip | ( | int | startVertex, | |
| int | vertexCount, | |||
| int | startIndex, | |||
| int | indexCount | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::RenderStrip | ( | int | startVertex, | |
| int | vertexCount | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::RenderFan | ( | int | startVertex, | |
| int | vertexCount, | |||
| int | startIndex, | |||
| int | indexCount | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::RenderFan | ( | int | startVertex, | |
| int | vertexCount | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::SetWorldMatrix | ( | const float | worldMatrix[16] | ) | [virtual] |
| void Platform_Win32_3D_D3D9::SetViewMatrix | ( | const float | viewMatrix[16] | ) | [virtual] |
| void Platform_Win32_3D_D3D9::SetProjectionMatrix | ( | const float | projectionMatrix[16] | ) | [virtual] |
| int Platform_Win32_3D_D3D9::GetLightCount | ( | ) | [virtual] |
| void Platform_Win32_3D_D3D9::EnableDirectionalLight | ( | int | lightIndex, | |
| float | colorR, | |||
| float | colorG, | |||
| float | colorB, | |||
| float | directionX, | |||
| float | directionY, | |||
| float | directionZ | |||
| ) | [virtual] |
| void Platform_Win32_3D_D3D9::DisableLight | ( | int | lightIndex | ) | [virtual] |
| void Platform_Win32_3D_D3D9::SetAmbientLight | ( | unsigned int | color | ) | [virtual] |
| void Platform_Win32_3D_D3D9::EnableLighting | ( | bool | enabled | ) | [virtual] |
| void Platform_Win32_3D_D3D9::EnableZRead | ( | bool | enabled | ) | [virtual] |
| void Platform_Win32_3D_D3D9::EnableZWrite | ( | bool | enabled | ) | [virtual] |
Reproduction/republishing of any material on this site without permission is strictly prohibited.
