| Package | Description |
|---|---|
| com.bonzaiengine.renderer | |
| com.bonzaiengine.renderer.shape | |
| com.bonzaiengine.shape.builder |
| Modifier and Type | Method and Description |
|---|---|
Batch |
Batch.CreateType.create() |
static Batch |
Batch.newPersistent()
Persistent
Batch allocating persistent memory, must be destroyed with destroy(IGLApi) |
static Batch |
Batch.newVolatile()
Volatile
Batch allocating volatile memory in BufferPool |
| Modifier and Type | Method and Description |
|---|---|
void |
Renderer.render(Batch batch,
RenderOptions renderOptions,
Transform t,
Shader shader,
int numHwInstances) |
void |
Renderer.render(Batch batch,
Transform t,
boolean diffuseTexture,
boolean alphaTest,
Lights<?> lights,
int numHwInstances) |
void |
Renderer.render(Batch batch,
Transform t,
IMaterial material,
int numHwInstances) |
void |
Renderer.render(Batch batch,
Transform t,
Shader shader,
int numHwInstances) |
| Modifier and Type | Method and Description |
|---|---|
static Batch |
ShapeRenderer.toBatch(Batch.CreateType batchType,
boolean hasUV,
boolean hasColor,
IShapeRepresentation... shapeRepresentations) |
static Batch |
ShapeRenderer.toBatch(Batch.CreateType batchType,
Frustum frustum,
boolean hasUV,
boolean hasColor,
IShapeRepresentation... shapeRepresentations) |
| Modifier and Type | Method and Description |
|---|---|
Batch |
BatchShapeBuilder.build() |
| Constructor and Description |
|---|
BatchShapeBuilder(Batch batch,
int numUv,
boolean hasNrm,
boolean hasClr,
Frustum frustum) |
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