GetRect module

Draw_Procs

structSource

Fields

texture_load_from_memory: (texture: *Texture, memory: [] u8, srgb: bool, build_mipmaps: bool) -> bool
set_scissor: (x0: s32, y0: s32, x1: s32, y1: s32)
clear_scissor: ()
set_shader_for_color: (enable_blend := false)
set_shader_for_images: (texture: *Texture)
prepare_text: (font: *Font, text: string, effects: Font_Effects = 0) -> s64
draw_prepared_text: (font: *Font, x: s64, y: s64, text_color: Vector4, effects: Font_Effects = 0)
get_mouse_pointer_position: (window: Window_Type, right_handed: bool) -> (x: int, y: int, success: bool)
set_pointer_image: (image: Pointer_Image, widget: *Active_Widget)
get_font_at_size: (memory: [] u8, pixel_height: int) -> *Font
immediate_triangle: (p0: Vector3, p1: Vector3, p2: Vector3, c0 := Vector4.{ 1, 1, 1, 1 }, c1 := Vector4.{ 1, 1, 1, 1 }, c2 := Vector4.{ 1, 1, 1, 1 }, uv0 := Vector2.{}, uv1 := Vector2.{}, uv2 := Vector2.{}, normal := Vector3.{ z = 1 })
immediate_quad: (p0: Vector2, p1: Vector2, p2: Vector2, p3: Vector2, color := Vector4.{ 1, 1, 1, 1 }, uv0 := Vector2.{ 0, 0 }, uv1 := Vector2.{ 1, 0 }, uv2 := Vector2.{ 1, 1 }, uv3 := Vector2.{ 0, 1 })
immediate_flush: ()

See also