TextureManager::CreateDepthStencilSurface

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

Creates a depth/stencil surface four use with a render target.

Parameters
Parameters 
Description 
const ImageSize& size 
_nt_ 
const ImageSize& size 
Dimensions of the depth stencil surface. 
VkFormat format 
_nt_ 
VkImageView view 
_nt_ 
Render::MemoryManager* manager = 0 
Memory manager (optional). 
Return Value

The created depth stencil surface.