#include <FontTexture.hpp>
◆ OnChanged
◆ OnChangedFunction
◆ FontTexture()
C3D_API castor3d::FontTexture::FontTexture |
( |
Engine & |
engine, |
|
|
castor::FontResPtr |
font |
|
) |
| |
Constructor.
- Parameters
-
[in] | engine | The engine. |
[in] | font | The font. |
◆ ~FontTexture()
C3D_API castor3d::FontTexture::~FontTexture |
( |
| ) |
|
◆ cleanup()
◆ CU_DeclareMap()
castor3d::FontTexture::CU_DeclareMap |
( |
char32_t |
, |
|
|
castor::Position |
, |
|
|
GlyphPosition |
|
|
) |
| |
◆ getFont()
castor::FontRPtr castor3d::FontTexture::getFont |
( |
| ) |
const |
|
inline |
Retrieves the font.
- Returns
- The value.
◆ getFontName()
C3D_API castor::String const & castor3d::FontTexture::getFontName |
( |
| ) |
const |
Retrieves the font name.
- Returns
- The value.
◆ getGlyphPosition()
C3D_API castor::Position const & castor3d::FontTexture::getGlyphPosition |
( |
char32_t |
glyphChar | ) |
const |
Retrieves the wanted glyph position.
- Parameters
-
[in] | glyphChar | The glyph index. |
- Returns
- The position.
◆ getSampler()
Retrieves the texture.
- Returns
- The texture.
◆ getTexture()
TextureLayoutSPtr castor3d::FontTexture::getTexture |
( |
| ) |
const |
|
inline |
Retrieves the texture.
- Returns
- The texture.
◆ initialise()
Initialises the texture.
- Parameters
-
[in] | device | The GPU device. |
[in] | queueData | The queue receiving the GPU commands. |
◆ update()
C3D_API void castor3d::FontTexture::update |
( |
| ) |
|
◆ onChanged
The signal used to notify clients that this texture has changed.
The documentation for this class was generated from the following file: