Rebel Fork Framework
Urho3D::ModelVertexFormat Struct Reference

Model vertex format, unpacked for easy editing. More...

#include <Urho3D/Graphics/ModelView.h>

Public Member Functions

ea::vector< VertexElement > ToVertexElements () const
void MergeFrom (const ModelVertexFormat &rhs)
unsigned ToHash () const
bool operator== (const ModelVertexFormat &rhs) const
bool operator!= (const ModelVertexFormat &rhs) const

Public Attributes

VertexElementType position_ { Undefined }
VertexElementType normal_ { Undefined }
VertexElementType tangent_ { Undefined }
VertexElementType binormal_ { Undefined }
VertexElementType blendIndices_ { Undefined }
VertexElementType blendWeights_ { Undefined }
ea::array< VertexElementType, MaxColors > color_ { Undefined, Undefined, Undefined, Undefined }
ea::array< VertexElementType, MaxUVs > uv_ { Undefined, Undefined, Undefined, Undefined }

Static Public Attributes

static const VertexElementType Undefined = MAX_VERTEX_ELEMENT_TYPES
static const unsigned MaxColors = 4
static const unsigned MaxUVs = 4

Detailed Description

Model vertex format, unpacked for easy editing.

Member Data Documentation

◆ position_

VertexElementType Urho3D::ModelVertexFormat::position_ { Undefined }

Vertex element formats


The documentation for this struct was generated from the following files:
  • Urho3D/Graphics/ModelView.h
  • Urho3D/Graphics/ModelView.cpp