pub struct EngineConfig {
pub tile_size: u32,
pub sub_stream_count: u8,
pub enable_checksums: bool,
pub force_cpu: bool,
}Expand description
Runtime configuration for the GPU compression engine.
Fields§
§tile_size: u32Tile size in bytes (default 65536 = 64 KB).
sub_stream_count: u8Number of parallel sub-streams per tile (default 32).
enable_checksums: boolWhether to store per-tile CRC32 checksums.
force_cpu: boolIf true, never attempt GPU decompression.
Trait Implementations§
Source§impl Clone for EngineConfig
impl Clone for EngineConfig
Source§fn clone(&self) -> EngineConfig
fn clone(&self) -> EngineConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineConfig
impl Debug for EngineConfig
Auto Trait Implementations§
impl Freeze for EngineConfig
impl RefUnwindSafe for EngineConfig
impl Send for EngineConfig
impl Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl UnwindSafe for EngineConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more