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

#include <MeshNodeHlslVertexFormatDescription.h>

Inheritance diagram for ne::MeshNodeHlslVertexFormatDescription:
ne::HlslVertexFormatDescription ne::VertexFormatDescription

Public Member Functions

virtual std::vector< std::string > getVertexSemanticLocations () override
 
virtual std::vector< D3D12_INPUT_ELEMENT_DESC > getShaderInputElementDescription () override
 
virtual std::vector< std::string > getVertexSemanticLocations ()=0
 
virtual std::vector< D3D12_INPUT_ELEMENT_DESC > getShaderInputElementDescription ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from ne::HlslVertexFormatDescription
static std::unique_ptr< HlslVertexFormatDescriptioncreateDescription (VertexFormat type)
 
- Static Public Member Functions inherited from ne::VertexFormatDescription
static std::unique_ptr< VertexFormatDescriptioncreateDescription (VertexFormat type, Renderer *pRenderer)
 

Detailed Description

Describes vertex format used by MeshNode.

Member Function Documentation

◆ getShaderInputElementDescription()

std::vector< D3D12_INPUT_ELEMENT_DESC > ne::MeshNodeHlslVertexFormatDescription::getShaderInputElementDescription ( )
overridevirtual

Returns shader input layout description (vertex attribute description).

Returns
Input layout description.

Implements ne::HlslVertexFormatDescription.

◆ getVertexSemanticLocations()

std::vector< std::string > ne::MeshNodeHlslVertexFormatDescription::getVertexSemanticLocations ( )
overridevirtual

Returns information about vertex semantics used by shaders.

Returns
Array of semantics where index (in the array) describes semantic location.

Implements ne::HlslVertexFormatDescription.


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