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

#include <VertexGroup.hpp>

Public Member Functions

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::Point3f tan
 
castor::Point3f tex
 

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::Point3f castor3d::InterleavedVertex::tan

The vertex tangent.

Referenced by castor3d::prepareChunkData().

◆ tex

castor::Point3f castor3d::InterleavedVertex::tex

The vertex texture coordinates.

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


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