pub struct DeviceWorkingTextureAllocator<'d> { /* private fields */ }
Expand description
DeviceWorkingTexture Management Arena
Implementations§
Source§impl DeviceWorkingTextureAllocator<'_>
impl DeviceWorkingTextureAllocator<'_>
Sourcepub fn new2d(
&mut self,
size: Vector2<u32>,
format: PixelFormat,
usage: ImageUsageFlags,
) -> DeviceWorkingTexture2DRef
pub fn new2d( &mut self, size: Vector2<u32>, format: PixelFormat, usage: ImageUsageFlags, ) -> DeviceWorkingTexture2DRef
Add new DeviceWorkingTexture2D allocation
Sourcepub fn new3d(
&mut self,
size: Vector3<u32>,
format: PixelFormat,
usage: ImageUsageFlags,
) -> DeviceWorkingTexture3DRef
pub fn new3d( &mut self, size: Vector3<u32>, format: PixelFormat, usage: ImageUsageFlags, ) -> DeviceWorkingTexture3DRef
Add new DeviceWorkingTexture3D allocation
Sourcepub fn new_cube(
&mut self,
size: Vector2<u32>,
format: PixelFormat,
usage: ImageUsageFlags,
) -> DeviceWorkingCubeTextureRef
pub fn new_cube( &mut self, size: Vector2<u32>, format: PixelFormat, usage: ImageUsageFlags, ) -> DeviceWorkingCubeTextureRef
Add new DeviceWorkingCubeTexture allocation
Sourcepub fn new_cube_mipmapped(
&mut self,
size: Vector2<u32>,
format: PixelFormat,
usage: ImageUsageFlags,
mipmaps: u32,
) -> DeviceWorkingCubeTextureRef
pub fn new_cube_mipmapped( &mut self, size: Vector2<u32>, format: PixelFormat, usage: ImageUsageFlags, mipmaps: u32, ) -> DeviceWorkingCubeTextureRef
Add new mipmapped DeviceWorkingTexture allocation
Auto Trait Implementations§
impl<'d> Freeze for DeviceWorkingTextureAllocator<'d>
impl<'d> !RefUnwindSafe for DeviceWorkingTextureAllocator<'d>
impl<'d> !Send for DeviceWorkingTextureAllocator<'d>
impl<'d> !Sync for DeviceWorkingTextureAllocator<'d>
impl<'d> Unpin for DeviceWorkingTextureAllocator<'d>
impl<'d> !UnwindSafe for DeviceWorkingTextureAllocator<'d>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more