offset(for:)
Returns the byte offset into the buffer for the given plane.
Declaration
func offset(for plane: MTLTensorPlaneType) -> IntParameters
- plane:
The plane type to look up.
Return Value
The byte offset for the given plane.
Returns the byte offset into the buffer for the given plane.
func offset(for plane: MTLTensorPlaneType) -> IntThe plane type to look up.
The byte offset for the given plane.