[][src]Module macroquad::prelude

Mose common types that can be glob-imported use macroquad::prelude::* for convenience.

Re-exports

pub use crate::camera::*;
pub use crate::file::*;
pub use crate::input::*;
pub use crate::material::*;
pub use crate::models::*;
pub use crate::shapes::*;
pub use crate::text::*;
pub use crate::texture::*;
pub use crate::time::*;
pub use crate::window::*;
pub use glam;
pub use quad_rand as rand;
pub use crate::collections;
pub use crate::coroutines;
pub use crate::logging::*;

Modules

f32

Macros

const_mat2

Creates a Mat2 from two column vectors that can be used to initialize a constant value.

const_mat3

Creates a Mat3 from three column vectors that can be used to initialize a constant value.

const_mat4

Creates a Mat4 from four column vectors that can be used to initialize a constant value.

const_quat

Creates a Quat from x, y, z and w values that can be used to initialize a constant value.

const_vec2

Creates a Vec2 that can be used to initialize a constant value.

const_vec3

Creates a Vec3 that can be used to initialize a constant value.

const_vec3a

Creates a Vec3A that can be used to initialize a constant value.

const_vec4

Creates a Vec4 that can be used to initialize a constant value.

hash

Structs

ClipboardObject
Color
Conf
GlPipeline
Mat2

A 2x2 column major matrix.

Mat3

A 3x3 column major matrix.

Mat4

A 4x4 column major matrix.

PipelineParams
QuadGl
Quat

A quaternion representing an orientation.

Rect
Vec2

A 2-dimensional vector.

Vec2Mask

A 2-dimensional vector mask.

Vec3

A 3-dimensional vector without SIMD support.

Vec3A

A 3-dimensional vector.

Vec3AMask

A 3-dimensional vector mask.

Vec3Mask

A 3-dimensional vector mask.

Vec4

A 4-dimensional vector.

Vec4Mask
Vertex
WindowParams

Enums

Comparison

A pixel-wise comparison function.

UniformType

Constants

BEIGE
BLACK
BLANK
BLUE
BROWN
DARKBLUE
DARKBROWN
DARKGRAY
DARKGREEN
DARKPURPLE
GOLD
GRAY
GREEN
LIGHTGRAY
LIME
MAGENTA
MAROON
ORANGE
PINK
PURPLE
RED
SKYBLUE
VIOLET
WHITE
YELLOW

Functions

draw_window
mat2

Creates a Mat2 from two column vectors.

mat3

Creates a Mat3 from three column vectors.

mat4

Creates a Mat4 from four column vectors.

quat

Creates a Quat from x, y, z and w values.

set_megaui_texture
set_ui_style
vec2

Creates a Vec2.

vec3

Creates a Vec3.

vec3a

Creates a Vec3.

vec4

Creates a Vec4.