C# Class 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.
Inheritance: GLGpuProgram
Afficher le fichier Open project: mono-soc-2011/axiom Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
LoadFromSource ( ) : void

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

Private Methods

Méthode Description
nvparse ( string input ) : void
nvparse_get_errors ( ) : string

nvparse_get_errorsA ( ) : byte**

Method Details

Bind() public méthode

Binds the Nvparse program to the current context.
public Bind ( ) : void
Résultat void

BindProgramParameters() public méthode

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

LoadFromSource() protected méthode

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

NvparseFragmentProgram() public méthode

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
Résultat System

Unbind() public méthode

Unbinds the Nvparse program from the current context.
public Unbind ( ) : void
Résultat void

Unload() public méthode

public Unload ( ) : void
Résultat void