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

org.lwjgl.opengles.EXTSRGBWriteControl 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_sRGB_write_control extension.
 * 
 * 

This extension's intent is to expose new functionality which allows an application the ability to decide if the conversion from linear space to sRGB is * necessary by enabling or disabling this conversion at framebuffer write or blending time. An application which passes non-linear vector data to a * shader may not want the color conversion occurring, and by disabling conversion the application can be simplified, sometimes in very significant and * more optimal ways.

* *

Requires {@link GLES20 GLES 2.0} and {@link EXTSRGB EXT_sRGB} or {@link GLES30 GLES 3.0}.

*/ public final class EXTSRGBWriteControl { /** * Accepted by the {@code cap} parameter of Enable, Disable, and IsEnabled, and by the {@code pname} parameter of GetBooleanv, GetFloatv, GetIntegerv and * GetInteger64v. */ public static final int GL_FRAMEBUFFER_SRGB_EXT = 0x8DB9; private EXTSRGBWriteControl() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy