Struct ark_api::render::RenderMesh
source · [−]pub struct RenderMesh { /* private fields */ }
Expand description
A handle to a mesh.
Implementations
sourceimpl RenderMesh
impl RenderMesh
sourcepub fn raw_handle(&self) -> RenderMeshHandle
pub fn raw_handle(&self) -> RenderMeshHandle
Returns the raw handle. Useful when constructing raw RenderMeshInstance
structs without the builder.
sourcepub fn retrieve_mesh_data(&self) -> MeshData
pub fn retrieve_mesh_data(&self) -> MeshData
Retrieve a MeshData
from the host.
This function should be called sparingly since the data is not cached.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RenderMesh
impl Send for RenderMesh
impl Sync for RenderMesh
impl Unpin for RenderMesh
impl UnwindSafe for RenderMesh
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more