Function ovr_sys::ovr_GetFloatArray

source ·
pub unsafe extern "C" fn ovr_GetFloatArray(
    session: ovrSession,
    propertyName: *const c_char,
    values: *mut f32,
    valuesCapacity: c_uint
) -> c_uint
Expand description

Reads a f32 array property.

session Specifies an ovrSession previously returned by ovr_Create.

propertyName The name of the property, which needs to be valid only for the call.

values An array of f32 to write to.

valuesCapacity Specifies the maximum number of elements to write to the values array.

Returns the number of elements read, or 0 if property doesn’t exist or is empty.