public final class GLImageFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
compressed |
int |
dataType |
int |
format |
int |
internalFormat |
boolean |
swizzleRequired |
Constructor and Description |
---|
GLImageFormat(int internalFormat,
int format,
int dataType)
Constructor for formats.
|
GLImageFormat(int internalFormat,
int format,
int dataType,
boolean compressed)
Constructor for formats.
|
GLImageFormat(int internalFormat,
int format,
int dataType,
boolean compressed,
boolean swizzleRequired)
Constructor for formats.
|
public final int internalFormat
public final int format
public final int dataType
public final boolean compressed
public final boolean swizzleRequired
public GLImageFormat(int internalFormat, int format, int dataType)
internalFormat
- OpenGL internal formatformat
- OpenGL formatdataType
- OpenGL datatypepublic GLImageFormat(int internalFormat, int format, int dataType, boolean compressed)
internalFormat
- OpenGL internal formatformat
- OpenGL formatdataType
- OpenGL datatypecompressed
- Format is compressedpublic GLImageFormat(int internalFormat, int format, int dataType, boolean compressed, boolean swizzleRequired)
internalFormat
- OpenGL internal formatformat
- OpenGL formatdataType
- OpenGL datatypecompressed
- Format is compressedswizzleRequired
- Need to use texture swizzle to upload texture