public interface WritableColor
Modifier and Type | Method and Description |
---|---|
void |
readABGR(java.nio.ByteBuffer src)
Read a color from a byte buffer
|
void |
readARGB(java.nio.ByteBuffer src)
Read a color from a byte buffer
|
void |
readBGR(java.nio.ByteBuffer src)
Read a color from a byte buffer
|
void |
readBGRA(java.nio.ByteBuffer src)
Read a color from a byte buffer
|
void |
readRGB(java.nio.ByteBuffer src)
Read a color from a byte buffer
|
void |
readRGBA(java.nio.ByteBuffer src)
Read a color from a byte buffer
|
void |
set(byte r,
byte g,
byte b)
Set a color
|
void |
set(byte r,
byte g,
byte b,
byte a)
Set a color
|
void |
set(int r,
int g,
int b)
Set a color
|
void |
set(int r,
int g,
int b,
int a)
Set a color
|
void |
setAlpha(byte alpha)
Set the Alpha component
|
void |
setAlpha(int alpha)
Set the Alpha component
|
void |
setBlue(byte blue)
Set the Blue component
|
void |
setBlue(int blue)
Set the Blue component
|
void |
setColor(ReadableColor src)
Set this color's color by copying another color
|
void |
setGreen(byte green)
Set the Green component
|
void |
setGreen(int green)
Set the Green component
|
void |
setRed(byte red)
Set the Red component
|
void |
setRed(int red)
Set the Red component
|
void set(int r, int g, int b, int a)
void set(byte r, byte g, byte b, byte a)
void set(int r, int g, int b)
void set(byte r, byte g, byte b)
void setRed(int red)
void setGreen(int green)
void setBlue(int blue)
void setAlpha(int alpha)
void setRed(byte red)
void setGreen(byte green)
void setBlue(byte blue)
void setAlpha(byte alpha)
void readRGBA(java.nio.ByteBuffer src)
src
- The source buffervoid readRGB(java.nio.ByteBuffer src)
src
- The source buffervoid readARGB(java.nio.ByteBuffer src)
src
- The source buffervoid readBGRA(java.nio.ByteBuffer src)
src
- The source buffervoid readBGR(java.nio.ByteBuffer src)
src
- The source buffervoid readABGR(java.nio.ByteBuffer src)
src
- The source buffervoid setColor(ReadableColor src)
src
- The source colorCopyright © 2002-2009 lwjgl.org. All Rights Reserved.