|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jogamp.opengl.util.GLPixelBuffer.GLPixelAttributes
public static class GLPixelBuffer.GLPixelAttributes
Pixel attributes.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public GLPixelBuffer.GLPixelAttributes(int dataFormat,
int dataType)
componentCount via GL dataFormat, i.e. GLBuffers.componentCount(int) if > 0.
dataFormat - GL data formatdataType - GL data type
public GLPixelBuffer.GLPixelAttributes(int componentCount,
int dataFormat,
int dataType)
componentCount.
componentCount - source component countdataFormat - GL data formatdataType - GL data type| Method Detail |
|---|
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||