Nebula
Loading...
Searching...
No Matches
Vulkan::VkDepthStencilTarget Class Reference

#include <vkdepthstenciltarget.h>

Inherits Base::DepthStencilTargetBase.

Public Member Functions

 VkDepthStencilTarget ()
 constructor
 
virtual ~VkDepthStencilTarget ()
 destructor
 
void Setup ()
 setup depth-stencil target
 
void Discard ()
 discard depth-stencil target
 
void OnDisplayResized (SizeT width, SizeT height)
 called after we change the display size
 
void BeginPass ()
 begins pass
 
void EndPass ()
 ends pass
 
const VkViewport & GetVkViewport () const
 get the vulkan viewports
 
const VkRect2D & GetVkScissorRect () const
 get the vulkan scissor rectangles
 
VkImageView GetVkImageView ()
 return handle to the view
 

Private Member Functions

 __DeclareClass (VkDepthStencilTarget)
 

Private Attributes

VkViewport viewport
 
VkRect2D scissor
 
VkImage image
 
VkDeviceMemory mem
 
VkImageView view
 

Constructor & Destructor Documentation

◆ VkDepthStencilTarget()

Vulkan::VkDepthStencilTarget::VkDepthStencilTarget ( )

constructor

◆ ~VkDepthStencilTarget()

Vulkan::VkDepthStencilTarget::~VkDepthStencilTarget ( )
virtual

destructor

Member Function Documentation

◆ __DeclareClass()

Vulkan::VkDepthStencilTarget::__DeclareClass ( VkDepthStencilTarget )
private

◆ BeginPass()

void Vulkan::VkDepthStencilTarget::BeginPass ( )

begins pass

◆ Discard()

void Vulkan::VkDepthStencilTarget::Discard ( )

discard depth-stencil target

◆ EndPass()

void Vulkan::VkDepthStencilTarget::EndPass ( )

ends pass

◆ GetVkImageView()

VkImageView Vulkan::VkDepthStencilTarget::GetVkImageView ( )
inline

return handle to the view

◆ GetVkScissorRect()

const VkRect2D & Vulkan::VkDepthStencilTarget::GetVkScissorRect ( ) const
inline

get the vulkan scissor rectangles

◆ GetVkViewport()

const VkViewport & Vulkan::VkDepthStencilTarget::GetVkViewport ( ) const
inline

get the vulkan viewports

◆ OnDisplayResized()

void Vulkan::VkDepthStencilTarget::OnDisplayResized ( SizeT width,
SizeT height )

called after we change the display size

◆ Setup()

void Vulkan::VkDepthStencilTarget::Setup ( )

setup depth-stencil target

Member Data Documentation

◆ image

VkImage Vulkan::VkDepthStencilTarget::image
private

◆ mem

VkDeviceMemory Vulkan::VkDepthStencilTarget::mem
private

◆ scissor

VkRect2D Vulkan::VkDepthStencilTarget::scissor
private

◆ view

VkImageView Vulkan::VkDepthStencilTarget::view
private

◆ viewport

VkViewport Vulkan::VkDepthStencilTarget::viewport
private

The documentation for this class was generated from the following files: