pub struct Baker;Implementations§
Source§impl Baker
impl Baker
Sourcepub fn create_texture<'a>(
&'a self,
_mips: &[AlphaMip<'_>],
) -> Result<AlphaTexture<'a>>
pub fn create_texture<'a>( &'a self, _mips: &[AlphaMip<'_>], ) -> Result<AlphaTexture<'a>>
Copies alpha mips into an SDK texture.
§Errors
Always returns an error because the native backend is unavailable.
Sourcepub fn bake(
&self,
_texture: &AlphaTexture<'_>,
_input: BakeInput<'_>,
) -> Result<BakeOutput>
pub fn bake( &self, _texture: &AlphaTexture<'_>, _input: BakeInput<'_>, ) -> Result<BakeOutput>
Source§impl Baker
impl Baker
Sourcepub fn bundled_backend_path() -> Option<&'static Path>
pub fn bundled_backend_path() -> Option<&'static Path>
Returns the bundled native backend path, when available.
Sourcepub const fn native_backend_available() -> bool
pub const fn native_backend_available() -> bool
Reports whether this build includes the native backend.
Auto Trait Implementations§
impl Freeze for Baker
impl RefUnwindSafe for Baker
impl Send for Baker
impl Sync for Baker
impl Unpin for Baker
impl UnsafeUnpin for Baker
impl UnwindSafe for Baker
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