[][src]Crate very_simple_2d_core

Overview

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

Modules

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.

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.