pub struct RenderPipelineState(/* private fields */);Methods from Deref<Target = RenderPipelineStateRef>§
pub fn device(&self) -> &DeviceRef
pub fn label(&self) -> &str
Sourcepub fn new_intersection_function_table_with_descriptor(
&self,
descriptor: &IntersectionFunctionTableDescriptorRef,
stage: MTLRenderStages,
) -> IntersectionFunctionTable
pub fn new_intersection_function_table_with_descriptor( &self, descriptor: &IntersectionFunctionTableDescriptorRef, stage: MTLRenderStages, ) -> IntersectionFunctionTable
Only available on (macos(11.0), ios(14.0))
Sourcepub fn function_handle_with_function(
&self,
function: &FunctionRef,
stage: MTLRenderStages,
) -> Option<&FunctionHandleRef>
pub fn function_handle_with_function( &self, function: &FunctionRef, stage: MTLRenderStages, ) -> Option<&FunctionHandleRef>
Only available on (macos(11.0), ios(14.0))
Sourcepub fn new_visible_function_table_with_descriptor(
&self,
descriptor: &VisibleFunctionTableDescriptorRef,
stage: MTLRenderStages,
) -> VisibleFunctionTable
pub fn new_visible_function_table_with_descriptor( &self, descriptor: &VisibleFunctionTableDescriptorRef, stage: MTLRenderStages, ) -> VisibleFunctionTable
Only available on (macos(11.0), ios(14.0))
Trait Implementations§
Source§impl AsMut<RenderPipelineStateRef> for RenderPipelineState
impl AsMut<RenderPipelineStateRef> for RenderPipelineState
Source§fn as_mut(&mut self) -> &mut RenderPipelineStateRef
fn as_mut(&mut self) -> &mut RenderPipelineStateRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<RenderPipelineStateRef> for RenderPipelineState
impl AsRef<RenderPipelineStateRef> for RenderPipelineState
Source§fn as_ref(&self) -> &RenderPipelineStateRef
fn as_ref(&self) -> &RenderPipelineStateRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<RenderPipelineStateRef> for RenderPipelineState
impl Borrow<RenderPipelineStateRef> for RenderPipelineState
Source§fn borrow(&self) -> &RenderPipelineStateRef
fn borrow(&self) -> &RenderPipelineStateRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<RenderPipelineStateRef> for RenderPipelineState
impl BorrowMut<RenderPipelineStateRef> for RenderPipelineState
Source§fn borrow_mut(&mut self) -> &mut RenderPipelineStateRef
fn borrow_mut(&mut self) -> &mut RenderPipelineStateRef
Mutably borrows from an owned value. Read more
Source§impl Clone for RenderPipelineState
impl Clone for RenderPipelineState
Source§fn clone(&self) -> RenderPipelineState
fn clone(&self) -> RenderPipelineState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderPipelineState
impl Debug for RenderPipelineState
Source§impl Deref for RenderPipelineState
impl Deref for RenderPipelineState
Source§type Target = RenderPipelineStateRef
type Target = RenderPipelineStateRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &RenderPipelineStateRef
fn deref(&self) -> &RenderPipelineStateRef
Dereferences the value.
Source§impl DerefMut for RenderPipelineState
impl DerefMut for RenderPipelineState
Source§fn deref_mut(&mut self) -> &mut RenderPipelineStateRef
fn deref_mut(&mut self) -> &mut RenderPipelineStateRef
Mutably dereferences the value.
Source§impl Drop for RenderPipelineState
impl Drop for RenderPipelineState
Source§impl ForeignType for RenderPipelineState
impl ForeignType for RenderPipelineState
Source§type CType = MTLRenderPipelineState
type CType = MTLRenderPipelineState
The raw C type.
Source§type Ref = RenderPipelineStateRef
type Ref = RenderPipelineStateRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLRenderPipelineState) -> RenderPipelineState
unsafe fn from_ptr(ptr: *mut MTLRenderPipelineState) -> RenderPipelineState
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLRenderPipelineState
fn as_ptr(&self) -> *mut MTLRenderPipelineState
Returns a raw pointer to the wrapped value.
impl Send for RenderPipelineState
impl Sync for RenderPipelineState
Auto Trait Implementations§
impl Freeze for RenderPipelineState
impl RefUnwindSafe for RenderPipelineState
impl Unpin for RenderPipelineState
impl UnwindSafe for RenderPipelineState
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)