#include <MercuryDisplaySoftwareC.h>
Inheritance diagram for MercuryDisplaySoftwareC:


Public Member Functions | |
| MercuryDisplaySoftwareC () | |
| virtual bool | BeginFrame () |
| virtual bool | EndFrame () |
| virtual bool | MakeWindow (const char *title, int width, int height, int bits, bool fullscreenflag) |
| Tell the display system to make its window. | |
| virtual void | RendererInfo () |
| Resize window to a given height/width. | |
| virtual void | DrawParticleField (const MercuryParticleField *field) |
| virtual void | DrawMesh (const MercuryMesh &mesh) |
| virtual void | DrawMeshVBO (const MercuryMesh &mesh) |
| virtual void | DrawSprite (const MercuryMesh &sprite) |
| virtual void | GenerateVBO (MercuryMesh &mesh) |
| virtual void | DestroyVBO (MercuryMesh &mesh) |
| virtual void | SetMaterial (const MercuryMaterial *material) |
| Set a material to draw with. | |
| virtual void | ClearZBuffer () |
| Flush the Zbuffer. | |
| virtual void | ClearFrameBuffer () |
| virtual void | BeginRenderToDynamicTexture (MercuryTexture *texture) |
| virtual void | EndRenderToDynamicTexture () |
| virtual void | BeginRenderToDynamicCubeTexture (MercuryTexture *texture, unsigned int face) |
| virtual void | EndRenderToDynamicCubeTexture () |
| virtual void | DeleteTextures (int n, unsigned int *textureNames) |
| virtual void | UpdateTextureData (MercuryTexture *texture, unsigned int &ID) |
| virtual void | CreateCache (MercuryTexture *texture, unsigned int &ID) |
| virtual void | CreateCache (RawImageData *data, unsigned int &ID) |
| virtual void | EnablePixelshader () |
| virtual void | DisablePixelshader () |
| virtual void | EnableAllLighting () |
| virtual void | DisableAllLighting () |
| virtual void | EnableDepthTest () |
| virtual void | DisableDepthTest () |
| virtual void | EnableTextures (MercuryMaterial *material) |
| virtual void | ToggleTextureUse (bool toggle) |
| virtual void | EnableShaders (MercuryMaterial *material) |
| virtual void | ErrorCheck () |
| virtual void | EnableLights () |
| virtual void | ProcessStaticLights () |
| virtual void | DisableLights () |
| virtual void | ReadFrameBuffer (RawImageData &image) |
| virtual void | SendMatrixData (const MercuryMatrix &m) |
| virtual void | SendProjectionMatrixData () |
| virtual void | ToggleZBufferWrite (bool toggle) |
| virtual void | ToggleColorMask (bool toggle) |
| virtual void | ToggleStencilBufferWrite (bool toggle) |
| virtual void | StencilOp (STENCILOPS fail, STENCILOPS zfail, STENCILOPS zpass) |
| virtual void | CullBackface (bool toggle) |
| virtual void | StencilFunc (TFUNCT func, int ref, unsigned int zref) |
| virtual void | DisableOldLights () |
| virtual void | RenderTranslucentObject () |
| virtual void | DefineClippingPlanes (const MVector< MQuaternion > &planes) |
| virtual void | RenderText (const MercuryText &text) |
Protected Member Functions | |
| virtual void | InternalPipelinePoint (const MercuryPoint &pIn, InternalPoint &pOut) |
| virtual void | InternalDrawPoly (const InternalPoint *points, int verts=3, int mode=0) |
Protected Attributes | |
| MVector< InternalTexture > | m_InternalTextures |
| InternalTexture * | m_pCurTexture |
| const MercuryTexture * | m_pCurMercuryTexture |
| MercuryMaterial | m_pCurMaterial |
| MercuryMatrix | mFinal |
| bool | bDepthTest |
Static Protected Attributes | |
| static int | m_width |
| static int | m_height |
| static int | m_bypp |
| static bool | m_zBufferWrite |
| static unsigned char * | m_cBuffer |
| static unsigned int * | m_zBuffer |
Private Member Functions | |
| virtual void | ProcessLightsInternal (const MercuryLight *light[3], unsigned int index) |
Classes | |
| struct | InternalPoint |
| struct | InternalTexture |
Definition at line 12 of file MercuryDisplaySoftwareC.h.
| MercuryDisplaySoftwareC::MercuryDisplaySoftwareC | ( | ) |
Definition at line 11 of file MercuryDisplaySoftwareC.cpp.
| virtual bool MercuryDisplaySoftwareC::BeginFrame | ( | ) | [inline, virtual] |
| bool MercuryDisplaySoftwareC::EndFrame | ( | ) | [virtual] |
| bool MercuryDisplaySoftwareC::MakeWindow | ( | const char * | title, | |
| int | width, | |||
| int | height, | |||
| int | bits, | |||
| bool | fullscreenflag | |||
| ) | [virtual] |
Tell the display system to make its window.
Reimplemented from MercuryDisplay.
Definition at line 37 of file MercuryDisplaySoftwareC.cpp.
| virtual void MercuryDisplaySoftwareC::RendererInfo | ( | ) | [inline, virtual] |
Resize window to a given height/width.
Implements MercuryDisplay.
Definition at line 20 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::DrawParticleField | ( | const MercuryParticleField * | field | ) | [inline, virtual] |
| void MercuryDisplaySoftwareC::DrawMesh | ( | const MercuryMesh & | mesh | ) | [virtual] |
| virtual void MercuryDisplaySoftwareC::DrawMeshVBO | ( | const MercuryMesh & | mesh | ) | [inline, virtual] |
Definition at line 24 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::DrawSprite | ( | const MercuryMesh & | sprite | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::GenerateVBO | ( | MercuryMesh & | mesh | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::DestroyVBO | ( | MercuryMesh & | mesh | ) | [inline, virtual] |
| void MercuryDisplaySoftwareC::SetMaterial | ( | const MercuryMaterial * | material | ) | [virtual] |
Set a material to draw with.
Implements MercuryDisplay.
Definition at line 107 of file MercuryDisplaySoftwareC.cpp.
| void MercuryDisplaySoftwareC::ClearZBuffer | ( | ) | [virtual] |
Flush the Zbuffer.
Implements MercuryDisplay.
Definition at line 115 of file MercuryDisplaySoftwareC.cpp.
| virtual void MercuryDisplaySoftwareC::ClearFrameBuffer | ( | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::BeginRenderToDynamicTexture | ( | MercuryTexture * | texture | ) | [inline, virtual] |
Definition at line 32 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::EndRenderToDynamicTexture | ( | ) | [inline, virtual] |
Definition at line 33 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::BeginRenderToDynamicCubeTexture | ( | MercuryTexture * | texture, | |
| unsigned int | face | |||
| ) | [inline, virtual] |
Definition at line 34 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::EndRenderToDynamicCubeTexture | ( | ) | [inline, virtual] |
Definition at line 35 of file MercuryDisplaySoftwareC.h.
| void MercuryDisplaySoftwareC::DeleteTextures | ( | int | n, | |
| unsigned int * | textureNames | |||
| ) | [virtual] |
| void MercuryDisplaySoftwareC::UpdateTextureData | ( | MercuryTexture * | texture, | |
| unsigned int & | ID | |||
| ) | [virtual] |
| void MercuryDisplaySoftwareC::CreateCache | ( | MercuryTexture * | texture, | |
| unsigned int & | ID | |||
| ) | [virtual] |
Definition at line 125 of file MercuryDisplaySoftwareC.cpp.
| void MercuryDisplaySoftwareC::CreateCache | ( | RawImageData * | data, | |
| unsigned int & | ID | |||
| ) | [virtual] |
| virtual void MercuryDisplaySoftwareC::EnablePixelshader | ( | ) | [inline, virtual] |
Definition at line 43 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::DisablePixelshader | ( | ) | [inline, virtual] |
Definition at line 44 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::EnableAllLighting | ( | ) | [inline, virtual] |
Definition at line 46 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::DisableAllLighting | ( | ) | [inline, virtual] |
Definition at line 47 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::EnableDepthTest | ( | ) | [inline, virtual] |
Definition at line 49 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::DisableDepthTest | ( | ) | [inline, virtual] |
Definition at line 50 of file MercuryDisplaySoftwareC.h.
| void MercuryDisplaySoftwareC::EnableTextures | ( | MercuryMaterial * | material | ) | [virtual] |
| virtual void MercuryDisplaySoftwareC::ToggleTextureUse | ( | bool | toggle | ) | [inline, virtual] |
Definition at line 53 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::EnableShaders | ( | MercuryMaterial * | material | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::ErrorCheck | ( | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::EnableLights | ( | ) | [inline, virtual] |
Definition at line 57 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::ProcessStaticLights | ( | ) | [inline, virtual] |
Definition at line 58 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::DisableLights | ( | ) | [inline, virtual] |
Definition at line 59 of file MercuryDisplaySoftwareC.h.
| void MercuryDisplaySoftwareC::ReadFrameBuffer | ( | RawImageData & | image | ) | [virtual] |
| void MercuryDisplaySoftwareC::SendMatrixData | ( | const MercuryMatrix & | m | ) | [virtual] |
| virtual void MercuryDisplaySoftwareC::SendProjectionMatrixData | ( | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::ToggleZBufferWrite | ( | bool | toggle | ) | [inline, virtual] |
Definition at line 65 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::ToggleColorMask | ( | bool | toggle | ) | [inline, virtual] |
Definition at line 66 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::ToggleStencilBufferWrite | ( | bool | toggle | ) | [inline, virtual] |
Definition at line 67 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::StencilOp | ( | STENCILOPS | fail, | |
| STENCILOPS | zfail, | |||
| STENCILOPS | zpass | |||
| ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::CullBackface | ( | bool | toggle | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::StencilFunc | ( | TFUNCT | func, | |
| int | ref, | |||
| unsigned int | zref | |||
| ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::DisableOldLights | ( | ) | [inline, virtual] |
Definition at line 72 of file MercuryDisplaySoftwareC.h.
| virtual void MercuryDisplaySoftwareC::RenderTranslucentObject | ( | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::DefineClippingPlanes | ( | const MVector< MQuaternion > & | planes | ) | [inline, virtual] |
| virtual void MercuryDisplaySoftwareC::RenderText | ( | const MercuryText & | text | ) | [inline, virtual] |
| void MercuryDisplaySoftwareC::InternalPipelinePoint | ( | const MercuryPoint & | pIn, | |
| InternalPoint & | pOut | |||
| ) | [protected, virtual] |
Definition at line 216 of file MercuryDisplaySoftwareC.cpp.
| void MercuryDisplaySoftwareC::InternalDrawPoly | ( | const InternalPoint * | points, | |
| int | verts = 3, |
|||
| int | mode = 0 | |||
| ) | [protected, virtual] |
Definition at line 317 of file MercuryDisplaySoftwareC.cpp.
| virtual void MercuryDisplaySoftwareC::ProcessLightsInternal | ( | const MercuryLight * | light[3], | |
| unsigned int | index | |||
| ) | [inline, private, virtual] |
MVector< InternalTexture > MercuryDisplaySoftwareC::m_InternalTextures [protected] |
Definition at line 91 of file MercuryDisplaySoftwareC.h.
InternalTexture* MercuryDisplaySoftwareC::m_pCurTexture [protected] |
Definition at line 92 of file MercuryDisplaySoftwareC.h.
const MercuryTexture* MercuryDisplaySoftwareC::m_pCurMercuryTexture [protected] |
Definition at line 93 of file MercuryDisplaySoftwareC.h.
Definition at line 94 of file MercuryDisplaySoftwareC.h.
MercuryMatrix MercuryDisplaySoftwareC::mFinal [protected] |
Definition at line 104 of file MercuryDisplaySoftwareC.h.
bool MercuryDisplaySoftwareC::bDepthTest [protected] |
Definition at line 109 of file MercuryDisplaySoftwareC.h.
int MercuryDisplaySoftwareC::m_width [static, protected] |
Definition at line 110 of file MercuryDisplaySoftwareC.h.
int MercuryDisplaySoftwareC::m_height [static, protected] |
Definition at line 111 of file MercuryDisplaySoftwareC.h.
int MercuryDisplaySoftwareC::m_bypp [static, protected] |
Definition at line 112 of file MercuryDisplaySoftwareC.h.
bool MercuryDisplaySoftwareC::m_zBufferWrite [static, protected] |
Definition at line 113 of file MercuryDisplaySoftwareC.h.
unsigned char * MercuryDisplaySoftwareC::m_cBuffer [static, protected] |
Definition at line 114 of file MercuryDisplaySoftwareC.h.
unsigned int * MercuryDisplaySoftwareC::m_zBuffer [static, protected] |
Definition at line 115 of file MercuryDisplaySoftwareC.h.