Castor3D 0.16.0
Multiplatform 3D engine
|
#include <MorphingUbo.hpp>
Public Member Functions | |
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::Array< shader::MorphTargetsData > const &targets, sdw::UInt vertexId, 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) 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 |
C3D_API void | morph (sdw::ArrayStorageBufferT< shader::MorphTargetsData > const &targets, sdw::UInt vertexId, 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) const |
sdw::UInt | index (sdw::UInt const &index) const |
sdw::Float | weight (sdw::UInt const &index) const |
Static Public Member Functions | |
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::Vec4 &bit, sdw::Vec3 &uvw0, sdw::Vec3 &uvw1, sdw::Vec3 &uvw2, sdw::Vec3 &uvw3, sdw::Vec3 &col) |
Public Attributes | |
sdw::UInt | morphTargetsCount |
C3D_API castor3d::shader::MorphingWeightsData::MorphingWeightsData | ( | sdw::ShaderWriter & | writer, |
ast::expr::ExprPtr | expr, | ||
bool | enabled ) |
|
inline |
|
static |
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 |
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 |
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 |
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::Vec4 & | bit, | ||
sdw::Vec3 & | uvw0, | ||
sdw::Vec3 & | uvw1, | ||
sdw::Vec3 & | uvw2, | ||
sdw::Vec3 & | uvw3, | ||
sdw::Vec3 & | col ) const |
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 |
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::Vec4 & | bit, | ||
sdw::Vec3 & | uvw0, | ||
sdw::Vec3 & | uvw1, | ||
sdw::Vec3 & | uvw2, | ||
sdw::Vec3 & | uvw3, | ||
sdw::Vec3 & | col ) const |
|
static |
castor3d::shader::MorphingWeightsData::SDW_DeclStructInstance | ( | C3D_API | , |
MorphingWeightsData | ) |
|
inline |
sdw::UInt castor3d::shader::MorphingWeightsData::morphTargetsCount |