GFXD3D9CardProfiler Class Reference

#include <gfxD3D9CardProfiler.h>

Inheritance diagram for GFXD3D9CardProfiler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GFXD3D9CardProfiler ()
 ~GFXD3D9CardProfiler ()
void init ()
 Set load script files and generally initialize things.

Protected Member Functions

const StringgetRendererString () const
void setupCardCapabilities ()
bool _queryCardCap (const String &query, U32 &foundResult)
 Implementation specific query code.
bool _queryFormat (const GFXFormat fmt, const GFXTextureProfile *profile, bool &inOutAutogenMips)

Private Types

typedef GFXCardProfiler Parent

Private Attributes

LPDIRECT3DDEVICE9 mD3DDevice
UINT mAdapterOrdinal

Member Typedef Documentation


Constructor & Destructor Documentation

GFXD3D9CardProfiler::GFXD3D9CardProfiler (  ) 

GFXD3D9CardProfiler::~GFXD3D9CardProfiler (  ) 


Member Function Documentation

void GFXD3D9CardProfiler::init (  )  [virtual]

Set load script files and generally initialize things.

Implements GFXCardProfiler.

const String& GFXD3D9CardProfiler::getRendererString (  )  const [inline, protected, virtual]

Implements GFXCardProfiler.

void GFXD3D9CardProfiler::setupCardCapabilities (  )  [protected, virtual]

Implements GFXCardProfiler.

bool GFXD3D9CardProfiler::_queryCardCap ( const String query,
U32 foundResult 
) [protected, virtual]

Implementation specific query code.

This function is meant to be overridden by the specific implementation class.

Some query strings are handled by the external implementation while others must be done by the specific implementation. This is given first chance to return a result, then the generic rules are applied.

Parameters:
query Capability being queried.
foundResult Result to return to the caller. If the function returns true then this value is returned as the result of the query.

Implements GFXCardProfiler.

bool GFXD3D9CardProfiler::_queryFormat ( const GFXFormat  fmt,
const GFXTextureProfile profile,
bool inOutAutogenMips 
) [protected, virtual]

Implements GFXCardProfiler.


Member Data Documentation

LPDIRECT3DDEVICE9 GFXD3D9CardProfiler::mD3DDevice [private]