| Modifier and Type | Method and Description |
|---|---|
void |
View.setViewport(IGL gl)
|
void |
View.setViewportAndOrthographic(IGL gl)
|
void |
View.setViewportAndPerspective(IGL gl)
|
void |
View.setViewportAndProjection(IGL gl)
|
| Modifier and Type | Method and Description |
|---|---|
void |
Drawing.destroy(IGL gl) |
| Modifier and Type | Method and Description |
|---|---|
void |
IFont.render(IGL gl,
Array<FontPacket> packets,
boolean forceBlend) |
void |
BmfFont.render(IGL gl,
Array<FontPacket> fontPackets,
boolean forceBlend) |
void |
IFont.render(IGL gl,
FontPacket[] packets,
boolean forceBlend) |
void |
BmfFont.render(IGL gl,
FontPacket[] fontPackets,
boolean forceBlend) |
void |
IFont.render(IGL gl,
FontPacket packet,
boolean forceBlend) |
void |
BmfFont.render(IGL gl,
FontPacket fontPacket,
boolean forceBlend) |
| Modifier and Type | Method and Description |
|---|---|
void |
ShadowPipelineComponent.destroy(IGL gl) |
void |
PipelineComponent.destroy(IGL gl) |
void |
DefaultPipelineComponent.destroy(IGL gl) |
void |
ShadowPipelineComponent.init(IGL gl) |
void |
PipelineComponent.init(IGL gl) |
void |
PipelineComponent.onFrameEnd(IGL gl) |
void |
ShadowPipelineComponent.onFrameStart(IGL gl) |
void |
PipelineComponent.onFrameStart(IGL gl) |
| Modifier and Type | Method and Description |
|---|---|
void |
PhysicRenderer.destroy(IGL gl)
Destroy this
PhysicRendererSome OpenGL data may have been cached, is specified in the constructor |
| Modifier and Type | Method and Description |
|---|---|
void |
ModelInstance.destroy(IGL gl)
Destroy this
ModelInstance. |
void |
Model.destroy(IGL gl) |
void |
Mesh.destroy(IGL gl) |
| Modifier and Type | Method and Description |
|---|---|
void |
AssetManager.destroy(IGL gl)
Destroy AsyncModel/Texture/Shader with a reference count of 0,
and all AsyncMotion, MaterialAdvanced
|
void |
ModelLibrary.destroy(IGL gl,
AsyncModel asyncModel)
Destroy the specified model from this
ModelLibrary |
void |
AssetManager.destroy(IGL gl,
boolean force)
Destroy all assets if
force set to true,
if false equivalent to #destroy(IGLApi) |
void |
ModelLibrary.destroyAll(IGL gl)
Destroy (unload + remove) all models from this
ModelLibrary |
void |
ModelLibrary.destroyUnreferenced(IGL gl)
Destroy (unload + remove) unreferenced models from this
ModelLibrary |
void |
AssetManager.readAndLoadTextures(IGL gl,
Model model)
Deprecated.
|
void |
ModelLibrary.unloadAll(IGL gl)
Unload all models from this
ModelLibrary |
void |
ModelLibrary.unloadUnreferenced(IGL gl)
Unload unreferenced models from this
ModelLibrary |
| Modifier and Type | Method and Description |
|---|---|
IGL |
IGLApi.getGL() |
| Modifier and Type | Method and Description |
|---|---|
static boolean[] |
GLApiExt.checkOpenGLSupport(IGL gl,
boolean forwardCompatibleAndProfileCore)
Used internally
|
static int |
GLApiExt.findOpenGLVersion(IGL gl)
Used internally
|
void |
GLc.flush(IGL gl,
Lights<?> lights)
Flush for fixed pipeline
|
static int |
GLApiExt.getGlslVersion(IGL gl) |
void |
GLc.syncFromContext(IGL gl)
Synchronize engine matrix stack with specified OpenGL context matrix stack.
|
| Modifier and Type | Method and Description |
|---|---|
IGL |
AndroidApi.getGL() |
| Modifier and Type | Method and Description |
|---|---|
void |
IDestroyable.destroy(IGL gl) |
void |
GLTimer.destroy(IGL gl)
Destroy this
GLTimer |
void |
GLTimer.end(IGL gl)
End point
|
void |
Billboard.end(IGL gl) |
boolean |
GLTimer.init(IGL gl)
Initialize this
GLTimer |
void |
GLTimer.start(IGL gl)
Start point
|
void |
Billboard.start(IGL gl,
Vec3 pos) |
static ITexture |
ViewHelper.takeScreenshot(IGL gl,
Area viewport,
boolean alpha)
Copy the frame buffer into a ITexture
|
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.IBatchAttributes.bindAttributes(IGL gl,
HwVao vao) |
void |
HwVao.bindBuffer(IGL gl,
int target,
int id) |
void |
LightRenderer.LightRenderData.destroy(IGL gl) |
void |
HwData.destroy(IGL gl) |
void |
Batch.destroy(IGL gl) |
static void |
Shapes.drawSkybox(IGL gl,
float size,
Vec3 position,
TextureID skyboxTexID)
Draw a skybox.
|
void |
HwVao.enableClientState(IGL gl,
int index,
int size,
int type,
int stride,
java.nio.Buffer pointer) |
void |
HwVao.enableClientState(IGL gl,
int index,
int size,
int type,
int stride,
int pointerOffset) |
void |
HwVao.enableVertexAttribArray(IGL gl,
int index,
int size,
boolean normalized,
int stride,
java.nio.Buffer pointer,
int divisor) |
void |
HwVao.enableVertexAttribArray(IGL gl,
int index,
int size,
int type,
boolean normalized,
int stride,
long pointerOffset,
int divisor) |
boolean |
Renderer.isRenderingContext(IGL gl) |
void |
Batch.render(IGL gl,
boolean diffuseTexture,
boolean alphaTest)
Render the geometry with the specified texture, if any
|
void |
Batch.render(IGL gl,
boolean diffuseTexture,
boolean alphaTest,
boolean sdFont,
Lights<?> lights) |
static void |
Shapes.renderOnce(IGL gl,
Batch batch,
Color4 color,
Lights<?> lights) |
static void |
Shapes.renderOnce(IGL gl,
Batch batch,
Lights<?> lights) |
void |
Renderer.setRenderingContext(IGL renderingContext) |
| Modifier and Type | Method and Description |
|---|---|
RenderTarget |
Framebuffer.attach(IGL gl,
RenderTarget renderTarget,
GLEnums.Attachment attachment)
|
void |
AccumPass.bindAttributes(IGL gl,
HwVao vao) |
Framebuffer |
GBuffer.create(IGL gl) |
void |
ShadowMap.destroy(IGL gl) |
void |
RenderTarget.destroy(IGL gl) |
void |
Framebuffer.destroy(IGL gl)
Destroy this
Framebuffer and all attached RenderTarget |
void |
Filter.destroy(IGL gl) |
void |
Compositor.destroy(IGL gl) |
void |
AccumPass.destroy(IGL gl) |
RenderTarget |
Framebuffer.dettach(IGL gl,
GLEnums.Attachment attachment)
Dettach a
RenderTarget from this Framebuffer |
void |
Framebuffer.end(IGL gl)
Unbind this
Framebuffer |
void |
Compositor.init(IGL gl) |
boolean |
RenderTarget.init(IGL gl,
int width,
int height) |
boolean |
Framebuffer.init(IGL gl,
int width,
int height)
Init or resize this
Framebuffer |
boolean |
ShadowMap.init(IGL gl,
Light light,
Mat4x4 cameraProj) |
boolean |
ShadowMap.isInitialized(IGL gl) |
boolean |
Framebuffer.isValid(IGL gl) |
void |
Framebuffer.start(IGL gl)
Bind this
Framebuffer |
void |
ShadowMap.update(IGL gl,
SceneView sceneView,
RenderTarget depthTex,
Light light,
Array<IBoundable> scene) |
| Constructor and Description |
|---|
AccumPass(IGL gl) |
Filter(IGL gl,
Filter.Kernel kernel,
int kernelSize,
int samples,
int numComponents) |
Filter(IGL gl,
Filter.Kernel kernel,
int kernelSize,
int samples,
int numComponents,
boolean log,
java.lang.String sampleFunc) |
Filter(IGL gl,
Filter.Kernel kernel,
int kernelSize,
int samples,
int numComponents,
java.lang.String sampleFunc) |
| Modifier and Type | Method and Description |
|---|---|
int |
ShaderList.destroyAll(IGL gl)
Deprecated.
|
int |
ShaderList.destroyUnreferenced(IGL gl)
Destroy (remove/unload) unreferenced shaders of this
ShaderList. |
int |
ShaderList.load(IGL gl)
Load all shaders from the list.
|
boolean |
Shader.load(IGL gl) |
boolean |
ComputeShader.load(IGL gl) |
int |
ShaderList.load(IGL gl,
int maxNumToLoad)
Load all shader from this
ShaderList. |
boolean |
ShaderList.load(IGL gl,
Shader shader) |
void |
ComputeShader.run(IGL gl) |
void |
ShaderStructValue.send(IGL gl) |
void |
LightMaterial.send(IGL gl) |
void |
ShaderStructValue.syncLocation(IGL gl,
ShaderUniform<?> uniform,
int program) |
void |
LightMaterial.syncLocation(IGL gl,
ShaderUniform<?> uniform,
int program) |
| Modifier and Type | Method and Description |
|---|---|
void |
TextureID.bind(IGL gl) |
void |
TextureList.destroyAll(IGL gl)
Unload from gpu and remove from this
TextureList all textures |
void |
TextureList.destroyUnreferenced(IGL gl)
Unload from gpu and remove from this
TextureList unreferenced textures |
int |
ITexture.getInternalFormat(IGL gl,
int channelBits) |
static float |
TextureLoader.getMaxAnisotropy(IGL gl) |
static int |
TextureLoader.getMaxSamples(IGL gl) |
boolean |
TextureLoader.isTexture(IGL gl,
TextureID textureID) |
int |
TextureList.load(IGL gl)
Load textures read in cpu.
|
void |
TextureList.load(IGL gl,
Texture texture) |
void |
TextureLoader.loadMipmapLodBias(IGL gl,
float globalMipmapLodBias)
Set the global mipmap lod bias, if supported.
|
TextureID |
TextureLoader.loadTexture(IGL gl,
ITexture[] textures,
TextureParam textureParam) |
TextureID |
TextureLoader.loadTexture(IGL gl,
ITexture[] textures,
TextureParam textureParam,
TextureID.RgbMode rgbMode,
TextureID.AlphaMode alphaMode)
Load a 2D or Cubemap texture
|
TextureID |
TextureLoader.loadTexture(IGL gl,
ITexture texture,
TextureParam textureParam) |
void |
TextureLoader.loadTextureParams(IGL gl,
TextureID texture,
TextureParam textureParam)
Load texture parameters
|
void |
TextureList.readAndLoad(IGL gl,
Finder finder,
Texture texture,
TextureParam textureParam)
Deprecated.
|
boolean |
TextureLoader.reloadTexture(IGL gl,
TextureID textureID,
ITexture[] textures,
TextureParam textureParam)
Reload a 2D or Cubemap texture into the existing
TextureID |
boolean |
TextureLoader.reloadTexture(IGL gl,
TextureID textureID,
ITexture texture,
TextureParam textureParam) |
void |
TextureID.unbind(IGL gl) |
void |
TextureList.unload(IGL gl,
Texture texture) |
void |
TextureList.unload(IGL gl,
Texture texture,
boolean remove) |
void |
TextureList.unloadAll(IGL gl)
Unload all textures from gpu
|
void |
TextureLoader.unloadTexture(IGL gl,
TextureID textureID) |
void |
TextureList.unloadUnreferenced(IGL gl)
Unload unreferenced textures from gpu
|
| Modifier and Type | Method and Description |
|---|---|
int |
TextureFloat.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureEtc1.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureDXT5.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureDXT3.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureDXT1.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureByte.getInternalFormat(IGL gl,
int channelBits) |
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