Struct machinery_api::plugins::renderer::RendererCommandBufferPoolApi [−][src]
#[repr(C)]pub struct RendererCommandBufferPoolApi { pub create: Option<unsafe extern "C" fn(inst: *mut RendererCommandBufferPoolO) -> *mut RendererCommandBufferO>, pub destroy: Option<unsafe extern "C" fn(inst: *mut RendererCommandBufferPoolO, buffer: *mut RendererCommandBufferO)>, pub user_data_size: Option<unsafe extern "C" fn(inst: *mut RendererCommandBufferPoolO) -> u64>, }
Fields
create: Option<unsafe extern "C" fn(inst: *mut RendererCommandBufferPoolO) -> *mut RendererCommandBufferO>destroy: Option<unsafe extern "C" fn(inst: *mut RendererCommandBufferPoolO, buffer: *mut RendererCommandBufferO)>user_data_size: Option<unsafe extern "C" fn(inst: *mut RendererCommandBufferPoolO) -> u64>Implementations
pub unsafe fn create(
&self,
inst: *mut RendererCommandBufferPoolO
) -> *mut RendererCommandBufferO
pub unsafe fn destroy(
&self,
inst: *mut RendererCommandBufferPoolO,
buffer: *mut RendererCommandBufferO
)
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl Send for RendererCommandBufferPoolApi
impl Sync for RendererCommandBufferPoolApi
impl Unpin for RendererCommandBufferPoolApi
impl UnwindSafe for RendererCommandBufferPoolApi
Blanket Implementations
Mutably borrows from an owned value. Read more