public final class Block
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Block |
alternative
Optional code depending on modules
|
CodeBlock |
fragment
Fragment Code
|
Array<Attribute> |
userAttributes
User attributes
|
Array<Uniform> |
userUniforms
User uniforms
|
CodeBlock |
vertex
Vertex Code
|
| Constructor and Description |
|---|
Block() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getDeclarations(Compiler compiler,
Array<java.lang.String> v,
boolean vertexScope) |
protected void |
getGlobalDeclarations(Compiler compiler,
Array<java.lang.String> v) |
Block |
withCode(java.lang.String vertexCode,
java.lang.String fragmentCode) |
public CodeBlock vertex
public CodeBlock fragment
protected Block alternative
protected void getDeclarations(Compiler compiler, Array<java.lang.String> v, boolean vertexScope)
protected void getGlobalDeclarations(Compiler compiler, Array<java.lang.String> v)
public final Block withCode(java.lang.String vertexCode, java.lang.String fragmentCode)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com