C# Class Glare.Graphics.Shader

Inheritance: GraphicsResource
Afficher le fichier Open project: Burton-Radons/Alexandria

Méthodes publiques

Méthode Description
Compile ( ) : bool

Compiles the source code strings that have been stored in the shader object through Source, and return whether it compiles (which can also be checked through CompileStatus).

Compile ( string source ) : bool

Set the Source, then attempt to Compile() it.

MustCompile ( ) : void
MustCompile ( string source ) : void

Méthodes protégées

Méthode Description
DisposeBase ( ) : void

Private Methods

Méthode Description
AllocateId ( ShaderType shaderType ) : int
GetInt ( ShaderParameter pname ) : int
Shader ( ShaderType shaderType ) : System

Method Details

Compile() public méthode

Compiles the source code strings that have been stored in the shader object through Source, and return whether it compiles (which can also be checked through CompileStatus).
public Compile ( ) : bool
Résultat bool

Compile() public méthode

Set the Source, then attempt to Compile() it.
public Compile ( string source ) : bool
source string
Résultat bool

DisposeBase() protected méthode

protected DisposeBase ( ) : void
Résultat void

MustCompile() public méthode

public MustCompile ( ) : void
Résultat void

MustCompile() public méthode

public MustCompile ( string source ) : void
source string
Résultat void