All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengles.EXTTextureFormatSRGBOverride Maven / Gradle / Ivy

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengles;

/**
 * Native bindings to the EXT_texture_format_sRGB_override extension.
 * 
 * 

This extension provides a new texture parameter to override the internal format of a texture object; allowing a non-sRGB format to be overridden to a * corresponding sRGB format. For example, an RGB8 texture can be overridden to SRGB8. Such an override will cause the RGB components to be "decoded" from * sRGB color space to linear as part of texture filtering. This can be useful for applications where a texture was written with sRGB data using * {@link EXTSRGBWriteControl EXT_sRGB_write_control} or when sampling from an {@code EGLImage} that is known to contain sRGB color values.

*/ public final class EXTTextureFormatSRGBOverride { /** * Accepted by the {@code pname} parameter of TexParameterf, TexParameterfv, TexParameteri, TexParameteriv, TexParameterIiv, TexParameterIuiv, * TexParameterIivEXT, TexParameterIuivEXT, GetTexParameterfv, GetTexParameteriv, GetTexParameterIiv, GetTexParameterIuiv, GetTexParameterIivEXT, * GetTexParameterIuivEXT. */ public static final int GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT = 0x8FBF; private EXTTextureFormatSRGBOverride() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy