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

#include <BillboardUbo.hpp>

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

Public Member Functions

 BillboardData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
C3D_API sdw::Vec3 getCameraRight (CameraData const &cameraData) const
 
C3D_API sdw::Vec3 getCameraUp (CameraData const &cameraData) const
 
C3D_API sdw::Float getWidth (CameraData const &cameraData) const
 
C3D_API sdw::Float getHeight (CameraData const &cameraData) const
 
auto dimensions () const
 
auto isSpherical () const
 
auto isFixedSize () const
 

Constructor & Destructor Documentation

◆ BillboardData()

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

Member Function Documentation

◆ dimensions()

auto castor3d::shader::BillboardData::dimensions ( ) const
inline

◆ getCameraRight()

C3D_API sdw::Vec3 castor3d::shader::BillboardData::getCameraRight ( CameraData const & cameraData) const

◆ getCameraUp()

C3D_API sdw::Vec3 castor3d::shader::BillboardData::getCameraUp ( CameraData const & cameraData) const

◆ getHeight()

C3D_API sdw::Float castor3d::shader::BillboardData::getHeight ( CameraData const & cameraData) const

◆ getWidth()

C3D_API sdw::Float castor3d::shader::BillboardData::getWidth ( CameraData const & cameraData) const

◆ isFixedSize()

auto castor3d::shader::BillboardData::isFixedSize ( ) const
inline

◆ isSpherical()

auto castor3d::shader::BillboardData::isSpherical ( ) const
inline

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