BufferWriter
Abstract class for writing data into a buffer. Provides methods for writing various types of data such as vectors, matrices, colors, and primitive types.
Properties
Functions
Writes one or more 3D vectors to the buffer.
Writes the provided byte value to the buffer.
Writes the provided floating-point value to the buffer.
Writes the provided integer value to the buffer.
Writes the provided 16-bit short integer to the buffer.
Writes the provided color value to the buffer.
Writes the provided 2D integer vector to the buffer.
Writes the provided 3D integer vector to the buffer.
Writes the provided 4D integer vector to the buffer.
Writes a 3x3 matrix to the buffer.
Writes the provided 4x4 matrix to the buffer.
Writes the provided 2D vector to the buffer.
Writes the provided 3D vector to the buffer.
Writes the provided 4D vector to the buffer.
Writes two floating-point values to the buffer.
Writes three floating-point values to the buffer.
Writes the specified portion of the provided float array to the buffer starting at the given offset.
Writes four floating-point values to the buffer.
Writes the specified DrawStyle
properties to the buffer. This includes linearized fill color, linearized stroke color, and an adjusted stroke weight based on the presence and transparency of the stroke.