Module api

Module api 

Source
Expand description

Unified Safe API for Kronos Compute

This module provides a safe, ergonomic Rust API that wraps the low-level Vulkan-style FFI interface. All Kronos optimizations (persistent descriptors, smart barriers, timeline batching, and pool allocation) work transparently.

Re-exports§

pub use context::ComputeContext;
pub use buffer::Buffer;
pub use buffer::BufferUsage;
pub use pipeline::Pipeline;
pub use pipeline::Shader;
pub use pipeline::PipelineConfig;
pub use pipeline::BufferBinding;
pub use command::CommandBuilder;
pub use sync::Fence;
pub use sync::Semaphore;

Modules§

buffer
Safe buffer management with automatic memory allocation
command
Fluent command building and dispatch
context
Main entry point for Kronos Compute
pipeline
Pipeline and shader management
sync
Safe synchronization primitives

Structs§

ContextBuilder
Builder for ComputeContext
ContextConfig
Configuration for ComputeContext creation

Enums§

KronosError
Unified API errors

Type Aliases§

Result
Result type for the unified API