C# 클래스 Axiom.RenderSystems.OpenGL.Nvidia.NvparseFragmentProgram

Specialization of GpuProgram that accepts source for DX8 level gpu programs and allows them to run on nVidia cards that support register and texture combiners.
상속: GLGpuProgram
파일 보기 프로젝트 열기: mono-soc-2011/axiom 1 사용 예제들

공개 메소드들

메소드 설명
Bind ( ) : void

Binds the Nvparse program to the current context.

BindProgramParameters ( GpuProgramParameters parms, GpuProgramParameters mask ) : void

Called to pass parameters to the Nvparse program.

NvparseFragmentProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader ) : System
Unbind ( ) : void

Unbinds the Nvparse program from the current context.

Unload ( ) : void

보호된 메소드들

메소드 설명
LoadFromSource ( ) : void

Loads the raw ASM source and runs Nvparse to send the appropriate texture/register combiner instructions to the card.

비공개 메소드들

메소드 설명
nvparse ( string input ) : void
nvparse_get_errors ( ) : string

nvparse_get_errorsA ( ) : byte**

메소드 상세

Bind() 공개 메소드

Binds the Nvparse program to the current context.
public Bind ( ) : void
리턴 void

BindProgramParameters() 공개 메소드

Called to pass parameters to the Nvparse program.
public BindProgramParameters ( GpuProgramParameters parms, GpuProgramParameters mask ) : void
parms Axiom.Graphics.GpuProgramParameters
mask Axiom.Graphics.GpuProgramParameters
리턴 void

LoadFromSource() 보호된 메소드

Loads the raw ASM source and runs Nvparse to send the appropriate texture/register combiner instructions to the card.
protected LoadFromSource ( ) : void
리턴 void

NvparseFragmentProgram() 공개 메소드

public NvparseFragmentProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader ) : System
parent Axiom.Core.ResourceManager
name string
handle System.UInt64
group string
isManual bool
loader IManualResourceLoader
리턴 System

Unbind() 공개 메소드

Unbinds the Nvparse program from the current context.
public Unbind ( ) : void
리턴 void

Unload() 공개 메소드

public Unload ( ) : void
리턴 void