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

Method getFormat

Engine/source/gfx/gl/gfxGLTextureTarget.cpp:301–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301GFXFormat GFXGLTextureTarget::getFormat()
302{
303 if(mTargets[Color0].isValid())
304 return mTargets[Color0]->getFormat();
305
306 return GFXFormatR8G8B8A8;
307}
308
309void GFXGLTextureTarget::attachTexture( RenderSlot slot, GFXTextureObject *tex, U32 mipLevel/*=0*/, U32 zOffset /*= 0*/ )
310{

Callers 12

getFormatMethod · 0.45
isCompatibleMethod · 0.45
getFormatMethod · 0.45
isCompatibleMethod · 0.45
copyToBmpMethod · 0.45
fillCubeTexturesMethod · 0.45
initStaticMethod · 0.45
initMethod · 0.45
copyToMethod · 0.45
_loadTextureMethod · 0.45
copyResourceMethod · 0.45
resolveToMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected