Castor3D 0.16.0
Multiplatform 3D engine
Classes | Public Member Functions | Public Attributes | List of all members
castor3d::VertexBoneData::Weights Union Reference

#include <VertexBoneData.hpp>

Classes

struct  weights
 

Public Member Functions

 Weights ()=default
 
float & operator[] (size_t index)
 
float const & operator[] (size_t index) const
 
size_t size () const
 
auto begin () const
 
auto begin ()
 
auto end () const
 
auto end ()
 

Public Attributes

castor::Array< float, MaxBonesPerVertexdata {}
 

Detailed Description

The bones weights.

Constructor & Destructor Documentation

◆ Weights()

castor3d::VertexBoneData::Weights::Weights ( )
default

Member Function Documentation

◆ begin() [1/2]

auto castor3d::VertexBoneData::Weights::begin ( )
inline

References data.

◆ begin() [2/2]

auto castor3d::VertexBoneData::Weights::begin ( ) const
inline

References data.

◆ end() [1/2]

auto castor3d::VertexBoneData::Weights::end ( )
inline

References data.

◆ end() [2/2]

auto castor3d::VertexBoneData::Weights::end ( ) const
inline

References data.

◆ operator[]() [1/2]

float & castor3d::VertexBoneData::Weights::operator[] ( size_t index)
inline

References data.

◆ operator[]() [2/2]

float const & castor3d::VertexBoneData::Weights::operator[] ( size_t index) const
inline

References data.

◆ size()

size_t castor3d::VertexBoneData::Weights::size ( ) const
inline

References data.

Member Data Documentation

◆ data

castor::Array< float, MaxBonesPerVertex > castor3d::VertexBoneData::Weights::data {}

The documentation for this union was generated from the following file: