font_get_texture


描述

This function returns a special pointer for the font texture page. This value can then be used in other draw functions, particularly in general drawing when using primitives as well as the Shader functions. 你可以使用不同的texture_ 函数来获得更多信息。请点击 这儿


语法:

font_get_texture(font);


参数 描述
font The index of the font to use.


Returns:

Pointer (texture page ID)


例如:

tex = font_get_texture(fnt_Main);

The above code will get the texture pointer for the font indexed as "fnt_Main".