C# 클래스 Glare.Graphics.Shader

상속: GraphicsResource
파일 보기 프로젝트 열기: Burton-Radons/Alexandria

공개 메소드들

메소드 설명
Compile ( ) : bool

Compiles the source code strings that have been stored in the shader object through Source, and return whether it compiles (which can also be checked through CompileStatus).

Compile ( string source ) : bool

Set the Source, then attempt to Compile() it.

MustCompile ( ) : void
MustCompile ( string source ) : void

보호된 메소드들

메소드 설명
DisposeBase ( ) : void

비공개 메소드들

메소드 설명
AllocateId ( ShaderType shaderType ) : int
GetInt ( ShaderParameter pname ) : int
Shader ( ShaderType shaderType ) : System

메소드 상세

Compile() 공개 메소드

Compiles the source code strings that have been stored in the shader object through Source, and return whether it compiles (which can also be checked through CompileStatus).
public Compile ( ) : bool
리턴 bool

Compile() 공개 메소드

Set the Source, then attempt to Compile() it.
public Compile ( string source ) : bool
source string
리턴 bool

DisposeBase() 보호된 메소드

protected DisposeBase ( ) : void
리턴 void

MustCompile() 공개 메소드

public MustCompile ( ) : void
리턴 void

MustCompile() 공개 메소드

public MustCompile ( string source ) : void
source string
리턴 void