Struct vk_sys::EntryPoints
[−]
[src]
pub struct EntryPoints { pub CreateInstance: extern "system" fn(_: *const InstanceCreateInfo, _: *const AllocationCallbacks, _: *mut Instance) -> Result, pub EnumerateInstanceExtensionProperties: extern "system" fn(_: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> Result, pub EnumerateInstanceLayerProperties: extern "system" fn(_: *mut u32, _: *mut LayerProperties) -> Result, }
Fields
CreateInstance: extern "system" fn(_: *const InstanceCreateInfo, _: *const AllocationCallbacks, _: *mut Instance) -> Result
EnumerateInstanceExtensionProperties: extern "system" fn(_: *const c_char, _: *mut u32, _: *mut ExtensionProperties) -> Result
EnumerateInstanceLayerProperties: extern "system" fn(_: *mut u32, _: *mut LayerProperties) -> Result
Methods
impl EntryPoints
[src]
fn load<F>(f: F) -> EntryPoints where
F: FnMut(&CStr) -> *const c_void,
F: FnMut(&CStr) -> *const c_void,
unsafe fn CreateInstance(
&self,
pCreateInfo: *const InstanceCreateInfo,
pAllocator: *const AllocationCallbacks,
pInstance: *mut Instance
) -> Result
&self,
pCreateInfo: *const InstanceCreateInfo,
pAllocator: *const AllocationCallbacks,
pInstance: *mut Instance
) -> Result
unsafe fn EnumerateInstanceExtensionProperties(
&self,
pLayerName: *const c_char,
pPropertyCount: *mut u32,
pProperties: *mut ExtensionProperties
) -> Result
&self,
pLayerName: *const c_char,
pPropertyCount: *mut u32,
pProperties: *mut ExtensionProperties
) -> Result
unsafe fn EnumerateInstanceLayerProperties(
&self,
pPropertyCount: *mut u32,
pProperties: *mut LayerProperties
) -> Result
&self,
pPropertyCount: *mut u32,
pProperties: *mut LayerProperties
) -> Result
Trait Implementations
impl Debug for EntryPoints
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.