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.
Re-exports
pub use euler::*; |
Modules
afi |
Aldaron's Format Interface |
Macros
dmat2 |
Double-precision 2x2 matrix macro constructor. |
dmat3 |
Double-precision 3x3 matrix macro constructor. |
dmat4 |
Double-precision 4x4 matrix macro constructor. |
dquat |
Double-precision quaternion macro constructor. |
dvec2 |
Double-precision 2D vector macro constructor. |
dvec3 |
Double-precision 3D vector macro constructor. |
dvec4 |
Double-precision 4D vector macro constructor. |
mat2 |
Single-precision 2x2 matrix macro constructor. |
mat3 |
Single-precision 3x3 matrix macro constructor. |
mat4 |
Single-precision 4x4 matrix macro constructor. |
quat |
Single-precision quaternion macro constructor. |
vec2 |
Single-precision 2D vector macro constructor. |
vec3 |
Single-precision 3D vector macro constructor. |
vec4 |
Single-precision 4D vector macro constructor. |
Structs
Gradient |
A list of colors to be paired with vertices. |
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 |
Transform |
A transformation matrix. |
VFrame |
A Video Frame (1/24 of a second) |
Window |
A graphics window on a computer, linked to a rendering API. |
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
PI |
Archimedes' constant (π) |
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 |