Godot::Texture2D
Inherits Godot::Texture < Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
create_placeholder
Sourcedraw_rect(canvas_item : Int64, rect : Rect2, tile : Bool, modulate : Color, transpose : Bool) : Void
Sourcedraw_rect_region(canvas_item : Int64, rect : Rect2, src_rect : Rect2, modulate : Color, transpose : Bool, clip_uv : Bool) : Void
Sourceget_format
Sourceget_height
Sourceget_image
Sourceget_mipmap_count
Sourceget_size
Sourceget_width
Sourcehas_alpha
Sourcehas_mipmaps
Source