| Modifier and Type | Field and Description |
|---|---|
| private Vec3d | |
| private GLDrawable | |
| private RenderTarget | |
| private final GLDrawable | |
| private static final GeneralTransform3D | |
| private final GLContext | |
| private int | |
| public static final int | |
| private final GLPixelFormat | |
| private GeneralTransform3D | |
| private int | |
| private static float[] | |
| private static final Affine3D | |
| private static GeneralTransform3D | |
| private int | |
| private BaseShaderContext. | |
| private GeneralTransform3D |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | blit(RTTexture srcRTT, RTTexture dstRTT, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1)
Implements abstract com.
|
| pack-priv boolean | buildNativeGeometry(long nativeHandle, float[] vertexBuffer, int vertexBufferLength, short[] indexBuffer, int indexBufferLength)
|
| pack-priv boolean | buildNativeGeometry(long nativeHandle, float[] vertexBuffer, int vertexBufferLength, int[] indexBuffer, int indexBufferLength)
|
| pack-priv final void | |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| pack-priv void | forceRenderTarget(ES2Graphics g)
Called from ES2Graphics.updateRenderTarget() in response to a window resize event. |
| pack-priv int | |
| pack-priv GLContext | |
| pack-priv ES2Shader | |
| pack-priv GLPixelFormat | |
| pack-priv static short[] | |
| pack-priv int | |
| protected void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected void | |
| pack-priv void | |
| protected void | renderQuads(float[] coordArray, byte[] colorArray, int numVertices)
Implements abstract com.
|
| pack-priv void | |
| pack-priv void | |
| public void | |
| public void | |
| pack-priv final void | |
| pack-priv void | setLight(long nativeHandle, int index, float x, float y, float z, float r, float g, float b, float w, float ca, float la, float qa, float isAttenuated, float maxRange, float dirX, float dirY, float dirZ, float innerAngle, float outerAngle, float falloff)
|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected void | updateClipRect(Rectangle clipRect)
Implements abstract com.
|
| protected void | updateCompositeMode(CompositeMode mode)
Implements abstract com.
|
| private void | |
| protected BaseShaderContext. | updateRenderTarget(RenderTarget target, NGCamera camera, boolean depthTest)
Implements abstract com.
|
| pack-priv void | |
| protected void | updateShaderTransform(Shader shader, BaseTransform xform)
Implements abstract com.
|
| protected void | updateTexture(int texUnit, Texture tex)
Implements abstract com.
|
| protected void | updateWorldTransform(BaseTransform xform)
Implements abstract com.
|
| cameraPos | back to summary |
|---|---|
| private Vec3d cameraPos | |
| currentDrawable | back to summary |
|---|---|
| private GLDrawable currentDrawable | |
| currentTarget | back to summary |
|---|---|
| private RenderTarget currentTarget | |
| dummyGLDrawable | back to summary |
|---|---|
| private final GLDrawable dummyGLDrawable | |
| flipTx | back to summary |
|---|---|
| private static final GeneralTransform3D flipTx | |
| glContext | back to summary |
|---|---|
| private final GLContext glContext | |
| indexBuffer | back to summary |
|---|---|
| private int indexBuffer | |
| NUM_QUADS | back to summary |
|---|---|
| public static final int NUM_QUADS | |
| pixelFormat | back to summary |
|---|---|
| private final GLPixelFormat pixelFormat | |
| projViewTx | back to summary |
|---|---|
| private GeneralTransform3D projViewTx | |
| quadIndices | back to summary |
|---|---|
| private int quadIndices | |
| rawMatrix | back to summary |
|---|---|
| private static float[] rawMatrix | |
| scratchAffine3DTx | back to summary |
|---|---|
| private static final Affine3D scratchAffine3DTx | |
| scratchTx | back to summary |
|---|---|
| private static GeneralTransform3D scratchTx | |
| shaderProgram | back to summary |
|---|---|
| private int shaderProgram | |
| state | back to summary |
|---|---|
| private BaseShaderContext. | |
| worldTx | back to summary |
|---|---|
| private GeneralTransform3D worldTx | |
| ES2Context | back to summary |
|---|---|
| pack-priv ES2Context(Screen screen, ShaderFactory factory) | |
| blit | back to summary |
|---|---|
| public void blit(RTTexture srcRTT, RTTexture dstRTT, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1) Implements abstract com.
| |
| buildNativeGeometry | back to summary |
|---|---|
| pack-priv boolean buildNativeGeometry(long nativeHandle, float[] vertexBuffer, int vertexBufferLength, short[] indexBuffer, int indexBufferLength) | |
| buildNativeGeometry | back to summary |
|---|---|
| pack-priv boolean buildNativeGeometry(long nativeHandle, float[] vertexBuffer, int vertexBufferLength, int[] indexBuffer, int indexBufferLength) | |
| clearContext | back to summary |
|---|---|
| pack-priv final void clearContext() | |
| createES2Mesh | back to summary |
|---|---|
| pack-priv long createES2Mesh() | |
| createES2MeshView | back to summary |
|---|---|
| pack-priv long createES2MeshView(ES2Mesh mesh) | |
| createES2PhongMaterial | back to summary |
|---|---|
| pack-priv long createES2PhongMaterial() | |
| forceRenderTarget | back to summary |
|---|---|
| pack-priv void forceRenderTarget(ES2Graphics g) Called from ES2Graphics.updateRenderTarget() in response to a window resize event. This method ensures that the context is made current after the resize event, which is required on Mac OS X in order to force a call to [NSOpenGLContext update]. | |
| genQuadsIndexBuffer | back to summary |
|---|---|
| pack-priv int genQuadsIndexBuffer(int numQuads) | |
| getGLContext | back to summary |
|---|---|
| pack-priv GLContext getGLContext() | |
| getPhongShader | back to summary |
|---|---|
| pack-priv ES2Shader getPhongShader(ES2MeshView meshView) | |
| getPixelFormat | back to summary |
|---|---|
| pack-priv GLPixelFormat getPixelFormat() | |
| getQuadIndices16bit | back to summary |
|---|---|
| pack-priv static short[] getQuadIndices16bit(int numQuads) | |
| getShaderProgram | back to summary |
|---|---|
| pack-priv int getShaderProgram() | |
| init | back to summary |
|---|---|
| protected void init() Overrides com.
| |
| makeCurrent | back to summary |
|---|---|
| pack-priv void makeCurrent(GLDrawable drawable) | |
| printRawMatrix | back to summary |
|---|---|
| pack-priv void printRawMatrix(String mesg) | |
| releaseES2Mesh | back to summary |
|---|---|
| pack-priv void releaseES2Mesh(long nativeHandle) | |
| releaseES2MeshView | back to summary |
|---|---|
| pack-priv void releaseES2MeshView(long nativeHandle) | |
| releaseES2PhongMaterial | back to summary |
|---|---|
| pack-priv void releaseES2PhongMaterial(long nativeHandle) | |
| releaseRenderTarget | back to summary |
|---|---|
| protected void releaseRenderTarget() Overrides com.
| |
| renderMeshView | back to summary |
|---|---|
| pack-priv void renderMeshView(long nativeHandle, Graphics g, ES2MeshView meshView) | |
| renderQuads | back to summary |
|---|---|
| protected void renderQuads(float[] coordArray, byte[] colorArray, int numVertices) Implements abstract com.
| |
| setAmbientLight | back to summary |
|---|---|
| pack-priv void setAmbientLight(long nativeHandle, float r, float g, float b) | |
| setCullingMode | back to summary |
|---|---|
| pack-priv void setCullingMode(long nativeHandle, int cullingMode) | |
| setDeviceParametersFor2D | back to summary |
|---|---|
| public void setDeviceParametersFor2D() Overrides com.
| |
| setDeviceParametersFor3D | back to summary |
|---|---|
| public void setDeviceParametersFor3D() Overrides com.
| |
| setIndexBuffer | back to summary |
|---|---|
| pack-priv final void setIndexBuffer(int ib) | |
| setLight | back to summary |
|---|---|
| pack-priv void setLight(long nativeHandle, int index, float x, float y, float z, float r, float g, float b, float w, float ca, float la, float qa, float isAttenuated, float maxRange, float dirX, float dirY, float dirZ, float innerAngle, float outerAngle, float falloff) | |
| setMap | back to summary |
|---|---|
| pack-priv void setMap(long nativeHandle, int mapType, int texID) | |
| setMaterial | back to summary |
|---|---|
| pack-priv void setMaterial(long nativeHandle, Material material) | |
| setShaderProgram | back to summary |
|---|---|
| pack-priv void setShaderProgram(int progid) | |
| setSolidColor | back to summary |
|---|---|
| pack-priv void setSolidColor(long nativeHandle, float r, float g, float b, float a) | |
| setWireframe | back to summary |
|---|---|
| pack-priv void setWireframe(long nativeHandle, boolean wireframe) | |
| updateClipRect | back to summary |
|---|---|
| protected void updateClipRect(Rectangle clipRect) Implements abstract com.
| |
| updateCompositeMode | back to summary |
|---|---|
| protected void updateCompositeMode(CompositeMode mode) Implements abstract com.
| |
| updateRawMatrix | back to summary |
|---|---|
| private void updateRawMatrix(GeneralTransform3D src) | |
| updateRenderTarget | back to summary |
|---|---|
| protected BaseShaderContext. Implements abstract com.
| |
| updateShaderProgram | back to summary |
|---|---|
| pack-priv void updateShaderProgram(int progid) | |
| updateShaderTransform | back to summary |
|---|---|
| protected void updateShaderTransform(Shader shader, BaseTransform xform) Implements abstract com.
| |
| updateTexture | back to summary |
|---|---|
| protected void updateTexture(int texUnit, Texture tex) Implements abstract com.
| |
| updateWorldTransform | back to summary |
|---|---|
| protected void updateWorldTransform(BaseTransform xform) Implements abstract com.
| |