if (!caps.isTextureCubeMapSupported()) { return;
final GL gl = GLContext.getCurrentGL(); if (!caps.isTextureCubeMapSupported()) { return;
if (caps.isTextureCubeMapSupported()) { for (final TextureCubeMap.Face face : TextureCubeMap.Face.values()) { if (caps.isTextureCubeMapSupported()) { if (caps.isAutomaticMipmapsSupported()) { for (final TextureCubeMap.Face face : TextureCubeMap.Face.values()) { if (caps.isTextureCubeMapSupported()) { for (final TextureCubeMap.Face face : TextureCubeMap.Face.values()) { data = image.getData(face.ordinal());
if (caps.isTextureCubeMapSupported()) { if (!unitRecord.isValid() || unitRecord.enabled[Type.CubeMap.ordinal()]) {
if (caps.isTextureCubeMapSupported()) { for (final TextureCubeMap.Face face : TextureCubeMap.Face.values()) { if (caps.isTextureCubeMapSupported()) { if (caps.isAutomaticMipmapsSupported()) { for (final TextureCubeMap.Face face : TextureCubeMap.Face.values()) { ByteBuffer data = null; if (type == Type.CubeMap) { if (caps.isTextureCubeMapSupported()) { for (final TextureCubeMap.Face face : TextureCubeMap.Face.values()) { data = image.getData(face.ordinal());
if (caps.isTextureCubeMapSupported() && exceptedType != Type.CubeMap) { if (!unitRecord.isValid() || unitRecord.enabled[Type.CubeMap.ordinal()]) {
if (caps.isTextureCubeMapSupported()) { if (!unitRecord.isValid() || unitRecord.enabled[Type.CubeMap.ordinal()]) {
if (caps.isTextureCubeMapSupported() && exceptedType != Type.CubeMap) { if (!unitRecord.isValid() || unitRecord.enabled[Type.CubeMap.ordinal()]) {