optic-render 0.0.2

OpenGL 4.6 renderer for Optic engine — EGL context, shaders, meshes, textures, cameras, canvas
Documentation
//! Asset loading, caching, and GPU upload.
//!
//! Each asset type provides a `from_disk(path)` constructor that in debug
//! builds loads the source file and overwrites the binary cache, and in
//! release builds loads the cache for faster startup.
//!
//! # Types
//!
//! | Type | File extension | Cache extension |
//! |------|----------------|-----------------|
//! | [`TextureFile`] | `.png`, `.jpg`, ... | `.otxtr` |
//! | [`Mesh3DFile`] | `.obj`, `.stl` | `.omesh` |
//! | [`ShaderFile`] | `.glsl` | `.oshdr` |
//!
//! Also provides the [`attr`] sub-module for vertex and instance attribute
//! descriptors used by meshes and instance buffers.

pub mod attr;
mod img;
mod msh;
mod shdr;

pub use img::*;
pub use msh::*;
pub use shdr::*;