render__draw_sdf_model

Function render__draw_sdf_model 

Source
pub unsafe extern "C" fn render__draw_sdf_model(
    sdf: SdfHandle,
    instances_ptr: *const SdfInstanceData,
    instances_len: u32,
    constants_ptr: *const f32,
    constants_len: u32,
    bounding_boxes_ptr: *const BoundingBox,
    bounding_boxes_len: u32,
) -> ErrorCode
Expand description

Draws 1 or more instances of an SDF model.

Bounding boxes are only looked at if you pass in modified constants. To keep the old constants, just pass in an empty slice.