Package com.jme3.renderer.opengl
Class GLImageFormats
java.lang.Object
com.jme3.renderer.opengl.GLImageFormats
Generates a table of supported image formats for a given renderer caps.
- 
Method SummaryModifier and TypeMethodDescriptionstatic GLImageFormat[][]getFormatsForCaps(EnumSet<Caps> caps) Generates a list of supported texture formats.
- 
Method Details- 
getFormatsForCapsGenerates a list of supported texture formats. The first dimension of the array specifies the colorspace, currently 0 means linear and 1 means sRGB. The second dimension is the ordinal in theimage format.- Parameters:
- caps- The capabilities for which to determine supported formats.
- Returns:
- An 2D array containing supported texture formats.
 
 
-