pub struct MeshRenderPipelineDescriptorRef(/* private fields */);Expand description
A borrowed reference to a MeshRenderPipelineDescriptor.
Implementations§
Source§impl MeshRenderPipelineDescriptorRef
impl MeshRenderPipelineDescriptorRef
pub fn color_attachments( &self, ) -> &RenderPipelineColorAttachmentDescriptorArrayRef
pub fn depth_attachment_pixel_format(&self) -> MTLPixelFormat
pub fn set_depth_attachment_pixel_format(&self, pixel_format: MTLPixelFormat)
pub fn fragment_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef>
pub fn fragment_function(&self) -> Option<&FunctionRef>
pub fn set_fragment_function(&self, function: Option<&FunctionRef>)
pub fn is_alpha_to_coverage_enabled(&self) -> bool
pub fn set_alpha_to_coverage_enabled(&self, enabled: bool)
pub fn is_alpha_to_one_enabled(&self) -> bool
pub fn set_alpha_to_one_enabled(&self, enabled: bool)
pub fn is_rasterization_enabled(&self) -> bool
pub fn set_rasterization_enabled(&self, enabled: bool)
pub fn label(&self) -> &str
pub fn set_label(&self, label: &str)
pub fn max_total_threadgroups_per_mesh_grid(&self) -> NSUInteger
pub fn set_max_total_threadgroups_per_mesh_grid( &self, max_total_threadgroups_per_mesh_grid: NSUInteger, )
pub fn max_total_threads_per_mesh_threadgroup(&self) -> NSUInteger
pub fn set_max_total_threads_per_mesh_threadgroup( &self, max_total_threads_per_mesh_threadgroup: NSUInteger, )
pub fn max_total_threads_per_object_threadgroup(&self) -> NSUInteger
pub fn set_max_total_threads_per_object_threadgroup( &self, max_total_threads_per_object_threadgroup: NSUInteger, )
pub fn max_vertex_amplification_count(&self) -> NSUInteger
pub fn set_max_vertex_amplification_count( &self, max_vertex_amplification_count: NSUInteger, )
pub fn mesh_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef>
pub fn mesh_function(&self) -> Option<&FunctionRef>
pub fn set_mesh_function(&self, function: Option<&FunctionRef>)
pub fn mesh_threadgroup_size_is_multiple_of_thread_execution_width( &self, ) -> bool
pub fn set_mesh_threadgroup_size_is_multiple_of_thread_execution_width( &self, mesh_threadgroup_size_is_multiple_of_thread_execution_width: bool, )
pub fn object_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef>
pub fn object_function(&self) -> Option<&FunctionRef>
pub fn set_object_function(&self, function: Option<&FunctionRef>)
pub fn object_threadgroup_size_is_multiple_of_thread_execution_width( &self, ) -> bool
pub fn set_object_threadgroup_size_is_multiple_of_thread_execution_width( &self, object_threadgroup_size_is_multiple_of_thread_execution_width: bool, )
pub fn payload_memory_length(&self) -> NSUInteger
pub fn set_payload_memory_length(&self, payload_memory_length: NSUInteger)
pub fn raster_sample_count(&self) -> NSUInteger
pub fn set_raster_sample_count(&self, raster_sample_count: NSUInteger)
pub fn stencil_attachment_pixel_format(&self) -> MTLPixelFormat
pub fn set_stencil_attachment_pixel_format(&self, pixel_format: MTLPixelFormat)
pub fn reset(&self)
Trait Implementations§
Source§impl AsMut<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor
impl AsMut<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor
Source§fn as_mut(&mut self) -> &mut MeshRenderPipelineDescriptorRef
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
impl AsRef<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor
Source§fn as_ref(&self) -> &MeshRenderPipelineDescriptorRef
fn as_ref(&self) -> &MeshRenderPipelineDescriptorRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor
impl Borrow<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor
Source§fn borrow(&self) -> &MeshRenderPipelineDescriptorRef
fn borrow(&self) -> &MeshRenderPipelineDescriptorRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor
impl BorrowMut<MeshRenderPipelineDescriptorRef> for MeshRenderPipelineDescriptor
Source§fn borrow_mut(&mut self) -> &mut MeshRenderPipelineDescriptorRef
fn borrow_mut(&mut self) -> &mut MeshRenderPipelineDescriptorRef
Mutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for MeshRenderPipelineDescriptorRef
impl ForeignTypeRef for MeshRenderPipelineDescriptorRef
Source§type CType = MTLMeshRenderPipelineDescriptor
type CType = MTLMeshRenderPipelineDescriptor
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
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§impl Message for MeshRenderPipelineDescriptorRef
impl Message for MeshRenderPipelineDescriptorRef
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
Source§impl ToOwned for MeshRenderPipelineDescriptorRef
impl ToOwned for MeshRenderPipelineDescriptorRef
Source§type Owned = MeshRenderPipelineDescriptor
type Owned = MeshRenderPipelineDescriptor
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> MeshRenderPipelineDescriptor
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)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more