Expand description
Most common types that can be glob-imported use macroquad::prelude::*
for convenience.
Re-exports
pub use crate::color::Color;
pub use glam;
pub use quad_rand as rand;
pub use crate::camera::*;
pub use crate::file::*;
pub use crate::input::*;
pub use crate::material::*;
pub use crate::math::*;
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 crate::color::colors::*;
pub use crate::experimental::*;
Macros
- Build a color from 4 components of 0..255 values This is a temporary solution and going to be replaced with const fn, waiting for this issue to be resolved.
- Logs a message at the debug level.
- Logs a message at the error level.
- Logs a message at the info level.
- The standard logging macro.
- Determines if a message logged at the specified level in that module will be logged.
- Logs a message at the trace level.
- Logs a message at the warn level.
Structs
- Metadata about a log message.
- Builder for
Metadata
. - The type returned by
from_str
when the string doesn’t match any of the log levels. - The “payload” of a log message.
- Builder for
Record
. - The type returned by
set_logger
ifset_logger
has already been called.
Enums
- A pixel-wise comparison function.
- An enumeration of supported image formats. Not all formats support both encoding and decoding.
- An enum representing the available verbosity levels of the logger.
- An enum representing the available verbosity level filters of the logger.
Constants
- The statically resolved maximum log level.
Traits
- A trait encapsulating the operations required of a logger.
Functions
- Returns a reference to the logger.
- Returns the current maximum log level.
- Sets the global logger to a
&'static Log
. - A thread-unsafe version of
set_logger
. - Sets the global maximum log level.
- A thread-unsafe version of
set_max_level
.