#include <MorphingUbo.hpp>
|
C3D_API | MorphingWeightsData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled) |
|
| SDW_DeclStructInstance (C3D_API, MorphingWeightsData) |
|
C3D_API void | morph (sdw::Array< shader::MorphTargetsData > const &targets, sdw::UInt vertexId, sdw::Vec4 &pos, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col) const |
|
C3D_API void | morph (sdw::Array< shader::MorphTargetsData > const &targets, sdw::UInt vertexId, sdw::Vec4 &pos, sdw::Vec4 &nml, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col) const |
|
C3D_API void | morph (sdw::Array< shader::MorphTargetsData > const &targets, sdw::UInt vertexId, sdw::Vec4 &pos, sdw::Vec4 &nml, sdw::Vec4 &tan, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col) const |
|
C3D_API void | morph (sdw::ArrayStorageBufferT< shader::MorphTargetsData > const &targets, sdw::UInt vertexId, sdw::Vec4 &pos, sdw::Vec4 &nml, sdw::Vec4 &tan, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col) const |
|
sdw::UInt | index (sdw::UInt const &index) const |
|
sdw::Float | weight (sdw::UInt const &index) const |
|
|
static ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache) |
|
static C3D_API void | morphNoAnim (sdw::ArrayStorageBufferT< shader::MorphTargetsData > const &targets, sdw::UInt vertexId, sdw::Vec4 &pos, sdw::Vec4 &nml, sdw::Vec4 &tan, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col) |
|
◆ MorphingWeightsData()
C3D_API castor3d::shader::MorphingWeightsData::MorphingWeightsData |
( |
sdw::ShaderWriter & |
writer, |
|
|
ast::expr::ExprPtr |
expr, |
|
|
bool |
enabled |
|
) |
| |
◆ index()
sdw::UInt castor3d::shader::MorphingWeightsData::index |
( |
sdw::UInt const & |
index | ) |
const |
|
inline |
◆ makeType()
static ast::type::BaseStructPtr castor3d::shader::MorphingWeightsData::makeType |
( |
ast::type::TypesCache & |
cache | ) |
|
|
static |
◆ morph() [1/4]
C3D_API void castor3d::shader::MorphingWeightsData::morph |
( |
sdw::Array< shader::MorphTargetsData > const & |
targets, |
|
|
sdw::UInt |
vertexId, |
|
|
sdw::Vec4 & |
pos, |
|
|
sdw::Vec3 & |
uvw0, |
|
|
sdw::Vec3 & |
uvw1, |
|
|
sdw::Vec3 & |
uvw2, |
|
|
sdw::Vec3 & |
uvw3, |
|
|
sdw::Vec3 & |
col |
|
) |
| const |
◆ morph() [2/4]
C3D_API void castor3d::shader::MorphingWeightsData::morph |
( |
sdw::Array< shader::MorphTargetsData > const & |
targets, |
|
|
sdw::UInt |
vertexId, |
|
|
sdw::Vec4 & |
pos, |
|
|
sdw::Vec4 & |
nml, |
|
|
sdw::Vec3 & |
uvw0, |
|
|
sdw::Vec3 & |
uvw1, |
|
|
sdw::Vec3 & |
uvw2, |
|
|
sdw::Vec3 & |
uvw3, |
|
|
sdw::Vec3 & |
col |
|
) |
| const |
◆ morph() [3/4]
C3D_API void castor3d::shader::MorphingWeightsData::morph |
( |
sdw::Array< shader::MorphTargetsData > const & |
targets, |
|
|
sdw::UInt |
vertexId, |
|
|
sdw::Vec4 & |
pos, |
|
|
sdw::Vec4 & |
nml, |
|
|
sdw::Vec4 & |
tan, |
|
|
sdw::Vec3 & |
uvw0, |
|
|
sdw::Vec3 & |
uvw1, |
|
|
sdw::Vec3 & |
uvw2, |
|
|
sdw::Vec3 & |
uvw3, |
|
|
sdw::Vec3 & |
col |
|
) |
| const |
◆ morph() [4/4]
C3D_API void castor3d::shader::MorphingWeightsData::morph |
( |
sdw::ArrayStorageBufferT< shader::MorphTargetsData > const & |
targets, |
|
|
sdw::UInt |
vertexId, |
|
|
sdw::Vec4 & |
pos, |
|
|
sdw::Vec4 & |
nml, |
|
|
sdw::Vec4 & |
tan, |
|
|
sdw::Vec3 & |
uvw0, |
|
|
sdw::Vec3 & |
uvw1, |
|
|
sdw::Vec3 & |
uvw2, |
|
|
sdw::Vec3 & |
uvw3, |
|
|
sdw::Vec3 & |
col |
|
) |
| const |
◆ morphNoAnim()
static C3D_API void castor3d::shader::MorphingWeightsData::morphNoAnim |
( |
sdw::ArrayStorageBufferT< shader::MorphTargetsData > const & |
targets, |
|
|
sdw::UInt |
vertexId, |
|
|
sdw::Vec4 & |
pos, |
|
|
sdw::Vec4 & |
nml, |
|
|
sdw::Vec4 & |
tan, |
|
|
sdw::Vec3 & |
uvw0, |
|
|
sdw::Vec3 & |
uvw1, |
|
|
sdw::Vec3 & |
uvw2, |
|
|
sdw::Vec3 & |
uvw3, |
|
|
sdw::Vec3 & |
col |
|
) |
| |
|
static |
◆ SDW_DeclStructInstance()
◆ weight()
sdw::Float castor3d::shader::MorphingWeightsData::weight |
( |
sdw::UInt const & |
index | ) |
const |
|
inline |
◆ morphTargetsCount
sdw::UInt castor3d::shader::MorphingWeightsData::morphTargetsCount |
La documentation de cette structure a été générée à partir du fichier suivant :