pub struct BakeInput<'a> {
pub texture_coordinates: &'a [[f32; 2]],
pub indices: &'a [u32],
pub config: BakeConfig,
}Fields§
§texture_coordinates: &'a [[f32; 2]]Finite UVs, including wrapped coordinates outside [0, 1]. Baking
conservatively validates both SDK subdivision heuristics and requires
referenced mip-0 texel coordinates to have magnitude below 2^30.
Texel bounding box products, with raster headroom, must fit in i32.
indices: &'a [u32]§config: BakeConfigTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BakeInput<'a>
impl<'a> RefUnwindSafe for BakeInput<'a>
impl<'a> Send for BakeInput<'a>
impl<'a> Sync for BakeInput<'a>
impl<'a> Unpin for BakeInput<'a>
impl<'a> UnsafeUnpin for BakeInput<'a>
impl<'a> UnwindSafe for BakeInput<'a>
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