MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / queryProfile

Method queryProfile

Engine/source/gfx/gfxCardProfile.cpp:131–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131U32 GFXCardProfiler::queryProfile(const String &cap)
132{
133 U32 res;
134 if( _queryCardCap( cap, res ) )
135 return res;
136
137 if(mCapDictionary.contains(cap))
138 return mCapDictionary[cap];
139
140 Con::errorf( "GFXCardProfiler (%s) - Unknown capability '%s'.", getRendererString().c_str(), cap.c_str() );
141 return 0;
142}
143
144U32 GFXCardProfiler::queryProfile(const String &cap, U32 defaultValue)
145{

Callers 7

_updateBaseTextureMethod · 0.80
_setLightMapSizeMethod · 0.80
gfxCardProfile.cppFile · 0.80
_loadTextureMethod · 0.80
initGLStateMethod · 0.80
_loadTextureMethod · 0.80
getBestTexSizeMethod · 0.80

Calls 3

errorfFunction · 0.50
containsMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected