Struct adi_gpu::Display [] [src]

pub struct Display { /* fields omitted */ }

To render anything with adi_gpu, you have to make a Display

Methods

impl Display
[src]

[src]

Connect to the display as a window with a name and icon. Icon is in aci image format: [ width, height, bgra pixels ]. fog is a tuple: (distance, depth).

[src]

Change the background color of the Display.

[src]

Get input, if there is any.

[src]

Update the display / window.

[src]

Update the camera position and angle.

[src]

Get the width and height