#include <FontUbo.hpp>
◆ Configuration
◆ FontUbo() [1/3]
◆ FontUbo() [2/3]
◆ FontUbo() [3/3]
◆ ~FontUbo()
C3D_API castor3d::FontUbo::~FontUbo |
( |
| ) |
|
|
noexcept |
◆ cpuUpdate()
C3D_API void castor3d::FontUbo::cpuUpdate |
( |
castor::Size const & | imgSize, |
|
|
bool | sdfFont, |
|
|
float | pixelRange ) |
Updates the UBO from given values.
- Parameters
-
[in] | imgSize | The font texture dimensions. |
[in] | sdfFont | true if the font texture stores SDF. |
[in] | pixelRange | The distance field thickness. |
◆ createPassBinding()
void castor3d::FontUbo::createPassBinding |
( |
crg::FramePass & | pass, |
|
|
uint32_t | binding ) const |
|
inline |
◆ createSizedBinding()
void castor3d::FontUbo::createSizedBinding |
( |
ashes::DescriptorSet & | descriptorSet, |
|
|
VkDescriptorSetLayoutBinding const & | layoutBinding ) const |
|
inline |
◆ getDescriptorWrite()
ashes::WriteDescriptorSet castor3d::FontUbo::getDescriptorWrite |
( |
uint32_t | dstBinding, |
|
|
uint32_t | dstArrayElement = 0u ) const |
|
inline |
◆ getUbo()
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: