C# Class CSharpGL.LabelRenderer

Afficher le fichier Open project: bitzhuwei/CSharpGL

Méthodes publiques

Méthode Description
Create ( int maxCharCount = 64, int labelHeight = 32, IFontTexture fontTexture = null ) : LabelRenderer

Create a label renderer.

ToString ( ) : string

Méthodes protégées

Méthode Description
DoInitialize ( ) : void

DoRender ( RenderEventArgs arg ) : void

Private Methods

Méthode Description
LabelRenderer ( IBufferable model, ShaderCode shaderCodes, AttributeMap attributeMap )

Method Details

Create() public static méthode

Create a label renderer.
public static Create ( int maxCharCount = 64, int labelHeight = 32, IFontTexture fontTexture = null ) : LabelRenderer
maxCharCount int Max char count to display for this label. Careful to set this value because greater means more space ocupied in GPU nemory.
labelHeight int Label height(in pixels)
fontTexture IFontTexture Use which font to render text?
Résultat LabelRenderer

DoInitialize() protected méthode

protected DoInitialize ( ) : void
Résultat void

DoRender() protected méthode

protected DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string