Struct adi_gpu_opengl::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]

[src]

Create a new GPU-Accelerated Display. If it can't be created, return None. Read more

[src]

Set the background color for the Display. Read more

[src]

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

[src]

Move the camera. Read more

[src]

Create a new Model for this Display.

[src]

Set the fog for the display. Read more

[src]

Create a new Texture for this Display.

[src]

Create a new Gradient for this Display.

[src]

Create new TexCoords for this Display.

[src]

Set the pixels for a Texture.

[src]

Create a new shape with a solid color.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Transform the shape.

[src]

Resize the display.

[src]

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

Auto Trait Implementations

impl !Send for Display

impl !Sync for Display