d84914ef1e5a
high_poly_gpu.rs
/// The high poly bake mode draws over the low poly
pub(crate) struct HighPolyGpu {
/// Which mesh the buffers hold
pub(crate) id: u64,
pub(crate) vertices: wgpu::Buffer,
pub(crate) vertex_count: usize,
pub(crate) indices: wgpu::Buffer,
pub(crate) index_count: u32,
/// One value per vertex: 1 where the bake's rays miss it (drawn red), 0 where they reach it
pub(crate) missed: wgpu::Buffer,
}
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.