pub struct ArgumentEncoder(/* private fields */);Methods from Deref<Target = ArgumentEncoderRef>§
pub fn encoded_length(&self) -> NSUInteger
pub fn alignment(&self) -> NSUInteger
pub fn set_argument_buffer(&self, buffer: &BufferRef, offset: NSUInteger)
pub fn set_argument_buffer_to_element( &self, array_element: NSUInteger, buffer: &BufferRef, offset: NSUInteger, )
pub fn set_buffer( &self, at_index: NSUInteger, buffer: &BufferRef, offset: NSUInteger, )
pub fn set_buffers( &self, start_index: NSUInteger, data: &[&BufferRef], offsets: &[NSUInteger], )
pub fn set_texture(&self, at_index: NSUInteger, texture: &TextureRef)
pub fn set_textures(&self, start_index: NSUInteger, data: &[&TextureRef])
pub fn set_sampler_state( &self, at_index: NSUInteger, sampler_state: &SamplerStateRef, )
pub fn set_sampler_states( &self, start_index: NSUInteger, data: &[&SamplerStateRef], )
pub fn set_render_pipeline_state( &self, at_index: NSUInteger, pipeline: &RenderPipelineStateRef, )
pub fn set_render_pipeline_states( &self, start_index: NSUInteger, pipelines: &[&RenderPipelineStateRef], )
pub fn constant_data(&self, at_index: NSUInteger) -> *mut c_void
pub fn set_indirect_command_buffer( &self, at_index: NSUInteger, buffer: &IndirectCommandBufferRef, )
pub fn set_indirect_command_buffers( &self, start_index: NSUInteger, data: &[&IndirectCommandBufferRef], )
pub fn new_argument_encoder_for_buffer( &self, index: NSUInteger, ) -> ArgumentEncoder
Trait Implementations§
Source§impl AsMut<ArgumentEncoderRef> for ArgumentEncoder
impl AsMut<ArgumentEncoderRef> for ArgumentEncoder
Source§fn as_mut(&mut self) -> &mut ArgumentEncoderRef
fn as_mut(&mut self) -> &mut ArgumentEncoderRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ArgumentEncoderRef> for ArgumentEncoder
impl AsRef<ArgumentEncoderRef> for ArgumentEncoder
Source§fn as_ref(&self) -> &ArgumentEncoderRef
fn as_ref(&self) -> &ArgumentEncoderRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<ArgumentEncoderRef> for ArgumentEncoder
impl Borrow<ArgumentEncoderRef> for ArgumentEncoder
Source§fn borrow(&self) -> &ArgumentEncoderRef
fn borrow(&self) -> &ArgumentEncoderRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<ArgumentEncoderRef> for ArgumentEncoder
impl BorrowMut<ArgumentEncoderRef> for ArgumentEncoder
Source§fn borrow_mut(&mut self) -> &mut ArgumentEncoderRef
fn borrow_mut(&mut self) -> &mut ArgumentEncoderRef
Mutably borrows from an owned value. Read more
Source§impl Clone for ArgumentEncoder
impl Clone for ArgumentEncoder
Source§fn clone(&self) -> ArgumentEncoder
fn clone(&self) -> ArgumentEncoder
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 ArgumentEncoder
impl Debug for ArgumentEncoder
Source§impl Deref for ArgumentEncoder
impl Deref for ArgumentEncoder
Source§type Target = ArgumentEncoderRef
type Target = ArgumentEncoderRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &ArgumentEncoderRef
fn deref(&self) -> &ArgumentEncoderRef
Dereferences the value.
Source§impl DerefMut for ArgumentEncoder
impl DerefMut for ArgumentEncoder
Source§fn deref_mut(&mut self) -> &mut ArgumentEncoderRef
fn deref_mut(&mut self) -> &mut ArgumentEncoderRef
Mutably dereferences the value.
Source§impl Drop for ArgumentEncoder
impl Drop for ArgumentEncoder
Source§impl ForeignType for ArgumentEncoder
impl ForeignType for ArgumentEncoder
Source§type CType = MTLArgumentEncoder
type CType = MTLArgumentEncoder
The raw C type.
Source§type Ref = ArgumentEncoderRef
type Ref = ArgumentEncoderRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLArgumentEncoder) -> ArgumentEncoder
unsafe fn from_ptr(ptr: *mut MTLArgumentEncoder) -> ArgumentEncoder
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLArgumentEncoder
fn as_ptr(&self) -> *mut MTLArgumentEncoder
Returns a raw pointer to the wrapped value.
impl Send for ArgumentEncoder
impl Sync for ArgumentEncoder
Auto Trait Implementations§
impl Freeze for ArgumentEncoder
impl RefUnwindSafe for ArgumentEncoder
impl Unpin for ArgumentEncoder
impl UnsafeUnpin for ArgumentEncoder
impl UnwindSafe for ArgumentEncoder
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