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

Method attachDepthBuffer

RenderSystems/GLES2/src/OgreGLES2NullTexture.cpp:207–218  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

205 }
206 //-----------------------------------------------------------------------------------
207 bool GLES2NullTextureTarget::attachDepthBuffer( DepthBuffer *depthBuffer, bool exactFormatMatch )
208 {
209 OGRE_EXCEPT( Exception::ERR_INVALID_CALL,
210 "Null formats don't use a depth buffer. "
211 "Call setDepthBufferPool( DepthBuffer::POOL_NO_DEPTH ) "
212 "on this RTT before rendering!\n"
213 "If you're manually setting the compositor, "
214 "set TextureDefinition::depthBufferId to 0",
215 "GLES2NullTextureTarget::attachDepthBuffer" );
216
217 return false;
218 }
219 //-----------------------------------------------------------------------------------
220 void GLES2NullTextureTarget::getCustomAttribute( const String& name, void* pData )
221 {

Callers 2

_createRenderWindowMethod · 0.45
resetRendererMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected