Example usage for javax.media.j3d Light ALLOW_COLOR_READ

List of usage examples for javax.media.j3d Light ALLOW_COLOR_READ

Introduction

In this page you can find the example usage for javax.media.j3d Light ALLOW_COLOR_READ.

Prototype

int ALLOW_COLOR_READ

To view the source code for javax.media.j3d Light ALLOW_COLOR_READ.

Click Source Link

Document

Specifies that this Light allows read access to its color information at runtime.

Usage

From source file:LightTest.java

protected int[] getCapabilities() {
    int[] caps = new int[8];
    int nIndex = 0;

    caps[nIndex++] = Light.ALLOW_COLOR_READ;
    caps[nIndex++] = Light.ALLOW_COLOR_WRITE;
    caps[nIndex++] = Light.ALLOW_INFLUENCING_BOUNDS_READ;
    caps[nIndex++] = Light.ALLOW_INFLUENCING_BOUNDS_WRITE;
    caps[nIndex++] = Light.ALLOW_SCOPE_READ;
    caps[nIndex++] = Light.ALLOW_SCOPE_WRITE;
    caps[nIndex++] = Light.ALLOW_STATE_READ;
    caps[nIndex++] = Light.ALLOW_STATE_WRITE;

    return caps;/*w  w  w. j  a v a2  s  .  c om*/
}