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

#include <GlslRay.hpp>

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

Public Member Functions

C3D_API Intersection (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
C3D_API Intersection (sdw::ShaderWriter &writer)
 
C3D_API Intersection (sdw::ShaderWriter &writer, sdw::Vec3 const &p)
 
C3D_API Intersection (sdw::ShaderWriter &writer, sdw::Vec3 const &p, sdw::Boolean const &v)
 
C3D_API Intersection (sdw::ShaderWriter &writer, sdw::Vec3 const &p, sdw::Boolean const &v, sdw::Float const &t)
 
auto point () const
 
auto valid () const
 
auto t () const
 

Constructor & Destructor Documentation

◆ Intersection() [1/5]

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

◆ Intersection() [2/5]

C3D_API castor3d::shader::Intersection::Intersection ( sdw::ShaderWriter & writer)
explicit

◆ Intersection() [3/5]

C3D_API castor3d::shader::Intersection::Intersection ( sdw::ShaderWriter & writer,
sdw::Vec3 const & p )

◆ Intersection() [4/5]

C3D_API castor3d::shader::Intersection::Intersection ( sdw::ShaderWriter & writer,
sdw::Vec3 const & p,
sdw::Boolean const & v )

◆ Intersection() [5/5]

C3D_API castor3d::shader::Intersection::Intersection ( sdw::ShaderWriter & writer,
sdw::Vec3 const & p,
sdw::Boolean const & v,
sdw::Float const & t )

Member Function Documentation

◆ point()

auto castor3d::shader::Intersection::point ( ) const
inline

◆ t()

auto castor3d::shader::Intersection::t ( ) const
inline

◆ valid()

auto castor3d::shader::Intersection::valid ( ) const
inline

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