get method

dynamic get(
  1. BaseBufferAttribute<NativeArray<num>> attribute
)

Implementation

dynamic get(BaseBufferAttribute attribute) {
  if (attribute is InterleavedBufferAttribute) {
    return buffers.get(attribute.data);
  }
  else {
    return buffers.get(attribute);
  }
}