| Package | Description |
|---|---|
| com.bonzaiengine.material.graph.compiler | |
| com.bonzaiengine.material.graph.nodes | |
| com.bonzaiengine.shader |
| Modifier and Type | Field and Description |
|---|---|
static ShaderPrecision |
Compiler.C_P |
static ShaderPrecision |
Compiler.N_P |
ShaderPrecision |
Variable.precision |
static ShaderPrecision |
Compiler.UV_P |
static ShaderPrecision |
Compiler.V_P |
static ShaderPrecision |
Compiler.W_P |
| Modifier and Type | Method and Description |
|---|---|
Varying |
Compiler.createVarying(ShaderType type,
ShaderPrecision precision,
int arrayLength) |
Variable |
Compiler.getOrCreateOutputVariable(GraphNode node,
ShaderType type,
ShaderPrecision precision) |
Varying |
Compiler.getVarying(ShaderIn attribute,
ShaderType type,
ShaderPrecision precision,
int arrayLength) |
| Constructor and Description |
|---|
Attribute(ShaderType type,
ShaderPrecision precision,
int length,
java.lang.String name,
java.lang.String defineConditional) |
Output(ShaderType type,
ShaderPrecision precision,
int length,
java.lang.String name,
java.lang.String defineConditional) |
Uniform(ShaderType type,
ShaderPrecision precision,
int length,
java.lang.String name,
java.lang.String defineConditional) |
Varying(ShaderType type,
ShaderPrecision precision,
int length,
java.lang.String name,
java.lang.String defineConditional) |
| Modifier and Type | Method and Description |
|---|---|
ShaderPrecision |
VertexUv.getPrecision() |
ShaderPrecision |
VertexPosition.getPrecision() |
ShaderPrecision |
VertexPixelColor.getPrecision() |
ShaderPrecision |
VertexNormal.getPrecision() |
ShaderPrecision |
TextureCube.getPrecision() |
ShaderPrecision |
Texture2d.getPrecision() |
ShaderPrecision |
Spheremap.getPrecision() |
ShaderPrecision |
PixelUv.getPrecision() |
ShaderPrecision |
PixelPosition.getPrecision() |
ShaderPrecision |
PixelNormal.getPrecision() |
ShaderPrecision |
CustomUniform.getPrecision() |
ShaderPrecision |
Cubemap.getPrecision() |
ShaderPrecision |
ConstantVec4.getPrecision() |
ShaderPrecision |
ConstantVec3.getPrecision() |
ShaderPrecision |
ConstantVec2.getPrecision() |
ShaderPrecision |
ConstantFloat.getPrecision() |
| Modifier and Type | Method and Description |
|---|---|
void |
VertexUv.setPrecision(ShaderPrecision precision) |
void |
VertexPosition.setPrecision(ShaderPrecision precision) |
void |
VertexPixelColor.setPrecision(ShaderPrecision precision) |
void |
VertexNormal.setPrecision(ShaderPrecision precision) |
void |
TextureCube.setPrecision(ShaderPrecision precision) |
void |
Texture2d.setPrecision(ShaderPrecision precision) |
void |
Spheremap.setPrecision(ShaderPrecision precision) |
void |
PixelUv.setPrecision(ShaderPrecision precision) |
void |
PixelPosition.setPrecision(ShaderPrecision precision) |
void |
PixelNormal.setPrecision(ShaderPrecision precision) |
void |
CustomUniform.setPrecision(ShaderPrecision precision) |
void |
Cubemap.setPrecision(ShaderPrecision precision) |
void |
ConstantVec4.setPrecision(ShaderPrecision precision) |
void |
ConstantVec3.setPrecision(ShaderPrecision precision) |
void |
ConstantVec2.setPrecision(ShaderPrecision precision) |
void |
ConstantFloat.setPrecision(ShaderPrecision precision) |
| Modifier and Type | Field and Description |
|---|---|
ShaderPrecision |
ShaderUniform.BuiltIn.precision |
ShaderPrecision |
ShaderIn.precision |
| Modifier and Type | Method and Description |
|---|---|
static ShaderPrecision |
ShaderPrecision.max(ShaderPrecision p1,
ShaderPrecision p2) |
static ShaderPrecision |
ShaderPrecision.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShaderPrecision[] |
ShaderPrecision.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ShaderPrecision |
ShaderPrecision.max(ShaderPrecision p1,
ShaderPrecision p2) |
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com