Torque3D Documentation / _generateds / GFXGLCardProfiler

GFXGLCardProfiler

Engine/source/gfx/gl/gfxGLCardProfiler.h

A note on workarounds - The following settings are used exclusively to work around driver bugs: GL::Workaround::needsExplicitGenerateMipmap GL::Workaround::X1600DepthBufferCopy GL::Workaround::HD2600DepthBufferCopy If you find that you need to work around additional driver bugs, add a new setting of the form GL::Workaround:: and set it to false in GFXGLCardProfiler::setupCardCapabilities() Enclose your workaround code in if(GFX->getCardProfiler()->queryProfile("GL::Workaround::")) { } Remember to set the work around to true in the card profile script!

More...

Private Types

Private Attributes

Public Functions

init()

Set load script files and generally initialize things.

Protected Functions

bool
_queryCardCap(const String & query, U32 & foundResult)

Implementation specific query code.

bool
_queryFormat(const GFXFormat fmt, const GFXTextureProfile * profile, bool & inOutAutogenMips)

Detailed Description

A note on workarounds - The following settings are used exclusively to work around driver bugs: GL::Workaround::needsExplicitGenerateMipmap GL::Workaround::X1600DepthBufferCopy GL::Workaround::HD2600DepthBufferCopy If you find that you need to work around additional driver bugs, add a new setting of the form GL::Workaround:: and set it to false in GFXGLCardProfiler::setupCardCapabilities() Enclose your workaround code in if(GFX->getCardProfiler()->queryProfile("GL::Workaround::")) { } Remember to set the work around to true in the card profile script!

Private Types

typedef GFXCardProfiler Parent 

Private Attributes

String mRendererString 

Public Functions

init()

Reimplemented from: GFXCardProfiler

Protected Functions

_queryCardCap(const String & query, U32 & foundResult)

Reimplemented from: GFXCardProfiler

_queryFormat(const GFXFormat fmt, const GFXTextureProfile * profile, bool & inOutAutogenMips)

Reimplemented from: GFXCardProfiler

getRendererString()

Reimplemented from: GFXCardProfiler

setupCardCapabilities()

Reimplemented from: GFXCardProfiler