Open 3D Engine AtomLyIntegration Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::AtomNullFFont Class Reference

Inherits IFFont.

Public Types

using TextDrawContext = STextDrawContext
 

Public Member Functions

int32_t AddRef () override
 
int32_t Release () override
 
bool Load ([[maybe_unused]] const char *fontFilePath, [[maybe_unused]] unsigned int width, [[maybe_unused]] unsigned int height, [[maybe_unused]] unsigned int widthNumSlots, [[maybe_unused]] unsigned int heightNumSlots, [[maybe_unused]] unsigned int flags, [[maybe_unused]] float sizeRatio) override
 
bool Load ([[maybe_unused]] const char *xmlFile) override
 
void Free () override
 
void DrawString ([[maybe_unused]] float x, [[maybe_unused]] float y, [[maybe_unused]] const char *str, [[maybe_unused]] const bool asciiMultiLine, [[maybe_unused]] const TextDrawContext &ctx) override
 
void DrawString ([[maybe_unused]] float x, [[maybe_unused]] float y, [[maybe_unused]] float z, [[maybe_unused]] const char *str, [[maybe_unused]] const bool asciiMultiLine, [[maybe_unused]] const TextDrawContext &ctx) override
 
Vec2 GetTextSize ([[maybe_unused]] const char *str, [[maybe_unused]] const bool asciiMultiLine, [[maybe_unused]] const TextDrawContext &ctx) override
 
size_t GetTextLength ([[maybe_unused]] const char *str, [[maybe_unused]] const bool asciiMultiLine) const override
 
void WrapText (AZStd::string &result, [[maybe_unused]] float maxWidth, const char *str, [[maybe_unused]] const TextDrawContext &ctx) override
 
void GetGradientTextureCoord ([[maybe_unused]] float &minU, [[maybe_unused]] float &minV, [[maybe_unused]] float &maxU, [[maybe_unused]] float &maxV) const override
 
unsigned int GetEffectId ([[maybe_unused]] const char *effectName) const override
 
unsigned int GetNumEffects () const override
 
const char * GetEffectName ([[maybe_unused]] unsigned int effectId) const override
 
Vec2 GetMaxEffectOffset ([[maybe_unused]] unsigned int effectId) const override
 
bool DoesEffectHaveTransparency ([[maybe_unused]] unsigned int effectId) const override
 
void AddCharsToFontTexture ([[maybe_unused]] const char *chars, [[maybe_unused]] int glyphSizeX, [[maybe_unused]] int glyphSizeY) override
 
Vec2 GetKerning ([[maybe_unused]] uint32_t leftGlyph, [[maybe_unused]] uint32_t rightGlyph, [[maybe_unused]] const TextDrawContext &ctx) const override
 
float GetAscender ([[maybe_unused]] const TextDrawContext &ctx) const override
 
float GetBaseline ([[maybe_unused]] const TextDrawContext &ctx) const override
 
float GetSizeRatio () const override
 
uint32_t GetNumQuadsForText ([[maybe_unused]] const char *str, [[maybe_unused]] const bool asciiMultiLine, [[maybe_unused]] const TextDrawContext &ctx) override
 
uint32_t WriteTextQuadsToBuffers ([[maybe_unused]] SVF_P2F_C4B_T2F_F4B *verts, [[maybe_unused]] uint16_t *indices, [[maybe_unused]] uint32_t maxQuads, [[maybe_unused]] float x, [[maybe_unused]] float y, [[maybe_unused]] float z, [[maybe_unused]] const char *str, [[maybe_unused]] const bool asciiMultiLine, [[maybe_unused]] const TextDrawContext &ctx) override
 
int GetFontTextureId () override
 
uint32_t GetFontTextureVersion () override
 

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