C# 클래스 NewTOAPIA.GL.GLSLUniformVariable

파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
GLSLUniformVariable ( GLSLShaderProgram program, UniformType uType, int size, string name ) : System
GetComponentCountForType ( UniformType aType ) : int
Set ( float v0 ) : void
Set ( float v0, float v1 ) : void
Set ( float v0, float v1, float v2 ) : void
Set ( float v0, float v1, float v2, float v3 ) : void
Set ( int v0 ) : void
Set ( int v0, int v1 ) : void
Set ( int v0, int v1, int v2 ) : void
SetFloatValues ( float values ) : void
SetIntValues ( int values ) : void

비공개 메소드들

메소드 설명
ErrorCheckType ( Type aType, int typeCount ) : void
InitializeSpace ( ) : void
UpdateProgramWithCurrentValue ( ) : void

메소드 상세

GLSLUniformVariable() 공개 메소드

public GLSLUniformVariable ( GLSLShaderProgram program, UniformType uType, int size, string name ) : System
program GLSLShaderProgram
uType UniformType
size int
name string
리턴 System

GetComponentCountForType() 공개 정적인 메소드

public static GetComponentCountForType ( UniformType aType ) : int
aType UniformType
리턴 int

Set() 공개 메소드

public Set ( float v0 ) : void
v0 float
리턴 void

Set() 공개 메소드

public Set ( float v0, float v1 ) : void
v0 float
v1 float
리턴 void

Set() 공개 메소드

public Set ( float v0, float v1, float v2 ) : void
v0 float
v1 float
v2 float
리턴 void

Set() 공개 메소드

public Set ( float v0, float v1, float v2, float v3 ) : void
v0 float
v1 float
v2 float
v3 float
리턴 void

Set() 공개 메소드

public Set ( int v0 ) : void
v0 int
리턴 void

Set() 공개 메소드

public Set ( int v0, int v1 ) : void
v0 int
v1 int
리턴 void

Set() 공개 메소드

public Set ( int v0, int v1, int v2 ) : void
v0 int
v1 int
v2 int
리턴 void

SetFloatValues() 공개 메소드

public SetFloatValues ( float values ) : void
values float
리턴 void

SetIntValues() 공개 메소드

public SetIntValues ( int values ) : void
values int
리턴 void