Class hierarchy   Compound list   File list   Compound Members   File Members  

Screen3D Class Reference

3D Rendering control interface. More...

Inherits SystemInterface.

List of all members.

Public Members

Related Functions

(Note that these are not member functions.)

Detailed Description

3D Rendering control interface.

Must be created to enable 3D Rendering.


Member Function Documentation

virtual void* Screen3D::getD3DDevice() = 0 [pure virtual]

Return the D3D Device pointer for creating special effects.

Cast the return value to LPDIRECT3DDEVICE3

virtual long Screen3D::status() = 0 [pure virtual]

Returns a non zero value if an error has occured.

virtual long Screen3D::beginScene() = 0 [pure virtual]

Must be called before any 3D Rendering.

virtual long Screen3D::renderObject(Mesh* O) = 0 [pure virtual]

Renders an object.

virtual long Screen3D::endScene() = 0 [pure virtual]

Must be called after all rendering is done, and before flipping.

virtual long Screen3D::setAmbientLight(unsigned long Color) = 0 [pure virtual]

Can be called to override the default ambient lighting.

virtual long Screen3D::setFog(ulong Color=0xFFFFFFFF, float Start=0.5f, float End=1.0f, int Enable=1) = 0 [pure virtual]

Set the 3D Scene fog settings.

virtual long Screen3D::flushTextures() = 0 [pure virtual]

Flushes video memory textures.

May be used when scene changes completely.

DLLExport Screen3D* initScreen3D()

Initialization of 3D subsystem.

Must be performed prior to using any other 3D functions. Will be released automatically.


The documentation for this class was generated from the following file: