Skip to main content

Crate lgpu

Crate lgpu 

Source
Expand description

§lgpu (Lean GPU)

An ultra-lightweight, bindless-first cross-platform GPU abstraction for Rust and C. Designed for sub-second compile times, minimal binary footprint, and maximum performance.

Re-exports§

pub use buffer::*;
pub use command::*;
pub use device::*;
pub use instance::*;
pub use pipeline::*;
pub use surface::*;
pub use sync::*;
pub use texture::*;

Modules§

buffer
GPU buffer allocation and data streaming.
command
Command encoders, buffers, and recording passes.
device
Logical GPU device and queue submission.
instance
GPU instance and adapter management.
pipeline
GPU shaders, compute pipelines, and graphics pipelines.
surface
Native window surface and presentation.
sync
GPU timeline semaphores and fine-grained CPU-GPU synchronization.
texture
GPU texture, image views, and samplers.

Structs§

AdapterInfo
BlendComponent
BlendState
BufferDesc
BufferUsage
DeviceLimits
GraphicsPipelineDesc
PrimitiveState
SamplerDesc
TextureDesc
TextureUsage

Enums§

AddressMode
Backend
BlendFactor
BlendOp
CullMode
DeviceType
Error
FilterMode
FrontFace
HalError
LoadOp
MemoryLocation
PrimitiveTopology
TextureFormat

Type Aliases§

ColorLoadOp
DepthLoadOp