RenderMaterialImpl

public abstract class RenderMaterialImpl

Default implementation of the standard render materials. The underlying representation is simply an int with bit-wise packing of the various material properties. This offers easy/fast interning via int/object hashmap.

Types

Finder
Link copied to clipboard
public class Finder extends RenderMaterialImpl implements MaterialFinder
Value
Link copied to clipboard
public class Value extends RenderMaterialImpl implements RenderMaterial

Functions

blendMode
Link copied to clipboard
BlendMode blendMode(int textureIndex)
byIndex
Link copied to clipboard
static RenderMaterialImpl.Value byIndex(int index)
disableAo
Link copied to clipboard
boolean disableAo(int textureIndex)
disableColorIndex
Link copied to clipboard
boolean disableColorIndex(int textureIndex)
disableDiffuse
Link copied to clipboard
boolean disableDiffuse(int textureIndex)
emissive
Link copied to clipboard
boolean emissive(int textureIndex)
spriteDepth
Link copied to clipboard
int spriteDepth()

Properties

VALUE_COUNT
Link copied to clipboard
public final static int VALUE_COUNT

Inheritors

RenderMaterialImpl
Link copied to clipboard
RenderMaterialImpl
Link copied to clipboard

Sources

jvm source
Link copied to clipboard