NvQuadVK Class Reference
A pre-made Quad rendering class. More...
#include <NvQuadVK.h>
Public Member Functions | |
void | Draw (VkCommandBuffer &cmd) |
Draw the quad. | |
VkPipelineVertexInputStateCreateInfo & | getVIInfo () |
Get the Vertex input state for creating a rendering pipeline object for this quad. | |
VkPipelineInputAssemblyStateCreateInfo & | getIAInfo () |
Get the Input Assembly state for creating a rendering pipeline object for this quad. | |
Static Public Member Functions | |
static NvQuadVK * | Create (NvVkContext &vk) |
Create a new quad rendering object. |
Detailed Description
A pre-made Quad rendering class.Member Function Documentation
static NvQuadVK* NvQuadVK::Create | ( | NvVkContext & | vk | ) | [static] |
Create a new quad rendering object.
- Parameters:
-
[in] the VK queue/device to use
- Returns:
- the quad object
void NvQuadVK::Draw | ( | VkCommandBuffer & | cmd | ) |
Draw the quad.
- Parameters:
-
[in] the destination command buffer
VkPipelineInputAssemblyStateCreateInfo& NvQuadVK::getIAInfo | ( | ) | [inline] |
Get the Input Assembly state for creating a rendering pipeline object for this quad.
- Returns:
- the IAStateInfo for this qaud
VkPipelineVertexInputStateCreateInfo& NvQuadVK::getVIInfo | ( | ) | [inline] |
Get the Vertex input state for creating a rendering pipeline object for this quad.
- Returns:
- the VIStateInfo for this quad
The documentation for this class was generated from the following file: