ngfx::VKGraphicsPipeline

Inherits from ngfx::GraphicsPipeline, ngfx::VKPipeline, ngfx::Pipeline

Public Classes

Name
struct State

Public Functions

Name
void create(VKGraphicsContext * ctx, const State & state, const std::vector< VKPipeline::Descriptor > & descriptors, const std::vector< VkVertexInputBindingDescription > & vertexInputBindings, const std::vector< VkVertexInputAttributeDescription > & vertexInputAttributes, const std::vector< VKPipeline::ShaderStage > & shaderStages, VkFormat colorFormat)
virtual ~VKGraphicsPipeline()

Public Attributes

Name
VkPipelineInputAssemblyStateCreateInfo inputAssemblyState
VkPipelineRasterizationStateCreateInfo rasterizationState
std::vector< VkPipelineColorBlendAttachmentState > blendAttachmentState
VkPipelineColorBlendStateCreateInfo colorBlendState
VkPipelineViewportStateCreateInfo viewportState
std::vector< VkDynamicState > dynamicStateEnables
VkPipelineDynamicStateCreateInfo dynamicState
VkPipelineDepthStencilStateCreateInfo depthStencilState
VkPipelineMultisampleStateCreateInfo multisampleState
VkPipelineVertexInputStateCreateInfo vertexInputState
std::vector< VkPipelineShaderStageCreateInfo > vkShaderStages
std::vector< VkDescriptorSetLayout > descriptorSetLayouts
VkPipelineLayoutCreateInfo pipelineLayoutCreateInfo
VkGraphicsPipelineCreateInfo createInfo

Additional inherited members

Public Classes inherited from ngfx::GraphicsPipeline

Name
struct Descriptor
struct State

Public Functions inherited from ngfx::GraphicsPipeline

Name
virtual ~GraphicsPipeline()
void getBindings(std::vector< uint32_t * > pDescriptorBindings, std::vector< uint32_t * > pVertexAttribBindings)

Public Attributes inherited from ngfx::GraphicsPipeline

Name
std::vector< uint32_t > descriptorBindings
std::vector< uint32_t > vertexAttributeBindings

Public Classes inherited from ngfx::VKPipeline

Name
struct Descriptor
struct ShaderStage

Public Functions inherited from ngfx::VKPipeline

Name
virtual ~VKPipeline()

Public Attributes inherited from ngfx::VKPipeline

Name
VkPipeline v
VkPipelineLayout pipelineLayout

Protected Attributes inherited from ngfx::VKPipeline

Name
VkDevice device

Public Functions inherited from ngfx::Pipeline

Name
virtual ~Pipeline()

Public Functions Documentation

function create

void create(
    VKGraphicsContext * ctx,
    const State & state,
    const std::vector< VKPipeline::Descriptor > & descriptors,
    const std::vector< VkVertexInputBindingDescription > & vertexInputBindings,
    const std::vector< VkVertexInputAttributeDescription > & vertexInputAttributes,
    const std::vector< VKPipeline::ShaderStage > & shaderStages,
    VkFormat colorFormat
)

function ~VKGraphicsPipeline

inline virtual ~VKGraphicsPipeline()

Public Attributes Documentation

variable inputAssemblyState

VkPipelineInputAssemblyStateCreateInfo inputAssemblyState;

variable rasterizationState

VkPipelineRasterizationStateCreateInfo rasterizationState;

variable blendAttachmentState

std::vector< VkPipelineColorBlendAttachmentState > blendAttachmentState;

variable colorBlendState

VkPipelineColorBlendStateCreateInfo colorBlendState;

variable viewportState

VkPipelineViewportStateCreateInfo viewportState;

variable dynamicStateEnables

std::vector< VkDynamicState > dynamicStateEnables;

variable dynamicState

VkPipelineDynamicStateCreateInfo dynamicState;

variable depthStencilState

VkPipelineDepthStencilStateCreateInfo depthStencilState;

variable multisampleState

VkPipelineMultisampleStateCreateInfo multisampleState;

variable vertexInputState

VkPipelineVertexInputStateCreateInfo vertexInputState;

variable vkShaderStages

std::vector< VkPipelineShaderStageCreateInfo > vkShaderStages;

variable descriptorSetLayouts

std::vector< VkDescriptorSetLayout > descriptorSetLayouts;

variable pipelineLayoutCreateInfo

VkPipelineLayoutCreateInfo pipelineLayoutCreateInfo;

variable createInfo

VkGraphicsPipelineCreateInfo createInfo;

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