Class: Three::Loaders::RGBELoader
- Inherits:
-
Object
- Object
- Three::Loaders::RGBELoader
- Defined in:
- lib/three/loaders/rgbe_loader.rb
Instance Method Summary collapse
Instance Method Details
#load(source, **parameters) {|texture| ... } ⇒ Object
8 9 10 11 12 |
# File 'lib/three/loaders/rgbe_loader.rb', line 8 def load(source, **parameters) texture = RGBETexture.new(source, **parameters) yield texture if block_given? texture end |