1#![warn(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
21#![cfg_attr(not(test), warn(clippy::unreachable, clippy::print_stdout, clippy::print_stderr))]
22
23pub mod backend;
24pub mod color_mode;
25pub mod cull_face_mode;
26pub mod depth_mode;
27pub mod draw_mode;
28pub mod error;
29pub mod export;
30pub mod frame;
31pub mod gfx_types;
32pub mod gpu;
33pub mod offscreen_target;
34pub mod projection_variant;
35pub mod renderer_backend;
36pub mod rendering_stats;
37pub mod ring;
38pub mod shaders;
39mod size;
40pub mod stencil_mode;
41pub mod texture2d;
42pub mod types;
43pub mod util_hash;
44pub mod window;
45
46pub use color_mode::{ColorMode, Rgba};
47mod log_target {
49 pub(crate) const RENDER: &str = "mln_gfx::render";
50}
51
52pub use cull_face_mode::CullFaceMode;
53pub use depth_mode::DepthMode;
54pub use draw_mode::DrawMode;
55pub use error::{Error, ErrorKind};
56pub use export::{
57 DepthStencilFormat, DepthStencilFormats, DmaBufFormat, DmaBufPlane, ExportKind, ExportKinds, ExportedFrame,
58 ExportedImage, ExportedRing, FrameDepth, NativeTexture,
59};
60pub use frame::{ConsumerSync, FrameImage, FramePixels, FrameTarget, GpuSync, Handoff, SyncKind, SyncKinds};
61pub use gfx_types::{AttributeDataType, DrawModeType, PrimitiveType};
62pub use renderer_backend::RendererBackend;
63pub use size::Size;
64pub use stencil_mode::StencilMode;
65pub use types::DepthMaskType;
66pub use window::Window;