Struct adi_gpu_vulkan::Display[][src]

pub struct Display { /* fields omitted */ }

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

Trait Implementations

impl Display for Display
[src]

Set the background color for the Display. Read more

Get input, if there's any. If there's no input, update the Display and return None. Read more

Move the camera. Read more

Create a new Model for this Display.

Set the fog for the display. Read more

Create a new Texture for this Display.

Create a new Gradient for this Display.

Create new TexCoords for this Display.

Set the pixels for a Texture.

Create a new shape with a solid color.

Create a new shape shaded by a gradient (1 color per vertex).

Create a new shape shaded by a texture using texture coordinates. Read more

Create a new shape shaded by a texture using texture coordinates and alpha. Read more

Create a new shape shaded by a texture using texture coordinates and tint. Read more

Create a new shape shaded by a texture using texture coordinates and tint per vertex. Read more

Drop a shape (don't draw it anymore).

Transform the shape.

Resize the display.

Get the width and height of the window, as a tuple.

Auto Trait Implementations

impl !Send for Display

impl !Sync for Display