org.lwjgl.opengl.EXTSharedTexturePalette.java Source code

Java tutorial

Introduction

Here is the source code for org.lwjgl.opengl.EXTSharedTexturePalette.java

Source

/*
 * 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 <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_shared_texture_palette.txt">EXT_shared_texture_palette</a> extension.
 * 
 * <p>EXT_shared_texture_palette defines a shared texture palette which may be used in place of the texture object palettes provided by
 * <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_paletted_texture.txt">EXT_paletted_texture</a>. This is useful for rapidly changing a palette common to many textures, rather than having to reload the
 * new palette for each texture. The extension acts as a switch, causing all lookups that would normally be done on the texture's palette to instead use
 * the shared palette.</p>
 * 
 * <p>Requires <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_paletted_texture.txt">EXT_paletted_texture</a>.</p>
 */
public final class EXTSharedTexturePalette {

    /**
     * Accepted by the {@code pname} parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, IsEnabled, Enable, Disable, ColorTableEXT,
     * ColorSubTableEXT, GetColorTableEXT, GetColorTableParameterivEXT, and GetColorTableParameterfd EXT.
     */
    public static final int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB;

    private EXTSharedTexturePalette() {
    }

}