Struct ark_module::render::RenderDrawInfo
source · [−]#[repr(C)]pub struct RenderDrawInfo {
pub object_to_world: [f32; 16],
pub static_data_ptr: u32,
pub static_data_len: u32,
pub cache_id: u64,
pub flags: RenderDrawFlags,
pub dynamic_data_ptr: u32,
pub dynamic_data_len: u32,
pub reserved: u32,
}Expand description
Raw struct, abstracted away by the impl macro so not accessed directly by user code.
Fields
object_to_world: [f32; 16]static_data_ptr: u32static_data_len: u32cache_id: u64Stable instance ID for identifying an instance across frames.
flags: RenderDrawFlagsdynamic_data_ptr: u32dynamic_data_len: u32reserved: u32Trait Implementations
sourceimpl Clone for RenderDrawInfo
impl Clone for RenderDrawInfo
sourcefn clone(&self) -> RenderDrawInfo
fn clone(&self) -> RenderDrawInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Zeroable for RenderDrawInfo
impl Zeroable for RenderDrawInfo
impl Copy for RenderDrawInfo
impl Pod for RenderDrawInfo
Auto Trait Implementations
impl RefUnwindSafe for RenderDrawInfo
impl Send for RenderDrawInfo
impl Sync for RenderDrawInfo
impl Unpin for RenderDrawInfo
impl UnwindSafe for RenderDrawInfo
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
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more
fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret bits as &Self.