Re-exports§
Modules§
- bind
- Shader binding types.
- color
- Color types.
- group
- Shader group types and traits.
- instance
- Shader instance types and traits.
- layer
- Layer types.
- mesh
- The mesh and mesh data types.
- prelude
- The dunge prelude.
- sl
- Shader generator functions.
- texture
- The texture module.
- types
- Shader types.
- uniform
- Uniform and value traits.
- vertex
- The vertex module.
- window
- Window types.
Macros§
Structs§
- Buttons
- Mouse buttons.
- Context
- The main dunge context.
- Control
- The control type of the main event loop.
- Frame
- The frame type for drawing and copying operations.
- Key
- Keyboard input.
- Mouse
- Mouse input.
- Options
- Current layer options.
- Render
Buffer - Pair of color and depth buffer.
- Target
- A target for current frame.
Enums§
- Failed
Make Context - An error returned from the context constructor.
- Format
- The texture format type.
- Loop
Error - The event loop error.
- Then
- The control flow type.
Traits§
- AsTarget
- Something that contains a target.
- Draw
- The draw stage.
- Flow
- The control flow trait for the
Update
stage. - Group
- The group type description.
- Instance
- The instance type description.
- Into
Update - Lazy instantiation of the value that implements the
Update
trait. - Update
- The update stage.
- Vertex
- The vertex type description.
Functions§
- context
- Creates the context instance.
- draw
- Helper function to create a
Draw
implementer from a function. - make
- Creates an update handler from the received context and view.
- update
- Helper function to create a
Update
implementer from functions. - update_
with_ event - Same as
update
but with a state shared between two handlers and an event handler. - update_
with_ state - Same as
update
but with a state shared between two handlers.
Type Aliases§
- KeyCode
- Code representing the location of a physical key.
- Mouse
Button - Describes a button of a mouse controller.
- SmolStr
- String type from
winit
crate.