C# 클래스 CSharpGL.LabelRenderer

파일 보기 프로젝트 열기: bitzhuwei/CSharpGL

공개 메소드들

메소드 설명
Create ( int maxCharCount = 64, int labelHeight = 32, IFontTexture fontTexture = null ) : LabelRenderer

Create a label renderer.

ToString ( ) : string

보호된 메소드들

메소드 설명
DoInitialize ( ) : void

DoRender ( RenderEventArgs arg ) : void

비공개 메소드들

메소드 설명
LabelRenderer ( IBufferable model, ShaderCode shaderCodes, AttributeMap attributeMap )

메소드 상세

Create() 공개 정적인 메소드

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?
리턴 LabelRenderer

DoInitialize() 보호된 메소드

protected DoInitialize ( ) : void
리턴 void

DoRender() 보호된 메소드

protected DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string