class
Crame::Texture
- Crame::Texture
- Reference
- Object
Overview
A Texture is a Drawable element that represent an image.
Currently, only JPEG and PNG images are tested and proven to work. But theorically, all image format should do the trick.
Included Modules
Defined in:
crame/texture.crConstructors
-
.new(path : String | Path)
Creates a new
Texturegiven itspath.