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

#include <GlslFont.hpp>

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

Public Member Functions

C3D_API FontData (sdw::ShaderWriter &writer, uint32_t binding, uint32_t set, bool enabled=true)
 
C3D_API sdw::Float imgWidth () const
 
C3D_API sdw::Float imgHeight () const
 
C3D_API sdw::Float maxHeight () const
 
auto operator[] (sdw::UInt const &index) const
 
- Public Member Functions inherited from castor3d::shader::BufferT< FontGlyph >
 BufferT (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true, ParamsT &&... params)
 
FontGlyph getData (sdw::UInt const &index, ParamsT &&... params) const
 
- Public Member Functions inherited from castor3d::shader::BufferBase
 BufferBase (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true)
 
sdw::UInt getFirstCount () const
 
sdw::UInt getSecondCount () const
 
sdw::UInt getThirdCount () const
 
sdw::UInt getFourthCount () const
 
sdw::UInt getCount () const
 
bool isEnabled () const noexcept
 
sdw::ShaderWriter * getWriter () const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from castor3d::shader::BufferBase
sdw::ShaderWriter & m_writer
 
castor::RawUniquePtr< sdw::StorageBuffer > m_ssbo
 
castor::MbString m_variableName
 

Constructor & Destructor Documentation

◆ FontData()

C3D_API castor3d::shader::FontData::FontData ( sdw::ShaderWriter & writer,
uint32_t binding,
uint32_t set,
bool enabled = true )

Member Function Documentation

◆ imgHeight()

C3D_API sdw::Float castor3d::shader::FontData::imgHeight ( ) const

◆ imgWidth()

C3D_API sdw::Float castor3d::shader::FontData::imgWidth ( ) const

◆ maxHeight()

C3D_API sdw::Float castor3d::shader::FontData::maxHeight ( ) const

◆ operator[]()

auto castor3d::shader::FontData::operator[] ( sdw::UInt const & index) const
inline

References castor3d::shader::BufferT< FontGlyph >::getData().

Here is the call graph for this function:

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