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

#include <GlslAABB.hpp>

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

Public Member Functions

 AABB (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
C3D_API AABB (sdw::Vec4 const &min, sdw::Vec4 const &max, bool enabled=true)
 
C3D_API AABB (sdw::Vec3 const &position, sdw::Float const &range, bool enabled=true)
 
auto min () const
 
auto max () const
 

Constructor & Destructor Documentation

◆ AABB() [1/3]

castor3d::shader::AABB::AABB ( sdw::ShaderWriter & writer,
sdw::expr::ExprPtr expr,
bool enabled )
inline

◆ AABB() [2/3]

C3D_API castor3d::shader::AABB::AABB ( sdw::Vec4 const & min,
sdw::Vec4 const & max,
bool enabled = true )

◆ AABB() [3/3]

C3D_API castor3d::shader::AABB::AABB ( sdw::Vec3 const & position,
sdw::Float const & range,
bool enabled = true )

Member Function Documentation

◆ max()

auto castor3d::shader::AABB::max ( ) const
inline

◆ min()

auto castor3d::shader::AABB::min ( ) const
inline

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