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

Method getCookieCubeTex

Engine/source/lighting/shadowMap/lightShadowMap.cpp:731–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731GFXCubemap* ShadowMapParams::getCookieCubeTex()
732{
733 if ( cookie.isNotEmpty() &&
734 ( mCookieCubeTex.isNull() ||
735 cookie != mCookieCubeTex->getPath() ) )
736 {
737 mCookieCubeTex.set( cookie );
738 }
739 else if ( cookie.isEmpty() )
740 mCookieCubeTex = NULL;
741
742 return mCookieCubeTex.getPointer();
743}
744
745void ShadowMapParams::set( const LightInfoEx *ex )
746{

Callers 2

setTextureStageMethod · 0.80
setTextureStageMethod · 0.80

Calls 6

isNotEmptyMethod · 0.45
isNullMethod · 0.45
getPathMethod · 0.45
setMethod · 0.45
isEmptyMethod · 0.45
getPointerMethod · 0.45

Tested by

no test coverage detected