vello_encoding 0.8.0

Vello types that represent the data that needs to be rendered.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2023 the Vello Authors
// SPDX-License-Identifier: Apache-2.0 OR MIT

use bytemuck::{Pod, Zeroable};

/// Binning header.
#[derive(Copy, Clone, Pod, Zeroable, Debug, Default)]
#[repr(C)]
pub struct BinHeader {
    pub element_count: u32,
    pub chunk_offset: u32,
}