Crate adi_gpu_base [] [src]

This library is the base library for implementations of the adi_gpu api. If you would like to make your own implementation of the api, you can use this library as a dependency.

Modules

afi

Aldaron's Format Interface is a library developed by Plop Grizzly for providing memory structures for graphics, audio, video and text.

Structs

Gradient

A list of colors to be paired with vertices.

Graphic

A graphic (image)

Mat4

A 4x4 Matrix

Model

A list of vertices that make a shape.

Shape

A renderable object that exists on the Display.

TexCoords

A list of texture coordinates to be paired with vertices.

Window

A window on Windows, Android, IOS, Wayland, XWindows, Direct to Display, Aldaron's OS, Arduino, Nintendo Switch, A Web Page, or No OS.

Enums

Click

A Mouse Click or Touch (for touchscreens)

Input

Input to the window, that's put into the input queue, when an event has occurred.

Key

This enum represents a physical key on a keyboard. There a 75 possible keys

Msg

A Keyboard Shortcut

ShapeHandle

Handle for shape.

WindowConnection

Connection is listed first, then window.

Traits

Display

A trait for a Display

Texture

Trait for a Texture.

Functions

get_shape

Get the index of a shape

new_shape

Create a new shape

projection

Generate a projection matrix.