byte-engine 0.1.0

A composable Rust game engine focused on graphics, input, audio, physics, and retained UI.
1
2
3
4
5
6
use crate::core::Entity;

pub trait Synthesizer: Sync + Send {
	/// Renders the synthesizer output into the provided buffer.
	fn render<'a>(&self, current_sample: u32, buffer: &'a mut [f32]) -> &'a [f32];
}