Share via


MTL4BufferRange Struct

Definition

A struct that represents a range of a Metal buffer.

public struct MTL4BufferRange
type MTL4BufferRange = struct
Inheritance
MTL4BufferRange

Constructors

Name Description
MTL4BufferRange()

Create a new MTL4BufferRange with all zero values.

MTL4BufferRange(UInt64, UInt64)

Create a new MTL4BufferRange with the specified buffer address and length.

MTL4BufferRange(UInt64)

Create a new MTL4BufferRange with the specified buffer address and length until the end of the buffer.

Properties

Name Description
BufferAddress

The address of the buffer, including any offsets.

Length

The length of the buffer. MaxValue specifies until the end of the buffer.

Applies to