Module blue_engine::imports
source · Expand description
re-exports from dependencies that are useful
Re-exports§
pub use downcast;
pub use image;
pub use nalgebra_glm as glm;
pub use wgpu;
pub use winit;
Structs§
- Backends Represents the backends that wgpu will use.
- Encoder from wgpu Encodes a series of GPU operations.
- Event Loop Provides a way to retrieve events from the system and from the windows that were registered to the events loop.
- Input helper The main struct of the API.
- Keyboard input identifier Describes a keyboard input targeting a window.
- WindowSize A position represented in logical pixels.
- WindowSize A size represented in logical pixels.
- Pair of load and store operations for an attachment aspect.
- WindowSize A position represented in physical pixels.
- WindowSize A size represented in physical pixels.
- Describes a color attachment to a
RenderPass
. - Describes the attachments of a render pass.
- Surface Texture Handle to a texture view.
- Window export from winit Represents a window.
Enums§
- Device Events Represents raw hardware events that are not associated with any particular window.
- Element State Describes the input state of a key.
- Winit Events Describes a generic event.
- Fullscreen enum Fullscreen modes.
- Keyboard keys identifier Key represents the meaning of a keypress.
- Code representing the location of a physical key
- Operation to perform to the output attachment at the start of a render pass.
- The mouse button identifier Describes a button of a mouse controller.
- WindowSize A position that’s either physical or logical.
- WindowSize A size that’s either physical or logical.
- WindowEvents Describes an event from a [
Window
].
Traits§
- WindowSize
- Pod trait for custom uniform buffer structure Marker trait for “plain old data”.
- Zeroable trait for custom uniform buffer structure Trait for types that can be safely created with
zeroed
.
Functions§
- WindowSize Checks that the scale factor is a normal positive
f64
.
Type Aliases§
- Face of a vertex.
- Vertex winding order which classifies the “front” face of a triangle.
- Format of indices used with pipeline.
- Type of drawing mode for polygons
- Power Preference when choosing a physical adapter.
- Primitive type the input mesh is composed of.
- Shaders are programs that runs on the GPU
- Textures are image data that are sent to GPU to be set to a surface
- Uniform Buffers are small amount of data that are sent from CPU to GPU
Derive Macros§
- Pod trait for custom uniform buffer structure Derive the
Pod
trait for a struct - Zeroable trait for custom uniform buffer structure Derive the
Zeroable
trait for a struct