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

Method _setDepthBufferDefaults

OgreMain/src/OgreTextureGpu.cpp:669–675  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

667 }
668 //-----------------------------------------------------------------------------------
669 void TextureGpu::_setDepthBufferDefaults( uint16 depthBufferPoolId, bool preferDepthTexture,
670 PixelFormatGpu desiredDepthBufferFormat )
671 {
672 OGRE_EXCEPT( Exception::ERR_INVALID_CALL,
673 "Texture must've been created with TextureFlags::RenderToTexture!",
674 "TextureGpu::_setDepthBufferDefaults" );
675 }
676 //-----------------------------------------------------------------------------------
677 uint16 TextureGpu::getDepthBufferPoolId() const
678 {

Callers 6

setEnabledMethod · 0.45
createWorkspaceMethod · 0.45
initTempResourcesMethod · 0.45
createDepthBufferForMethod · 0.45
setupTextureMethod · 0.45
getTempTextureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected