glwt.shader

Undocumented in source.

Members

Aliases

FragmentShader
alias FragmentShader = Shader!(ShaderType.Fragment)
Undocumented in source.
GeometryShader
alias GeometryShader = Shader!(ShaderType.Geometry)
Undocumented in source.
VertexShader
alias VertexShader = Shader!(ShaderType.Vertex)
Undocumented in source.
shader_type_t
alias shader_type_t = ShaderType
Undocumented in source.

Enums

ShaderType
enum ShaderType
Undocumented in source.

Functions

compile
void compile(Shader!shaderType shader)

glCompileShader wraper

create
void create(Shader!shaderType shader)

glCreateShader wrapper.

del
void del(Shader!shaderType shader)

glDeleteShader wrapper.

source
void source(Shader!shaderType shader, string code)

glShaderSource wraper

Structs

Shader
struct Shader(ShaderType shaderType)

A wrapper for a shader.

Variables

shader_ensureGen_m
enum string shader_ensureGen_m;
Undocumented in source.

Meta