Package com.jme3.renderer.opengl
Class GLImageFormat
java.lang.Object
com.jme3.renderer.opengl.GLImageFormat
Describes an OpenGL image format.
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final int
final int
final int
final boolean
-
Constructor Summary
ConstructorDescriptionGLImageFormat
(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. -
Method Summary
-
Field Details
-
internalFormat
public final int internalFormat -
format
public final int format -
dataType
public final int dataType -
compressed
public final boolean compressed -
swizzleRequired
public final boolean swizzleRequired
-
-
Constructor Details
-
GLImageFormat
public GLImageFormat(int internalFormat, int format, int dataType) Constructor for formats.- Parameters:
internalFormat
- OpenGL internal formatformat
- OpenGL formatdataType
- OpenGL datatype
-
GLImageFormat
public GLImageFormat(int internalFormat, int format, int dataType, boolean compressed) Constructor for formats.- Parameters:
internalFormat
- OpenGL internal formatformat
- OpenGL formatdataType
- OpenGL datatypecompressed
- Format is compressed
-
GLImageFormat
public GLImageFormat(int internalFormat, int format, int dataType, boolean compressed, boolean swizzleRequired) Constructor for formats.- Parameters:
internalFormat
- OpenGL internal formatformat
- OpenGL formatdataType
- OpenGL datatypecompressed
- Format is compressedswizzleRequired
- Need to use texture swizzle to upload texture
-