Lysa  0.0
Lysa 3D Engine
VertexData Struct Reference

Detailed Description

Layout of vertex data in the vertex buffer.

Public Attributes

float4 position
 
float4 normal
 
float4 tangent
 

Static Public Attributes

static const std::vector< vireo::VertexAttributeDesc > vertexAttributes
 
static const std::vector< vireo::VertexAttributeDesc > vertexAttributesDepth
 

Member Data Documentation

float4 normal

Normal (xyz) and texture coordinate v (w).

float4 position

Position (xyz) and texture coordinate u (w).

float4 tangent

Tangent (xyz) and bitangent sign (w).

const std::vector<vireo::VertexAttributeDesc> vertexAttributes
static

Descriptor for vertex attributes.

const std::vector<vireo::VertexAttributeDesc> vertexAttributesDepth
static

Descriptor for vertex attributes for depth prepass.