MTL4BufferRange Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |