MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / setTextureProjector

Method setTextureProjector

OgreMain/src/OgreAutoParamDataSource.cpp:674–686  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

672 const Vector4 &AutoParamDataSource::getFogParams() const { return mFogParams; }
673 //-----------------------------------------------------------------------------
674 void AutoParamDataSource::setTextureProjector( const Frustum *frust, size_t index = 0 )
675 {
676 if( index < OGRE_MAX_SIMULTANEOUS_LIGHTS )
677 {
678 if( mCurrentTextureProjector[index] != frust )
679 {
680 mCurrentTextureProjector[index] = frust;
681 mTextureViewProjMatrixDirty[index] = true;
682 mTextureWorldViewProjMatrixDirty[index] = true;
683 mShadowCamDepthRangesDirty[index] = true;
684 }
685 }
686 }
687 //-----------------------------------------------------------------------------
688 const Matrix4 &AutoParamDataSource::getTextureViewProjMatrix( size_t index ) const
689 {

Callers 2

updateSceneGraphMethod · 0.80
executeCommandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected