C# 클래스 Axiom.RenderSystems.OpenGL.GLGpuProgram

Specialization of vertex/fragment programs for OpenGL.
상속: Axiom.Graphics.GpuProgram
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
programId int
programType int
tempProgramFloats float[]

공개 메소드들

메소드 설명
Bind ( ) : void

Called when a program needs to be bound.

Unbind ( ) : void

Called when a program needs to be unbound.

보호된 메소드들

메소드 설명
LoadFromSource ( ) : void

Called to create the program from source.

비공개 메소드들

메소드 설명
AttributeIndex ( VertexElementSemantic semantic, uint index ) : uint
BindProgramParameters ( GpuProgramParameters parms, GpuProgramParameters mask ) : void
BindProgramPassIterationParameters ( GpuProgramParameters parms ) : void
FixedAttributeIndex ( VertexElementSemantic semantic, uint index ) : uint
GLGpuProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader ) : System

Constructor.

IsAttributeValid ( VertexElementSemantic semantic, uint index ) : bool

메소드 상세

Bind() 공개 메소드

Called when a program needs to be bound.
public Bind ( ) : void
리턴 void

LoadFromSource() 보호된 메소드

Called to create the program from source.
protected LoadFromSource ( ) : void
리턴 void

Unbind() 공개 메소드

Called when a program needs to be unbound.
public Unbind ( ) : void
리턴 void

프로퍼티 상세

programId 보호되어 있는 프로퍼티

Internal OpenGL id assigned to this program.
protected int programId
리턴 int

programType 보호되어 있는 프로퍼티

Type of this program (vertex or fragment).
protected int programType
리턴 int

tempProgramFloats 보호되어 있는 프로퍼티

For use internally to store temp values for passing constants, etc.
protected float[] tempProgramFloats
리턴 float[]