byte-engine 0.1.0

A composable Rust game engine focused on graphics, input, audio, physics, and retained UI.
//! The simple render model provides a simplified rendering model for Byte-Engine applications. Useful for debugging and prototyping.

#[doc(hidden)]
pub mod pipeline_manager;
#[doc(hidden)]
pub mod render_pass;
#[doc(hidden)]
pub mod shader_generator;

use math::ShaderMatrix4;
pub use pipeline_manager::PipelineManager;
pub use pipeline_manager::PipelineManager as SimplePipelineManager;
pub use render_pass::RenderPass;
pub use render_pass::RenderPass as SimpleRenderPass;

#[repr(C)]
/// The `CameraShaderData` struct shares simple-pipeline camera data
/// with generated shader code.
#[derive(Debug, Clone, Copy)]
pub struct CameraShaderData {
	vp: ShaderMatrix4,
}