render__create_sdf_model

Function render__create_sdf_model 

Source
pub unsafe extern "C" fn render__create_sdf_model(
    opcodes_ptr: *const u32,
    opcodes_len: u32,
    constants_ptr: *const f32,
    constants_len: u32,
    bounding_box_ptr: *const BoundingBox,
    __ark_ffi_output: *mut u64,
) -> ErrorCode
Expand description

Creates an SDF model from a Saft program.

These can be rendered directly or used to define bones for skinned SDF models. A correct bounding box is required for now (later we will derive it from the program).