Add a compression command to this instance.
A compression command includes an 8-bit header and can range up to 72
bits in length. The command with the maximum length is a 2-bit color
command with a 6-bit tag in the header, followed by four 16-bit color
components of data.
A subcommand is either a position, normal, or color, though in practice
a position subcommand can only be part of a vertex command. Normal and
color subcommands can be parts of separate global normal and color
commands as well as parts of a vertex command.
A subcommand includes a 6-bit header. Its length is 2 bits less than
the length of the corresponding command.
Parameters: header - contains compression command header bits, right-justifiedwithin the bits of the int Parameters: headerLength - number of bits in header, either 8 for commands or6 for subcommands Parameters: body - contains the body of the compression command,right-justified within the bits of the long Parameters: bodyLength - number of bits in the body |