class Glove::ShaderProgram
- Glove::ShaderProgram
- Reference
- Object
Defined in:
shader_program.crConstructors
Class Method Summary
- .from(vertex_shader_path : Path, fragment_shader_path : Path)
- .from(vertex_shader_io : IO, fragment_shader_io : IO)
- .from(vertex_shader_string : String, fragment_shader_string : String)
Instance Method Summary
- #attach(shader)
- #get_uniform_location_cached(name)
- #link
- #program_id : UInt32
- #set_uniform_1f(name, v0)
- #set_uniform_1i(name, v0)
- #set_uniform_4f(name, v0, v1, v2, v3)
- #set_uniform_matrix_4f(name, transpose, data)
- #use