Crate kludgine_core

Crate kludgine_core 

Source
Expand description

Rendering and math related types.

Re-exports§

pub use self::frame_renderer::FrameRenderer;
pub use self::frame_renderer::ShutdownCallback;
pub use easygpu;
pub use figures;
pub use flume;
pub use image;
pub use lazy_static;
pub use winit;

Modules§

frame_renderer
Renders individual frames. Can be used for offscreen rendering.
math
Math types for 2d geometry.
prelude
A collection of commonly used exports provided by this crate.
scene
Scene and Target types that are used to draw.
shape
Types for rendering shapes.
sprite
Types for rendering sprites.
text
Types for rendering text.
texture
Types for managing textures.

Macros§

include_aseprite_sprite
Includes an Aseprite sprite sheet and Json export. For more information, see Sprite::load_aseprite_json. This macro will append “.png” and “.json” to the path provided and include both files in your binary.
include_font
Embeds a font into your executable.
include_texture
Embeds a texture in the binary.

Structs§

Color
A RGBA color with f32 components.

Enums§

Error
All errors that kludgine-core can return.

Type Aliases§

Result
Alias for std::result::Result where the error type is Error.