Crate blue_engine_core
Source Expand description
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 utils::*;
pub use imports::*;
- engine
- contains defintions of top level functionality of the Engine
- error
- interal error definitions of the engine
- imports
- re-exports from dependencies that are useful
- macros
- objects
- contains the definition for Object type, which is a type that make it easier to manage data for rendering.
- prelude
- contains all the declarations such as structs, exports, enums, …
- 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.
- render
- contains definition for rendering part of the engine.
- utils
- Utilities for the engine (soon moving to it’s own
crate).
- 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.
- ShaderSettings
- These definitions are taken from wgpu API docs
- SignalStorage
- Handles the live events in the engine
- Vertex
- Will contain all details about a vertex and will be sent to GPU
- VertexBuffers
- Container for vertex and index buffer
- PipelineData
- Container for pipeline data. Allows for sharing resources with other objects
- TextureData
- Defines how the texture data is
- TextureMode
- Defines how the borders of texture would look like
- Signal
- Allows all events to be fetched directly, making it easier to add custom additions to the engine.
- StringBuffer
- A unified way to handle strings
- StringBufferTrait
- A trait for StringBuffer
- pixel_to_cartesian
- This function helps in converting pixel value to the value that is between -1 and +1
- UnsignedIntType
- The uint type used for indices and more
- WindowSize
- To hold the width and height of the engine frames