C# Class Sparrow.Core.Program

Afficher le fichier Open project: fmotagarcia/sparrow-sharp

Méthodes publiques

Свойство Type Description
Attributes int>.Dictionary
Uniforms int>.Dictionary

Méthodes publiques

Méthode Description
Description ( ) : string
Program ( string vertexShader, string fragmentShader ) : System

Initializes a GLSL program by compiling vertex and fragment shaders from source. In debug mode, compilation erros are logged into the console.

Méthodes protégées

Méthode Description
Init ( string vertexShader, string fragmentShader ) : void
Program ( ) : System

Private Methods

Méthode Description
Compile ( ) : void
CompileShader ( string source, ShaderType type ) : int
UpdateAttributes ( ) : void
UpdateUniforms ( ) : void

Method Details

Description() public méthode

public Description ( ) : string
Résultat string

Init() protected méthode

protected Init ( string vertexShader, string fragmentShader ) : void
vertexShader string
fragmentShader string
Résultat void

Program() protected méthode

protected Program ( ) : System
Résultat System

Program() public méthode

Initializes a GLSL program by compiling vertex and fragment shaders from source. In debug mode, compilation erros are logged into the console.
public Program ( string vertexShader, string fragmentShader ) : System
vertexShader string
fragmentShader string
Résultat System

Property Details

Attributes public_oe property

public Dictionary Attributes
Résultat int>.Dictionary

Uniforms public_oe property

public Dictionary Uniforms
Résultat int>.Dictionary