Skip to main content

Crate ultrafast_gpu

Crate ultrafast_gpu 

Source
Expand description

Thin native GPU layer for ultrafast.

This is deliberately not a general graphics abstraction. It exposes the handful of concepts the renderer needs (textures, compute kernels, command lists) with static dispatch to one native backend per platform, and it counts every CPU<->GPU transfer so copies are always visible.

Backends: Metal (macOS). Vulkan + CUDA interop (Linux, NVIDIA L4) is next.

Re-exports§

pub use vulkan::ExportedMemory;
pub use vulkan::Bindings;
pub use vulkan::Buffer;
pub use vulkan::BufferBinding;
pub use vulkan::CommandList;
pub use vulkan::Device;
pub use vulkan::Draw;
pub use vulkan::DrawPipeline;
pub use vulkan::DrawTarget;
pub use vulkan::Kernel;
pub use vulkan::Library;
pub use vulkan::Submitted;
pub use vulkan::Texture;

Modules§

vulkan
Vulkan backend (Linux / NVIDIA L4, and macOS through MoltenVK for testing).

Structs§

GpuTiming
GPU execution time of one submitted command list, in milliseconds.
TextureDesc
TransferStats

Enums§

Blend
How a draw pipeline combines fragments with the target.
GpuError
PixelFormat

Constants§

BACKEND