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