pub struct BlitCommandEncoder(/* private fields */);Methods from Deref<Target = BlitCommandEncoderRef>§
pub fn synchronize_resource(&self, resource: &ResourceRef)
pub fn fill_buffer( &self, destination_buffer: &BufferRef, range: NSRange, value: u8, )
pub fn generate_mipmaps(&self, texture: &TextureRef)
pub fn copy_from_buffer( &self, source_buffer: &BufferRef, source_offset: NSUInteger, destination_buffer: &BufferRef, destination_offset: NSUInteger, size: NSUInteger, )
pub fn copy_from_texture( &self, source_texture: &TextureRef, source_slice: NSUInteger, source_level: NSUInteger, source_origin: MTLOrigin, source_size: MTLSize, destination_texture: &TextureRef, destination_slice: NSUInteger, destination_level: NSUInteger, destination_origin: MTLOrigin, )
pub fn copy_from_buffer_to_texture( &self, source_buffer: &BufferRef, source_offset: NSUInteger, source_bytes_per_row: NSUInteger, source_bytes_per_image: NSUInteger, source_size: MTLSize, destination_texture: &TextureRef, destination_slice: NSUInteger, destination_level: NSUInteger, destination_origin: MTLOrigin, options: MTLBlitOption, )
Sourcepub fn copy_from_texture_to_buffer(
&self,
source_texture: &TextureRef,
source_slice: NSUInteger,
source_level: NSUInteger,
source_origin: MTLOrigin,
source_size: MTLSize,
destination_buffer: &BufferRef,
destination_offset: NSUInteger,
destination_bytes_per_row: NSUInteger,
destination_bytes_per_image: NSUInteger,
options: MTLBlitOption,
)
pub fn copy_from_texture_to_buffer( &self, source_texture: &TextureRef, source_slice: NSUInteger, source_level: NSUInteger, source_origin: MTLOrigin, source_size: MTLSize, destination_buffer: &BufferRef, destination_offset: NSUInteger, destination_bytes_per_row: NSUInteger, destination_bytes_per_image: NSUInteger, options: MTLBlitOption, )
pub fn optimize_contents_for_gpu_access(&self, texture: &TextureRef)
pub fn optimize_contents_for_gpu_access_slice_level( &self, texture: &TextureRef, slice: NSUInteger, level: NSUInteger, )
pub fn optimize_contents_for_cpu_access(&self, texture: &TextureRef)
pub fn optimize_contents_for_cpu_access_slice_level( &self, texture: &TextureRef, slice: NSUInteger, level: NSUInteger, )
pub fn update_fence(&self, fence: &FenceRef)
pub fn wait_for_fence(&self, fence: &FenceRef)
pub fn copy_indirect_command_buffer( &self, source: &IndirectCommandBufferRef, source_range: NSRange, destination: &IndirectCommandBufferRef, destination_index: NSUInteger, )
pub fn reset_commands_in_buffer( &self, buffer: &IndirectCommandBufferRef, range: NSRange, )
pub fn optimize_indirect_command_buffer( &self, buffer: &IndirectCommandBufferRef, range: NSRange, )
Sourcepub fn sample_counters_in_buffer(
&self,
sample_buffer: &CounterSampleBufferRef,
sample_index: NSUInteger,
with_barrier: bool,
)
pub fn sample_counters_in_buffer( &self, sample_buffer: &CounterSampleBufferRef, sample_index: NSUInteger, with_barrier: bool, )
Sourcepub fn resolve_counters(
&self,
sample_buffer: &CounterSampleBufferRef,
range: NSRange,
destination_buffer: &BufferRef,
destination_offset: NSUInteger,
)
pub fn resolve_counters( &self, sample_buffer: &CounterSampleBufferRef, range: NSRange, destination_buffer: &BufferRef, destination_offset: NSUInteger, )
Methods from Deref<Target = CommandEncoderRef>§
pub fn label(&self) -> &str
pub fn set_label(&self, label: &str)
pub fn end_encoding(&self)
pub fn insert_debug_signpost(&self, name: &str)
pub fn push_debug_group(&self, name: &str)
pub fn pop_debug_group(&self)
Trait Implementations§
Source§impl AsMut<BlitCommandEncoderRef> for BlitCommandEncoder
impl AsMut<BlitCommandEncoderRef> for BlitCommandEncoder
Source§fn as_mut(&mut self) -> &mut BlitCommandEncoderRef
fn as_mut(&mut self) -> &mut BlitCommandEncoderRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<BlitCommandEncoderRef> for BlitCommandEncoder
impl AsRef<BlitCommandEncoderRef> for BlitCommandEncoder
Source§fn as_ref(&self) -> &BlitCommandEncoderRef
fn as_ref(&self) -> &BlitCommandEncoderRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<BlitCommandEncoderRef> for BlitCommandEncoder
impl Borrow<BlitCommandEncoderRef> for BlitCommandEncoder
Source§fn borrow(&self) -> &BlitCommandEncoderRef
fn borrow(&self) -> &BlitCommandEncoderRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<BlitCommandEncoderRef> for BlitCommandEncoder
impl BorrowMut<BlitCommandEncoderRef> for BlitCommandEncoder
Source§fn borrow_mut(&mut self) -> &mut BlitCommandEncoderRef
fn borrow_mut(&mut self) -> &mut BlitCommandEncoderRef
Mutably borrows from an owned value. Read more
Source§impl Clone for BlitCommandEncoder
impl Clone for BlitCommandEncoder
Source§fn clone(&self) -> BlitCommandEncoder
fn clone(&self) -> BlitCommandEncoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlitCommandEncoder
impl Debug for BlitCommandEncoder
Source§impl Deref for BlitCommandEncoder
impl Deref for BlitCommandEncoder
Source§type Target = BlitCommandEncoderRef
type Target = BlitCommandEncoderRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &BlitCommandEncoderRef
fn deref(&self) -> &BlitCommandEncoderRef
Dereferences the value.
Source§impl DerefMut for BlitCommandEncoder
impl DerefMut for BlitCommandEncoder
Source§fn deref_mut(&mut self) -> &mut BlitCommandEncoderRef
fn deref_mut(&mut self) -> &mut BlitCommandEncoderRef
Mutably dereferences the value.
Source§impl Drop for BlitCommandEncoder
impl Drop for BlitCommandEncoder
Source§impl ForeignType for BlitCommandEncoder
impl ForeignType for BlitCommandEncoder
Source§type CType = MTLBlitCommandEncoder
type CType = MTLBlitCommandEncoder
The raw C type.
Source§type Ref = BlitCommandEncoderRef
type Ref = BlitCommandEncoderRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLBlitCommandEncoder) -> BlitCommandEncoder
unsafe fn from_ptr(ptr: *mut MTLBlitCommandEncoder) -> BlitCommandEncoder
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLBlitCommandEncoder
fn as_ptr(&self) -> *mut MTLBlitCommandEncoder
Returns a raw pointer to the wrapped value.
Source§impl From<BlitCommandEncoder> for CommandEncoder
impl From<BlitCommandEncoder> for CommandEncoder
Source§fn from(item: BlitCommandEncoder) -> Self
fn from(item: BlitCommandEncoder) -> Self
Converts to this type from the input type.
impl Send for BlitCommandEncoder
impl Sync for BlitCommandEncoder
Auto Trait Implementations§
impl Freeze for BlitCommandEncoder
impl RefUnwindSafe for BlitCommandEncoder
impl Unpin for BlitCommandEncoder
impl UnsafeUnpin for BlitCommandEncoder
impl UnwindSafe for BlitCommandEncoder
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