dglsl.shader

Undocumented in source.

Members

Classes

Shader
class Shader(alias Type, string file = __FILE__, int line = __LINE__)
Undocumented in source.
ShaderBase
class ShaderBase
Undocumented in source.

Enums

ignore
enum ignore
Undocumented in source.
input
enum input
Undocumented in source.
output
enum output
Undocumented in source.
uniform
enum uniform
Undocumented in source.

Functions

compile
void compile(T shader)
Undocumented in source. Be warned that the author may not have intended to support it.
infoLog
string infoLog(T shader)
Undocumented in source. Be warned that the author may not have intended to support it.
layout
auto layout(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
layout_attributes
string layout_attributes()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

Fragment
mixintemplate Fragment()
Undocumented in source.
Geometry
mixintemplate Geometry()
Undocumented in source.
Vertex
mixintemplate Vertex()
Undocumented in source.

Properties

location
auto location [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
max_vertices
auto max_vertices [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Layout
struct Layout
Undocumented in source.

Meta