Class: Texture
- Inherits:
- LiteRGSS::Bitmap show all
- Defined in:
- docs/0_Dependencies.rb
Overview
Class that stores an image loaded from file or memory into the VRAM
Constant Summary collapse
- SUPPORTED_EXTS =
List of supported extensions
['.png', '.PNG', '.jpg']
Instance Attribute Summary
Attributes inherited from LiteRGSS::Bitmap
Instance Method Summary collapse
-
#initialize(filename, from_mem = nil) ⇒ Texture
constructor
Initialize the texture, add automatically the extension to the filename.
Methods inherited from LiteRGSS::Bitmap
new, #to_png, #to_png_file, #update
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(filename, from_mem = nil) ⇒ Texture
Initialize the texture, add automatically the extension to the filename
614 615 |
# File 'docs/0_Dependencies.rb', line 614 def initialize(filename, from_mem = nil) end |