#include <FontGlyphBuffer.hpp>
◆ FontGlyphsData
◆ FontGlyphBuffer()
Constructor.
- Parameters
-
[in] | engine | The engine. |
[in] | device | The GPU device. |
[in] | texture | The parent font texture. |
[in] | count | The max configurations count. |
◆ add()
Adds a glyph to the buffer.
- Parameters
-
◆ createBinding()
C3D_API void castor3d::FontGlyphBuffer::createBinding |
( |
ashes::DescriptorSet & | descriptorSet, |
|
|
VkDescriptorSetLayoutBinding const & | binding ) const |
Creates the descriptor set binding at given point.
- Parameters
-
[in] | descriptorSet | The descriptor set that receives the binding. |
[in] | binding | The descriptor set layout binding. |
◆ createLayoutBinding()
C3D_API VkDescriptorSetLayoutBinding castor3d::FontGlyphBuffer::createLayoutBinding |
( |
uint32_t | binding, |
|
|
VkShaderStageFlags | stages = (VK_SHADER_STAGE_FRAGMENT_BIT|VK_SHADER_STAGE_GEOMETRY_BIT|VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT|VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT|VK_SHADER_STAGE_VERTEX_BIT) ) const |
Creates the descriptor set layout binding.
◆ getBinding()
C3D_API ashes::WriteDescriptorSet castor3d::FontGlyphBuffer::getBinding |
( |
uint32_t | binding | ) |
const |
Creates the descriptor write for this buffer.
◆ getBuffer()
ashes::BufferBase const & castor3d::FontGlyphBuffer::getBuffer |
( |
| ) |
const |
|
inline |
◆ getPtr()
uint8_t * castor3d::FontGlyphBuffer::getPtr |
( |
| ) |
|
|
inline |
◆ setImgHeight()
void castor3d::FontGlyphBuffer::setImgHeight |
( |
uint32_t | value | ) |
|
|
inline |
◆ setImgWidth()
void castor3d::FontGlyphBuffer::setImgWidth |
( |
uint32_t | value | ) |
|
|
inline |
◆ setMaxHeight()
void castor3d::FontGlyphBuffer::setMaxHeight |
( |
uint32_t | value | ) |
|
|
inline |
◆ update()
◆ DataSize
uint32_t constexpr castor3d::FontGlyphBuffer::DataSize = uint32_t( sizeof( FontGlyphData ) ) |
|
staticconstexpr |
The documentation for this class was generated from the following file: