Struct machinery_api::plugins::renderer::RendererDeviceMemoryAllocatorI [−][src]
#[repr(C)]pub struct RendererDeviceMemoryAllocatorI { pub inst: *mut c_void, pub allocate_staging_memory_command: Option<unsafe extern "C" fn(inst: *mut c_void, cmd_type: u32, cmd_data: *mut c_void, device_affinity_mask: u32, data: *mut *mut c_void) -> RendererDeviceMemoryO>, pub allocate_staging_memory: Option<unsafe extern "C" fn(inst: *mut c_void, size: u64, device_affinity_mask: u32, data: *mut *mut c_void) -> RendererDeviceMemoryO>, pub allocate_resource_read_fence: Option<unsafe extern "C" fn(inst: *mut c_void, device_affinity_mask: u32) -> u32>, pub append_user_data: Option<unsafe extern "C" fn(inst: *mut c_void, dest: *mut c_void, src: *mut c_void)>, }
Fields
inst: *mut c_voidallocate_staging_memory_command: Option<unsafe extern "C" fn(inst: *mut c_void, cmd_type: u32, cmd_data: *mut c_void, device_affinity_mask: u32, data: *mut *mut c_void) -> RendererDeviceMemoryO>allocate_staging_memory: Option<unsafe extern "C" fn(inst: *mut c_void, size: u64, device_affinity_mask: u32, data: *mut *mut c_void) -> RendererDeviceMemoryO>allocate_resource_read_fence: Option<unsafe extern "C" fn(inst: *mut c_void, device_affinity_mask: u32) -> u32>append_user_data: Option<unsafe extern "C" fn(inst: *mut c_void, dest: *mut c_void, src: *mut c_void)>Trait Implementations
Auto Trait Implementations
impl !Send for RendererDeviceMemoryAllocatorI
impl !Sync for RendererDeviceMemoryAllocatorI
impl Unpin for RendererDeviceMemoryAllocatorI
impl UnwindSafe for RendererDeviceMemoryAllocatorI
Blanket Implementations
Mutably borrows from an owned value. Read more