Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::InterleavedVertex Struct Reference

#include <VertexGroup.hpp>

Public Member Functions

 InterleavedVertex ()=default
 
 InterleavedVertex (castor::Point3f pos, castor::Point3f nml={}, castor::Point4f tan={}, castor::Point3f tex={})
 
InterleavedVertexposition (castor::Point3f const &val)
 
InterleavedVertexnormal (castor::Point3f const &val)
 
InterleavedVertextexcoord (castor::Point2f const &val)
 
InterleavedVertextexcoord (castor::Point3f const &val)
 

Public Attributes

castor::Point3f pos {}
 
castor::Point3f nml {}
 
castor::Point4f tan {}
 
castor::Point3f tex {}
 

Constructor & Destructor Documentation

◆ InterleavedVertex() [1/2]

castor3d::InterleavedVertex::InterleavedVertex ( )
default

◆ InterleavedVertex() [2/2]

castor3d::InterleavedVertex::InterleavedVertex ( castor::Point3f pos,
castor::Point3f nml = {},
castor::Point4f tan = {},
castor::Point3f tex = {} )
inlineexplicit

Member Function Documentation

◆ normal()

InterleavedVertex & castor3d::InterleavedVertex::normal ( castor::Point3f const & val)
inline

References nml.

◆ position()

InterleavedVertex & castor3d::InterleavedVertex::position ( castor::Point3f const & val)
inline

References pos.

◆ texcoord() [1/2]

InterleavedVertex & castor3d::InterleavedVertex::texcoord ( castor::Point2f const & val)
inline

References tex.

◆ texcoord() [2/2]

InterleavedVertex & castor3d::InterleavedVertex::texcoord ( castor::Point3f const & val)
inline

References tex.

Member Data Documentation

◆ nml

castor::Point3f castor3d::InterleavedVertex::nml {}

The vertex normal.

Referenced by normal(), and castor3d::prepareChunkData().

◆ pos

castor::Point3f castor3d::InterleavedVertex::pos {}

The vertex coordinates.

Referenced by position(), and castor3d::prepareChunkData().

◆ tan

castor::Point4f castor3d::InterleavedVertex::tan {}

The vertex tangent.

Referenced by castor3d::prepareChunkData().

◆ tex

castor::Point3f castor3d::InterleavedVertex::tex {}

The vertex texture coordinates.

Referenced by castor3d::prepareChunkData(), texcoord(), and texcoord().


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