VOX
A little voxel engine
Loading...
Searching...
No Matches
Pipeline::CreateInfo Struct Reference

#include <Pipeline.hpp>

Collaboration diagram for Pipeline::CreateInfo:
Collaboration graph

Public Attributes

VkExtent2D extent
 
std::string vert_path
 
std::string geom_path
 
std::string frag_path
 
std::optional< VkVertexInputBindingDescription > binding_description = {}
 
std::vector< VkVertexInputAttributeDescription > attribute_descriptions = {}
 
VkPrimitiveTopology topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
 
VkPolygonMode polygon_mode = VK_POLYGON_MODE_FILL
 
VkCullModeFlags cull_mode = VK_CULL_MODE_BACK_BIT
 
VkFrontFace front_face = VK_FRONT_FACE_COUNTER_CLOCKWISE
 
std::vector< VkFormat > color_formats = {}
 
VkFormat depth_format = VK_FORMAT_UNDEFINED
 
VkBool32 depth_bias_enable = VK_FALSE
 
float depth_bias_constant_factor = 0.0f
 
float depth_bias_clamp = 0.0f
 
float depth_bias_slope_factor = 0.0f
 
std::vector< VkDescriptorSetLayout > descriptor_set_layouts = {}
 
std::vector< VkPushConstantRange > push_constant_ranges = {}
 
VkRenderPass render_pass = VK_NULL_HANDLE
 
uint32_t subpass = 0
 
std::vector< VkDynamicState > dynamic_states = {}
 
bool enable_alpha_blending = false
 

Member Data Documentation

◆ attribute_descriptions

std::vector<VkVertexInputAttributeDescription> Pipeline::CreateInfo::attribute_descriptions = {}

◆ binding_description

std::optional<VkVertexInputBindingDescription> Pipeline::CreateInfo::binding_description = {}

◆ color_formats

std::vector<VkFormat> Pipeline::CreateInfo::color_formats = {}

◆ cull_mode

VkCullModeFlags Pipeline::CreateInfo::cull_mode = VK_CULL_MODE_BACK_BIT

◆ depth_bias_clamp

float Pipeline::CreateInfo::depth_bias_clamp = 0.0f

◆ depth_bias_constant_factor

float Pipeline::CreateInfo::depth_bias_constant_factor = 0.0f

◆ depth_bias_enable

VkBool32 Pipeline::CreateInfo::depth_bias_enable = VK_FALSE

◆ depth_bias_slope_factor

float Pipeline::CreateInfo::depth_bias_slope_factor = 0.0f

◆ depth_format

VkFormat Pipeline::CreateInfo::depth_format = VK_FORMAT_UNDEFINED

◆ descriptor_set_layouts

std::vector<VkDescriptorSetLayout> Pipeline::CreateInfo::descriptor_set_layouts = {}

◆ dynamic_states

std::vector<VkDynamicState> Pipeline::CreateInfo::dynamic_states = {}

◆ enable_alpha_blending

bool Pipeline::CreateInfo::enable_alpha_blending = false

◆ extent

VkExtent2D Pipeline::CreateInfo::extent

◆ frag_path

std::string Pipeline::CreateInfo::frag_path

◆ front_face

VkFrontFace Pipeline::CreateInfo::front_face = VK_FRONT_FACE_COUNTER_CLOCKWISE

◆ geom_path

std::string Pipeline::CreateInfo::geom_path

◆ polygon_mode

VkPolygonMode Pipeline::CreateInfo::polygon_mode = VK_POLYGON_MODE_FILL

◆ push_constant_ranges

std::vector<VkPushConstantRange> Pipeline::CreateInfo::push_constant_ranges = {}

◆ render_pass

VkRenderPass Pipeline::CreateInfo::render_pass = VK_NULL_HANDLE

◆ subpass

uint32_t Pipeline::CreateInfo::subpass = 0

◆ topology

VkPrimitiveTopology Pipeline::CreateInfo::topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST

◆ vert_path

std::string Pipeline::CreateInfo::vert_path

The documentation for this struct was generated from the following file: