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

org.lwjgl.opengl.EXT422Pixels Maven / Gradle / Ivy

Go to download

The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.

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.opengl;

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

This extension provides support for converting 422 pixels in host memory to 444 pixels as part of the pixel storage operation.

* *

The pixel unpack storage operation treats a 422 pixel as a 2 element format where the first element is C (chrominance) and the second element is L * (luminance). Luminance is present on all pixels; a full chrominance value requires two pixels.

* *

The pixel pack storage operation converts RGB to a 422 pixel defined as a 2 element format where the first element stored is C (chrominance) and the * second element stored is L (luminance). Luminance is present on all pixels; a full chrominance value requires two pixels.

* *

Both averaging and non-averaging is supported for green and blue assignments for pack and unpack operations.

*/ public final class EXT422Pixels { /** * Accepted by the {@code format} parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, * TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, * SeparableFilter3D, GetSeparableFilter, ColorTable, and GetColorTable. */ public static final int GL_422_EXT = 0x80CC, GL_422_REV_EXT = 0x80CD, GL_422_AVERAGE_EXT = 0x80CE, GL_422_REV_AVERAGE_EXT = 0x80CF; private EXT422Pixels() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy