Class: RBGL::Engine::Texture
- Inherits:
-
Object
- Object
- RBGL::Engine::Texture
- Defined in:
- lib/tessel/rbgl.rb
Class Method Summary collapse
Class Method Details
.from_image(image) ⇒ Object
29 30 31 |
# File 'lib/tessel/rbgl.rb', line 29 def self.from_image(image) Tessel::RBGL.image_to_texture(image) end |
.from_png(path) ⇒ Object
33 34 35 |
# File 'lib/tessel/rbgl.rb', line 33 def self.from_png(path) Tessel::RBGL.texture_from_png(path) end |