public static class GLPixelBuffer.GLPixelAttributes extends Object
Modifier and Type | Field and Description |
---|---|
int |
bytesPerPixel
The OpenGL pixel size in bytes
|
int |
componentCount
Pixel source component count, i.e.
|
int |
format
The OpenGL pixel data format
|
int |
type
The OpenGL pixel data type
|
static GLPixelBuffer.GLPixelAttributes |
UNDEF
Undefined instance of
GLPixelBuffer.GLPixelAttributes , having componentCount:=0, format:=0 and type:= 0. |
Constructor and Description |
---|
GLPixelBuffer.GLPixelAttributes(int dataFormat,
int dataType)
Deriving
componentCount via GL dataFormat , i.e. |
GLPixelBuffer.GLPixelAttributes(int componentCount,
int dataFormat,
int dataType)
Using user specified source
componentCount . |
public static final GLPixelBuffer.GLPixelAttributes UNDEF
GLPixelBuffer.GLPixelAttributes
, having componentCount:=0, format:=0 and type:= 0.public final int componentCount
public final int format
public final int type
public final int bytesPerPixel
public GLPixelBuffer.GLPixelAttributes(int dataFormat, int dataType)
dataFormat
- GL data formatdataType
- GL data typepublic GLPixelBuffer.GLPixelAttributes(int componentCount, int dataFormat, int dataType)
componentCount
.componentCount
- source component countdataFormat
- GL data formatdataType
- GL data typeCopyright 2010 JogAmp Community.