class

Godot::Texture2D

Inherits Godot::Texture < Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

create_placeholder
Source
draw(canvas_item : Int64, position : Vector2, modulate : Color, transpose : Bool) : Void
Source
draw_rect(canvas_item : Int64, rect : Rect2, tile : Bool, modulate : Color, transpose : Bool) : Void
Source
draw_rect_region(canvas_item : Int64, rect : Rect2, src_rect : Rect2, modulate : Color, transpose : Bool, clip_uv : Bool) : Void
Source
get_format
Source
get_height
Source
get_image
Source
get_mipmap_count
Source
get_size
Source
get_width
Source
has_alpha
Source
has_mipmaps
Source