lib/cyberarm_engine/lib/shader.rb in cyberarm_engine-0.10.1 vs lib/cyberarm_engine/lib/shader.rb in cyberarm_engine-0.10.2
- old
+ new
@@ -19,9 +19,13 @@
def self.available?(name)
@@shaders.dig(name).is_a?(Shader)
end
+ def self.get(name)
+ @@shaders.dig(name)
+ end
+
def self.active_shader
@active_shader
end
def self.active_shader=(instance)
\ No newline at end of file