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

MeshRenderPipelineDescriptorRef

Struct MeshRenderPipelineDescriptorRef 

Source
pub struct MeshRenderPipelineDescriptorRef(/* private fields */);
Expand description

A borrowed reference to a MeshRenderPipelineDescriptor.

Implementations§

Source§

impl MeshRenderPipelineDescriptorRef

Source

pub fn color_attachments( &self, ) -> &RenderPipelineColorAttachmentDescriptorArrayRef

Source

pub fn depth_attachment_pixel_format(&self) -> MTLPixelFormat

Source

pub fn set_depth_attachment_pixel_format(&self, pixel_format: MTLPixelFormat)

Source

pub fn fragment_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef>

Source

pub fn fragment_function(&self) -> Option<&FunctionRef>

Source

pub fn set_fragment_function(&self, function: Option<&FunctionRef>)

Source

pub fn is_alpha_to_coverage_enabled(&self) -> bool

Source

pub fn set_alpha_to_coverage_enabled(&self, enabled: bool)

Source

pub fn is_alpha_to_one_enabled(&self) -> bool

Source

pub fn set_alpha_to_one_enabled(&self, enabled: bool)

Source

pub fn is_rasterization_enabled(&self) -> bool

Source

pub fn set_rasterization_enabled(&self, enabled: bool)

Source

pub fn label(&self) -> &str

Source

pub fn set_label(&self, label: &str)

Source

pub fn max_total_threadgroups_per_mesh_grid(&self) -> NSUInteger

Source

pub fn set_max_total_threadgroups_per_mesh_grid( &self, max_total_threadgroups_per_mesh_grid: NSUInteger, )

Source

pub fn max_total_threads_per_mesh_threadgroup(&self) -> NSUInteger

Source

pub fn set_max_total_threads_per_mesh_threadgroup( &self, max_total_threads_per_mesh_threadgroup: NSUInteger, )

Source

pub fn max_total_threads_per_object_threadgroup(&self) -> NSUInteger

Source

pub fn set_max_total_threads_per_object_threadgroup( &self, max_total_threads_per_object_threadgroup: NSUInteger, )

Source

pub fn max_vertex_amplification_count(&self) -> NSUInteger

Source

pub fn set_max_vertex_amplification_count( &self, max_vertex_amplification_count: NSUInteger, )

Source

pub fn mesh_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef>

Source

pub fn mesh_function(&self) -> Option<&FunctionRef>

Source

pub fn set_mesh_function(&self, function: Option<&FunctionRef>)

Source

pub fn mesh_threadgroup_size_is_multiple_of_thread_execution_width( &self, ) -> bool

Source

pub fn set_mesh_threadgroup_size_is_multiple_of_thread_execution_width( &self, mesh_threadgroup_size_is_multiple_of_thread_execution_width: bool, )

Source

pub fn object_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef>

Source

pub fn object_function(&self) -> Option<&FunctionRef>

Source

pub fn set_object_function(&self, function: Option<&FunctionRef>)

Source

pub fn object_threadgroup_size_is_multiple_of_thread_execution_width( &self, ) -> bool

Source

pub fn set_object_threadgroup_size_is_multiple_of_thread_execution_width( &self, object_threadgroup_size_is_multiple_of_thread_execution_width: bool, )

Source

pub fn payload_memory_length(&self) -> NSUInteger

Source

pub fn set_payload_memory_length(&self, payload_memory_length: NSUInteger)

Source

pub fn raster_sample_count(&self) -> NSUInteger

Source

pub fn set_raster_sample_count(&self, raster_sample_count: NSUInteger)

Source

pub fn stencil_attachment_pixel_format(&self) -> MTLPixelFormat

Source

pub fn set_stencil_attachment_pixel_format(&self, pixel_format: MTLPixelFormat)

Source

pub fn reset(&self)

Trait Implementations§

Source§

impl AsMut<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor

Source§

fn as_mut(&mut self) -> &mut MeshRenderPipelineDescriptorRef

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

impl AsRef<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor

Source§

fn as_ref(&self) -> &MeshRenderPipelineDescriptorRef

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

impl Borrow<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor

Source§

fn borrow(&self) -> &MeshRenderPipelineDescriptorRef

Immutably borrows from an owned value. Read more
Source§

impl BorrowMut<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl Debug for MeshRenderPipelineDescriptorRef

Source§

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

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

impl ForeignTypeRef for MeshRenderPipelineDescriptorRef

Source§

type CType = MTLMeshRenderPipelineDescriptor

The raw C type.
Source§

unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self

Constructs a shared instance of this type from its raw type. Read more
Source§

unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self

Constructs a mutable reference of this type from its raw type. Read more
Source§

fn as_ptr(&self) -> *mut Self::CType

Returns a raw pointer to the wrapped value.
Source§

impl Message for MeshRenderPipelineDescriptorRef

Source§

unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
where Self: Sized, A: MessageArguments, R: Any,

Sends a message to self with the given selector and arguments. Read more
Source§

fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
where Self: Sized, A: EncodeArguments, R: Encode,

Verifies that the argument and return types match the encoding of the method for the given selector. Read more
Source§

impl ToOwned for MeshRenderPipelineDescriptorRef

Source§

type Owned = MeshRenderPipelineDescriptor

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> MeshRenderPipelineDescriptor

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

fn clone_into(&self, target: &mut Self::Owned)

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

impl Send for MeshRenderPipelineDescriptorRef

Source§

impl Sync for MeshRenderPipelineDescriptorRef

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> 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<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.