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§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32, _: ULVertexBuffer, _: ULIndexBuffer))

Some value of type T.