class

PointClickEngine::Graphics::Shaders::ShaderSystem

Inherits Reference < Object

Constructors

Instance methods

active_shader
Source
active_shader=(active_shader : Raylib::Shader | Nil)
Source
begin_mode
Source
cleanup
Source
end_mode
Source
get_shader(name : Symbol) : Raylib::Shader | Nil
Source
load_shader(name : Symbol, fragment_path : String, vertex_path : String | Nil = nil)
Source
load_shader_from_memory(name : Symbol, fragment_code : String, vertex_code : String | Nil = nil)
Source
set_active(name : Symbol)
Source
set_value(name : Symbol, uniform_name : String, value : Float32 | Int32 | Array(Float32) | Raylib::Vector2 | Raylib::Vector3 | Raylib::Vector4)
Source
shaders
Source
shaders=(shaders : Hash(Symbol, Raylib::Shader))
Source