pub struct RenderPipelineReflection(/* private fields */);Expand description
Reflection information for a render pipeline.
C++ equivalent: MTL::RenderPipelineReflection
Implementations§
Source§impl RenderPipelineReflection
impl RenderPipelineReflection
Sourcepub fn new() -> Option<Self>
pub fn new() -> Option<Self>
Create a new render pipeline reflection.
C++ equivalent: static RenderPipelineReflection* alloc()->init()
Sourcepub unsafe fn from_raw(ptr: *mut c_void) -> Option<Self>
pub unsafe fn from_raw(ptr: *mut c_void) -> Option<Self>
Create a RenderPipelineReflection from a raw pointer.
§Safety
The pointer must be a valid Metal render pipeline reflection object.
Sourcepub fn vertex_arguments_raw(&self) -> *mut c_void
pub fn vertex_arguments_raw(&self) -> *mut c_void
Get the vertex arguments array (deprecated, use vertex_bindings instead).
C++ equivalent: NS::Array* vertexArguments() const
Sourcepub fn fragment_arguments_raw(&self) -> *mut c_void
pub fn fragment_arguments_raw(&self) -> *mut c_void
Get the fragment arguments array (deprecated, use fragment_bindings instead).
C++ equivalent: NS::Array* fragmentArguments() const
Sourcepub fn tile_arguments_raw(&self) -> *mut c_void
pub fn tile_arguments_raw(&self) -> *mut c_void
Get the tile arguments array (deprecated, use tile_bindings instead).
C++ equivalent: NS::Array* tileArguments() const
Sourcepub fn vertex_bindings_raw(&self) -> *mut c_void
pub fn vertex_bindings_raw(&self) -> *mut c_void
Get the vertex bindings array.
C++ equivalent: NS::Array* vertexBindings() const
Sourcepub fn fragment_bindings_raw(&self) -> *mut c_void
pub fn fragment_bindings_raw(&self) -> *mut c_void
Get the fragment bindings array.
C++ equivalent: NS::Array* fragmentBindings() const
Sourcepub fn tile_bindings_raw(&self) -> *mut c_void
pub fn tile_bindings_raw(&self) -> *mut c_void
Get the tile bindings array.
C++ equivalent: NS::Array* tileBindings() const
Sourcepub fn object_bindings_raw(&self) -> *mut c_void
pub fn object_bindings_raw(&self) -> *mut c_void
Get the object bindings array.
C++ equivalent: NS::Array* objectBindings() const
Sourcepub fn mesh_bindings_raw(&self) -> *mut c_void
pub fn mesh_bindings_raw(&self) -> *mut c_void
Get the mesh bindings array.
C++ equivalent: NS::Array* meshBindings() const