Struct CharTexCrdDesc


#include <Source/Falcor/Utils/UI/Font.h>

struct CharTexCrdDesc


The structs contains information on the location of the character in the texture


Lines 51-55 in Source/Falcor/Utils/UI/Font.h.

struct CharTexCrdDesc
    float2 topLeft; ///< Non-normalized origin of the character in the texture
    float2 size;    ///< Size in pixels of the character. This should be used to initialize the texture-coordinate when rendering.

Add Discussion as Guest

Log in