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

#include <GlslAABB.hpp>

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

Public Member Functions

 Cone (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled=true)
 
C3D_API Cone (sdw::Vec3 const &apex, sdw::Vec3 const &direction, sdw::Float const &range, sdw::Float const &apertureCos, sdw::Float const &apertureSin, sdw::Float const &apertureTan, bool enabled=true)
 
auto apex () const
 
auto range () const
 
auto direction () const
 
auto apertureCos () const
 
auto apertureSin () const
 
auto apertureTan () const
 

Constructor & Destructor Documentation

◆ Cone() [1/2]

castor3d::shader::Cone::Cone ( sdw::ShaderWriter & writer,
sdw::expr::ExprPtr expr,
bool enabled = true )
inline

◆ Cone() [2/2]

C3D_API castor3d::shader::Cone::Cone ( sdw::Vec3 const & apex,
sdw::Vec3 const & direction,
sdw::Float const & range,
sdw::Float const & apertureCos,
sdw::Float const & apertureSin,
sdw::Float const & apertureTan,
bool enabled = true )

Member Function Documentation

◆ apertureCos()

auto castor3d::shader::Cone::apertureCos ( ) const
inline

◆ apertureSin()

auto castor3d::shader::Cone::apertureSin ( ) const
inline

◆ apertureTan()

auto castor3d::shader::Cone::apertureTan ( ) const
inline

◆ apex()

auto castor3d::shader::Cone::apex ( ) const
inline

◆ direction()

auto castor3d::shader::Cone::direction ( ) const
inline

◆ range()

auto castor3d::shader::Cone::range ( ) const
inline

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