Nameless Engine
Loading...
Searching...
No Matches
ne::MeshNodeGlslVertexFormatDescription Class Reference

#include <MeshNodeGlslVertexFormatDescription.h>

Inheritance diagram for ne::MeshNodeGlslVertexFormatDescription:
ne::GlslVertexFormatDescription ne::VertexFormatDescription

Public Member Functions

virtual std::vector< std::string > getVertexLayoutBindingIndexMacros () override
 
virtual VkVertexInputBindingDescription getVertexBindingDescription () override
 
virtual std::vector< VkVertexInputAttributeDescription > getVertexAttributeDescriptions () override
 
virtual std::vector< std::string > getVertexLayoutBindingIndexMacros ()=0
 
virtual VkVertexInputBindingDescription getVertexBindingDescription ()=0
 
virtual std::vector< VkVertexInputAttributeDescription > getVertexAttributeDescriptions ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from ne::GlslVertexFormatDescription
static std::unique_ptr< GlslVertexFormatDescriptioncreateDescription (VertexFormat type)
 
- Static Public Member Functions inherited from ne::VertexFormatDescription
static std::unique_ptr< VertexFormatDescriptioncreateDescription (VertexFormat type, Renderer *pRenderer)
 
- Static Protected Member Functions inherited from ne::GlslVertexFormatDescription
static constexpr uint32_t getVertexBindingIndex ()
 

Detailed Description

Describes vertex format used by MeshNode.

Member Function Documentation

◆ getVertexAttributeDescriptions()

std::vector< VkVertexInputAttributeDescription > ne::MeshNodeGlslVertexFormatDescription::getVertexAttributeDescriptions ( )
overridevirtual

Returns description of all vertex attributes.

Returns
Vertex attribute descriptions.

Implements ne::GlslVertexFormatDescription.

◆ getVertexBindingDescription()

VkVertexInputBindingDescription ne::MeshNodeGlslVertexFormatDescription::getVertexBindingDescription ( )
overridevirtual

Returns vertex description for vertex input binding.

Returns
Vertex input binding description.

Implements ne::GlslVertexFormatDescription.

◆ getVertexLayoutBindingIndexMacros()

std::vector< std::string > ne::MeshNodeGlslVertexFormatDescription::getVertexLayoutBindingIndexMacros ( )
overridevirtual

Returns an array of macros (related to vertex format) used in GLSL shader.

Returns
Array of macro names where index in the array means binding location (index).

Implements ne::GlslVertexFormatDescription.


The documentation for this class was generated from the following files: