ULGPUDriverCreateGeometryCallback

Type Alias 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§

pub 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.