C3DScreen

Top  Previous  Next

Class Description:

3D screen class.

 

Class Methods:

_C3DScreen

Class destructor.

Begin2D

Begin rendering 2D elements.

BeginScene

Begins rendering a scene with the specified camera object.

C3DScreen

Class constructor.

Clear

Clears the 3D rendering target.

CloseScreen

Closes the 3D screen.

CreateFullScreen

Creates a Direct3D screen.

CreateWindowed

Creates a Direct3D window..

End2D

Ends rendering of 2D elements.

MouseX

Returns the current mouse X coordinate when using full screen.

MouseY

Returns the current mouse Y coordinate when using full screen.

RenderScene

Renders all drawn objects to the screen.

RenderText

Draws 2D text on the 3D screen.

Reset

Resets the size and depth of the backbuffer.

SetFont

Sets the font used for rendering 2D text.

SetRestoreCallback

Specifies the callback function used when full screen is restored.

 

Class Member Variables:

m_frameStartTime

int

Internal use, for calculating FPS.

m_frameCount

int

Internal use, for calculating FPS.

m_fps

int

Internal use, for calculating FPS.

m_accumulatedFrameTime

int

Internal use, for calculating FPS.

*m_pData

void

Private internal data for the screen object.

m_bFullScreen

int

TRUE if created in full screen mode.

 

Located in:

ebx3d.incc

 

Class Hierarchy

CWindow

-------C3DScreen