1pub mod accessibility;
34pub mod animation;
35pub mod app;
36pub mod command;
37pub mod compute;
38pub mod context;
39pub mod core;
40pub mod event;
41pub mod layout;
42pub mod multiwindow;
43pub mod ontology;
44pub mod paint;
45pub mod painter;
46pub mod plugin;
47pub mod renderer;
48pub mod resource;
49pub mod runtime;
50pub mod scene3d;
51pub mod surface;
52pub mod text;
53pub mod theme;
54pub mod types;
55pub mod vertex;
56pub mod widget;
57
58pub use core::{Color, FontWeight, Margin, Position, Rect, Size, TextStyle};
62
63pub use context::{GpuContext, GpuError};
65pub use types::BackendPreference;
66
67pub use resource::{
69 GpuBindGroup, GpuBindGroupLayout, GpuBuffer, GpuComputePipeline, GpuPipelineLayout,
70 GpuQuerySet, GpuRenderPipeline, GpuSampler, GpuShaderModule, GpuTexture, GpuTextureView,
71 ShaderSourceKind,
72};
73
74pub use command::{GpuCommandBuffer, GpuCommandEncoder, GpuComputePass, GpuRenderPass};
76
77pub use surface::{GpuSurface, GpuSurfaceTexture};
79
80pub use types::*;
82
83pub use app::AgpuApp;
85pub use event::convert_window_event;
86pub use ontology::gpu::{
87 AgpuAppOntology, PipelineOntology, ShapeRendererOntology, SurfaceOntology, TextEngineOntology,
88};
89pub use painter::AgpuPainter;
90pub use renderer::ShapeRenderer;
91pub use text::TextEngine;
92pub use vertex::Vertex;
93
94pub use ontology::{
96 Accessibility, AgentAction, AgentCapability, Discoverable, NodeBounds, OntologyRegistry,
97 SemanticRole, UiNode, UiTree, WidgetSchema,
98};
99
100pub use paint::{Gradient, GradientStop, ImageHandle, NullPainter, Painter, Shadow};
102
103pub use runtime::{CancellationToken, Command, Frame, Model, ProgramOptions, Router, Subscription};
105
106pub use event::{
108 DragDropEvent, DragDropKind, DragPayload, Event, HitMap, KeyCode, KeyEvent, KeyEventKind,
109 KeyModifiers, MouseButton, MouseEvent, MouseEventKind,
110};
111
112pub mod prelude {
114 pub use crate::app::AgpuApp;
115 pub use crate::core::{Color, FontWeight, Margin, Position, Rect, Size, TextStyle};
116 pub use crate::event::{
117 Event, KeyCode, KeyEvent, KeyModifiers, MouseButton, MouseEvent, MouseEventKind,
118 };
119 pub use crate::ontology::{
120 AgentAction, AgentCapability, Discoverable, OntologyRegistry, SemanticRole, UiNode,
121 WidgetSchema,
122 };
123 pub use crate::paint::{NullPainter, Painter, Shadow};
124 pub use crate::runtime::{Command, Frame, Model, ProgramOptions};
125 pub use crate::types::BackendPreference;
126}