NvVKConfiguration Struct Reference
VK config representation. More...
#include <NvVkContext.h>
Inheritance diagram for NvVKConfiguration:
Public Member Functions | |
NvVKConfiguration (const NvGfxConfiguration &gfx) | |
NvVKConfiguration (uint32_t r=8, uint32_t g=8, uint32_t b=8, uint32_t a=8, uint32_t d=24, uint32_t s=0, uint32_t msaa=0) | |
Inline all-elements constructor. | |
Static Public Member Functions | |
static VkPhysicalDeviceFeatures | requiredFeaturesToEnable () |
Features required by the framework which are enabled by default. | |
Public Attributes | |
VkImageUsageFlags | mainTargetUsageFlags |
Usage flags for the main color render target default is VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT. | |
VkImageUsageFlags | mainDepthStencilUsageFlags |
Usage flags for the main depth stencil render target default is VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT. | |
std::vector< std::string > | extensionsToEnable |
Additional extensions to enable during instance and device create time. | |
std::vector< std::string > | layersToEnable |
Additional layers to enable during instance create time (device layers are deprecated). | |
VkPhysicalDeviceFeatures | featuresToEnable |
Features to enable during device create time. |
Detailed Description
VK config representation.Constructor & Destructor Documentation
NvVKConfiguration::NvVKConfiguration | ( | uint32_t | r = 8 , |
|
uint32_t | g = 8 , |
|||
uint32_t | b = 8 , |
|||
uint32_t | a = 8 , |
|||
uint32_t | d = 24 , |
|||
uint32_t | s = 0 , |
|||
uint32_t | msaa = 0 | |||
) | [inline] |
Inline all-elements constructor.
- Parameters:
-
[in] r the red color depth in bits [in] g the green color depth in bits [in] b the blue color depth in bits [in] a the alpha color depth in bits [in] d the depth buffer depth in bits [in] s the stencil buffer depth in bits [in] msaa the MSAA buffer sample count
The documentation for this struct was generated from the following file: