pub struct FuchsiaExtensionPointers {
pub GetMemoryZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const MemoryGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result,
pub GetMemoryZirconHandlePropertiesFUCHSIA: extern "system" fn(_: Device, _: u32, _: zx_handle_t, _: *mut MemoryZirconHandlePropertiesFUCHSIA) -> Result,
pub ImportSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const ImportSemaphoreZirconHandleInfoFUCHSIA) -> Result,
pub GetSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const SemaphoreGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result,
pub CreateBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: *const BufferCollectionCreateInfoFUCHSIA, _: *const AllocationCallbacks, _: *mut BufferCollectionFUCHSIA) -> Result,
pub SetBufferCollectionImageConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const ImageConstraintsInfoFUCHSIA) -> Result,
pub SetBufferCollectionBufferConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const BufferConstraintsInfoFUCHSIA) -> Result,
pub DestroyBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const AllocationCallbacks),
pub GetBufferCollectionPropertiesFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *mut BufferCollectionPropertiesFUCHSIA) -> Result,
}
Fields§
§GetMemoryZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const MemoryGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result
§GetMemoryZirconHandlePropertiesFUCHSIA: extern "system" fn(_: Device, _: u32, _: zx_handle_t, _: *mut MemoryZirconHandlePropertiesFUCHSIA) -> Result
§ImportSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const ImportSemaphoreZirconHandleInfoFUCHSIA) -> Result
§GetSemaphoreZirconHandleFUCHSIA: extern "system" fn(_: Device, _: *const SemaphoreGetZirconHandleInfoFUCHSIA, _: *mut zx_handle_t) -> Result
§CreateBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: *const BufferCollectionCreateInfoFUCHSIA, _: *const AllocationCallbacks, _: *mut BufferCollectionFUCHSIA) -> Result
§SetBufferCollectionImageConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const ImageConstraintsInfoFUCHSIA) -> Result
§SetBufferCollectionBufferConstraintsFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const BufferConstraintsInfoFUCHSIA) -> Result
§DestroyBufferCollectionFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *const AllocationCallbacks)
§GetBufferCollectionPropertiesFUCHSIA: extern "system" fn(_: Device, _: BufferCollectionFUCHSIA, _: *mut BufferCollectionPropertiesFUCHSIA) -> Result
Implementations§
Source§impl FuchsiaExtensionPointers
impl FuchsiaExtensionPointers
pub fn load<F>(f: F) -> FuchsiaExtensionPointers
Sourcepub unsafe fn GetMemoryZirconHandleFUCHSIA(
&self,
device: Device,
pGetZirconHandleInfo: *const MemoryGetZirconHandleInfoFUCHSIA,
pZirconHandle: *mut zx_handle_t,
) -> Result
pub unsafe fn GetMemoryZirconHandleFUCHSIA( &self, device: Device, pGetZirconHandleInfo: *const MemoryGetZirconHandleInfoFUCHSIA, pZirconHandle: *mut zx_handle_t, ) -> Result
§Safety
This wraps a direct call to vkGetMemoryZirconHandleFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn GetMemoryZirconHandlePropertiesFUCHSIA(
&self,
device: Device,
handleType: u32,
zirconHandle: zx_handle_t,
pMemoryZirconHandleProperties: *mut MemoryZirconHandlePropertiesFUCHSIA,
) -> Result
pub unsafe fn GetMemoryZirconHandlePropertiesFUCHSIA( &self, device: Device, handleType: u32, zirconHandle: zx_handle_t, pMemoryZirconHandleProperties: *mut MemoryZirconHandlePropertiesFUCHSIA, ) -> Result
§Safety
This wraps a direct call to vkGetMemoryZirconHandlePropertiesFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn ImportSemaphoreZirconHandleFUCHSIA(
&self,
device: Device,
pImportSemaphoreZirconHandleInfo: *const ImportSemaphoreZirconHandleInfoFUCHSIA,
) -> Result
pub unsafe fn ImportSemaphoreZirconHandleFUCHSIA( &self, device: Device, pImportSemaphoreZirconHandleInfo: *const ImportSemaphoreZirconHandleInfoFUCHSIA, ) -> Result
§Safety
This wraps a direct call to vkImportSemaphoreZirconHandleFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn GetSemaphoreZirconHandleFUCHSIA(
&self,
device: Device,
pGetZirconHandleInfo: *const SemaphoreGetZirconHandleInfoFUCHSIA,
pZirconHandle: *mut zx_handle_t,
) -> Result
pub unsafe fn GetSemaphoreZirconHandleFUCHSIA( &self, device: Device, pGetZirconHandleInfo: *const SemaphoreGetZirconHandleInfoFUCHSIA, pZirconHandle: *mut zx_handle_t, ) -> Result
§Safety
This wraps a direct call to vkGetSemaphoreZirconHandleFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn CreateBufferCollectionFUCHSIA(
&self,
device: Device,
pImportInfo: *const BufferCollectionCreateInfoFUCHSIA,
pAllocator: *const AllocationCallbacks,
pCollection: *mut BufferCollectionFUCHSIA,
) -> Result
pub unsafe fn CreateBufferCollectionFUCHSIA( &self, device: Device, pImportInfo: *const BufferCollectionCreateInfoFUCHSIA, pAllocator: *const AllocationCallbacks, pCollection: *mut BufferCollectionFUCHSIA, ) -> Result
§Safety
This wraps a direct call to vkCreateBufferCollectionFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn SetBufferCollectionImageConstraintsFUCHSIA(
&self,
device: Device,
collection: BufferCollectionFUCHSIA,
pImageConstraintsInfo: *const ImageConstraintsInfoFUCHSIA,
) -> Result
pub unsafe fn SetBufferCollectionImageConstraintsFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pImageConstraintsInfo: *const ImageConstraintsInfoFUCHSIA, ) -> Result
§Safety
This wraps a direct call to vkSetBufferCollectionImageConstraintsFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn SetBufferCollectionBufferConstraintsFUCHSIA(
&self,
device: Device,
collection: BufferCollectionFUCHSIA,
pBufferConstraintsInfo: *const BufferConstraintsInfoFUCHSIA,
) -> Result
pub unsafe fn SetBufferCollectionBufferConstraintsFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pBufferConstraintsInfo: *const BufferConstraintsInfoFUCHSIA, ) -> Result
§Safety
This wraps a direct call to vkSetBufferCollectionBufferConstraintsFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn DestroyBufferCollectionFUCHSIA(
&self,
device: Device,
collection: BufferCollectionFUCHSIA,
pAllocator: *const AllocationCallbacks,
)
pub unsafe fn DestroyBufferCollectionFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pAllocator: *const AllocationCallbacks, )
§Safety
This wraps a direct call to vkDestroyBufferCollectionFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.
Sourcepub unsafe fn GetBufferCollectionPropertiesFUCHSIA(
&self,
device: Device,
collection: BufferCollectionFUCHSIA,
pProperties: *mut BufferCollectionPropertiesFUCHSIA,
) -> Result
pub unsafe fn GetBufferCollectionPropertiesFUCHSIA( &self, device: Device, collection: BufferCollectionFUCHSIA, pProperties: *mut BufferCollectionPropertiesFUCHSIA, ) -> Result
§Safety
This wraps a direct call to vkGetBufferCollectionPropertiesFUCHSIA
.
The safety requirements of that function must be upheld when calling this one.
See the extension function documentation for more details.