|
static C3D_API ast::type::StructPtr | makeType (ast::type::TypesCache &cache) |
|
static C3D_API std::unique_ptr< sdw::Struct > | declare (sdw::ShaderWriter &writer) |
|
◆ Surface()
C3D_API castor3d::shader::Surface::Surface |
( |
sdw::ShaderWriter & |
writer, |
|
|
ast::expr::ExprPtr |
expr, |
|
|
bool |
enabled |
|
) |
| |
◆ create() [1/2]
C3D_API void castor3d::shader::Surface::create |
( |
sdw::Vec2 |
clip, |
|
|
sdw::Vec3 |
view, |
|
|
sdw::Vec3 |
world, |
|
|
sdw::Vec3 |
normal |
|
) |
| |
◆ create() [2/2]
C3D_API void castor3d::shader::Surface::create |
( |
sdw::Vec3 |
world, |
|
|
sdw::Vec3 |
normal |
|
) |
| |
◆ declare()
static C3D_API std::unique_ptr< sdw::Struct > castor3d::shader::Surface::declare |
( |
sdw::ShaderWriter & |
writer | ) |
|
|
static |
◆ makeType()
static C3D_API ast::type::StructPtr castor3d::shader::Surface::makeType |
( |
ast::type::TypesCache & |
cache | ) |
|
|
static |
◆ operator=()
◆ clipPosition
sdw::Vec2 castor3d::shader::Surface::clipPosition |
◆ viewPosition
sdw::Vec3 castor3d::shader::Surface::viewPosition |
◆ worldNormal
sdw::Vec3 castor3d::shader::Surface::worldNormal |
◆ worldPosition
sdw::Vec3 castor3d::shader::Surface::worldPosition |
La documentation de cette structure a été générée à partir du fichier suivant :