MLBufferResourceView constructor
Implementation
factory MLBufferResourceView(
{required GPUBuffer resource, int? offset, int? size}) =>
MLBufferResourceView._(
resource: resource, offset: offset ?? 0, size: size ?? undefined);
factory MLBufferResourceView(
{required GPUBuffer resource, int? offset, int? size}) =>
MLBufferResourceView._(
resource: resource, offset: offset ?? 0, size: size ?? undefined);