C# Класс Glare.Graphics.Shader

Наследование: GraphicsResource
Показать файл Открыть проект

Открытые методы

Метод Описание
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