NvVkRenderTarget Class Reference

A wrapper for all forms of render target. More...

#include <NvVkContext.h>

List of all members.

Public Member Functions

virtual NvVkImagetarget ()=0
 Retrieve the current frame's NvVkImage.
virtual VkImage & image ()=0
 Retrieve the current frame's VkImage.
virtual VkImage & depthStencil ()=0
 Retrieve the current frame's depth/stencil image.
virtual VkImageView & targetView ()=0
 Retrieve the VkImageView of the current frame's color target.
virtual VkFramebuffer & frameBuffer ()=0
 Retrieve the framebuffer object for the current frame.
NvVkContextvk ()
 Retrieve the VK app context associated with the render target.
VkFormat & targetFormat ()
 Retrieve the color format of the target.
VkFormat & depthStencilFormat ()
 Retrieve the despth/stencil format of the target.
VkRenderPass & clearRenderPass ()
 Retrieve the a compatible clearing render pass for this target.
VkRenderPass & copyRenderPass ()
 Retrieve the a compatible non-clearing render pass for this target.
int32_t width ()
 Retrieve the target width.
int32_t height ()
 Retrieve the target height.

Protected Member Functions

 NvVkRenderTarget (NvVkContext &vk)

Protected Attributes

NvVkContext_vk
VkFormat _targetFormat
VkFormat _depthStencilFormat
VkRenderPass _clearRenderPass
VkRenderPass _copyRenderPass
int32_t _width
int32_t _height


Detailed Description

A wrapper for all forms of render target.
The documentation for this class was generated from the following file: