#include <MatrixUbo.hpp>
|
C3D_API | MatrixData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled) |
|
| SDW_DeclStructInstance (C3D_API, MatrixData) |
|
C3D_API sdw::Vec4 | projToView (sdw::Vec4 const &psPosition) const |
|
C3D_API sdw::Vec4 | viewToProj (sdw::Vec4 const &vsPosition) const |
|
C3D_API sdw::Vec4 | worldToCurView (sdw::Vec4 const &wsPosition) const |
|
C3D_API sdw::Vec4 | worldToPrvView (sdw::Vec4 const &wsPosition) const |
|
C3D_API sdw::Vec4 | curViewToWorld (sdw::Vec4 const &vsPosition) const |
|
C3D_API sdw::Vec4 | prvViewToWorld (sdw::Vec4 const &vsPosition) const |
|
C3D_API sdw::Vec4 | worldToCurProj (sdw::Vec4 const &wsPosition) const |
|
C3D_API sdw::Vec4 | worldToPrvProj (sdw::Vec4 const &wsPosition) const |
|
C3D_API sdw::Vec4 | viewToScreenUV (Utils &utils, sdw::Vec4 vsPosition) const |
|
C3D_API sdw::Vec4 | worldToCurScreenUV (Utils &utils, sdw::Vec4 wsPosition) const |
|
C3D_API sdw::Vec4 | worldToPrvScreenUV (Utils &utils, sdw::Vec4 wsPosition) const |
|
C3D_API sdw::Vec3 | projToView (Utils &utils, sdw::Vec2 const &texCoord, sdw::Float const &depth) const |
|
C3D_API sdw::Vec4 | curProjToWorld (sdw::Vec4 const &position) const |
|
C3D_API sdw::Vec3 | curProjToWorld (Utils &utils, sdw::Vec2 const &texCoord, sdw::Float const &depth) const |
|
C3D_API sdw::Vec3 | prvProjToWorld (Utils &utils, sdw::Vec2 const &texCoord, sdw::Float const &depth) const |
|
C3D_API sdw::Vec3 | getCurViewRight () const |
|
C3D_API sdw::Vec3 | getPrvViewRight () const |
|
C3D_API sdw::Vec3 | getCurViewUp () const |
|
C3D_API sdw::Vec3 | getPrvViewUp () const |
|
C3D_API sdw::Vec3 | getCurViewCenter () const |
|
C3D_API sdw::Vec3 | getPrvViewCenter () const |
|
C3D_API void | jitter (sdw::Vec4 &csPosition) const |
|
sdw::Mat4 const & | getInvProjMtx () const |
|
sdw::Vec4 | getFrustumPlane (sdw::UInt index) const |
|
|
static C3D_API ast::type::BaseStructPtr | makeType (ast::type::TypesCache &cache) |
|
static C3D_API std::unique_ptr< sdw::Struct > | declare (sdw::ShaderWriter &writer) |
|
◆ MatrixData()
C3D_API castor3d::shader::MatrixData::MatrixData |
( |
sdw::ShaderWriter & |
writer, |
|
|
ast::expr::ExprPtr |
expr, |
|
|
bool |
enabled |
|
) |
| |
◆ curProjToWorld() [1/2]
C3D_API sdw::Vec4 castor3d::shader::MatrixData::curProjToWorld |
( |
sdw::Vec4 const & |
position | ) |
const |
◆ curProjToWorld() [2/2]
C3D_API sdw::Vec3 castor3d::shader::MatrixData::curProjToWorld |
( |
Utils & |
utils, |
|
|
sdw::Vec2 const & |
texCoord, |
|
|
sdw::Float const & |
depth |
|
) |
| const |
◆ curViewToWorld()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::curViewToWorld |
( |
sdw::Vec4 const & |
vsPosition | ) |
const |
◆ declare()
static C3D_API std::unique_ptr< sdw::Struct > castor3d::shader::MatrixData::declare |
( |
sdw::ShaderWriter & |
writer | ) |
|
|
static |
◆ getCurViewCenter()
C3D_API sdw::Vec3 castor3d::shader::MatrixData::getCurViewCenter |
( |
| ) |
const |
◆ getCurViewRight()
C3D_API sdw::Vec3 castor3d::shader::MatrixData::getCurViewRight |
( |
| ) |
const |
◆ getCurViewUp()
C3D_API sdw::Vec3 castor3d::shader::MatrixData::getCurViewUp |
( |
| ) |
const |
◆ getFrustumPlane()
sdw::Vec4 castor3d::shader::MatrixData::getFrustumPlane |
( |
sdw::UInt |
index | ) |
const |
|
inline |
◆ getInvProjMtx()
sdw::Mat4 const & castor3d::shader::MatrixData::getInvProjMtx |
( |
| ) |
const |
|
inline |
◆ getPrvViewCenter()
C3D_API sdw::Vec3 castor3d::shader::MatrixData::getPrvViewCenter |
( |
| ) |
const |
◆ getPrvViewRight()
C3D_API sdw::Vec3 castor3d::shader::MatrixData::getPrvViewRight |
( |
| ) |
const |
◆ getPrvViewUp()
C3D_API sdw::Vec3 castor3d::shader::MatrixData::getPrvViewUp |
( |
| ) |
const |
◆ jitter()
C3D_API void castor3d::shader::MatrixData::jitter |
( |
sdw::Vec4 & |
csPosition | ) |
const |
◆ makeType()
static C3D_API ast::type::BaseStructPtr castor3d::shader::MatrixData::makeType |
( |
ast::type::TypesCache & |
cache | ) |
|
|
static |
◆ projToView() [1/2]
C3D_API sdw::Vec4 castor3d::shader::MatrixData::projToView |
( |
sdw::Vec4 const & |
psPosition | ) |
const |
◆ projToView() [2/2]
C3D_API sdw::Vec3 castor3d::shader::MatrixData::projToView |
( |
Utils & |
utils, |
|
|
sdw::Vec2 const & |
texCoord, |
|
|
sdw::Float const & |
depth |
|
) |
| const |
◆ prvProjToWorld()
C3D_API sdw::Vec3 castor3d::shader::MatrixData::prvProjToWorld |
( |
Utils & |
utils, |
|
|
sdw::Vec2 const & |
texCoord, |
|
|
sdw::Float const & |
depth |
|
) |
| const |
◆ prvViewToWorld()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::prvViewToWorld |
( |
sdw::Vec4 const & |
vsPosition | ) |
const |
◆ SDW_DeclStructInstance()
◆ viewToProj()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::viewToProj |
( |
sdw::Vec4 const & |
vsPosition | ) |
const |
◆ viewToScreenUV()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::viewToScreenUV |
( |
Utils & |
utils, |
|
|
sdw::Vec4 |
vsPosition |
|
) |
| const |
◆ worldToCurProj()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::worldToCurProj |
( |
sdw::Vec4 const & |
wsPosition | ) |
const |
◆ worldToCurScreenUV()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::worldToCurScreenUV |
( |
Utils & |
utils, |
|
|
sdw::Vec4 |
wsPosition |
|
) |
| const |
◆ worldToCurView()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::worldToCurView |
( |
sdw::Vec4 const & |
wsPosition | ) |
const |
◆ worldToPrvProj()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::worldToPrvProj |
( |
sdw::Vec4 const & |
wsPosition | ) |
const |
◆ worldToPrvScreenUV()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::worldToPrvScreenUV |
( |
Utils & |
utils, |
|
|
sdw::Vec4 |
wsPosition |
|
) |
| const |
◆ worldToPrvView()
C3D_API sdw::Vec4 castor3d::shader::MatrixData::worldToPrvView |
( |
sdw::Vec4 const & |
wsPosition | ) |
const |
◆ BillboardData
La documentation de cette structure a été générée à partir du fichier suivant :