ngfx::VKGraphicsPipeline::State

Public Attributes

Name
VkPrimitiveTopology primitiveTopology
VkPolygonMode polygonMode
VkBool32 blendEnable
VkBlendFactor srcColorBlendFactor
VkBlendFactor dstColorBlendFactor
VkBlendFactor srcAlphaBlendFactor
VkBlendFactor dstAlphaBlendFactor
VkBlendOp colorBlendOp
VkBlendOp alphaBlendOp
VkColorComponentFlags colorWriteMask
VkCullModeFlags cullModeFlags
VkFrontFace frontFace
float lineWidth
VkBool32 depthTestEnable
VkBool32 depthWriteEnable
VkRenderPass renderPass
uint32_t numSamples
uint32_t numColorAttachments

Public Attributes Documentation

variable primitiveTopology

VkPrimitiveTopology primitiveTopology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;

variable polygonMode

VkPolygonMode polygonMode = VK_POLYGON_MODE_FILL;

variable blendEnable

VkBool32 blendEnable = VK_FALSE;

variable srcColorBlendFactor

VkBlendFactor srcColorBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA;

variable dstColorBlendFactor

VkBlendFactor dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;

variable srcAlphaBlendFactor

VkBlendFactor srcAlphaBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA;

variable dstAlphaBlendFactor

VkBlendFactor dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;

variable colorBlendOp

VkBlendOp colorBlendOp = VK_BLEND_OP_ADD;

variable alphaBlendOp

VkBlendOp alphaBlendOp = VK_BLEND_OP_ADD;

variable colorWriteMask

VkColorComponentFlags colorWriteMask =
        VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT |
        VK_COLOR_COMPONENT_B_BIT | VK_COLOR_COMPONENT_A_BIT;

variable cullModeFlags

VkCullModeFlags cullModeFlags = VK_CULL_MODE_BACK_BIT;

variable frontFace

VkFrontFace frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE;

variable lineWidth

float lineWidth = 1.0f;

variable depthTestEnable

VkBool32 depthTestEnable = VK_FALSE;

variable depthWriteEnable

VkBool32 depthWriteEnable = VK_FALSE;

variable renderPass

VkRenderPass renderPass;

variable numSamples

uint32_t numSamples = 1;

variable numColorAttachments

uint32_t numColorAttachments = 1;

Updated on 3 April 2021 at 20:21:51 PDT