TextureManager::CreateDepthStencilSurface

TextureManager::CreateDepthStencilSurface
virtual Render::DepthStencilSurface* CreateDepthStencilSurface(const ImageSize& size, MemoryManager* manager = 0);
Description

CreateDepthStencilSurface creates a DepthStencil surface, called from RenderBufferManager. Alternative memory manager may be used to swap out resources.

Parameters
Parameters 
Description 
const ImageSize& size 
Dimensions of the depth stencil surface. 
MemoryManager* manager = 0 
Memory Manager (optional). 
Return Value

Pointer to the created depth stencil surface.