Almacena la configuración de un pipeline de renderizado. Más...
#include <GEPipelineConfig.h>
Métodos públicos | |
| GEPipelineConfig () | |
| Construye un objeto con valores por defecto. | |
Atributos públicos | |
| int | vertex_shader |
| Identificador del recurso del shader de vértices. | |
| int | fragment_shader |
| Identificador del recurso del shader de fragmento. | |
| int | attrStride |
| Tamaño en bytes del stride de los atributos de vértice. | |
| std::vector< VkFormat > | attrFormats |
| Formatos de los atributos de vértice. | |
| std::vector< int > | attrOffsets |
| Offsets de los atributos dentro del vértice. | |
| std::vector< VkDescriptorType > | descriptorTypes |
| Tipos de descriptores usados por el pipeline. | |
| std::vector< VkShaderStageFlags > | descriptorStages |
| Etapas de shader para cada descriptor. | |
| VkBool32 | depthTestEnable |
| Habilita test de profundidad. | |
| VkCullModeFlags | cullMode |
| Modo de culling. | |
| VkExtent2D | extent |
| Extensión de la imagen (swapchain). | |
Almacena la configuración de un pipeline de renderizado.
| GEPipelineConfig::GEPipelineConfig | ( | ) |
Construye un objeto con valores por defecto.
Construye un objeto con los valores por defecto.
Hace referencia a attrFormats, attrOffsets, attrStride, cullMode, depthTestEnable, descriptorStages, descriptorTypes, extent, fragment_shader y vertex_shader.
| std::vector<VkFormat> GEPipelineConfig::attrFormats |
Formatos de los atributos de vértice.
Referenciado por GEScene::createPipelineConfig(), GERenderingContext::createPipelineVertexInputStateCreateInfo() y GEPipelineConfig().
| std::vector<int> GEPipelineConfig::attrOffsets |
Offsets de los atributos dentro del vértice.
Referenciado por GEScene::createPipelineConfig(), GERenderingContext::createPipelineVertexInputStateCreateInfo() y GEPipelineConfig().
| int GEPipelineConfig::attrStride |
Tamaño en bytes del stride de los atributos de vértice.
Referenciado por GEScene::createPipelineConfig(), GERenderingContext::createPipelineVertexInputStateCreateInfo() y GEPipelineConfig().
| VkCullModeFlags GEPipelineConfig::cullMode |
Modo de culling.
Referenciado por GEScene::createPipelineConfig(), GERenderingContext::createPipelineRasterizationStateCreateInfo() y GEPipelineConfig().
| VkBool32 GEPipelineConfig::depthTestEnable |
Habilita test de profundidad.
Referenciado por GEScene::createPipelineConfig(), GERenderingContext::createPipelineDepthStencilStateCreateInfo() y GEPipelineConfig().
| std::vector<VkShaderStageFlags> GEPipelineConfig::descriptorStages |
Etapas de shader para cada descriptor.
Referenciado por GEScene::createPipelineConfig(), GERenderingContext::createPipelineLayout() y GEPipelineConfig().
| std::vector<VkDescriptorType> GEPipelineConfig::descriptorTypes |
Tipos de descriptores usados por el pipeline.
Referenciado por GEScene::createPipelineConfig(), GERenderingContext::createPipelineLayout() y GEPipelineConfig().
| VkExtent2D GEPipelineConfig::extent |
Extensión de la imagen (swapchain).
Referenciado por GERenderingContext::createGraphicsPipeline(), GEScene::createPipelineConfig() y GEPipelineConfig().
| int GEPipelineConfig::fragment_shader |
Identificador del recurso del shader de fragmento.
Referenciado por GERenderingContext::createGraphicsPipeline(), GEScene::createPipelineConfig() y GEPipelineConfig().
| int GEPipelineConfig::vertex_shader |
Identificador del recurso del shader de vértices.
Referenciado por GERenderingContext::createGraphicsPipeline(), GEScene::createPipelineConfig() y GEPipelineConfig().