Type Alias ul_next_sys::ULGPUDriverCreateGeometryCallback
source · pub type ULGPUDriverCreateGeometryCallback = Option<unsafe extern "C" fn(geometry_id: c_uint, vertices: ULVertexBuffer, indices: ULIndexBuffer)>;
Expand description
The callback invoked when the GPUDriver wants to create geometry with certain ID and vertex/index data.
Aliased Type§
enum ULGPUDriverCreateGeometryCallback {
None,
Some(unsafe extern "C" fn(_: u32, _: ULVertexBuffer, _: ULIndexBuffer)),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: u32, _: ULVertexBuffer, _: ULIndexBuffer))
Some value of type T
.