| Modifier and Type | Method and Description |
|---|---|
void |
BonzaiEngine.detectGlslVersion(IGL gl) |
| Modifier and Type | Method and Description |
|---|---|
void |
View.setProjection(IGL gl)
|
void |
View.setViewport(IGL gl)
|
void |
View.setViewportAndProjection(IGL gl)
|
| 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 |
|---|---|
void |
Billboard.end(IGL gl) |
void |
GLTimer.end(IGL gl)
End 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 |
|---|---|
IGL |
PipelinePluginApi.getGL() |
| Modifier and Type | Method and Description |
|---|---|
void |
Pipeline.initFramebuffers(IGL gl,
Viewport viewport) |
| Modifier and Type | Field and Description |
|---|---|
protected IGL |
HwVao.gl |
| Modifier and Type | Method and Description |
|---|---|
protected static HwVao |
HwVao.alloc(IGL gl) |
protected void |
HwVao.bind(IGL gl)
Bind the VAO
|
void |
Batch.IBatchAttributes.bindAttributes(IGL gl,
HwVao vao) |
void |
HwVao.bindBuffer(IGL gl,
int target,
int id) |
protected void |
HwVao.bindEnd(IGL gl)
End of VAO state change
Use HwVao.unbind(IGL) to Unbind the VAO |
protected static HwVao |
HwVao.empty(IGL gl) |
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 |
Renderer.setRenderingContext(IGL renderingContext) |
protected void |
HwVao.unbind(IGL gl)
UnbBind the VAO
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RenderTarget.attach(IGL gl,
GLEnums.Attachment attachment) |
RenderTarget |
Framebuffer.attach(IGL gl,
RenderTarget renderTarget,
GLEnums.Attachment attachment)
|
void |
AccumPass.bindAttributes(IGL gl,
HwVao vao) |
Framebuffer |
GBuffer.create(IGL gl) |
RenderTarget |
Framebuffer.dettach(IGL gl,
GLEnums.Attachment attachment)
Dettach a
RenderTarget from this Framebuffer |
protected void |
RenderTarget.dettach(IGL gl,
GLEnums.Attachment attachment) |
void |
Framebuffer.end(IGL gl)
Unbind this
Framebuffer |
boolean |
Framebuffer.init(IGL gl,
int width,
int height)
Init or resize this
Framebuffer |
boolean |
RenderTarget.init(IGL gl,
int width,
int height) |
boolean |
ShadowMap.isInitialized(IGL gl) |
boolean |
Framebuffer.isValid(IGL gl) |
void |
Framebuffer.start(IGL gl)
Bind this
Framebuffer |
| Modifier and Type | Method and Description |
|---|---|
void |
DeferredShading.end(IGL gl)
End of scene rendering into this
#getGBuffer() |
boolean |
DeferredShading.init(IGL gl,
int w,
int h)
Resize the offscreen render target to the specified size
|
boolean |
DeferredShading.isInitialized(IGL gl) |
void |
DeferredShading.start(IGL gl)
Start of scene rendering into this
#getGBuffer() |
| Modifier and Type | Method and Description |
|---|---|
void |
ComputeShader.run(IGL gl) |
void |
LightMaterial.send(IGL gl) |
void |
ShaderStructValue.send(IGL gl) |
protected void |
ShaderType.send(IGL gl,
ShaderUniform<?> uniform)
Send value to OpenGL
|
void |
LightMaterial.syncLocation(IGL gl,
ShaderUniform<?> uniform,
int program) |
void |
ShaderStructValue.syncLocation(IGL gl,
ShaderUniform<?> uniform,
int program) |
| Modifier and Type | Method and Description |
|---|---|
void |
TextureID.bind(IGL gl) |
int |
ITexture.getInternalFormat(IGL gl,
int channelBits) |
static float |
TextureLoader.getMaxAnisotropy(IGL gl) |
static int |
TextureLoader.getMaxSamples(IGL gl) |
void |
TextureLoader.loadMipmapLodBias(IGL gl,
float globalMipmapLodBias)
Set the global mipmap lod bias, if supported.
|
void |
TextureID.unbind(IGL gl) |
| Modifier and Type | Method and Description |
|---|---|
int |
TextureByte.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureDXT1.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureDXT3.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureDXT5.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureEtc1.getInternalFormat(IGL gl,
int channelBits) |
int |
TextureFloat.getInternalFormat(IGL gl,
int channelBits) |
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