Castor3D 0.17.0
Multiplatform 3D engine
Classes | Namespaces | Macros
FontUbo.hpp File Reference

Classes

struct  castor3d::shader::FontData
 
class  castor3d::FontUbo
 

Namespaces

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_FontEx(writer, binding, set, enable)
 
#define C3D_Font(writer, binding, set)    C3D_FontEx( writer, binding, set, true )
 

Macro Definition Documentation

◆ C3D_Font

#define C3D_Font ( writer,
binding,
set )    C3D_FontEx( writer, binding, set, true )

◆ C3D_FontEx

#define C3D_FontEx ( writer,
binding,
set,
enable )
Value:
sdw::UniformBuffer font{ writer\
, "C3D_Font"\
, "c3d_font"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd140\
, enable };\
auto c3d_fontData = font.declMember< castor3d::shader::FontData >( "f", enable );\
font.end()
Definition FontUbo.hpp:23