SpiecsEngine
 
Loading...
Searching...
No Matches

◆ AddDepthAttachment() [1/2]

template<typename T >
RendererPassBuilder & Spices::Renderer::RendererPassBuilder::AddDepthAttachment ( const std::string & attachmentName,
const TextureType & type,
T func )

Add a depth attachment.

Parameters
[in]attachmentNameAttachment Name.
[in]typeAttachment TextureType.
[in]funcDefines Specific VkAttachmentDescription.
Returns
Returns the RendererPassBuilder.