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

#include <MorphingUbo.hpp>

Inheritance diagram for castor3d::shader::MorphTargetData:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::MorphTargetData:
Collaboration graph
[legend]

Public Member Functions

C3D_API MorphTargetData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
 SDW_DeclStructInstance (C3D_API, MorphTargetData)
 
C3D_API void morph (sdw::Vec4 &pos, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col, sdw::Float const &weight) const
 
C3D_API void morph (sdw::Vec4 &pos, sdw::Vec4 &nml, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col, sdw::Float const &weight) const
 
C3D_API void morph (sdw::Vec4 &pos, sdw::Vec4 &nml, sdw::Vec4 &tan, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col, sdw::Float const &weight) const
 
C3D_API void morph (sdw::Vec4 &pos, sdw::Vec4 &nml, sdw::Vec4 &tan, sdw::Vec4 &bit, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col, sdw::Float const &weight) const
 

Static Public Member Functions

static ast::type::BaseStructPtr makeType (ast::type::TypesCache &cache, MorphFlags morphFlags=MorphFlags{})
 

Public Attributes

sdw::Vec4 morphPosition
 
sdw::Vec4 morphNormal
 
sdw::Vec4 morphTangent
 
sdw::Vec4 morphBitangent
 
sdw::Vec4 morphTexture0
 
sdw::Vec4 morphTexture1
 
sdw::Vec4 morphTexture2
 
sdw::Vec4 morphTexture3
 
sdw::Vec4 morphColour
 

Constructor & Destructor Documentation

◆ MorphTargetData()

C3D_API castor3d::shader::MorphTargetData::MorphTargetData ( sdw::ShaderWriter & writer,
ast::expr::ExprPtr expr,
bool enabled )

Member Function Documentation

◆ makeType()

static ast::type::BaseStructPtr castor3d::shader::MorphTargetData::makeType ( ast::type::TypesCache & cache,
MorphFlags morphFlags = MorphFlags{} )
static

◆ morph() [1/4]

C3D_API void castor3d::shader::MorphTargetData::morph ( sdw::Vec4 & pos,
sdw::Vec3 & uvw0,
sdw::Vec3 & uvw1,
sdw::Vec3 & uvw2,
sdw::Vec3 & uvw3,
sdw::Vec3 & col,
sdw::Float const & weight ) const

◆ morph() [2/4]

C3D_API void castor3d::shader::MorphTargetData::morph ( sdw::Vec4 & pos,
sdw::Vec4 & nml,
sdw::Vec3 & uvw0,
sdw::Vec3 & uvw1,
sdw::Vec3 & uvw2,
sdw::Vec3 & uvw3,
sdw::Vec3 & col,
sdw::Float const & weight ) const

◆ morph() [3/4]

C3D_API void castor3d::shader::MorphTargetData::morph ( sdw::Vec4 & pos,
sdw::Vec4 & nml,
sdw::Vec4 & tan,
sdw::Vec3 & uvw0,
sdw::Vec3 & uvw1,
sdw::Vec3 & uvw2,
sdw::Vec3 & uvw3,
sdw::Vec3 & col,
sdw::Float const & weight ) const

◆ morph() [4/4]

C3D_API void castor3d::shader::MorphTargetData::morph ( sdw::Vec4 & pos,
sdw::Vec4 & nml,
sdw::Vec4 & tan,
sdw::Vec4 & bit,
sdw::Vec3 & uvw0,
sdw::Vec3 & uvw1,
sdw::Vec3 & uvw2,
sdw::Vec3 & uvw3,
sdw::Vec3 & col,
sdw::Float const & weight ) const

◆ SDW_DeclStructInstance()

castor3d::shader::MorphTargetData::SDW_DeclStructInstance ( C3D_API ,
MorphTargetData  )

Member Data Documentation

◆ morphBitangent

sdw::Vec4 castor3d::shader::MorphTargetData::morphBitangent

◆ morphColour

sdw::Vec4 castor3d::shader::MorphTargetData::morphColour

◆ morphNormal

sdw::Vec4 castor3d::shader::MorphTargetData::morphNormal

◆ morphPosition

sdw::Vec4 castor3d::shader::MorphTargetData::morphPosition

◆ morphTangent

sdw::Vec4 castor3d::shader::MorphTargetData::morphTangent

◆ morphTexture0

sdw::Vec4 castor3d::shader::MorphTargetData::morphTexture0

◆ morphTexture1

sdw::Vec4 castor3d::shader::MorphTargetData::morphTexture1

◆ morphTexture2

sdw::Vec4 castor3d::shader::MorphTargetData::morphTexture2

◆ morphTexture3

sdw::Vec4 castor3d::shader::MorphTargetData::morphTexture3

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