C# Class ImGuiNET.FontAtlas

ファイルを表示 Open project: mellinoe/ImGui.NET Class Usage Examples

Public Methods

Method Description
AddDefaultFont ( ) : Font
AddFontFromFileTTF ( string fileName, float pixelSize ) : Font
AddFontFromMemoryTTF ( IntPtr ttfData, int ttfDataSize, float pixelSize ) : Font
ClearTexData ( ) : void
FontAtlas ( NativeFontAtlas atlasPtr ) : System
GetTexDataAsAlpha8 ( ) : FontTextureData
GetTexDataAsRGBA32 ( ) : FontTextureData
SetTexID ( IntPtr textureID ) : void
SetTexID ( int textureID ) : void

Method Details

AddDefaultFont() public method

public AddDefaultFont ( ) : Font
return Font

AddFontFromFileTTF() public method

public AddFontFromFileTTF ( string fileName, float pixelSize ) : Font
fileName string
pixelSize float
return Font

AddFontFromMemoryTTF() public method

public AddFontFromMemoryTTF ( IntPtr ttfData, int ttfDataSize, float pixelSize ) : Font
ttfData System.IntPtr
ttfDataSize int
pixelSize float
return Font

ClearTexData() public method

public ClearTexData ( ) : void
return void

FontAtlas() public method

public FontAtlas ( NativeFontAtlas atlasPtr ) : System
atlasPtr NativeFontAtlas
return System

GetTexDataAsAlpha8() public method

public GetTexDataAsAlpha8 ( ) : FontTextureData
return FontTextureData

GetTexDataAsRGBA32() public method

public GetTexDataAsRGBA32 ( ) : FontTextureData
return FontTextureData

SetTexID() public method

public SetTexID ( IntPtr textureID ) : void
textureID System.IntPtr
return void

SetTexID() public method

public SetTexID ( int textureID ) : void
textureID int
return void