Expand description
contains all the declarations such as structs, exports, enums, …
Re-exports§
pub use crate::camera::Camera;pub use crate::camera::CameraContainer;pub use crate::camera::Projection;pub use crate::engine::Engine;pub use crate::engine::EngineSettings;pub use crate::objects::Instance;pub use crate::objects::InstanceRaw;pub use crate::objects::Object;pub use crate::objects::ObjectSettings;pub use crate::objects::ObjectStorage;pub use crate::objects::RotateAmount;pub use crate::objects::RotateAxis;pub use crate::render::Renderer;pub use imports::*;
Modules§
- imports
- re-exports from dependencies that are useful
- macros
- primitive_
shapes - contains definition for some 2D and 3D shapes. They are basic shapes and can be used as examples of how to create your own content.
Structs§
- Pipeline
- Container for pipeline values. Each pipeline takes only 1 vertex shader, 1 fragment shader, 1 texture data, and optionally a vector of uniform data.
- Shader
Settings - These definitions are taken from wgpu API docs
- Signal
Storage - Handles the live events in the engine
- Vertex
- Will contain all details about a vertex and will be sent to GPU
- Vertex
Buffers - Container for vertex and index buffer
Enums§
- Pipeline
Data - Container for pipeline data. Allows for sharing resources with other objects
- Texture
Data - Defines how the texture data is
- Texture
Mode - Defines how the borders of texture would look like
Traits§
- Signal
- Allows all events to be fetched directly, making it easier to add custom additions to the engine.
Functions§
- pixel_
to_ cartesian - This function helps in converting pixel value to the value that is between -1 and +1
Type Aliases§
- Unsigned
IntType - The uint type used for indices and more
- Window
Size - To hold the width and height of the engine frames