init(origin:size:)
Initializes a new region with the specified origin and size.
Declaration
init(origin: MTLOrigin, size: MTLSize)Parameters
- origin:
The origin of the region.
- size:
The size of the region.
Initializes a new region with the specified origin and size.
init(origin: MTLOrigin, size: MTLSize)The origin of the region.
The size of the region.