MTL4BufferRange Constructors
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.
Overloads
| Name | Description |
|---|---|
| MTL4BufferRange() |
Create a new MTL4BufferRange with all zero values. |
| MTL4BufferRange(UInt64) |
Create a new MTL4BufferRange with the specified buffer address and length until the end of the buffer. |
| MTL4BufferRange(UInt64, UInt64) |
Create a new MTL4BufferRange with the specified buffer address and length. |
MTL4BufferRange()
MTL4BufferRange(UInt64)
Create a new MTL4BufferRange with the specified buffer address and length until the end of the buffer.
public MTL4BufferRange(ulong bufferAddress);
new Metal.MTL4BufferRange : uint64 -> Metal.MTL4BufferRange
Parameters
- bufferAddress
- UInt64
The buffer address, including any offest into the buffer.
Applies to
MTL4BufferRange(UInt64, UInt64)
Create a new MTL4BufferRange with the specified buffer address and length.
public MTL4BufferRange(ulong bufferAddress, ulong length);
new Metal.MTL4BufferRange : uint64 * uint64 -> Metal.MTL4BufferRange
Parameters
- bufferAddress
- UInt64
The buffer address, including any offest into the buffer.
- length
- UInt64
The length of the buffer.