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

Method getFormat

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

Source from the content-addressed store, hash-verified

293}
294
295GFXFormat GFXGLTextureTarget::getFormat()
296{
297 if(mTargets[Color0].isValid())
298 return mTargets[Color0]->getFormat();
299
300 return GFXFormatR8G8B8A8;
301}
302
303void GFXGLTextureTarget::attachTexture( RenderSlot slot, GFXTextureObject *tex, U32 mipLevel/*=0*/, U32 zOffset /*= 0*/ )
304{

Callers 11

getFormatMethod · 0.45
isCompatibleMethod · 0.45
getFormatMethod · 0.45
isCompatibleMethod · 0.45
copyToBmpMethod · 0.45
fillCubeTexturesMethod · 0.45
initStaticMethod · 0.45
_fastTextureLoadFunction · 0.45
_slowTextureLoadFunction · 0.45
_loadTextureMethod · 0.45
resolveToMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected