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
BBox |
Bounding box |
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 |
TexCoords |
A list of texture coordinates to be paired with vertices. |
Texture |
A Texture |
Vec3 |
3-dimensional vector |
Vec4 |
4-dimensional vector |
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
Input |
Input to the window, that's put into the input queue, when an event has occurred. |
ShapeHandle |
Handle for shape. |
WindowConnection |
Connection is listed first, then window. |
Constants
IDENTITY |
A no-op transform (identity matrix). |
Traits
Display |
A trait for a |
Point |
Functions
get_shape |
Get the index of a shape |
new_shape |
Create a new shape |
projection |
Generate a projection matrix. |
zsort |
Sort by distance. nr => true if Near Sort, nr => false if Far Sort |