Package heronarts.lx.output
Interface LXBufferOutput.ByteEncoder
- All Known Implementing Classes:
LXBufferOutput.ByteOrder
- Enclosing class:
- LXBufferOutput
public static interface LXBufferOutput.ByteEncoder
-
Method Summary
Modifier and TypeMethodDescriptionint
Number of bytes per pixel in this encodingvoid
writeBytes
(int argb, LXOutput.GammaTable.Curve gamma, byte[] output, int offset) Writes the bytes for a color pixel to an output
-
Method Details
-
getNumBytes
int getNumBytes()Number of bytes per pixel in this encoding- Returns:
- Number of bytes per pixel in this encoder
-
writeBytes
Writes the bytes for a color pixel to an output- Parameters:
argb
- Integer color value, ARGB formatgamma
- Gamma lookup tableoutput
- Output byte arrayoffset
- Offset to write at in output array
-