C# 클래스 Sparrow.Core.Program

파일 보기 프로젝트 열기: fmotagarcia/sparrow-sharp

공개 프로퍼티들

프로퍼티 타입 설명
Attributes int>.Dictionary
Uniforms int>.Dictionary

공개 메소드들

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

보호된 메소드들

메소드 설명
Init ( string vertexShader, string fragmentShader ) : void
Program ( ) : System

비공개 메소드들

메소드 설명
Compile ( ) : void
CompileShader ( string source, ShaderType type ) : int
UpdateAttributes ( ) : void
UpdateUniforms ( ) : void

메소드 상세

Description() 공개 메소드

public Description ( ) : string
리턴 string

Init() 보호된 메소드

protected Init ( string vertexShader, string fragmentShader ) : void
vertexShader string
fragmentShader string
리턴 void

Program() 보호된 메소드

protected Program ( ) : System
리턴 System

Program() 공개 메소드

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
리턴 System

프로퍼티 상세

Attributes 공개적으로 프로퍼티

public Dictionary Attributes
리턴 int>.Dictionary

Uniforms 공개적으로 프로퍼티

public Dictionary Uniforms
리턴 int>.Dictionary