struct RayLib::Image
- RayLib::Image
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
raylib/structs.crConstructors
- .new(data : Pointer(Void), width : Int32, height : Int32, mipmaps : Int32, format : Int32)
- .new(pull : JSON::PullParser)
- .new(unwrap : Pointer(Binding::Image))
- .new(unwrap : Binding::Image)
Instance Method Summary
- #data : Pointer(Void)
- #data=(data : Pointer(Void))
- #format : Int32
- #format=(format : Int32)
- #height : Int32
- #height=(height : Int32)
- #mipmaps : Int32
- #mipmaps=(mipmaps : Int32)
- #to_unsafe
- #width : Int32
- #width=(width : Int32)
Constructor Detail
def self.new(data : Pointer(Void), width : Int32, height : Int32, mipmaps : Int32, format : Int32)
#