rlSetVertexAttributeDefault function
void
rlSetVertexAttributeDefault(
- int locIndex,
- TypedData value,
- int attribType,
- int count,
)
Implementation
void rlSetVertexAttributeDefault(
int locIndex, TypedData value, int attribType, int count,
) => ffi.using((arena) {
final bytes = value.buffer.asUint8List(value.offsetInBytes, value.lengthInBytes);
final ptr = arena<Uint8>(bytes.length);
ptr.asTypedList(bytes.length).setAll(0, bytes);
raylib.rlSetVertexAttributeDefault(locIndex, ptr.cast(), attribType, count);
});