Kaba class Texture ed

...

Syntax ed

class Texture
    var height: i32
    var view: void*
    var width: i32

    # constructors
    func mut __init__()
    func mut __init__(w: i32, h: i32, format: string)

    # functions
    func mut write(image: Image)
    func mut write(data: void&, nx: i32, ny: i32, nz: i32, format: string)
    func static load(filename: Path) -> xfer[Texture]

Functions ed

func mut write(image: Image)
...

func mut write(data: void&, nx: i32, ny: i32, nz: i32, format: string)
...

func static load(filename: Path) -> xfer[Texture]
...

Elements ed

var height: i32
...

var view: void*
...

var width: i32
...