voxelman v0.8.0 (2017-02-03T20:04:39Z)
Dub
Repo
SolidShader3d
voxelman
graphics
shaders
Undocumented in source.
struct
SolidShader3d {
ShaderProgram
shader
;
mixin
MvpSetter
;
mixin
VpSetter
;
mixin
ModelSetter
;
mixin
ViewSetter
;
mixin
ProjectionSetter
;
GLint
model_location
;
GLint
view_location
;
GLint
projection_location
;
void
compile
(IRenderer renderer);
}
Alias This
shader
Members
Functions
compile
void
compile
(IRenderer renderer)
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
MvpSetter
Undocumented in source.
__anonymous
mixin
VpSetter
Undocumented in source.
__anonymous
mixin
ModelSetter
Undocumented in source.
__anonymous
mixin
ViewSetter
Undocumented in source.
__anonymous
mixin
ProjectionSetter
Undocumented in source.
Variables
model_location
GLint
model_location
;
Undocumented in source.
projection_location
GLint
projection_location
;
Undocumented in source.
shader
ShaderProgram
shader
;
Undocumented in source.
view_location
GLint
view_location
;
Undocumented in source.
Mixed In Members
From
mixin
MvpSetter
setMVP
void
setMVP
(Matrix4f model, Matrix4f view, Matrix4f projection)
Undocumented in source. Be warned that the author may not have intended to support it.
From
mixin
VpSetter
setVP
void
setVP
(Matrix4f view, Matrix4f projection)
Undocumented in source. Be warned that the author may not have intended to support it.
From
mixin
ModelSetter
setModel
void
setModel
(Matrix4f model)
Undocumented in source. Be warned that the author may not have intended to support it.
setModel
void
setModel
()
Undocumented in source. Be warned that the author may not have intended to support it.
From
mixin
ViewSetter
setView
void
setView
(Matrix4f view)
Undocumented in source. Be warned that the author may not have intended to support it.
setView
void
setView
()
Undocumented in source. Be warned that the author may not have intended to support it.
From
mixin
ProjectionSetter
setProjection
void
setProjection
(Matrix4f projection)
Undocumented in source. Be warned that the author may not have intended to support it.
setProjection
void
setProjection
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
voxelman
graphics
shaders
mixin templates
ModelSetter
MvpSetter
ProjectionSetter
TransparencySetter
ViewSetter
VpSetter
structs
SolidShader2d
SolidShader3d
TransparentShader3d
variables
color_frag_shader_transparent
matrix4fIdentity
solid_frag_shader
solid_vert_shader
vert_shader_2d