get method

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

Implementation

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