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

#include <GlslAABB.hpp>

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

Public Member Functions

 Plane (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled=true)
 
C3D_API Plane (sdw::Vec3 const &normal, sdw::Float const &distance, bool enabled=true)
 
auto normal () const
 
auto distance () const
 

Constructor & Destructor Documentation

◆ Plane() [1/2]

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

◆ Plane() [2/2]

C3D_API castor3d::shader::Plane::Plane ( sdw::Vec3 const & normal,
sdw::Float const & distance,
bool enabled = true )

Member Function Documentation

◆ distance()

auto castor3d::shader::Plane::distance ( ) const
inline

◆ normal()

auto castor3d::shader::Plane::normal ( ) const
inline

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