C# Class GameCreatorGroupProject.ShaderProgram

Afficher le fichier Open project: HeroOfTheWinds/CS-350-410-431-Group-Project

Méthodes publiques

Свойство Type Description
AttributeCount int
Attributes AttributeInfo>.Dictionary
Buffers uint>.Dictionary
FShaderID int
ProgramID int
UniformCount int
Uniforms UniformInfo>.Dictionary
VShaderID int

Méthodes publiques

Méthode Description
DisableVertexAttribArrays ( ) : void
EnableVertexAttribArrays ( ) : void
GenBuffers ( ) : void
GetAttribute ( string name ) : int
GetBuffer ( string name ) : uint
GetUniform ( string name ) : int
Link ( ) : void
LoadShaderFromFile ( String filename, ShaderType type ) : void
LoadShaderFromString ( String code, ShaderType type ) : void
ShaderProgram ( ) : System
ShaderProgram ( String vshader, String fshader, bool fromFile = false ) : System

Private Methods

Méthode Description
loadShader ( String code, ShaderType type, int &address ) : void

Method Details

DisableVertexAttribArrays() public méthode

public DisableVertexAttribArrays ( ) : void
Résultat void

EnableVertexAttribArrays() public méthode

public EnableVertexAttribArrays ( ) : void
Résultat void

GenBuffers() public méthode

public GenBuffers ( ) : void
Résultat void

GetAttribute() public méthode

public GetAttribute ( string name ) : int
name string
Résultat int

GetBuffer() public méthode

public GetBuffer ( string name ) : uint
name string
Résultat uint

GetUniform() public méthode

public GetUniform ( string name ) : int
name string
Résultat int

Link() public méthode

public Link ( ) : void
Résultat void

LoadShaderFromFile() public méthode

public LoadShaderFromFile ( String filename, ShaderType type ) : void
filename String
type ShaderType
Résultat void

LoadShaderFromString() public méthode

public LoadShaderFromString ( String code, ShaderType type ) : void
code String
type ShaderType
Résultat void

ShaderProgram() public méthode

public ShaderProgram ( ) : System
Résultat System

ShaderProgram() public méthode

public ShaderProgram ( String vshader, String fshader, bool fromFile = false ) : System
vshader String
fshader String
fromFile bool
Résultat System

Property Details

AttributeCount public_oe property

public int AttributeCount
Résultat int

Attributes public_oe property

public Dictionary Attributes
Résultat AttributeInfo>.Dictionary

Buffers public_oe property

public Dictionary Buffers
Résultat uint>.Dictionary

FShaderID public_oe property

public int FShaderID
Résultat int

ProgramID public_oe property

public int ProgramID
Résultat int

UniformCount public_oe property

public int UniformCount
Résultat int

Uniforms public_oe property

public Dictionary Uniforms
Résultat UniformInfo>.Dictionary

VShaderID public_oe property

public int VShaderID
Résultat int