Struct CharTexCrdDesc
Synopsis
#include <Source/Falcor/Utils/UI/Font.h>
struct CharTexCrdDesc
Description
The structs contains information on the location of the character in the texture
Source
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.
};