Example usage for javax.media.j3d RenderingAttributes ALLOW_DEPTH_ENABLE_READ

List of usage examples for javax.media.j3d RenderingAttributes ALLOW_DEPTH_ENABLE_READ

Introduction

In this page you can find the example usage for javax.media.j3d RenderingAttributes ALLOW_DEPTH_ENABLE_READ.

Prototype

int ALLOW_DEPTH_ENABLE_READ

To view the source code for javax.media.j3d RenderingAttributes ALLOW_DEPTH_ENABLE_READ.

Click Source Link

Document

Specifies that this RenderingAttributes object allows reading its depth buffer enable and depth buffer write enable component information.

Usage

From source file:AppearanceTest.java

protected int[] getCapabilities() {
    return new int[] { RenderingAttributes.ALLOW_ALPHA_TEST_FUNCTION_WRITE,
            RenderingAttributes.ALLOW_ALPHA_TEST_VALUE_WRITE, RenderingAttributes.ALLOW_DEPTH_ENABLE_READ };
}