Module image_texture

Consts

STORAGE_RAW* = 0'i64
STORAGE_COMPRESS_LOSSY* = 1'i64
STORAGE_COMPRESS_LOSSLESS* = 2'i64

Procs

proc create*(self: ImageTexture; width: int64; height: int64; format: int64;
            flags: int64 = 7'i64) {.
gcsafe, locks: 0
.}
proc createFromImage*(self: ImageTexture; image: Image; flags: int64 = 7'i64) {.
gcsafe, locks: 0
.}
proc getFormat*(self: ImageTexture): int64 {.
gcsafe, locks: 0
.}
proc load*(self: ImageTexture; path: string) {.
gcsafe, locks: 0
.}
proc setData*(self: ImageTexture; image: Image) {.
gcsafe, locks: 0
.}
proc setStorage*(self: ImageTexture; mode: int64) {.
gcsafe, locks: 0
.}
proc getStorage*(self: ImageTexture): int64 {.
gcsafe, locks: 0
.}
proc setLossyStorageQuality*(self: ImageTexture; quality: float64) {.
gcsafe, locks: 0
.}
proc getLossyStorageQuality*(self: ImageTexture): float64 {.
gcsafe, locks: 0
.}
proc setSizeOverride*(self: ImageTexture; size: Vector2) {.
gcsafe, locks: 0
.}

Methods

method reloadHook*(self: ImageTexture; rid: RID) {.
gcsafe, locks: 0, base
.}