Platform_3D Class Reference
[Platform]

Public Member Functions | |
| virtual | ~Platform_3D () |
| virtual void | SetFullscreen (bool fullscreen)=0 |
| virtual bool | GetFullscreen ()=0 |
| virtual void | SetSize (int width, int height)=0 |
| virtual int | GetWidth ()=0 |
| virtual int | GetHeight ()=0 |
| virtual void | BeginScene (unsigned int color, float z, unsigned int stencil)=0 |
| virtual void | EndScene ()=0 |
| virtual Platform_3D_VertexBuffer * | CreateVertexBuffer (int vertexFormat, int vertexCount, bool dynamic)=0 |
| virtual Platform_3D_IndexBuffer * | CreateIndexBuffer (int indexCount, bool dynamic)=0 |
| virtual Platform_3D_Texture * | CreateTexture (const Asset &asset)=0 |
| virtual Platform_3D_Texture * | CreateTexture (const Image &image)=0 |
| virtual void | Render (int startVertex, int vertexCount, int startIndex, int indexCount)=0 |
| virtual void | Render (int startVertex, int vertexCount)=0 |
| virtual void | SetWorldMatrix (const float worldMatrix[16])=0 |
| virtual void | SetViewMatrix (const float viewMatrix[16])=0 |
| virtual void | SetProjectionMatrix (const float projectionMatrix[16])=0 |
| virtual int | GetLightCount ()=0 |
| virtual void | EnableDirectionalLight (int lightIndex, float colorR, float colorG, float colorB, float directionX, float directionY, float directionZ)=0 |
| virtual void | DisableLight (int lightIndex)=0 |
| virtual void | SetAmbientLight (unsigned int color)=0 |
| virtual void | EnableLighting (bool enabled)=0 |
| virtual void | EnableZRead (bool enabled)=0 |
| virtual void | EnableZWrite (bool enabled)=0 |
Detailed Description
- Todo:
- Documentation
Definition at line 26 of file Platform_3D.h.
Constructor & Destructor Documentation
| virtual Platform_3D::~Platform_3D | ( | ) | [virtual] |
Definition at line 29 of file Platform_3D.h.
Member Function Documentation
| virtual void Platform_3D::SetFullscreen | ( | bool | fullscreen | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual bool Platform_3D::GetFullscreen | ( | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::SetSize | ( | int | width, | |
| int | height | |||
| ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual int Platform_3D::GetWidth | ( | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual int Platform_3D::GetHeight | ( | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::BeginScene | ( | unsigned int | color, | |
| float | z, | |||
| unsigned int | stencil | |||
| ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::EndScene | ( | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual Platform_3D_VertexBuffer* Platform_3D::CreateVertexBuffer | ( | int | vertexFormat, | |
| int | vertexCount, | |||
| bool | dynamic | |||
| ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual Platform_3D_IndexBuffer* Platform_3D::CreateIndexBuffer | ( | int | indexCount, | |
| bool | dynamic | |||
| ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual Platform_3D_Texture* Platform_3D::CreateTexture | ( | const Asset & | asset | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual Platform_3D_Texture* Platform_3D::CreateTexture | ( | const Image & | image | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::Render | ( | int | startVertex, | |
| int | vertexCount, | |||
| int | startIndex, | |||
| int | indexCount | |||
| ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::Render | ( | int | startVertex, | |
| int | vertexCount | |||
| ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::SetWorldMatrix | ( | const float | worldMatrix[16] | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::SetViewMatrix | ( | const float | viewMatrix[16] | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::SetProjectionMatrix | ( | const float | projectionMatrix[16] | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual int Platform_3D::GetLightCount | ( | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::EnableDirectionalLight | ( | int | lightIndex, | |
| float | colorR, | |||
| float | colorG, | |||
| float | colorB, | |||
| float | directionX, | |||
| float | directionY, | |||
| float | directionZ | |||
| ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::DisableLight | ( | int | lightIndex | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::SetAmbientLight | ( | unsigned int | color | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::EnableLighting | ( | bool | enabled | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::EnableZRead | ( | bool | enabled | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
| virtual void Platform_3D::EnableZWrite | ( | bool | enabled | ) | [pure virtual] |
Implemented in Platform_Win32_3D.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
