Kaba class Texture ed
...
Syntax ed
class Texture
var height: i32
var width: i32
# constructors
func mut __init__(width: i32, height: i32, format: string)
# functions
func read(image: Image)
func read_float(out data: f32[])
func mut set_options(op: string)
func mut write(image: Image)
func mut write_float(data: f32[])
func static load(filename: Path) -> xfer[Texture]
Functions ed
- func read(image: Image)
- ...
- func read_float(out data: f32[])
- ...
- func mut set_options(op: string)
- ...
- func mut write(image: Image)
- ...
- func mut write_float(data: f32[])
- ...
- func static load(filename: Path) -> xfer[Texture]
- ...
Elements ed
- var height: i32
- ...
- var width: i32
- ...