Thanks to visit codestin.com
Credit goes to docs.rs

RenderPipelineState

Struct RenderPipelineState 

Source
pub struct RenderPipelineState(/* private fields */);

Methods from Deref<Target = RenderPipelineStateRef>§

Source

pub fn device(&self) -> &DeviceRef

Source

pub fn label(&self) -> &str

Source

pub fn new_intersection_function_table_with_descriptor( &self, descriptor: &IntersectionFunctionTableDescriptorRef, stage: MTLRenderStages, ) -> IntersectionFunctionTable

Only available on (macos(11.0), ios(14.0))

Source

pub fn function_handle_with_function( &self, function: &FunctionRef, stage: MTLRenderStages, ) -> Option<&FunctionHandleRef>

Only available on (macos(11.0), ios(14.0))

Source

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

Source§

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

Source§

fn as_ref(&self) -> &RenderPipelineStateRef

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Borrow<RenderPipelineStateRef> for RenderPipelineState

Source§

fn borrow(&self) -> &RenderPipelineStateRef

Immutably borrows from an owned value. Read more
Source§

impl BorrowMut<RenderPipelineStateRef> for RenderPipelineState

Source§

fn borrow_mut(&mut self) -> &mut RenderPipelineStateRef

Mutably borrows from an owned value. Read more
Source§

impl Clone for RenderPipelineState

Source§

fn clone(&self) -> RenderPipelineState

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RenderPipelineState

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for RenderPipelineState

Source§

type Target = RenderPipelineStateRef

The resulting type after dereferencing.
Source§

fn deref(&self) -> &RenderPipelineStateRef

Dereferences the value.
Source§

impl DerefMut for RenderPipelineState

Source§

fn deref_mut(&mut self) -> &mut RenderPipelineStateRef

Mutably dereferences the value.
Source§

impl Drop for RenderPipelineState

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl ForeignType for RenderPipelineState

Source§

type CType = MTLRenderPipelineState

The raw C type.
Source§

type Ref = RenderPipelineStateRef

The type representing a reference to this type.
Source§

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

Returns a raw pointer to the wrapped value.
Source§

fn into_ptr(self) -> *mut Self::CType

Consumes the wrapper and returns the raw pointer.
Source§

impl Send for RenderPipelineState

Source§

impl Sync for RenderPipelineState

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.