public final class ViewHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
beginOrtho(IGLApi glApi,
Area viewport)
Use orthographic projection, usually for rendering 2D elements.
|
static void |
beginOrtho(IGLApi glApi,
Area viewport,
float near,
float far)
Use orthographic projection, usually for rendering 2D elements.
|
static void |
endOrtho(IGLApi glApi)
Load projection and modelview matrices previously saved by the method beginOrtho
|
static ITexture |
takeScreenshot(IGL gl,
Area viewport,
boolean alpha)
Copy the frame buffer into a ITexture
|
public static void beginOrtho(IGLApi glApi, Area viewport)
endOrtho(IGLApi)public static void beginOrtho(IGLApi glApi, Area viewport, float near, float far)
endOrtho(IGLApi)endOrtho(IGLApi)public static void endOrtho(IGLApi glApi)
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