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

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

There is a newer version: 3.3.0
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 ARB_shadow extension.
 * 
 * 

This extension supports comparing the texture R coordinate to a depth texture value in order to produce a boolean texture value. This can be used to * implement shadow maps.

* *

The extension is written in generic terms such that other texture comparison modes can be accommodated in the future.

* *

Requires {@link ARBDepthTexture ARB_depth_texture}. Promoted to core in {@link GL14 OpenGL 1.4}.

*/ public final class ARBShadow { /** Accepted by the {@code pname} parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv. */ public static final int GL_TEXTURE_COMPARE_MODE_ARB = 0x884C, GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D; /** * Accepted by the {@code param} parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the {@code pname} parameter is * TEXTURE_COMPARE_MODE_ARB. */ public static final int GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E; private ARBShadow() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy