[][src]Crate egaku2d_core

Overview

This crate provides the opengl internals without the opengl context creation functionality. So this crate does not depend on glutin.

Re-exports

pub use axgeom;

Modules

batch

Contains all batch drawing code. See the crate level documentation.

gl

All the opengl functions generated from the gl_generator crate.

shapes

Contains all the shape drawing session and save objects They all follow the same api outlined in the crate documentation.

sprite

Contains all the texture/sprite drawing code. The api is described in the crate documentation.

uniforms

Contains the objects used for the uniform setting stage of the egaku2d drawing pipeline.

Macros

gl_ok

Macro that asserts that there are no opengl errors.

Structs

SimpleCanvas

Allows the user to start drawing shapes. The top left corner is the origin. y grows as you go down. x grows as you go right.