MCPcopy Create free account
hub / github.com/OGRECave/ogre / unbindGpuProgram

Method unbindGpuProgram

OgreMain/src/OgreRenderSystem.cpp:779–786  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

777 }
778 //-----------------------------------------------------------------------
779 void RenderSystem::unbindGpuProgram(GpuProgramType gptype)
780 {
781 // mark clip planes dirty if changed (programmable can change space)
782 if(gptype == GPT_VERTEX_PROGRAM && !mClipPlanes.empty() && mProgramBound[gptype])
783 mClipPlanesDirty = true;
784
785 mProgramBound[gptype] = false;
786 }
787 //-----------------------------------------------------------------------
788 bool RenderSystem::isGpuProgramBound(GpuProgramType gptype)
789 {

Callers 3

_setPassMethod · 0.45
executeMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected