public final class OpenGL
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static IndexedGeometry |
COLOR_CUBE |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkError() |
static Texture |
getCubemapTextures(org.saintandreas.resources.Resource... resources) |
static java.util.List<org.saintandreas.math.Vector4f> |
interleaveConstants(java.util.Collection<? extends org.saintandreas.math.Vector4f> vs,
org.saintandreas.math.Vector4f... attributes) |
static IndexedGeometry |
makeColorCube() |
protected static java.util.List<java.lang.Short> |
makeColorCubeIndices() |
protected static java.util.List<org.saintandreas.math.Vector4f> |
makeColorCubeVertices() |
static java.util.List<org.saintandreas.math.Vector4f> |
makeQuad(float size) |
static java.util.List<org.saintandreas.math.Vector4f> |
makeQuad(org.saintandreas.math.Vector2f size) |
static java.util.List<org.saintandreas.math.Vector4f> |
makeQuad(org.saintandreas.math.Vector2f min,
org.saintandreas.math.Vector2f max) |
static IndexedGeometry |
makeTexturedQuad() |
static IndexedGeometry |
makeTexturedQuad(org.saintandreas.math.Vector2f min,
org.saintandreas.math.Vector2f max) |
static IndexedGeometry |
makeTexturedQuad(org.saintandreas.math.Vector2f min,
org.saintandreas.math.Vector2f max,
org.saintandreas.math.Vector2f tmin,
org.saintandreas.math.Vector2f tmax) |
static java.nio.FloatBuffer |
toFloatBuffer(org.saintandreas.math.Matrix4f matrix) |
static IndexBuffer |
toIndexBuffer(java.util.Collection<java.lang.Short> vertices) |
static VertexBuffer |
toVertexBuffer(java.util.Collection<org.saintandreas.math.Vector4f> vertices) |
static java.util.List<org.saintandreas.math.Vector4f> |
transformed(java.util.Collection<org.saintandreas.math.Vector4f> vs,
org.saintandreas.math.Matrix4f m) |
public static IndexedGeometry COLOR_CUBE
public static void checkError()
public static java.nio.FloatBuffer toFloatBuffer(org.saintandreas.math.Matrix4f matrix)
public static java.util.List<org.saintandreas.math.Vector4f> makeQuad(float size)
public static java.util.List<org.saintandreas.math.Vector4f> makeQuad(org.saintandreas.math.Vector2f size)
public static java.util.List<org.saintandreas.math.Vector4f> makeQuad(org.saintandreas.math.Vector2f min,
org.saintandreas.math.Vector2f max)
public static java.util.List<org.saintandreas.math.Vector4f> transformed(java.util.Collection<org.saintandreas.math.Vector4f> vs,
org.saintandreas.math.Matrix4f m)
public static java.util.List<org.saintandreas.math.Vector4f> interleaveConstants(java.util.Collection<? extends org.saintandreas.math.Vector4f> vs,
org.saintandreas.math.Vector4f... attributes)
public static IndexedGeometry makeColorCube()
protected static java.util.List<java.lang.Short> makeColorCubeIndices()
protected static java.util.List<org.saintandreas.math.Vector4f> makeColorCubeVertices()
public static VertexBuffer toVertexBuffer(java.util.Collection<org.saintandreas.math.Vector4f> vertices)
public static IndexBuffer toIndexBuffer(java.util.Collection<java.lang.Short> vertices)
public static IndexedGeometry makeTexturedQuad()
public static IndexedGeometry makeTexturedQuad(org.saintandreas.math.Vector2f min, org.saintandreas.math.Vector2f max)
public static IndexedGeometry makeTexturedQuad(org.saintandreas.math.Vector2f min, org.saintandreas.math.Vector2f max, org.saintandreas.math.Vector2f tmin, org.saintandreas.math.Vector2f tmax)
public static Texture getCubemapTextures(org.saintandreas.resources.Resource... resources)
Copyright © 2013-2014. All Rights Reserved.