Kaba class FrameBuffer ed

...

Syntax ed

class FrameBuffer
    var color_attachments: shared![Texture][]
    var depth_buffer: DepthBuffer&
    var height: i32
    var width: i32

    # constructors
    func mut __init__(attachments: shared![Texture][])

    # functions
    func area() -> Rect
    func mut clear_color(index: i32, c: Color)
    func mut clear_depth(z: f32)
    func read(out image: Image)
    func mut update(attachments: shared![Texture][], face: i32)

Functions ed

func area() -> Rect
...

func mut clear_color(index: i32, c: Color)
...

func mut clear_depth(z: f32)
...

func read(out image: Image)
...

func mut update(attachments: shared![Texture][], face: i32)
...

Elements ed

var color_attachments: shared![Texture][]
...

var depth_buffer: DepthBuffer&
...

var height: i32
...

var width: i32
...