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

Method setTessellationDomainProgramParameters

OgreMain/src/OgrePass.cpp:965–975  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

963 }
964 //-----------------------------------------------------------------------
965 void Pass::setTessellationDomainProgramParameters( GpuProgramParametersSharedPtr params )
966 {
967 OGRE_LOCK_MUTEX( mGpuProgramChangeMutex );
968 if( !mTessellationDomainProgramUsage )
969 {
970 OGRE_EXCEPT( Exception::ERR_INVALIDPARAMS,
971 "This pass does not have a tessellation Domain program assigned!",
972 "Pass::setTessellationDomainProgramParameters" );
973 }
974 mTessellationDomainProgramUsage->setParameters( params );
975 }
976 //-----------------------------------------------------------------------
977 void Pass::setComputeProgram( const String &name, bool resetParams )
978 {

Callers

nothing calls this directly

Calls 1

setParametersMethod · 0.80

Tested by

no test coverage detected