Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CToxiD3DRenderer Class Reference

#include <CToxiD3DRenderer.h>

Inheritance diagram for CToxiD3DRenderer:

CToxiRenderer List of all members.

Public Methods

 CToxiD3DRenderer ()
 ~CToxiD3DRenderer ()
void setupRenderer (int _width, int _height, int _bits)
bool createContext ()
bool killContext ()
void resizeContext ()
int getRendererType ()
void swapBuffers ()
void sampleDrawnScene ()
void sampleInitScene ()
void sampleResizeContext ()

Public Attributes

IDirect3D8 * D3D8
IDirect3DDevice8 * D3D8Device
HRESULT D3D_hr

Constructor & Destructor Documentation

CToxiD3DRenderer::CToxiD3DRenderer  
 

CToxiGLRenderer constructor

Definition at line 44 of file CToxiD3DRenderer.cpp.

CToxiD3DRenderer::~CToxiD3DRenderer  
 

CToxiGLRenderer destructor

Definition at line 48 of file CToxiD3DRenderer.cpp.


Member Function Documentation

bool CToxiD3DRenderer::createContext   [virtual]
 

Virtual context creator

Implements CToxiRenderer.

Definition at line 61 of file CToxiD3DRenderer.cpp.

References CToxiRenderer::_fullscreen, D3D8, D3D8Device, D3D_hr, CToxiRenderer::hWnd, CToxiRenderer::windowHeight, and CToxiRenderer::windowWidth.

int CToxiD3DRenderer::getRendererType   [virtual]
 

Get renderer type

Implements CToxiRenderer.

Definition at line 172 of file CToxiD3DRenderer.cpp.

References CToxiRenderer::rendererType.

bool CToxiD3DRenderer::killContext   [virtual]
 

Kills current GL context

Implements CToxiRenderer.

Definition at line 125 of file CToxiD3DRenderer.cpp.

References D3D8, and D3D8Device.

void CToxiD3DRenderer::resizeContext   [virtual]
 

Window resizing method

Implements CToxiRenderer.

Definition at line 119 of file CToxiD3DRenderer.cpp.

void CToxiD3DRenderer::sampleDrawnScene  
 

Sample Drawnscene

Definition at line 138 of file CToxiD3DRenderer.cpp.

void CToxiD3DRenderer::sampleInitScene  
 

Sample Init Scene

Definition at line 143 of file CToxiD3DRenderer.cpp.

void CToxiD3DRenderer::sampleResizeContext  
 

Sample Resize Context

Definition at line 148 of file CToxiD3DRenderer.cpp.

void CToxiD3DRenderer::setupRenderer int    _width,
int    _height,
int    _bits
[virtual]
 

Virtual renderer setup

Implements CToxiRenderer.

Definition at line 53 of file CToxiD3DRenderer.cpp.

References CToxiRenderer::windowBits, CToxiRenderer::windowHeight, and CToxiRenderer::windowWidth.

void CToxiD3DRenderer::swapBuffers   [virtual]
 

Double buffering

Implements CToxiRenderer.

Definition at line 165 of file CToxiD3DRenderer.cpp.

References CToxiRenderer::hWnd.


Member Data Documentation

IDirect3D8* CToxiD3DRenderer::D3D8
 

Definition at line 57 of file CToxiD3DRenderer.h.

Referenced by createContext(), and killContext().

IDirect3DDevice8* CToxiD3DRenderer::D3D8Device
 

Definition at line 58 of file CToxiD3DRenderer.h.

Referenced by createContext(), and killContext().

HRESULT CToxiD3DRenderer::D3D_hr
 

Definition at line 59 of file CToxiD3DRenderer.h.

Referenced by createContext().


The documentation for this class was generated from the following files:
Generated on Mon Sep 23 23:07:01 2002 for ToxiTea by doxygen1.2.18