public final class PerInstanceColorAppearance extends Appearance
Modifier and Type | Class and Description |
---|---|
static class |
PerInstanceColorAppearance.Options |
Modifier and Type | Field and Description |
---|---|
static VertexFormat |
FLAT_VERTEX_FORMAT |
static VertexFormat |
VERTEX_FORMAT |
Modifier | Constructor and Description |
---|---|
protected |
PerInstanceColorAppearance() |
Modifier and Type | Method and Description |
---|---|
static PerInstanceColorAppearance |
create() |
static PerInstanceColorAppearance |
create(PerInstanceColorAppearance.Options options) |
String |
getFragmentShaderSource() |
Material |
getMaterial() |
String |
getVertexShaderSource() |
static VertexFormat |
initVertexFormat(String constName) |
boolean |
isClosed() |
boolean |
isFaceForward() |
boolean |
isFlat() |
boolean |
isTranslucent() |
PerInstanceColorAppearance |
setMaterial(Material material) |
PerInstanceColorAppearance |
setTranslucent(boolean translucent) |
public static final VertexFormat VERTEX_FORMAT
public static final VertexFormat FLAT_VERTEX_FORMAT
public static final VertexFormat initVertexFormat(String constName)
public static final PerInstanceColorAppearance create()
public static final PerInstanceColorAppearance create(PerInstanceColorAppearance.Options options)
public PerInstanceColorAppearance setTranslucent(boolean translucent)
public PerInstanceColorAppearance setMaterial(Material material)
public boolean isFlat()
public boolean isFaceForward()
public boolean isTranslucent()
public boolean isClosed()
public String getVertexShaderSource()
public String getFragmentShaderSource()
public Material getMaterial()
Copyright © 2014. All rights reserved.