public enum R2LightBufferComponents extends Enum<R2LightBufferComponents>
Enum Constant and Description |
---|
R2_LIGHT_BUFFER_DIFFUSE_AND_SPECULAR
The light buffer contains both diffuse and specular components.
|
R2_LIGHT_BUFFER_DIFFUSE_ONLY
The light buffer contains only a diffuse component.
|
R2_LIGHT_BUFFER_SPECULAR_ONLY
The light buffer contains only a specular component.
|
Modifier and Type | Method and Description |
---|---|
static R2LightBufferComponents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static R2LightBufferComponents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final R2LightBufferComponents R2_LIGHT_BUFFER_DIFFUSE_ONLY
public static final R2LightBufferComponents R2_LIGHT_BUFFER_SPECULAR_ONLY
public static final R2LightBufferComponents R2_LIGHT_BUFFER_DIFFUSE_AND_SPECULAR
public static R2LightBufferComponents[] values()
for (R2LightBufferComponents c : R2LightBufferComponents.values()) System.out.println(c);
public static R2LightBufferComponents valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 <code@io7m.com> http://io7m.com