Nameless Engine
|
#include <GlslVertexFormatDescription.h>
Public Member Functions | |
virtual std::vector< std::string > | getVertexLayoutBindingIndexMacros ()=0 |
virtual VkVertexInputBindingDescription | getVertexBindingDescription ()=0 |
virtual std::vector< VkVertexInputAttributeDescription > | getVertexAttributeDescriptions ()=0 |
Static Public Member Functions | |
static std::unique_ptr< GlslVertexFormatDescription > | createDescription (VertexFormat type) |
Static Public Member Functions inherited from ne::VertexFormatDescription | |
static std::unique_ptr< VertexFormatDescription > | createDescription (VertexFormat type, Renderer *pRenderer) |
Static Protected Member Functions | |
static constexpr uint32_t | getVertexBindingIndex () |
Static Private Attributes | |
static constexpr uint32_t | iVertexBindingIndex = 0 |
Describes a vertex format for Vulkan/GLSL.
|
static |
Creates vertex format description.
type | Type of the vertex format. |
|
pure virtual |
Returns description of all vertex attributes.
Implemented in ne::MeshNodeGlslVertexFormatDescription.
|
pure virtual |
Returns vertex description for vertex input binding.
Implemented in ne::MeshNodeGlslVertexFormatDescription.
|
inlinestaticconstexprprotected |
Returns index of the vertex input binding.
|
pure virtual |
Returns an array of macros (related to vertex format) used in GLSL shader.
Implemented in ne::MeshNodeGlslVertexFormatDescription.
|
staticconstexprprivate |
Index of the vertex input binding.