Godot::Image
Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
adjust_bcs(brightness : Float64, contrast : Float64, saturation : Float64) : Void
Sourcebump_map_to_normal_map(bump_scale : Float64) : Void
Sourceclear_mipmaps
Sourcecompress(mode : Int64, source : Int64, profile : Int64) : Int64
Sourcecompress_from_channels(mode : Int64, channels : Int64, profile : Int64) : Int64
Sourcecompute_image_metrics(compared_image : Image, use_luma : Bool) : Pointer(Void)
Sourceconvert(format : Int64) : Void
Sourcecopy_from(src : Image) : Void
Sourcecreate(width : Int64, height : Int64, use_mipmaps : Bool, format : Int64) : Image
Sourcecreate_empty(width : Int64, height : Int64, use_mipmaps : Bool, format : Int64) : Image
Sourcecreate_from_data(width : Int64, height : Int64, use_mipmaps : Bool, format : Int64, data : Pointer(Void)) : Image
Sourcecrop(width : Int64, height : Int64) : Void
Sourcedecompress
Sourcedetect_alpha
Sourcedetect_used_channels(source : Int64) : Int64
Sourcefix_alpha_edges
Sourceflip_x
Sourceflip_y
Sourcegenerate_mipmaps(renormalize : Bool, preserve_alpha_test_coverage : Bool, alpha_test_threshold : Float64) : Int64
Sourceget_data
Sourceget_data_size
Sourceget_format
Sourceget_height
Sourceget_mipmap_count
Sourceget_mipmap_offset(mipmap : Int64) : Int64
Sourceget_size
Sourceget_used_rect
Sourceget_width
Sourcehas_mipmaps
Sourceis_compressed
Sourceis_empty
Sourceis_invisible
Sourcelinear_to_srgb
Sourceload(path : String) : Int64
Sourceload_bmp_from_buffer(buffer : Pointer(Void)) : Int64
Sourceload_dds_from_buffer(buffer : Pointer(Void)) : Int64
Sourceload_exr_from_buffer(buffer : Pointer(Void)) : Int64
Sourceload_from_file(path : String) : Image
Sourceload_jpg_from_buffer(buffer : Pointer(Void)) : Int64
Sourceload_ktx_from_buffer(buffer : Pointer(Void)) : Int64
Sourceload_png_from_buffer(buffer : Pointer(Void)) : Int64
Sourceload_svg_from_buffer(buffer : Pointer(Void), scale : Float64) : Int64
Sourceload_svg_from_string(svg_str : String, scale : Float64) : Int64
Sourceload_tga_from_buffer(buffer : Pointer(Void)) : Int64
Sourceload_webp_from_buffer(buffer : Pointer(Void)) : Int64
Sourcenormal_map_to_xy
Sourcepremultiply_alpha
Sourceresize(width : Int64, height : Int64, interpolation : Int64) : Void
Sourceresize_to_po2(square : Bool, interpolation : Int64) : Void
Sourcergbe_to_srgb
Sourcerotate_180
Sourcerotate_90(direction : Int64) : Void
Sourcesave_dds(path : String) : Int64
Sourcesave_dds_to_buffer
Sourcesave_exr(path : String, grayscale : Bool, color_image : Bool, max_linear_value : Float64) : Int64
Sourcesave_exr_to_buffer(grayscale : Bool, color_image : Bool, max_linear_value : Float64) : Pointer(Void)
Sourcesave_jpg(path : String, quality : Float64) : Int64
Sourcesave_jpg_to_buffer(quality : Float64) : Pointer(Void)
Sourcesave_png(path : String) : Int64
Sourcesave_png_to_buffer
Sourcesave_webp(path : String, lossy : Bool, quality : Float64) : Int64
Sourcesave_webp_to_buffer(lossy : Bool, quality : Float64) : Pointer(Void)
Sourceset_data(width : Int64, height : Int64, use_mipmaps : Bool, format : Int64, data : Pointer(Void)) : Void
Sourceshrink_x2
Sourcesrgb_to_linear
Source