class Prism::GUIShader
- Prism::GUIShader
- Prism::DefaultShader
- Prism::Shader::Program
- Reference
- Object
Overview
A generic shader for the GUI
Defined in:
prism/stdlib/shaders/gui_shader.crConstructors
Instance Method Summary
-
#gui_texture=(value : Prism::Texture2D)
Sets the value of the "guiTexture" uniform.
-
#transformation_matrix=(value : Matrix4f)
Sets the value of the "transformationMatrix" uniform.
Instance methods inherited from class Prism::Shader::Program
finalize
finalize,
set_uniform(name : String, value : Array(Shader::UniformStruct))set_uniform(name : String, value : Shader::UniformStruct)
set_uniform(name : String, value : LibGL::Int)
set_uniform(name : String, value : LibGL::Float)
set_uniform(name : String, value : Vector3f)
set_uniform(name : String, value : Vector2f)
set_uniform(name : String, value : Matrix4f)
set_uniform(name : String, value : Bool)
set_uniform(name : String, value : Prism::Texture) set_uniform, start start, stop stop
Constructor methods inherited from class Prism::Shader::Program
new(file_name : String, &shader_reader : String -> String)
new
Class methods inherited from class Prism::Shader::Program
pool
pool
Constructor Detail
Instance Method Detail
Sets the value of the "transformationMatrix" uniform.