#![warn(missing_docs)]
pub mod window;
pub mod renderer;
pub mod plugin;
pub mod prelude {
pub use crate::window::{RenderApp, WindowConfig};
pub use crate::renderer::{RenderDevice, RenderSurface, PbrVertex};
pub use crate::plugin::{RenderPlugin, CameraComponent};
pub use crate::renderer::assets::{MeshHandle, MaterialHandle, PipelineHandle, RenderAssets};
pub use crate::renderer::draw::{ActiveCamera, Aabb, DrawCommandList, Frustum, InstanceData, SceneLights, DirectionalLight, PointLight, SpotLight, MaterialParams};
pub use crate::renderer::state::{RenderState, PbrSceneUniform, GpuLight, MAX_LIGHTS};
pub use wgpu::{
Device, Queue, Surface, SurfaceConfiguration, TextureFormat,
RenderPipeline, RenderPass, CommandEncoder, Buffer, Texture,
BindGroup, BindGroupLayout, PipelineLayout,
};
pub use winit::{
event::{WindowEvent, DeviceEvent},
event_loop::{EventLoop, ActiveEventLoop},
window::{Window, WindowId},
application::ApplicationHandler,
};
pub use anvilkit_core::prelude::*;
pub use anvilkit_ecs::prelude::*;
}
#[cfg(test)]
mod tests {
#[test]
fn test_version_info() {
assert_eq!(env!("CARGO_PKG_NAME"), "anvilkit-render");
assert_eq!(env!("CARGO_PKG_VERSION"), "0.1.0");
}
}