C# 클래스 GameCreatorGroupProject.ShaderProgram

파일 보기 프로젝트 열기: HeroOfTheWinds/CS-350-410-431-Group-Project

공개 프로퍼티들

프로퍼티 타입 설명
AttributeCount int
Attributes AttributeInfo>.Dictionary
Buffers uint>.Dictionary
FShaderID int
ProgramID int
UniformCount int
Uniforms UniformInfo>.Dictionary
VShaderID int

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
loadShader ( String code, ShaderType type, int &address ) : void

메소드 상세

DisableVertexAttribArrays() 공개 메소드

public DisableVertexAttribArrays ( ) : void
리턴 void

EnableVertexAttribArrays() 공개 메소드

public EnableVertexAttribArrays ( ) : void
리턴 void

GenBuffers() 공개 메소드

public GenBuffers ( ) : void
리턴 void

GetAttribute() 공개 메소드

public GetAttribute ( string name ) : int
name string
리턴 int

GetBuffer() 공개 메소드

public GetBuffer ( string name ) : uint
name string
리턴 uint

GetUniform() 공개 메소드

public GetUniform ( string name ) : int
name string
리턴 int

Link() 공개 메소드

public Link ( ) : void
리턴 void

LoadShaderFromFile() 공개 메소드

public LoadShaderFromFile ( String filename, ShaderType type ) : void
filename String
type ShaderType
리턴 void

LoadShaderFromString() 공개 메소드

public LoadShaderFromString ( String code, ShaderType type ) : void
code String
type ShaderType
리턴 void

ShaderProgram() 공개 메소드

public ShaderProgram ( ) : System
리턴 System

ShaderProgram() 공개 메소드

public ShaderProgram ( String vshader, String fshader, bool fromFile = false ) : System
vshader String
fshader String
fromFile bool
리턴 System

프로퍼티 상세

AttributeCount 공개적으로 프로퍼티

public int AttributeCount
리턴 int

Attributes 공개적으로 프로퍼티

public Dictionary Attributes
리턴 AttributeInfo>.Dictionary

Buffers 공개적으로 프로퍼티

public Dictionary Buffers
리턴 uint>.Dictionary

FShaderID 공개적으로 프로퍼티

public int FShaderID
리턴 int

ProgramID 공개적으로 프로퍼티

public int ProgramID
리턴 int

UniformCount 공개적으로 프로퍼티

public int UniformCount
리턴 int

Uniforms 공개적으로 프로퍼티

public Dictionary Uniforms
리턴 UniformInfo>.Dictionary

VShaderID 공개적으로 프로퍼티

public int VShaderID
리턴 int