BufferSegment(ArraySegmentByte, Int32, Int32) Constructor |
Creates a new BufferSegment referencing a subsection of the same underlying memory byte array as the specified pointer.
Namespace: Demo3D.IOAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxpublic BufferSegment(
in ArraySegment<byte> pointer,
int offset,
int length
)
Parameters
- pointer ArraySegmentByte
- The pointer to the current memory byte array.
- offset Int32
- Offset into pointer.
- length Int32
- The length of the BufferSegment to reference.
See Also