Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class AMDStencilOperationExtended

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the AMD_stencil_operation_extended extension.

Stencil buffers are special buffers that allow tests to be made against an incoming value and action taken based on that value. The stencil buffer is updated during rasterization, and the operation used to update the stencil buffer is chosen based on whether the fragment passes the stencil test, and if it does, whether it passes the depth test. Traditional OpenGL includes support for several primitive operations, such as incrementing, or clearing the content of the stencil buffer, or replacing it with a specified reference value.

This extension adds support for an additional set of operations that may be performed on the stencil buffer under each circumstance. Additionally, this extension separates the value used as the source for stencil operations from the reference value, allowing different values to be used in the stencil test, and in the update of the stencil buffer.

Field Summary

Modifier and TypeField and Description
public static final int
GL_REPLACE_VALUE_AMD

Accepted by the sfail, dpfail and dppass parameters of StencilOp and StencilOpSeparate.

public static final int
GL_SET_AMD

Accepted by the sfail, dpfail and dppass parameters of StencilOp and StencilOpSeparate.

public static final int
GL_STENCIL_BACK_OP_VALUE_AMD

Accepted by the param parameter of GetIntegerv, GetFloatv, GetBooleanv GetDoublev and GetInteger64v.

public static final int
GL_STENCIL_OP_VALUE_AMD

Accepted by the param parameter of GetIntegerv, GetFloatv, GetBooleanv GetDoublev and GetInteger64v.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glStencilOpValueAMD(int face, int value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_REPLACE_VALUE_AMDback to summary
public static final int GL_REPLACE_VALUE_AMD

Accepted by the sfail, dpfail and dppass parameters of StencilOp and StencilOpSeparate.

GL_SET_AMDback to summary
public static final int GL_SET_AMD

Accepted by the sfail, dpfail and dppass parameters of StencilOp and StencilOpSeparate.

GL_STENCIL_BACK_OP_VALUE_AMDback to summary
public static final int GL_STENCIL_BACK_OP_VALUE_AMD

Accepted by the param parameter of GetIntegerv, GetFloatv, GetBooleanv GetDoublev and GetInteger64v.

GL_STENCIL_OP_VALUE_AMDback to summary
public static final int GL_STENCIL_OP_VALUE_AMD

Accepted by the param parameter of GetIntegerv, GetFloatv, GetBooleanv GetDoublev and GetInteger64v.

Constructor Detail

AMDStencilOperationExtendedback to summary
protected AMDStencilOperationExtended()

Method Detail

glStencilOpValueAMDback to summary
public static native void glStencilOpValueAMD(int face, int value)