javax.media.j3d
Class NativePipeline

java.lang.Object
  extended by javax.media.j3d.Pipeline
      extended by javax.media.j3d.NativePipeline

 class NativePipeline
extends Pipeline

Concrete implementation of Pipeline class for native OGL and D3D rendering pipeline.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.media.j3d.Pipeline
Pipeline.Type
 
Field Summary
private  boolean cgLibraryAvailable
           
private  boolean glslLibraryAvailable
           
private  boolean isD3D
           
private static java.lang.String libPrefix
           
private static boolean oglChkLibraryLoaded
           
private  java.lang.String rendererName
           
private static java.lang.String[] systemPathProps
           
 
Constructor Summary
protected NativePipeline()
          Constructor for singleton NativePipeline instance
 
Method Summary
(package private)  void accum(Context ctx, float value)
           
(package private)  void accum(long ctx, float value)
           
(package private)  void accumReturn(Context ctx)
           
(package private)  void accumReturn(long ctx)
           
(package private)  void activeTextureUnit(Context ctx, int texUnitIndex)
           
(package private)  void activeTextureUnit(long ctx, int texUnitIndex)
           
(package private)  void beginScene(Context ctx)
           
(package private)  void beginScene(long ctx)
           
(package private)  ShaderError bindGLSLVertexAttrName(Context ctx, ShaderProgramId shaderProgramId, java.lang.String attrName, int attrIndex)
           
(package private)  ShaderError bindGLSLVertexAttrName(long ctx, long shaderProgramId, java.lang.String attrName, int attrIndex)
           
(package private)  void bindTexture2D(Context ctx, int objectId, boolean enable)
           
(package private)  void bindTexture2D(long ctx, int objectId, boolean enable)
           
(package private)  void bindTexture3D(Context ctx, int objectId, boolean enable)
           
(package private)  void bindTexture3D(long ctx, int objectId, boolean enable)
           
(package private)  void bindTextureCubeMap(Context ctx, int objectId, boolean enable)
           
(package private)  void bindTextureCubeMap(long ctx, int objectId, boolean enable)
           
private  Context boxContext(long nativeCtx)
           
private  Drawable boxDrawable(long nativeDrawable)
           
private  ShaderAttrLoc boxShaderAttrLoc(long nativeId)
           
private  ShaderId boxShaderId(long nativeId)
           
private  ShaderProgramId boxShaderProgramId(long nativeId)
           
(package private)  void buildGA(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetMapOffset, int vertexAttrCount, int[] vertexAttrSizes, double[] xform, double[] nxform, float[] varray)
           
(package private)  void buildGA(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetMapOffset, int vertexAttrCount, int[] vertexAttrSizes, double[] xform, double[] nxform, float[] varray)
           
(package private)  void buildGAForByRef(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, float[] vfcoords, double[] vdcoords, int colorIndex, float[] cfdata, byte[] cbdata, int normalIndex, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int[] texIndex, int texstride, java.lang.Object[] texCoords, double[] xform, double[] nxform)
           
(package private)  void buildGAForByRef(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, float[] vfcoords, double[] vdcoords, int colorIndex, float[] cfdata, byte[] cbdata, int normalIndex, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int[] texIndex, int texstride, java.lang.Object[] texCoords, double[] xform, double[] nxform)
           
(package private)  void buildIndexedGeometry(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vertexAttrCount, int[] vertexAttrSizes, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetMapOffset, double[] xform, double[] nxform, float[] varray, int[] indexCoord)
           
(package private)  void buildIndexedGeometry(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vertexAttrCount, int[] vertexAttrSizes, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetMapOffset, double[] xform, double[] nxform, float[] varray, int[] indexCoord)
           
(package private)  void callDisplayList(Context ctx, int id, boolean isNonUniformScale)
           
(package private)  void callDisplayList(long ctx, int id, boolean isNonUniformScale)
           
(package private)  void cleanupRenderer()
           
(package private)  void clear(Context ctx, float r, float g, float b, boolean clearStencil)
           
(package private)  void clear(long ctx, float r, float g, float b, boolean clearStencil)
           
(package private)  void clearAccum(Context ctx)
           
(package private)  void clearAccum(long ctx)
           
(package private)  ShaderError compileCgShader(Context ctx, ShaderId shaderId, java.lang.String program)
           
(package private)  ShaderError compileCgShader(long ctx, long shaderId, java.lang.String program)
           
(package private)  ShaderError compileGLSLShader(Context ctx, ShaderId shaderId, java.lang.String program)
           
(package private)  ShaderError compileGLSLShader(long ctx, long shaderId, java.lang.String program)
           
(package private)  ShaderError createCgShader(Context ctx, int shaderType, ShaderId[] shaderId)
           
(package private)  ShaderError createCgShader(long ctx, int shaderType, long[] shaderId)
           
(package private)  ShaderError createCgShaderProgram(Context ctx, ShaderProgramId[] shaderProgramId)
           
(package private)  ShaderError createCgShaderProgram(long ctx, long[] shaderProgramId)
           
(package private)  DrawingSurfaceObject createDrawingSurfaceObject(Canvas3D cv)
           
(package private)  ShaderError createGLSLShader(Context ctx, int shaderType, ShaderId[] shaderId)
           
(package private)  ShaderError createGLSLShader(long ctx, int shaderType, long[] shaderId)
           
(package private)  ShaderError createGLSLShaderProgram(Context ctx, ShaderProgramId[] shaderProgramId)
           
(package private)  ShaderError createGLSLShaderProgram(long ctx, long[] shaderProgramId)
           
(package private)  Context createNewContext(Canvas3D cv, long display, Drawable drawable, long fbConfig, Context shareCtx, boolean isSharedCtx, boolean offScreen, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
           
(package private)  long createNewContext(Canvas3D cv, long display, long drawable, long fbConfig, long shareCtx, boolean isSharedCtx, boolean offScreen, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
           
(package private)  Drawable createOffScreenBuffer(Canvas3D cv, Context ctx, long display, long fbConfig, int width, int height)
           
(package private)  long createOffScreenBuffer(Canvas3D cv, long ctx, long display, long fbConfig, int width, int height)
           
(package private)  void createQueryContext(Canvas3D cv, long display, Drawable drawable, long fbConfig, boolean offScreen, int width, int height, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
           
(package private)  void createQueryContext(Canvas3D cv, long display, long drawable, long fbConfig, boolean offScreen, int width, int height, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
           
(package private)  void ctxUpdateEyeLightingEnable(Context ctx, boolean localEyeLightingEnable)
           
(package private)  void ctxUpdateEyeLightingEnable(long ctx, boolean localEyeLightingEnable)
           
(package private)  boolean decal1stChildSetup(Context ctx)
           
(package private)  boolean decal1stChildSetup(long ctx)
           
(package private)  void decalNthChildSetup(Context ctx)
           
(package private)  void decalNthChildSetup(long ctx)
           
(package private)  void decalReset(Context ctx, boolean depthBufferEnable)
           
(package private)  void decalReset(long ctx, boolean depthBufferEnable)
           
(package private)  ShaderError destroyCgShader(Context ctx, ShaderId shaderId)
           
(package private)  ShaderError destroyCgShader(long ctx, long shaderId)
           
(package private)  ShaderError destroyCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
           
(package private)  ShaderError destroyCgShaderProgram(long ctx, long shaderProgramId)
           
(package private)  void destroyContext(long display, Drawable drawable, Context ctx)
           
(package private)  void destroyContext(long display, long drawable, long ctx)
           
(package private)  ShaderError destroyGLSLShader(Context ctx, ShaderId shaderId)
           
(package private)  ShaderError destroyGLSLShader(long ctx, long shaderId)
           
(package private)  ShaderError destroyGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
           
(package private)  ShaderError destroyGLSLShaderProgram(long ctx, long shaderProgramId)
           
(package private)  void destroyOffScreenBuffer(Canvas3D cv, Context ctx, long display, long fbConfig, Drawable drawable)
           
(package private)  void destroyOffScreenBuffer(Canvas3D cv, long ctx, long display, long fbConfig, long drawable)
           
(package private)  void disableFog(Context ctx)
           
(package private)  void disableFog(long ctx)
           
(package private)  void disableGlobalAlpha(Context ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
           
(package private)  void disableGlobalAlpha(long ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
           
(package private)  void disableModelClip(Context ctx)
           
(package private)  void disableModelClip(long ctx)
           
(package private)  void endDisplayList(Context ctx)
           
(package private)  void endDisplayList(long ctx)
           
(package private)  void endScene(Context ctx)
           
(package private)  void endScene(long ctx)
           
(package private)  void execute(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, int vertexAttrCount, int[] vertexAttrSizes, float[] varray, float[] cdata, int cdirty)
           
(package private)  void execute(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, int vertexAttrCount, int[] vertexAttrSizes, float[] varray, float[] cdata, int cdirty)
           
(package private)  void executeIndexedGeometry(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int initialIndexIndex, int indexCount, int vertexCount, int vformat, int vertexAttrCount, int[] vertexAttrSizes, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, float[] varray, float[] cdata, int cdirty, int[] indexCoord)
           
(package private)  void executeIndexedGeometry(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int initialIndexIndex, int indexCount, int vertexCount, int vformat, int vertexAttrCount, int[] vertexAttrSizes, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, float[] varray, float[] cdata, int cdirty, int[] indexCoord)
           
(package private)  void executeIndexedGeometryBuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int initialIndexIndex, int indexCount, int vertexCount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, java.lang.Object varray, float[] cdata, int cdirty, int[] indexCoord)
           
(package private)  void executeIndexedGeometryBuffer(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int initialIndexIndex, int indexCount, int vertexCount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, java.lang.Object varray, float[] cdata, int cdirty, int[] indexCoord)
           
(package private)  void executeIndexedGeometryVA(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vdefined, float[] vfcoords, double[] vdcoords, float[] cfdata, byte[] cbdata, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int texstride, java.lang.Object[] texCoords, int cdirty, int[] indexCoord)
           
(package private)  void executeIndexedGeometryVA(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vdefined, float[] vfcoords, double[] vdcoords, float[] cfdata, byte[] cbdata, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int texstride, java.lang.Object[] texCoords, int cdirty, int[] indexCoord)
           
(package private)  void executeIndexedGeometryVABuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vdefined, java.lang.Object vcoords, java.lang.Object cdataBuffer, float[] cfdata, byte[] cbdata, java.lang.Object normal, int vertexAttrCount, int[] vertexAttrSizes, java.lang.Object[] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int texstride, java.lang.Object[] texCoords, int cdirty, int[] indexCoord)
           
(package private)  void executeIndexedGeometryVABuffer(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int initialIndexIndex, int validIndexCount, int vertexCount, int vformat, int vdefined, java.lang.Object vcoords, java.lang.Object cdataBuffer, float[] cfdata, byte[] cbdata, java.lang.Object normal, int vertexAttrCount, int[] vertexAttrSizes, java.lang.Object[] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int texstride, java.lang.Object[] texCoords, int cdirty, int[] indexCoord)
           
(package private)  void executeInterleavedBuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, java.lang.Object varray, float[] cdata, int cdirty)
           
(package private)  void executeInterleavedBuffer(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean useAlpha, boolean ignoreVertexColors, int startVIndex, int vcount, int vformat, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetOffset, int numActiveTexUnitState, java.lang.Object varray, float[] cdata, int cdirty)
           
(package private)  void executeRasterDepth(Context ctx, float posX, float posY, float posZ, int srcOffsetX, int srcOffsetY, int rasterWidth, int rasterHeight, int depthWidth, int depthHeight, int depthType, java.lang.Object depthData)
           
(package private)  void executeRasterDepth(long ctx, float posX, float posY, float posZ, int srcOffsetX, int srcOffsetY, int rasterWidth, int rasterHeight, int depthWidth, int depthHeight, int depthType, java.lang.Object depthData)
           
(package private)  void executeVA(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, float[] vfcoords, double[] vdcoords, int colorIndex, float[] cfdata, byte[] cbdata, int normalIndex, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int[] texIndex, int texstride, java.lang.Object[] texCoords, int cdirty)
           
(package private)  void executeVA(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, float[] vfcoords, double[] vdcoords, int colorIndex, float[] cfdata, byte[] cbdata, int normalIndex, float[] ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, float[][] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int[] texIndex, int texstride, java.lang.Object[] texCoords, int cdirty)
           
(package private)  void executeVABuffer(Context ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, java.lang.Object vcoords, int colorIndex, java.lang.Object cdataBuffer, float[] cfdata, byte[] cbdata, int normalIndex, java.lang.Object ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, java.lang.Object[] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int[] texIndex, int texstride, java.lang.Object[] texCoords, int cdirty)
           
(package private)  void executeVABuffer(long ctx, GeometryArrayRetained geo, int geo_type, boolean isNonUniformScale, boolean ignoreVertexColors, int vcount, int vformat, int vdefined, int coordIndex, java.lang.Object vcoords, int colorIndex, java.lang.Object cdataBuffer, float[] cfdata, byte[] cbdata, int normalIndex, java.lang.Object ndata, int vertexAttrCount, int[] vertexAttrSizes, int[] vertexAttrIndex, java.lang.Object[] vertexAttrData, int texcoordmaplength, int[] texcoordoffset, int numActiveTexUnitState, int[] texIndex, int texstride, java.lang.Object[] texCoords, int cdirty)
           
(package private)  void freeD3DArray(GeometryArrayRetained geo, boolean deleteVB)
           
(package private)  void freeDisplayList(Context ctx, int id)
           
(package private)  void freeDisplayList(long ctx, int id)
           
(package private)  void freeDrawingSurface(Canvas3D cv, DrawingSurfaceObject drawingSurfaceObject)
           
(package private)  void freeDrawingSurfaceNative(java.lang.Object o)
           
(package private)  void freeTexture(Context ctx, int id)
           
(package private)  void freeTexture(long ctx, int id)
           
(package private)  long getAWT()
           
(package private)  java.awt.GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate3D gct, java.awt.GraphicsConfiguration[] gc)
           
(package private)  long getDisplay()
           
(package private)  long getFbConfig(GraphicsConfigInfo gcInfo)
           
(package private)  java.awt.GraphicsConfiguration getGraphicsConfig(java.awt.GraphicsConfiguration gconfig)
           
(package private)  int getMaximumLights()
           
(package private)  int getNumCtxLights(Context ctx)
           
(package private)  int getNumCtxLights(long ctx)
           
(package private)  int getScreen(java.awt.GraphicsDevice graphicsDevice)
           
(package private)  int getStencilSize(Canvas3D cv)
           
(package private) static java.lang.String getSupportedOglVendor()
           
private static java.lang.String getSupportedOglVendorNative()
           
(package private)  boolean hasDoubleBuffer(Canvas3D cv)
           
(package private)  boolean hasSceneAntialiasingAccum(Canvas3D cv)
           
(package private)  boolean hasSceneAntialiasingMultisample(Canvas3D cv)
           
(package private)  boolean hasStereo(Canvas3D cv)
           
(package private)  void initialize(Pipeline.Type pipelineType)
          Initialize the pipeline
(package private)  boolean initializeJ3D(boolean disableXinerama)
           
(package private)  boolean initTexturemapping(Context ctx, int texWidth, int texHeight, int objectId)
           
(package private)  boolean initTexturemapping(long ctx, int texWidth, int texHeight, int objectId)
           
(package private)  boolean isCgLibraryAvailable()
          Returns true if the Cg library is loaded and available.
(package private)  boolean isGLSLLibraryAvailable()
          Returns true if the GLSL library is loaded and available.
(package private)  boolean isGraphicsConfigSupported(GraphicsConfigTemplate3D gct, java.awt.GraphicsConfiguration gc)
           
(package private)  ShaderError linkCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds)
           
(package private)  ShaderError linkCgShaderProgram(long ctx, long shaderProgramId, long[] shaderIds)
           
(package private)  ShaderError linkGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds)
           
(package private)  ShaderError linkGLSLShaderProgram(long ctx, long shaderProgramId, long[] shaderId)
           
(package private)  void loadLibraries(int globalShadingLanguage)
          Load all of the required libraries
private static void loadLibrary(java.lang.String libName, boolean allowAppletLauncher)
          Load the specified native library.
private  boolean loadNativeCgLibrary(java.lang.String[] libpath)
           
(package private)  void lookupCgShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, ShaderAttrLoc[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
           
(package private)  void lookupCgShaderAttrNames(long ctx, long shaderProgramId, int numAttrNames, java.lang.String[] attrNames, long[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
           
(package private)  void lookupCgVertexAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, boolean[] errArr)
           
(package private)  void lookupCgVertexAttrNames(long ctx, long shaderProgramId, int numAttrNames, java.lang.String[] attrNames, boolean[] errArr)
           
(package private)  void lookupGLSLShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, ShaderAttrLoc[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
           
(package private)  void lookupGLSLShaderAttrNames(long ctx, long shaderProgramId, int numAttrNames, java.lang.String[] attrNames, long[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
           
(package private)  void newDisplayList(Context ctx, int displayListId)
           
(package private)  void newDisplayList(long ctx, int displayListId)
           
(package private)  void readOffScreenBuffer(Canvas3D cv, Context ctx, int format, int type, java.lang.Object data, int width, int height)
           
(package private)  void readOffScreenBuffer(Canvas3D cv, long ctx, int format, int type, java.lang.Object data, int width, int height)
           
(package private)  void readRaster(Context ctx, int type, int xSrcOffset, int ySrcOffset, int width, int height, int hCanvas, int imageDataType, int imageFormat, java.lang.Object imageBuffer, int depthFormat, java.lang.Object depthBuffer)
           
(package private)  void readRaster(long ctx, int type, int xSrcOffset, int ySrcOffset, int width, int height, int hCanvas, int imageDataType, int imageFormat, java.lang.Object imageBuffer, int depthFormat, java.lang.Object depthBuffer)
           
(package private)  void resetColoringAttributes(Context ctx, float r, float g, float b, float a, boolean enableLight)
           
(package private)  void resetColoringAttributes(long ctx, float r, float g, float b, float a, boolean enableLight)
           
(package private)  void resetLineAttributes(Context ctx)
           
(package private)  void resetLineAttributes(long ctx)
           
(package private)  void resetPointAttributes(Context ctx)
           
(package private)  void resetPointAttributes(long ctx)
           
(package private)  void resetPolygonAttributes(Context ctx)
           
(package private)  void resetPolygonAttributes(long ctx)
           
(package private)  void resetRenderingAttributes(Context ctx, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride)
           
(package private)  void resetRenderingAttributes(long ctx, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride)
           
(package private)  void resetTexCoordGeneration(Context ctx)
           
(package private)  void resetTexCoordGeneration(long ctx)
           
(package private)  void resetTextureAttributes(Context ctx)
           
(package private)  void resetTextureAttributes(long ctx)
           
(package private)  void resetTextureNative(Context ctx, int texUnitIndex)
           
(package private)  void resetTextureNative(long ctx, int texUnitIndex)
           
(package private)  void resetTransparency(Context ctx, int geometryType, int polygonMode, boolean lineAA, boolean pointAA)
           
(package private)  void resetTransparency(long ctx, int geometryType, int polygonMode, boolean lineAA, boolean pointAA)
           
(package private)  int resizeD3DCanvas(Canvas3D cv, Context ctx)
           
(package private)  int resizeD3DCanvas(Canvas3D cv, long ctx)
           
(package private)  void setBlendColor(Context ctx, float red, float green, float blue, float alpha)
           
(package private)  void setBlendColor(long ctx, float red, float green, float blue, float alpha)
           
(package private)  void setBlendFunc(Context ctx, int src, int dst)
           
(package private)  void setBlendFunc(long ctx, int src, int dst)
           
(package private)  ShaderError setCgUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value)
           
(package private)  ShaderError setCgUniform1f(long ctx, long shaderProgramId, long uniformLocation, float value)
           
(package private)  ShaderError setCgUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform1fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value)
           
(package private)  ShaderError setCgUniform1i(long ctx, long shaderProgramId, long uniformLocation, int value)
           
(package private)  ShaderError setCgUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniform1iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniform2f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform2fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
           
(package private)  ShaderError setCgUniform2i(long ctx, long shaderProgramId, long uniformLocation, int[] value)
           
(package private)  ShaderError setCgUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniform2iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniform3f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform3fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
           
(package private)  ShaderError setCgUniform3i(long ctx, long shaderProgramId, long uniformLocation, int[] value)
           
(package private)  ShaderError setCgUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniform3iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniform4f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform4fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
           
(package private)  ShaderError setCgUniform4i(long ctx, long shaderProgramId, long uniformLocation, int[] value)
           
(package private)  ShaderError setCgUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniform4iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setCgUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniformMatrix3f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniformMatrix3fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniformMatrix4f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setCgUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setCgUniformMatrix4fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  void setDepthBufferWriteEnable(Context ctx, boolean mode)
           
(package private)  void setDepthBufferWriteEnable(long ctx, boolean mode)
           
(package private)  void setFogEnableFlag(Context ctx, boolean enableFlag)
           
(package private)  void setFogEnableFlag(long ctx, boolean enableFlag)
           
(package private)  void setFullSceneAntialiasing(Context ctx, boolean enable)
           
(package private)  void setFullSceneAntialiasing(long ctx, boolean enable)
           
(package private)  void setGlobalAlpha(Context ctx, float alpha)
           
(package private)  void setGlobalAlpha(long ctx, float alpha)
           
(package private)  ShaderError setGLSLUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value)
           
(package private)  ShaderError setGLSLUniform1f(long ctx, long shaderProgramId, long uniformLocation, float value)
           
(package private)  ShaderError setGLSLUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform1fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value)
           
(package private)  ShaderError setGLSLUniform1i(long ctx, long shaderProgramId, long uniformLocation, int value)
           
(package private)  ShaderError setGLSLUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniform1iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniform2f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform2fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
           
(package private)  ShaderError setGLSLUniform2i(long ctx, long shaderProgramId, long uniformLocation, int[] value)
           
(package private)  ShaderError setGLSLUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniform2iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniform3f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform3fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
           
(package private)  ShaderError setGLSLUniform3i(long ctx, long shaderProgramId, long uniformLocation, int[] value)
           
(package private)  ShaderError setGLSLUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniform3iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniform4f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform4fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
           
(package private)  ShaderError setGLSLUniform4i(long ctx, long shaderProgramId, long uniformLocation, int[] value)
           
(package private)  ShaderError setGLSLUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniform4iArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, int[] value)
           
(package private)  ShaderError setGLSLUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniformMatrix3f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniformMatrix3fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniformMatrix4f(long ctx, long shaderProgramId, long uniformLocation, float[] value)
           
(package private)  ShaderError setGLSLUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
           
(package private)  ShaderError setGLSLUniformMatrix4fArray(long ctx, long shaderProgramId, long uniformLocation, int numElements, float[] value)
           
(package private)  void setLightEnables(Context ctx, long enableMask, int maxLights)
           
(package private)  void setLightEnables(long ctx, long enableMask, int maxLights)
           
(package private)  void setModelViewMatrix(Context ctx, double[] viewMatrix, double[] modelMatrix)
           
(package private)  void setModelViewMatrix(long ctx, double[] viewMatrix, double[] modelMatrix)
           
(package private)  void setProjectionMatrix(Context ctx, double[] projMatrix)
           
(package private)  void setProjectionMatrix(long ctx, double[] projMatrix)
           
(package private)  void setRenderMode(Context ctx, int mode, boolean doubleBuffer)
           
(package private)  void setRenderMode(long ctx, int mode, boolean doubleBuffer)
           
(package private)  void setSceneAmbient(Context ctx, float red, float green, float blue)
           
(package private)  void setSceneAmbient(long ctx, float red, float green, float blue)
           
private  java.lang.String[] setupLibPath(java.lang.String libName)
          Parse the specified System properties containing a PATH and return an array of Strings, where each element is an absolute filename consisting of the individual component of the path concatenated with the (relative) library file name.
(package private)  void setVertexFormat(Context ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
           
(package private)  void setVertexFormat(long ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
           
(package private)  void setViewport(Context ctx, int x, int y, int width, int height)
           
(package private)  void setViewport(long ctx, int x, int y, int width, int height)
           
(package private)  int swapBuffers(Canvas3D cv, Context ctx, long dpy, Drawable drawable)
           
(package private)  int swapBuffers(Canvas3D cv, long ctx, long dpy, long drawable)
           
(package private)  void syncRender(Context ctx, boolean wait)
          This native method makes sure that the rendering for this canvas gets done now.
(package private)  void syncRender(long ctx, boolean wait)
          This native method makes sure that the rendering for this canvas gets done now.
(package private)  void textureFillBackground(Context ctx, float texMinU, float texMaxU, float texMinV, float texMaxV, float mapMinX, float mapMaxX, float mapMinY, float mapMaxY, boolean useBiliearFilter)
           
(package private)  void textureFillBackground(long ctx, float texMinU, float texMaxU, float texMinV, float texMaxV, float mapMinX, float mapMaxX, float mapMinY, float mapMaxY, boolean useBiliearFilter)
           
(package private)  void textureFillRaster(Context ctx, float texMinU, float texMaxU, float texMinV, float texMaxV, float mapMinX, float mapMaxX, float mapMinY, float mapMaxY, float mapZ, float alpha, boolean useBiliearFilter)
           
(package private)  void textureFillRaster(long ctx, float texMinU, float texMaxU, float texMinV, float texMaxV, float mapMinX, float mapMaxX, float mapMinY, float mapMaxY, float mapZ, float alpha, boolean useBiliearFilter)
           
(package private)  void texturemapping(Context ctx, int px, int py, int xmin, int ymin, int xmax, int ymax, int texWidth, int texHeight, int rasWidth, int format, int objectId, byte[] image, int winWidth, int winHeight)
           
(package private)  void texturemapping(long ctx, int px, int py, int xmin, int ymin, int xmax, int ymax, int texWidth, int texHeight, int rasWidth, int format, int objectId, byte[] image, int winWidth, int winHeight)
           
(package private)  int toggleFullScreenMode(Canvas3D cv, Context ctx)
           
(package private)  int toggleFullScreenMode(Canvas3D cv, long ctx)
           
private  long unbox(Context ctx)
           
private  long unbox(Drawable drawable)
           
private  long unbox(ShaderAttrLoc attrLoc)
           
private  long unbox(ShaderId shaderId)
           
private  long unbox(ShaderProgramId shaderProgramId)
           
(package private)  void updateColoringAttributes(Context ctx, float dRed, float dGreen, float dBlue, float red, float green, float blue, float alpha, boolean lEnable, int shadeModel)
           
(package private)  void updateColoringAttributes(long ctx, float dRed, float dGreen, float dBlue, float red, float green, float blue, float alpha, boolean lEnable, int shadeModel)
           
(package private)  void updateCombiner(Context ctx, int combineRgbMode, int combineAlphaMode, int[] combineRgbSrc, int[] combineAlphaSrc, int[] combineRgbFcn, int[] combineAlphaFcn, int combineRgbScale, int combineAlphaScale)
           
(package private)  void updateCombiner(long ctx, int combineRgbMode, int combineAlphaMode, int[] combineRgbSrc, int[] combineAlphaSrc, int[] combineRgbFcn, int[] combineAlphaFcn, int combineRgbScale, int combineAlphaScale)
           
(package private)  void updateDirectionalLight(Context ctx, int lightSlot, float red, float green, float blue, float x, float y, float z)
           
(package private)  void updateDirectionalLight(long ctx, int lightSlot, float red, float green, float blue, float x, float y, float z)
           
(package private)  void updateExponentialFog(Context ctx, float red, float green, float blue, float density)
           
(package private)  void updateExponentialFog(long ctx, float red, float green, float blue, float density)
           
(package private)  void updateLinearFog(Context ctx, float red, float green, float blue, double fdist, double bdist)
           
(package private)  void updateLinearFog(long ctx, float red, float green, float blue, double fdist, double bdist)
           
(package private)  void updateLineAttributes(Context ctx, float lineWidth, int linePattern, int linePatternMask, int linePatternScaleFactor, boolean lineAntialiasing)
           
(package private)  void updateLineAttributes(long ctx, float lineWidth, int linePattern, int linePatternMask, int linePatternScaleFactor, boolean lineAntialiasing)
           
(package private)  void updateMaterial(Context ctx, float red, float green, float blue, float alpha, float ared, float agreen, float ablue, float ered, float egreen, float eblue, float dred, float dgreen, float dblue, float sred, float sgreen, float sblue, float shininess, int colorTarget, boolean enable)
           
(package private)  void updateMaterial(long ctx, float red, float green, float blue, float alpha, float ared, float agreen, float ablue, float ered, float egreen, float eblue, float dred, float dgreen, float dblue, float sred, float sgreen, float sblue, float shininess, int colorTarget, boolean enable)
           
(package private)  void updateMaterialColor(Context ctx, float r, float g, float b, float a)
           
(package private)  void updateMaterialColor(long ctx, float r, float g, float b, float a)
           
(package private)  void updateModelClip(Context ctx, int planeNum, boolean enableFlag, double A, double B, double C, double D)
           
(package private)  void updateModelClip(long ctx, int planeNum, boolean enableFlag, double A, double B, double C, double D)
           
(package private)  void updatePointAttributes(Context ctx, float pointSize, boolean pointAntialiasing)
           
(package private)  void updatePointAttributes(long ctx, float pointSize, boolean pointAntialiasing)
           
(package private)  void updatePointLight(Context ctx, int lightSlot, float red, float green, float blue, float ax, float ay, float az, float px, float py, float pz)
           
(package private)  void updatePointLight(long ctx, int lightSlot, float red, float green, float blue, float ax, float ay, float az, float px, float py, float pz)
           
(package private)  void updatePolygonAttributes(Context ctx, int polygonMode, int cullFace, boolean backFaceNormalFlip, float polygonOffset, float polygonOffsetFactor)
           
(package private)  void updatePolygonAttributes(long ctx, int polygonMode, int cullFace, boolean backFaceNormalFlip, float polygonOffset, float polygonOffsetFactor)
           
(package private)  void updateRegisterCombiners(Context ctx, double[] transform, boolean isIdentity, int textureMode, int perspCorrectionMode, float red, float green, float blue, float alpha, int textureFormat, int combineRgbMode, int combineAlphaMode, int[] combineRgbSrc, int[] combineAlphaSrc, int[] combineRgbFcn, int[] combineAlphaFcn, int combineRgbScale, int combineAlphaScale)
           
(package private)  void updateRegisterCombiners(long ctx, double[] transform, boolean isIdentity, int textureMode, int perspCorrectionMode, float red, float green, float blue, float alpha, int textureFormat, int combineRgbMode, int combineAlphaMode, int[] combineRgbSrc, int[] combineAlphaSrc, int[] combineRgbFcn, int[] combineAlphaFcn, int combineRgbScale, int combineAlphaScale)
           
(package private)  void updateRenderingAttributes(Context ctx, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride, boolean depthBufferEnable, boolean depthBufferWriteEnable, int depthTestFunction, float alphaTestValue, int alphaTestFunction, boolean ignoreVertexColors, boolean rasterOpEnable, int rasterOp, boolean userStencilAvailable, boolean stencilEnable, int stencilFailOp, int stencilZFailOp, int stencilZPassOp, int stencilFunction, int stencilReferenceValue, int stencilCompareMask, int stencilWriteMask)
           
(package private)  void updateRenderingAttributes(long ctx, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride, boolean depthBufferEnable, boolean depthBufferWriteEnable, int depthTestFunction, float alphaTestValue, int alphaTestFunction, boolean ignoreVertexColors, boolean rasterOpEnable, int rasterOp, boolean userStencilAvailable, boolean stencilEnable, int stencilFailOp, int stencilZFailOp, int stencilZPassOp, int stencilFunction, int stencilReferenceValue, int stencilCompareMask, int stencilWriteMask)
           
(package private)  void updateSeparateSpecularColorEnable(Context ctx, boolean control)
           
(package private)  void updateSeparateSpecularColorEnable(long ctx, boolean control)
           
(package private)  void updateSpotLight(Context ctx, int lightSlot, float red, float green, float blue, float ax, float ay, float az, float px, float py, float pz, float spreadAngle, float concentration, float dx, float dy, float dz)
           
(package private)  void updateSpotLight(long ctx, int lightSlot, float red, float green, float blue, float ax, float ay, float az, float px, float py, float pz, float spreadAngle, float concentration, float dx, float dy, float dz)
           
(package private)  void updateTexCoordGeneration(Context ctx, boolean enable, int genMode, int format, float planeSx, float planeSy, float planeSz, float planeSw, float planeTx, float planeTy, float planeTz, float planeTw, float planeRx, float planeRy, float planeRz, float planeRw, float planeQx, float planeQy, float planeQz, float planeQw, double[] trans)
          This method updates the native context: trans contains eyeTovworld transform in d3d trans contains vworldToEye transform in ogl
(package private)  void updateTexCoordGeneration(long ctx, boolean enable, int genMode, int format, float planeSx, float planeSy, float planeSz, float planeSw, float planeTx, float planeTy, float planeTz, float planeTw, float planeRx, float planeRy, float planeRz, float planeRw, float planeQx, float planeQy, float planeQz, float planeQw, double[] trans)
          This method updates the native context: trans contains eyeTovworld transform in d3d trans contains vworldToEye transform in ogl
(package private)  void updateTexture2DAnisotropicFilter(Context ctx, float degree)
           
(package private)  void updateTexture2DAnisotropicFilter(long ctx, float degree)
           
(package private)  void updateTexture2DBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
           
(package private)  void updateTexture2DBoundary(long ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
           
(package private)  void updateTexture2DFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
           
(package private)  void updateTexture2DFilter4Func(long ctx, int numFilter4FuncPts, float[] filter4FuncPts)
           
(package private)  void updateTexture2DFilterModes(Context ctx, int minFilter, int magFilter)
           
(package private)  void updateTexture2DFilterModes(long ctx, int minFilter, int magFilter)
           
(package private)  void updateTexture2DImage(Context ctx, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, java.lang.Object data, boolean useAutoMipMap)
           
(package private)  void updateTexture2DImage(long ctx, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, java.lang.Object data, boolean useAutoMipMap)
           
(package private)  void updateTexture2DLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
           
(package private)  void updateTexture2DLodOffset(long ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
           
(package private)  void updateTexture2DLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
           
(package private)  void updateTexture2DLodRange(long ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
           
(package private)  void updateTexture2DSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
           
(package private)  void updateTexture2DSharpenFunc(long ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
           
(package private)  void updateTexture2DSubImage(Context ctx, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, java.lang.Object data, boolean useAutoMipMap)
           
(package private)  void updateTexture2DSubImage(long ctx, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, java.lang.Object data, boolean useAutoMipMap)
           
(package private)  void updateTexture3DAnisotropicFilter(Context ctx, float degree)
           
(package private)  void updateTexture3DAnisotropicFilter(long ctx, float degree)
           
(package private)  void updateTexture3DBoundary(Context ctx, int boundaryModeS, int boundaryModeT, int boundaryModeR, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
           
(package private)  void updateTexture3DBoundary(long ctx, int boundaryModeS, int boundaryModeT, int boundaryModeR, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
           
(package private)  void updateTexture3DFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
           
(package private)  void updateTexture3DFilter4Func(long ctx, int numFilter4FuncPts, float[] filter4FuncPts)
           
(package private)  void updateTexture3DFilterModes(Context ctx, int minFilter, int magFilter)
           
(package private)  void updateTexture3DFilterModes(long ctx, int minFilter, int magFilter)
           
(package private)  void updateTexture3DImage(Context ctx, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int depth, int boundaryWidth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTexture3DImage(long ctx, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int depth, int boundaryWidth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTexture3DLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
           
(package private)  void updateTexture3DLodOffset(long ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
           
(package private)  void updateTexture3DLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
           
(package private)  void updateTexture3DLodRange(long ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
           
(package private)  void updateTexture3DSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
           
(package private)  void updateTexture3DSharpenFunc(long ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
           
(package private)  void updateTexture3DSubImage(Context ctx, int level, int xoffset, int yoffset, int zoffset, int textureFormat, int imageFormat, int imgXoffset, int imgYoffset, int imgZoffset, int tilew, int tileh, int width, int height, int depth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTexture3DSubImage(long ctx, int level, int xoffset, int yoffset, int zoffset, int textureFormat, int imageFormat, int imgXoffset, int imgYoffset, int imgZoffset, int tilew, int tileh, int width, int height, int depth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTextureAttributes(Context ctx, double[] transform, boolean isIdentity, int textureMode, int perspCorrectionMode, float red, float green, float blue, float alpha, int textureFormat)
           
(package private)  void updateTextureAttributes(long ctx, double[] transform, boolean isIdentity, int textureMode, int perspCorrectionMode, float red, float green, float blue, float alpha, int textureFormat)
           
(package private)  void updateTextureColorTable(Context ctx, int numComponents, int colorTableSize, int[] colorTable)
           
(package private)  void updateTextureColorTable(long ctx, int numComponents, int colorTableSize, int[] colorTable)
           
(package private)  void updateTextureCubeMapAnisotropicFilter(Context ctx, float degree)
           
(package private)  void updateTextureCubeMapAnisotropicFilter(long ctx, float degree)
           
(package private)  void updateTextureCubeMapBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
           
(package private)  void updateTextureCubeMapBoundary(long ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
           
(package private)  void updateTextureCubeMapFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
           
(package private)  void updateTextureCubeMapFilter4Func(long ctx, int numFilter4FuncPts, float[] filter4FuncPts)
           
(package private)  void updateTextureCubeMapFilterModes(Context ctx, int minFilter, int magFilter)
           
(package private)  void updateTextureCubeMapFilterModes(long ctx, int minFilter, int magFilter)
           
(package private)  void updateTextureCubeMapImage(Context ctx, int face, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTextureCubeMapImage(long ctx, int face, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int boundaryWidth, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTextureCubeMapLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
           
(package private)  void updateTextureCubeMapLodOffset(long ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
           
(package private)  void updateTextureCubeMapLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
           
(package private)  void updateTextureCubeMapLodRange(long ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
           
(package private)  void updateTextureCubeMapSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
           
(package private)  void updateTextureCubeMapSharpenFunc(long ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
           
(package private)  void updateTextureCubeMapSubImage(Context ctx, int face, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTextureCubeMapSubImage(long ctx, int face, int level, int xoffset, int yoffset, int textureFormat, int imageFormat, int imgXOffset, int imgYOffset, int tilew, int width, int height, int imageDataType, java.lang.Object imageData, boolean useAutoMipMap)
           
(package private)  void updateTextureUnitState(Context ctx, int unitIndex, boolean enableFlag)
           
(package private)  void updateTextureUnitState(long ctx, int unitIndex, boolean enableFlag)
           
(package private)  void updateTransparencyAttributes(Context ctx, float alpha, int geometryType, int polygonMode, boolean lineAA, boolean pointAA, int transparencyMode, int srcBlendFunction, int dstBlendFunction)
           
(package private)  void updateTransparencyAttributes(long ctx, float alpha, int geometryType, int polygonMode, boolean lineAA, boolean pointAA, int transparencyMode, int srcBlendFunction, int dstBlendFunction)
           
(package private)  ShaderError useCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
           
(package private)  ShaderError useCgShaderProgram(long ctx, long shaderProgramId)
           
(package private)  boolean useCtx(Context ctx, long display, Drawable drawable)
           
(package private)  boolean useCtx(long ctx, long display, long drawable)
           
(package private)  ShaderError useGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
           
(package private)  ShaderError useGLSLShaderProgram(long ctx, long shaderProgramId)
           
(package private)  boolean validGraphicsMode()
           
 
Methods inherited from class javax.media.j3d.Pipeline
checkNativeBufferAccess, createPipeline, getPipeline, getPipelineName, getPipelineType, getRendererName, releaseCtx, useNativeOgl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

systemPathProps

private static final java.lang.String[] systemPathProps

libPrefix

private static final java.lang.String libPrefix
See Also:
Constant Field Values

isD3D

private boolean isD3D

rendererName

private java.lang.String rendererName

cgLibraryAvailable

private boolean cgLibraryAvailable

glslLibraryAvailable

private boolean glslLibraryAvailable

oglChkLibraryLoaded

private static boolean oglChkLibraryLoaded
Constructor Detail

NativePipeline

protected NativePipeline()
Constructor for singleton NativePipeline instance

Method Detail

getSupportedOglVendor

static java.lang.String getSupportedOglVendor()

getSupportedOglVendorNative

private static java.lang.String getSupportedOglVendorNative()

initialize

void initialize(Pipeline.Type pipelineType)
Initialize the pipeline

Overrides:
initialize in class Pipeline

loadLibraries

void loadLibraries(int globalShadingLanguage)
Load all of the required libraries

Specified by:
loadLibraries in class Pipeline

isCgLibraryAvailable

boolean isCgLibraryAvailable()
Returns true if the Cg library is loaded and available. Note that this does not necessarily mean that Cg is supported by the graphics card.

Specified by:
isCgLibraryAvailable in class Pipeline

isGLSLLibraryAvailable

boolean isGLSLLibraryAvailable()
Returns true if the GLSL library is loaded and available. Note that this does not necessarily mean that GLSL is supported by the graphics card.

Specified by:
isGLSLLibraryAvailable in class Pipeline

loadLibrary

private static void loadLibrary(java.lang.String libName,
                                boolean allowAppletLauncher)
Load the specified native library. If we are running in "appletLauncher" mode, we will use JNLPAppletLauncher to load the native library. Otherwise, we will use System.loadLibrary().


setupLibPath

private java.lang.String[] setupLibPath(java.lang.String libName)
Parse the specified System properties containing a PATH and return an array of Strings, where each element is an absolute filename consisting of the individual component of the path concatenated with the (relative) library file name. Only those absolute filenames that exist are included. If no absolute filename is found, we will try the relative library name.


loadNativeCgLibrary

private boolean loadNativeCgLibrary(java.lang.String[] libpath)

unbox

private long unbox(Context ctx)

boxContext

private Context boxContext(long nativeCtx)

unbox

private long unbox(Drawable drawable)

boxDrawable

private Drawable boxDrawable(long nativeDrawable)

unbox

private long unbox(ShaderProgramId shaderProgramId)

boxShaderProgramId

private ShaderProgramId boxShaderProgramId(long nativeId)

unbox

private long unbox(ShaderId shaderId)

boxShaderId

private ShaderId boxShaderId(long nativeId)

unbox

private long unbox(ShaderAttrLoc attrLoc)

boxShaderAttrLoc

private ShaderAttrLoc boxShaderAttrLoc(long nativeId)

freeD3DArray

void freeD3DArray(GeometryArrayRetained geo,
                  boolean deleteVB)
Specified by:
freeD3DArray in class Pipeline

execute

void execute(long ctx,
             GeometryArrayRetained geo,
             int geo_type,
             boolean isNonUniformScale,
             boolean useAlpha,
             boolean ignoreVertexColors,
             int startVIndex,
             int vcount,
             int vformat,
             int texCoordSetCount,
             int[] texCoordSetMap,
             int texCoordSetMapLen,
             int[] texCoordSetOffset,
             int numActiveTexUnitState,
             int vertexAttrCount,
             int[] vertexAttrSizes,
             float[] varray,
             float[] cdata,
             int cdirty)

execute

void execute(Context ctx,
             GeometryArrayRetained geo,
             int geo_type,
             boolean isNonUniformScale,
             boolean useAlpha,
             boolean ignoreVertexColors,
             int startVIndex,
             int vcount,
             int vformat,
             int texCoordSetCount,
             int[] texCoordSetMap,
             int texCoordSetMapLen,
             int[] texCoordSetOffset,
             int numActiveTexUnitState,
             int vertexAttrCount,
             int[] vertexAttrSizes,
             float[] varray,
             float[] cdata,
             int cdirty)
Specified by:
execute in class Pipeline

executeVA

void executeVA(long ctx,
               GeometryArrayRetained geo,
               int geo_type,
               boolean isNonUniformScale,
               boolean ignoreVertexColors,
               int vcount,
               int vformat,
               int vdefined,
               int coordIndex,
               float[] vfcoords,
               double[] vdcoords,
               int colorIndex,
               float[] cfdata,
               byte[] cbdata,
               int normalIndex,
               float[] ndata,
               int vertexAttrCount,
               int[] vertexAttrSizes,
               int[] vertexAttrIndex,
               float[][] vertexAttrData,
               int texcoordmaplength,
               int[] texcoordoffset,
               int numActiveTexUnitState,
               int[] texIndex,
               int texstride,
               java.lang.Object[] texCoords,
               int cdirty)

executeVA

void executeVA(Context ctx,
               GeometryArrayRetained geo,
               int geo_type,
               boolean isNonUniformScale,
               boolean ignoreVertexColors,
               int vcount,
               int vformat,
               int vdefined,
               int coordIndex,
               float[] vfcoords,
               double[] vdcoords,
               int colorIndex,
               float[] cfdata,
               byte[] cbdata,
               int normalIndex,
               float[] ndata,
               int vertexAttrCount,
               int[] vertexAttrSizes,
               int[] vertexAttrIndex,
               float[][] vertexAttrData,
               int texcoordmaplength,
               int[] texcoordoffset,
               int numActiveTexUnitState,
               int[] texIndex,
               int texstride,
               java.lang.Object[] texCoords,
               int cdirty)
Specified by:
executeVA in class Pipeline

executeVABuffer

void executeVABuffer(long ctx,
                     GeometryArrayRetained geo,
                     int geo_type,
                     boolean isNonUniformScale,
                     boolean ignoreVertexColors,
                     int vcount,
                     int vformat,
                     int vdefined,
                     int coordIndex,
                     java.lang.Object vcoords,
                     int colorIndex,
                     java.lang.Object cdataBuffer,
                     float[] cfdata,
                     byte[] cbdata,
                     int normalIndex,
                     java.lang.Object ndata,
                     int vertexAttrCount,
                     int[] vertexAttrSizes,
                     int[] vertexAttrIndex,
                     java.lang.Object[] vertexAttrData,
                     int texcoordmaplength,
                     int[] texcoordoffset,
                     int numActiveTexUnitState,
                     int[] texIndex,
                     int texstride,
                     java.lang.Object[] texCoords,
                     int cdirty)

executeVABuffer

void executeVABuffer(Context ctx,
                     GeometryArrayRetained geo,
                     int geo_type,
                     boolean isNonUniformScale,
                     boolean ignoreVertexColors,
                     int vcount,
                     int vformat,
                     int vdefined,
                     int coordIndex,
                     java.lang.Object vcoords,
                     int colorIndex,
                     java.lang.Object cdataBuffer,
                     float[] cfdata,
                     byte[] cbdata,
                     int normalIndex,
                     java.lang.Object ndata,
                     int vertexAttrCount,
                     int[] vertexAttrSizes,
                     int[] vertexAttrIndex,
                     java.lang.Object[] vertexAttrData,
                     int texcoordmaplength,
                     int[] texcoordoffset,
                     int numActiveTexUnitState,
                     int[] texIndex,
                     int texstride,
                     java.lang.Object[] texCoords,
                     int cdirty)
Specified by:
executeVABuffer in class Pipeline

executeInterleavedBuffer

void executeInterleavedBuffer(long ctx,
                              GeometryArrayRetained geo,
                              int geo_type,
                              boolean isNonUniformScale,
                              boolean useAlpha,
                              boolean ignoreVertexColors,
                              int startVIndex,
                              int vcount,
                              int vformat,
                              int texCoordSetCount,
                              int[] texCoordSetMap,
                              int texCoordSetMapLen,
                              int[] texCoordSetOffset,
                              int numActiveTexUnitState,
                              java.lang.Object varray,
                              float[] cdata,
                              int cdirty)

executeInterleavedBuffer

void executeInterleavedBuffer(Context ctx,
                              GeometryArrayRetained geo,
                              int geo_type,
                              boolean isNonUniformScale,
                              boolean useAlpha,
                              boolean ignoreVertexColors,
                              int startVIndex,
                              int vcount,
                              int vformat,
                              int texCoordSetCount,
                              int[] texCoordSetMap,
                              int texCoordSetMapLen,
                              int[] texCoordSetOffset,
                              int numActiveTexUnitState,
                              java.lang.Object varray,
                              float[] cdata,
                              int cdirty)
Specified by:
executeInterleavedBuffer in class Pipeline

setVertexFormat

void setVertexFormat(long ctx,
                     GeometryArrayRetained geo,
                     int vformat,
                     boolean useAlpha,
                     boolean ignoreVertexColors)

setVertexFormat

void setVertexFormat(Context ctx,
                     GeometryArrayRetained geo,
                     int vformat,
                     boolean useAlpha,
                     boolean ignoreVertexColors)
Specified by:
setVertexFormat in class Pipeline

disableGlobalAlpha

void disableGlobalAlpha(long ctx,
                        GeometryArrayRetained geo,
                        int vformat,
                        boolean useAlpha,
                        boolean ignoreVertexColors)

disableGlobalAlpha

void disableGlobalAlpha(Context ctx,
                        GeometryArrayRetained geo,
                        int vformat,
                        boolean useAlpha,
                        boolean ignoreVertexColors)
Specified by:
disableGlobalAlpha in class Pipeline

buildGA

void buildGA(long ctx,
             GeometryArrayRetained geo,
             int geo_type,
             boolean isNonUniformScale,
             boolean updateAlpha,
             float alpha,
             boolean ignoreVertexColors,
             int startVIndex,
             int vcount,
             int vformat,
             int texCoordSetCount,
             int[] texCoordSetMap,
             int texCoordSetMapLen,
             int[] texCoordSetMapOffset,
             int vertexAttrCount,
             int[] vertexAttrSizes,
             double[] xform,
             double[] nxform,
             float[] varray)

buildGA

void buildGA(Context ctx,
             GeometryArrayRetained geo,
             int geo_type,
             boolean isNonUniformScale,
             boolean updateAlpha,
             float alpha,
             boolean ignoreVertexColors,
             int startVIndex,
             int vcount,
             int vformat,
             int texCoordSetCount,
             int[] texCoordSetMap,
             int texCoordSetMapLen,
             int[] texCoordSetMapOffset,
             int vertexAttrCount,
             int[] vertexAttrSizes,
             double[] xform,
             double[] nxform,
             float[] varray)
Specified by:
buildGA in class Pipeline

buildGAForByRef

void buildGAForByRef(long ctx,
                     GeometryArrayRetained geo,
                     int geo_type,
                     boolean isNonUniformScale,
                     boolean updateAlpha,
                     float alpha,
                     boolean ignoreVertexColors,
                     int vcount,
                     int vformat,
                     int vdefined,
                     int coordIndex,
                     float[] vfcoords,
                     double[] vdcoords,
                     int colorIndex,
                     float[] cfdata,
                     byte[] cbdata,
                     int normalIndex,
                     float[] ndata,
                     int vertexAttrCount,
                     int[] vertexAttrSizes,
                     int[] vertexAttrIndex,
                     float[][] vertexAttrData,
                     int texcoordmaplength,
                     int[] texcoordoffset,
                     int[] texIndex,
                     int texstride,
                     java.lang.Object[] texCoords,
                     double[] xform,
                     double[] nxform)

buildGAForByRef

void buildGAForByRef(Context ctx,
                     GeometryArrayRetained geo,
                     int geo_type,
                     boolean isNonUniformScale,
                     boolean updateAlpha,
                     float alpha,
                     boolean ignoreVertexColors,
                     int vcount,
                     int vformat,
                     int vdefined,
                     int coordIndex,
                     float[] vfcoords,
                     double[] vdcoords,
                     int colorIndex,
                     float[] cfdata,
                     byte[] cbdata,
                     int normalIndex,
                     float[] ndata,
                     int vertexAttrCount,
                     int[] vertexAttrSizes,
                     int[] vertexAttrIndex,
                     float[][] vertexAttrData,
                     int texcoordmaplength,
                     int[] texcoordoffset,
                     int[] texIndex,
                     int texstride,
                     java.lang.Object[] texCoords,
                     double[] xform,
                     double[] nxform)
Specified by:
buildGAForByRef in class Pipeline

executeIndexedGeometry

void executeIndexedGeometry(long ctx,
                            GeometryArrayRetained geo,
                            int geo_type,
                            boolean isNonUniformScale,
                            boolean useAlpha,
                            boolean ignoreVertexColors,
                            int initialIndexIndex,
                            int indexCount,
                            int vertexCount,
                            int vformat,
                            int vertexAttrCount,
                            int[] vertexAttrSizes,
                            int texCoordSetCount,
                            int[] texCoordSetMap,
                            int texCoordSetMapLen,
                            int[] texCoordSetOffset,
                            int numActiveTexUnitState,
                            float[] varray,
                            float[] cdata,
                            int cdirty,
                            int[] indexCoord)

executeIndexedGeometry

void executeIndexedGeometry(Context ctx,
                            GeometryArrayRetained geo,
                            int geo_type,
                            boolean isNonUniformScale,
                            boolean useAlpha,
                            boolean ignoreVertexColors,
                            int initialIndexIndex,
                            int indexCount,
                            int vertexCount,
                            int vformat,
                            int vertexAttrCount,
                            int[] vertexAttrSizes,
                            int texCoordSetCount,
                            int[] texCoordSetMap,
                            int texCoordSetMapLen,
                            int[] texCoordSetOffset,
                            int numActiveTexUnitState,
                            float[] varray,
                            float[] cdata,
                            int cdirty,
                            int[] indexCoord)
Specified by:
executeIndexedGeometry in class Pipeline

executeIndexedGeometryBuffer

void executeIndexedGeometryBuffer(long ctx,
                                  GeometryArrayRetained geo,
                                  int geo_type,
                                  boolean isNonUniformScale,
                                  boolean useAlpha,
                                  boolean ignoreVertexColors,
                                  int initialIndexIndex,
                                  int indexCount,
                                  int vertexCount,
                                  int vformat,
                                  int texCoordSetCount,
                                  int[] texCoordSetMap,
                                  int texCoordSetMapLen,
                                  int[] texCoordSetOffset,
                                  int numActiveTexUnitState,
                                  java.lang.Object varray,
                                  float[] cdata,
                                  int cdirty,
                                  int[] indexCoord)

executeIndexedGeometryBuffer

void executeIndexedGeometryBuffer(Context ctx,
                                  GeometryArrayRetained geo,
                                  int geo_type,
                                  boolean isNonUniformScale,
                                  boolean useAlpha,
                                  boolean ignoreVertexColors,
                                  int initialIndexIndex,
                                  int indexCount,
                                  int vertexCount,
                                  int vformat,
                                  int texCoordSetCount,
                                  int[] texCoordSetMap,
                                  int texCoordSetMapLen,
                                  int[] texCoordSetOffset,
                                  int numActiveTexUnitState,
                                  java.lang.Object varray,
                                  float[] cdata,
                                  int cdirty,
                                  int[] indexCoord)
Specified by:
executeIndexedGeometryBuffer in class Pipeline

executeIndexedGeometryVA

void executeIndexedGeometryVA(long ctx,
                              GeometryArrayRetained geo,
                              int geo_type,
                              boolean isNonUniformScale,
                              boolean ignoreVertexColors,
                              int initialIndexIndex,
                              int validIndexCount,
                              int vertexCount,
                              int vformat,
                              int vdefined,
                              float[] vfcoords,
                              double[] vdcoords,
                              float[] cfdata,
                              byte[] cbdata,
                              float[] ndata,
                              int vertexAttrCount,
                              int[] vertexAttrSizes,
                              float[][] vertexAttrData,
                              int texcoordmaplength,
                              int[] texcoordoffset,
                              int numActiveTexUnitState,
                              int texstride,
                              java.lang.Object[] texCoords,
                              int cdirty,
                              int[] indexCoord)

executeIndexedGeometryVA

void executeIndexedGeometryVA(Context ctx,
                              GeometryArrayRetained geo,
                              int geo_type,
                              boolean isNonUniformScale,
                              boolean ignoreVertexColors,
                              int initialIndexIndex,
                              int validIndexCount,
                              int vertexCount,
                              int vformat,
                              int vdefined,
                              float[] vfcoords,
                              double[] vdcoords,
                              float[] cfdata,
                              byte[] cbdata,
                              float[] ndata,
                              int vertexAttrCount,
                              int[] vertexAttrSizes,
                              float[][] vertexAttrData,
                              int texcoordmaplength,
                              int[] texcoordoffset,
                              int numActiveTexUnitState,
                              int texstride,
                              java.lang.Object[] texCoords,
                              int cdirty,
                              int[] indexCoord)
Specified by:
executeIndexedGeometryVA in class Pipeline

executeIndexedGeometryVABuffer

void executeIndexedGeometryVABuffer(long ctx,
                                    GeometryArrayRetained geo,
                                    int geo_type,
                                    boolean isNonUniformScale,
                                    boolean ignoreVertexColors,
                                    int initialIndexIndex,
                                    int validIndexCount,
                                    int vertexCount,
                                    int vformat,
                                    int vdefined,
                                    java.lang.Object vcoords,
                                    java.lang.Object cdataBuffer,
                                    float[] cfdata,
                                    byte[] cbdata,
                                    java.lang.Object normal,
                                    int vertexAttrCount,
                                    int[] vertexAttrSizes,
                                    java.lang.Object[] vertexAttrData,
                                    int texcoordmaplength,
                                    int[] texcoordoffset,
                                    int numActiveTexUnitState,
                                    int texstride,
                                    java.lang.Object[] texCoords,
                                    int cdirty,
                                    int[] indexCoord)

executeIndexedGeometryVABuffer

void executeIndexedGeometryVABuffer(Context ctx,
                                    GeometryArrayRetained geo,
                                    int geo_type,
                                    boolean isNonUniformScale,
                                    boolean ignoreVertexColors,
                                    int initialIndexIndex,
                                    int validIndexCount,
                                    int vertexCount,
                                    int vformat,
                                    int vdefined,
                                    java.lang.Object vcoords,
                                    java.lang.Object cdataBuffer,
                                    float[] cfdata,
                                    byte[] cbdata,
                                    java.lang.Object normal,
                                    int vertexAttrCount,
                                    int[] vertexAttrSizes,
                                    java.lang.Object[] vertexAttrData,
                                    int texcoordmaplength,
                                    int[] texcoordoffset,
                                    int numActiveTexUnitState,
                                    int texstride,
                                    java.lang.Object[] texCoords,
                                    int cdirty,
                                    int[] indexCoord)
Specified by:
executeIndexedGeometryVABuffer in class Pipeline

buildIndexedGeometry

void buildIndexedGeometry(long ctx,
                          GeometryArrayRetained geo,
                          int geo_type,
                          boolean isNonUniformScale,
                          boolean updateAlpha,
                          float alpha,
                          boolean ignoreVertexColors,
                          int initialIndexIndex,
                          int validIndexCount,
                          int vertexCount,
                          int vformat,
                          int vertexAttrCount,
                          int[] vertexAttrSizes,
                          int texCoordSetCount,
                          int[] texCoordSetMap,
                          int texCoordSetMapLen,
                          int[] texCoordSetMapOffset,
                          double[] xform,
                          double[] nxform,
                          float[] varray,
                          int[] indexCoord)

buildIndexedGeometry

void buildIndexedGeometry(Context ctx,
                          GeometryArrayRetained geo,
                          int geo_type,
                          boolean isNonUniformScale,
                          boolean updateAlpha,
                          float alpha,
                          boolean ignoreVertexColors,
                          int initialIndexIndex,
                          int validIndexCount,
                          int vertexCount,
                          int vformat,
                          int vertexAttrCount,
                          int[] vertexAttrSizes,
                          int texCoordSetCount,
                          int[] texCoordSetMap,
                          int texCoordSetMapLen,
                          int[] texCoordSetMapOffset,
                          double[] xform,
                          double[] nxform,
                          float[] varray,
                          int[] indexCoord)
Specified by:
buildIndexedGeometry in class Pipeline

readRaster

void readRaster(long ctx,
                int type,
                int xSrcOffset,
                int ySrcOffset,
                int width,
                int height,
                int hCanvas,
                int imageDataType,
                int imageFormat,
                java.lang.Object imageBuffer,
                int depthFormat,
                java.lang.Object depthBuffer)

readRaster

void readRaster(Context ctx,
                int type,
                int xSrcOffset,
                int ySrcOffset,
                int width,
                int height,
                int hCanvas,
                int imageDataType,
                int imageFormat,
                java.lang.Object imageBuffer,
                int depthFormat,
                java.lang.Object depthBuffer)
Specified by:
readRaster in class Pipeline

setCgUniform1i

ShaderError setCgUniform1i(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           int value)

setCgUniform1i

ShaderError setCgUniform1i(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           int value)
Specified by:
setCgUniform1i in class Pipeline

setCgUniform1f

ShaderError setCgUniform1f(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           float value)

setCgUniform1f

ShaderError setCgUniform1f(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           float value)
Specified by:
setCgUniform1f in class Pipeline

setCgUniform2i

ShaderError setCgUniform2i(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           int[] value)

setCgUniform2i

ShaderError setCgUniform2i(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           int[] value)
Specified by:
setCgUniform2i in class Pipeline

setCgUniform2f

ShaderError setCgUniform2f(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           float[] value)

setCgUniform2f

ShaderError setCgUniform2f(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           float[] value)
Specified by:
setCgUniform2f in class Pipeline

setCgUniform3i

ShaderError setCgUniform3i(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           int[] value)

setCgUniform3i

ShaderError setCgUniform3i(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           int[] value)
Specified by:
setCgUniform3i in class Pipeline

setCgUniform3f

ShaderError setCgUniform3f(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           float[] value)

setCgUniform3f

ShaderError setCgUniform3f(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           float[] value)
Specified by:
setCgUniform3f in class Pipeline

setCgUniform4i

ShaderError setCgUniform4i(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           int[] value)

setCgUniform4i

ShaderError setCgUniform4i(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           int[] value)
Specified by:
setCgUniform4i in class Pipeline

setCgUniform4f

ShaderError setCgUniform4f(long ctx,
                           long shaderProgramId,
                           long uniformLocation,
                           float[] value)

setCgUniform4f

ShaderError setCgUniform4f(Context ctx,
                           ShaderProgramId shaderProgramId,
                           ShaderAttrLoc uniformLocation,
                           float[] value)
Specified by:
setCgUniform4f in class Pipeline

setCgUniformMatrix3f

ShaderError setCgUniformMatrix3f(long ctx,
                                 long shaderProgramId,
                                 long uniformLocation,
                                 float[] value)

setCgUniformMatrix3f

ShaderError setCgUniformMatrix3f(Context ctx,
                                 ShaderProgramId shaderProgramId,
                                 ShaderAttrLoc uniformLocation,
                                 float[] value)
Specified by:
setCgUniformMatrix3f in class Pipeline

setCgUniformMatrix4f

ShaderError setCgUniformMatrix4f(long ctx,
                                 long shaderProgramId,
                                 long uniformLocation,
                                 float[] value)

setCgUniformMatrix4f

ShaderError setCgUniformMatrix4f(Context ctx,
                                 ShaderProgramId shaderProgramId,
                                 ShaderAttrLoc uniformLocation,
                                 float[] value)
Specified by:
setCgUniformMatrix4f in class Pipeline

setCgUniform1iArray

ShaderError setCgUniform1iArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                int[] value)

setCgUniform1iArray

ShaderError setCgUniform1iArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                int[] value)
Specified by:
setCgUniform1iArray in class Pipeline

setCgUniform1fArray

ShaderError setCgUniform1fArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                float[] value)

setCgUniform1fArray

ShaderError setCgUniform1fArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                float[] value)
Specified by:
setCgUniform1fArray in class Pipeline

setCgUniform2iArray

ShaderError setCgUniform2iArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                int[] value)

setCgUniform2iArray

ShaderError setCgUniform2iArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                int[] value)
Specified by:
setCgUniform2iArray in class Pipeline

setCgUniform2fArray

ShaderError setCgUniform2fArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                float[] value)

setCgUniform2fArray

ShaderError setCgUniform2fArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                float[] value)
Specified by:
setCgUniform2fArray in class Pipeline

setCgUniform3iArray

ShaderError setCgUniform3iArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                int[] value)

setCgUniform3iArray

ShaderError setCgUniform3iArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                int[] value)
Specified by:
setCgUniform3iArray in class Pipeline

setCgUniform3fArray

ShaderError setCgUniform3fArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                float[] value)

setCgUniform3fArray

ShaderError setCgUniform3fArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                float[] value)
Specified by:
setCgUniform3fArray in class Pipeline

setCgUniform4iArray

ShaderError setCgUniform4iArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                int[] value)

setCgUniform4iArray

ShaderError setCgUniform4iArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                int[] value)
Specified by:
setCgUniform4iArray in class Pipeline

setCgUniform4fArray

ShaderError setCgUniform4fArray(long ctx,
                                long shaderProgramId,
                                long uniformLocation,
                                int numElements,
                                float[] value)

setCgUniform4fArray

ShaderError setCgUniform4fArray(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderAttrLoc uniformLocation,
                                int numElements,
                                float[] value)
Specified by:
setCgUniform4fArray in class Pipeline

setCgUniformMatrix3fArray

ShaderError setCgUniformMatrix3fArray(long ctx,
                                      long shaderProgramId,
                                      long uniformLocation,
                                      int numElements,
                                      float[] value)

setCgUniformMatrix3fArray

ShaderError setCgUniformMatrix3fArray(Context ctx,
                                      ShaderProgramId shaderProgramId,
                                      ShaderAttrLoc uniformLocation,
                                      int numElements,
                                      float[] value)
Specified by:
setCgUniformMatrix3fArray in class Pipeline

setCgUniformMatrix4fArray

ShaderError setCgUniformMatrix4fArray(long ctx,
                                      long shaderProgramId,
                                      long uniformLocation,
                                      int numElements,
                                      float[] value)

setCgUniformMatrix4fArray

ShaderError setCgUniformMatrix4fArray(Context ctx,
                                      ShaderProgramId shaderProgramId,
                                      ShaderAttrLoc uniformLocation,
                                      int numElements,
                                      float[] value)
Specified by:
setCgUniformMatrix4fArray in class Pipeline

createCgShader

ShaderError createCgShader(long ctx,
                           int shaderType,
                           long[] shaderId)

createCgShader

ShaderError createCgShader(Context ctx,
                           int shaderType,
                           ShaderId[] shaderId)
Specified by:
createCgShader in class Pipeline

destroyCgShader

ShaderError destroyCgShader(long ctx,
                            long shaderId)

destroyCgShader

ShaderError destroyCgShader(Context ctx,
                            ShaderId shaderId)
Specified by:
destroyCgShader in class Pipeline

compileCgShader

ShaderError compileCgShader(long ctx,
                            long shaderId,
                            java.lang.String program)

compileCgShader

ShaderError compileCgShader(Context ctx,
                            ShaderId shaderId,
                            java.lang.String program)
Specified by:
compileCgShader in class Pipeline

createCgShaderProgram

ShaderError createCgShaderProgram(long ctx,
                                  long[] shaderProgramId)

createCgShaderProgram

ShaderError createCgShaderProgram(Context ctx,
                                  ShaderProgramId[] shaderProgramId)
Specified by:
createCgShaderProgram in class Pipeline

destroyCgShaderProgram

ShaderError destroyCgShaderProgram(long ctx,
                                   long shaderProgramId)

destroyCgShaderProgram

ShaderError destroyCgShaderProgram(Context ctx,
                                   ShaderProgramId shaderProgramId)
Specified by:
destroyCgShaderProgram in class Pipeline

linkCgShaderProgram

ShaderError linkCgShaderProgram(long ctx,
                                long shaderProgramId,
                                long[] shaderIds)

linkCgShaderProgram

ShaderError linkCgShaderProgram(Context ctx,
                                ShaderProgramId shaderProgramId,
                                ShaderId[] shaderIds)
Specified by:
linkCgShaderProgram in class Pipeline

lookupCgVertexAttrNames

void lookupCgVertexAttrNames(long ctx,
                             long shaderProgramId,
                             int numAttrNames,
                             java.lang.String[] attrNames,
                             boolean[] errArr)

lookupCgVertexAttrNames

void lookupCgVertexAttrNames(Context ctx,
                             ShaderProgramId shaderProgramId,
                             int numAttrNames,
                             java.lang.String[] attrNames,
                             boolean[] errArr)
Specified by:
lookupCgVertexAttrNames in class Pipeline

lookupCgShaderAttrNames

void lookupCgShaderAttrNames(long ctx,
                             long shaderProgramId,
                             int numAttrNames,
                             java.lang.String[] attrNames,
                             long[] locArr,
                             int[] typeArr,
                             int[] sizeArr,
                             boolean[] isArrayArr)

lookupCgShaderAttrNames

void lookupCgShaderAttrNames(Context ctx,
                             ShaderProgramId shaderProgramId,
                             int numAttrNames,
                             java.lang.String[] attrNames,
                             ShaderAttrLoc[] locArr,
                             int[] typeArr,
                             int[] sizeArr,
                             boolean[] isArrayArr)
Specified by:
lookupCgShaderAttrNames in class Pipeline

useCgShaderProgram

ShaderError useCgShaderProgram(long ctx,
                               long shaderProgramId)

useCgShaderProgram

ShaderError useCgShaderProgram(Context ctx,
                               ShaderProgramId shaderProgramId)
Specified by:
useCgShaderProgram in class Pipeline

setGLSLUniform1i

ShaderError setGLSLUniform1i(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             int value)

setGLSLUniform1i

ShaderError setGLSLUniform1i(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             int value)
Specified by:
setGLSLUniform1i in class Pipeline

setGLSLUniform1f

ShaderError setGLSLUniform1f(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             float value)

setGLSLUniform1f

ShaderError setGLSLUniform1f(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             float value)
Specified by:
setGLSLUniform1f in class Pipeline

setGLSLUniform2i

ShaderError setGLSLUniform2i(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             int[] value)

setGLSLUniform2i

ShaderError setGLSLUniform2i(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             int[] value)
Specified by:
setGLSLUniform2i in class Pipeline

setGLSLUniform2f

ShaderError setGLSLUniform2f(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             float[] value)

setGLSLUniform2f

ShaderError setGLSLUniform2f(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             float[] value)
Specified by:
setGLSLUniform2f in class Pipeline

setGLSLUniform3i

ShaderError setGLSLUniform3i(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             int[] value)

setGLSLUniform3i

ShaderError setGLSLUniform3i(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             int[] value)
Specified by:
setGLSLUniform3i in class Pipeline

setGLSLUniform3f

ShaderError setGLSLUniform3f(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             float[] value)

setGLSLUniform3f

ShaderError setGLSLUniform3f(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             float[] value)
Specified by:
setGLSLUniform3f in class Pipeline

setGLSLUniform4i

ShaderError setGLSLUniform4i(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             int[] value)

setGLSLUniform4i

ShaderError setGLSLUniform4i(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             int[] value)
Specified by:
setGLSLUniform4i in class Pipeline

setGLSLUniform4f

ShaderError setGLSLUniform4f(long ctx,
                             long shaderProgramId,
                             long uniformLocation,
                             float[] value)

setGLSLUniform4f

ShaderError setGLSLUniform4f(Context ctx,
                             ShaderProgramId shaderProgramId,
                             ShaderAttrLoc uniformLocation,
                             float[] value)
Specified by:
setGLSLUniform4f in class Pipeline

setGLSLUniformMatrix3f

ShaderError setGLSLUniformMatrix3f(long ctx,
                                   long shaderProgramId,
                                   long uniformLocation,
                                   float[] value)

setGLSLUniformMatrix3f

ShaderError setGLSLUniformMatrix3f(Context ctx,
                                   ShaderProgramId shaderProgramId,
                                   ShaderAttrLoc uniformLocation,
                                   float[] value)
Specified by:
setGLSLUniformMatrix3f in class Pipeline

setGLSLUniformMatrix4f

ShaderError setGLSLUniformMatrix4f(long ctx,
                                   long shaderProgramId,
                                   long uniformLocation,
                                   float[] value)

setGLSLUniformMatrix4f

ShaderError setGLSLUniformMatrix4f(Context ctx,
                                   ShaderProgramId shaderProgramId,
                                   ShaderAttrLoc uniformLocation,
                                   float[] value)
Specified by:
setGLSLUniformMatrix4f in class Pipeline

setGLSLUniform1iArray

ShaderError setGLSLUniform1iArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  int[] value)

setGLSLUniform1iArray

ShaderError setGLSLUniform1iArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  int[] value)
Specified by:
setGLSLUniform1iArray in class Pipeline

setGLSLUniform1fArray

ShaderError setGLSLUniform1fArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  float[] value)

setGLSLUniform1fArray

ShaderError setGLSLUniform1fArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  float[] value)
Specified by:
setGLSLUniform1fArray in class Pipeline

setGLSLUniform2iArray

ShaderError setGLSLUniform2iArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  int[] value)

setGLSLUniform2iArray

ShaderError setGLSLUniform2iArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  int[] value)
Specified by:
setGLSLUniform2iArray in class Pipeline

setGLSLUniform2fArray

ShaderError setGLSLUniform2fArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  float[] value)

setGLSLUniform2fArray

ShaderError setGLSLUniform2fArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  float[] value)
Specified by:
setGLSLUniform2fArray in class Pipeline

setGLSLUniform3iArray

ShaderError setGLSLUniform3iArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  int[] value)

setGLSLUniform3iArray

ShaderError setGLSLUniform3iArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  int[] value)
Specified by:
setGLSLUniform3iArray in class Pipeline

setGLSLUniform3fArray

ShaderError setGLSLUniform3fArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  float[] value)

setGLSLUniform3fArray

ShaderError setGLSLUniform3fArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  float[] value)
Specified by:
setGLSLUniform3fArray in class Pipeline

setGLSLUniform4iArray

ShaderError setGLSLUniform4iArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  int[] value)

setGLSLUniform4iArray

ShaderError setGLSLUniform4iArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  int[] value)
Specified by:
setGLSLUniform4iArray in class Pipeline

setGLSLUniform4fArray

ShaderError setGLSLUniform4fArray(long ctx,
                                  long shaderProgramId,
                                  long uniformLocation,
                                  int numElements,
                                  float[] value)

setGLSLUniform4fArray

ShaderError setGLSLUniform4fArray(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderAttrLoc uniformLocation,
                                  int numElements,
                                  float[] value)
Specified by:
setGLSLUniform4fArray in class Pipeline

setGLSLUniformMatrix3fArray

ShaderError setGLSLUniformMatrix3fArray(long ctx,
                                        long shaderProgramId,
                                        long uniformLocation,
                                        int numElements,
                                        float[] value)

setGLSLUniformMatrix3fArray

ShaderError setGLSLUniformMatrix3fArray(Context ctx,
                                        ShaderProgramId shaderProgramId,
                                        ShaderAttrLoc uniformLocation,
                                        int numElements,
                                        float[] value)
Specified by:
setGLSLUniformMatrix3fArray in class Pipeline

setGLSLUniformMatrix4fArray

ShaderError setGLSLUniformMatrix4fArray(long ctx,
                                        long shaderProgramId,
                                        long uniformLocation,
                                        int numElements,
                                        float[] value)

setGLSLUniformMatrix4fArray

ShaderError setGLSLUniformMatrix4fArray(Context ctx,
                                        ShaderProgramId shaderProgramId,
                                        ShaderAttrLoc uniformLocation,
                                        int numElements,
                                        float[] value)
Specified by:
setGLSLUniformMatrix4fArray in class Pipeline

createGLSLShader

ShaderError createGLSLShader(long ctx,
                             int shaderType,
                             long[] shaderId)

createGLSLShader

ShaderError createGLSLShader(Context ctx,
                             int shaderType,
                             ShaderId[] shaderId)
Specified by:
createGLSLShader in class Pipeline

destroyGLSLShader

ShaderError destroyGLSLShader(long ctx,
                              long shaderId)

destroyGLSLShader

ShaderError destroyGLSLShader(Context ctx,
                              ShaderId shaderId)
Specified by:
destroyGLSLShader in class Pipeline

compileGLSLShader

ShaderError compileGLSLShader(long ctx,
                              long shaderId,
                              java.lang.String program)

compileGLSLShader

ShaderError compileGLSLShader(Context ctx,
                              ShaderId shaderId,
                              java.lang.String program)
Specified by:
compileGLSLShader in class Pipeline

createGLSLShaderProgram

ShaderError createGLSLShaderProgram(long ctx,
                                    long[] shaderProgramId)

createGLSLShaderProgram

ShaderError createGLSLShaderProgram(Context ctx,
                                    ShaderProgramId[] shaderProgramId)
Specified by:
createGLSLShaderProgram in class Pipeline

destroyGLSLShaderProgram

ShaderError destroyGLSLShaderProgram(long ctx,
                                     long shaderProgramId)

destroyGLSLShaderProgram

ShaderError destroyGLSLShaderProgram(Context ctx,
                                     ShaderProgramId shaderProgramId)
Specified by:
destroyGLSLShaderProgram in class Pipeline

linkGLSLShaderProgram

ShaderError linkGLSLShaderProgram(long ctx,
                                  long shaderProgramId,
                                  long[] shaderId)

linkGLSLShaderProgram

ShaderError linkGLSLShaderProgram(Context ctx,
                                  ShaderProgramId shaderProgramId,
                                  ShaderId[] shaderIds)
Specified by:
linkGLSLShaderProgram in class Pipeline

bindGLSLVertexAttrName

ShaderError bindGLSLVertexAttrName(long ctx,
                                   long shaderProgramId,
                                   java.lang.String attrName,
                                   int attrIndex)

bindGLSLVertexAttrName

ShaderError bindGLSLVertexAttrName(Context ctx,
                                   ShaderProgramId shaderProgramId,
                                   java.lang.String attrName,
                                   int attrIndex)
Specified by:
bindGLSLVertexAttrName in class Pipeline

lookupGLSLShaderAttrNames

void lookupGLSLShaderAttrNames(long ctx,
                               long shaderProgramId,
                               int numAttrNames,
                               java.lang.String[] attrNames,
                               long[] locArr,
                               int[] typeArr,
                               int[] sizeArr,
                               boolean[] isArrayArr)

lookupGLSLShaderAttrNames

void lookupGLSLShaderAttrNames(Context ctx,
                               ShaderProgramId shaderProgramId,
                               int numAttrNames,
                               java.lang.String[] attrNames,
                               ShaderAttrLoc[] locArr,
                               int[] typeArr,
                               int[] sizeArr,
                               boolean[] isArrayArr)
Specified by:
lookupGLSLShaderAttrNames in class Pipeline

useGLSLShaderProgram

ShaderError useGLSLShaderProgram(long ctx,
                                 long shaderProgramId)

useGLSLShaderProgram

ShaderError useGLSLShaderProgram(Context ctx,
                                 ShaderProgramId shaderProgramId)
Specified by:
useGLSLShaderProgram in class Pipeline

cleanupRenderer

void cleanupRenderer()
Specified by:
cleanupRenderer in class Pipeline

updateColoringAttributes

void updateColoringAttributes(long ctx,
                              float dRed,
                              float dGreen,
                              float dBlue,
                              float red,
                              float green,
                              float blue,
                              float alpha,
                              boolean lEnable,
                              int shadeModel)

updateColoringAttributes

void updateColoringAttributes(Context ctx,
                              float dRed,
                              float dGreen,
                              float dBlue,
                              float red,
                              float green,
                              float blue,
                              float alpha,
                              boolean lEnable,
                              int shadeModel)
Specified by:
updateColoringAttributes in class Pipeline

updateDirectionalLight

void updateDirectionalLight(long ctx,
                            int lightSlot,
                            float red,
                            float green,
                            float blue,
                            float x,
                            float y,
                            float z)

updateDirectionalLight

void updateDirectionalLight(Context ctx,
                            int lightSlot,
                            float red,
                            float green,
                            float blue,
                            float x,
                            float y,
                            float z)
Specified by:
updateDirectionalLight in class Pipeline

updatePointLight

void updatePointLight(long ctx,
                      int lightSlot,
                      float red,
                      float green,
                      float blue,
                      float ax,
                      float ay,
                      float az,
                      float px,
                      float py,
                      float pz)

updatePointLight

void updatePointLight(Context ctx,
                      int lightSlot,
                      float red,
                      float green,
                      float blue,
                      float ax,
                      float ay,
                      float az,
                      float px,
                      float py,
                      float pz)
Specified by:
updatePointLight in class Pipeline

updateSpotLight

void updateSpotLight(long ctx,
                     int lightSlot,
                     float red,
                     float green,
                     float blue,
                     float ax,
                     float ay,
                     float az,
                     float px,
                     float py,
                     float pz,
                     float spreadAngle,
                     float concentration,
                     float dx,
                     float dy,
                     float dz)

updateSpotLight

void updateSpotLight(Context ctx,
                     int lightSlot,
                     float red,
                     float green,
                     float blue,
                     float ax,
                     float ay,
                     float az,
                     float px,
                     float py,
                     float pz,
                     float spreadAngle,
                     float concentration,
                     float dx,
                     float dy,
                     float dz)
Specified by:
updateSpotLight in class Pipeline

updateExponentialFog

void updateExponentialFog(long ctx,
                          float red,
                          float green,
                          float blue,
                          float density)

updateExponentialFog

void updateExponentialFog(Context ctx,
                          float red,
                          float green,
                          float blue,
                          float density)
Specified by:
updateExponentialFog in class Pipeline

updateLinearFog

void updateLinearFog(long ctx,
                     float red,
                     float green,
                     float blue,
                     double fdist,
                     double bdist)

updateLinearFog

void updateLinearFog(Context ctx,
                     float red,
                     float green,
                     float blue,
                     double fdist,
                     double bdist)
Specified by:
updateLinearFog in class Pipeline

updateLineAttributes

void updateLineAttributes(long ctx,
                          float lineWidth,
                          int linePattern,
                          int linePatternMask,
                          int linePatternScaleFactor,
                          boolean lineAntialiasing)

updateLineAttributes

void updateLineAttributes(Context ctx,
                          float lineWidth,
                          int linePattern,
                          int linePatternMask,
                          int linePatternScaleFactor,
                          boolean lineAntialiasing)
Specified by:
updateLineAttributes in class Pipeline

updateMaterial

void updateMaterial(long ctx,
                    float red,
                    float green,
                    float blue,
                    float alpha,
                    float ared,
                    float agreen,
                    float ablue,
                    float ered,
                    float egreen,
                    float eblue,
                    float dred,
                    float dgreen,
                    float dblue,
                    float sred,
                    float sgreen,
                    float sblue,
                    float shininess,
                    int colorTarget,
                    boolean enable)

updateMaterial

void updateMaterial(Context ctx,
                    float red,
                    float green,
                    float blue,
                    float alpha,
                    float ared,
                    float agreen,
                    float ablue,
                    float ered,
                    float egreen,
                    float eblue,
                    float dred,
                    float dgreen,
                    float dblue,
                    float sred,
                    float sgreen,
                    float sblue,
                    float shininess,
                    int colorTarget,
                    boolean enable)
Specified by:
updateMaterial in class Pipeline

updateModelClip

void updateModelClip(long ctx,
                     int planeNum,
                     boolean enableFlag,
                     double A,
                     double B,
                     double C,
                     double D)

updateModelClip

void updateModelClip(Context ctx,
                     int planeNum,
                     boolean enableFlag,
                     double A,
                     double B,
                     double C,
                     double D)
Specified by:
updateModelClip in class Pipeline

updatePointAttributes

void updatePointAttributes(long ctx,
                           float pointSize,
                           boolean pointAntialiasing)

updatePointAttributes

void updatePointAttributes(Context ctx,
                           float pointSize,
                           boolean pointAntialiasing)
Specified by:
updatePointAttributes in class Pipeline

updatePolygonAttributes

void updatePolygonAttributes(long ctx,
                             int polygonMode,
                             int cullFace,
                             boolean backFaceNormalFlip,
                             float polygonOffset,
                             float polygonOffsetFactor)

updatePolygonAttributes

void updatePolygonAttributes(Context ctx,
                             int polygonMode,
                             int cullFace,
                             boolean backFaceNormalFlip,
                             float polygonOffset,
                             float polygonOffsetFactor)
Specified by:
updatePolygonAttributes in class Pipeline

updateRenderingAttributes

void updateRenderingAttributes(long ctx,
                               boolean depthBufferWriteEnableOverride,
                               boolean depthBufferEnableOverride,
                               boolean depthBufferEnable,
                               boolean depthBufferWriteEnable,
                               int depthTestFunction,
                               float alphaTestValue,
                               int alphaTestFunction,
                               boolean ignoreVertexColors,
                               boolean rasterOpEnable,
                               int rasterOp,
                               boolean userStencilAvailable,
                               boolean stencilEnable,
                               int stencilFailOp,
                               int stencilZFailOp,
                               int stencilZPassOp,
                               int stencilFunction,
                               int stencilReferenceValue,
                               int stencilCompareMask,
                               int stencilWriteMask)

updateRenderingAttributes

void updateRenderingAttributes(Context ctx,
                               boolean depthBufferWriteEnableOverride,
                               boolean depthBufferEnableOverride,
                               boolean depthBufferEnable,
                               boolean depthBufferWriteEnable,
                               int depthTestFunction,
                               float alphaTestValue,
                               int alphaTestFunction,
                               boolean ignoreVertexColors,
                               boolean rasterOpEnable,
                               int rasterOp,
                               boolean userStencilAvailable,
                               boolean stencilEnable,
                               int stencilFailOp,
                               int stencilZFailOp,
                               int stencilZPassOp,
                               int stencilFunction,
                               int stencilReferenceValue,
                               int stencilCompareMask,
                               int stencilWriteMask)
Specified by:
updateRenderingAttributes in class Pipeline

updateTexCoordGeneration

void updateTexCoordGeneration(long ctx,
                              boolean enable,
                              int genMode,
                              int format,
                              float planeSx,
                              float planeSy,
                              float planeSz,
                              float planeSw,
                              float planeTx,
                              float planeTy,
                              float planeTz,
                              float planeTw,
                              float planeRx,
                              float planeRy,
                              float planeRz,
                              float planeRw,
                              float planeQx,
                              float planeQy,
                              float planeQz,
                              float planeQw,
                              double[] trans)
This method updates the native context: trans contains eyeTovworld transform in d3d trans contains vworldToEye transform in ogl


updateTexCoordGeneration

void updateTexCoordGeneration(Context ctx,
                              boolean enable,
                              int genMode,
                              int format,
                              float planeSx,
                              float planeSy,
                              float planeSz,
                              float planeSw,
                              float planeTx,
                              float planeTy,
                              float planeTz,
                              float planeTw,
                              float planeRx,
                              float planeRy,
                              float planeRz,
                              float planeRw,
                              float planeQx,
                              float planeQy,
                              float planeQz,
                              float planeQw,
                              double[] trans)
Description copied from class: Pipeline
This method updates the native context: trans contains eyeTovworld transform in d3d trans contains vworldToEye transform in ogl

Specified by:
updateTexCoordGeneration in class Pipeline

updateTransparencyAttributes

void updateTransparencyAttributes(long ctx,
                                  float alpha,
                                  int geometryType,
                                  int polygonMode,
                                  boolean lineAA,
                                  boolean pointAA,
                                  int transparencyMode,
                                  int srcBlendFunction,
                                  int dstBlendFunction)

updateTransparencyAttributes

void updateTransparencyAttributes(Context ctx,
                                  float alpha,
                                  int geometryType,
                                  int polygonMode,
                                  boolean lineAA,
                                  boolean pointAA,
                                  int transparencyMode,
                                  int srcBlendFunction,
                                  int dstBlendFunction)
Specified by:
updateTransparencyAttributes in class Pipeline

updateTextureAttributes

void updateTextureAttributes(long ctx,
                             double[] transform,
                             boolean isIdentity,
                             int textureMode,
                             int perspCorrectionMode,
                             float red,
                             float green,
                             float blue,
                             float alpha,
                             int textureFormat)

updateTextureAttributes

void updateTextureAttributes(Context ctx,
                             double[] transform,
                             boolean isIdentity,
                             int textureMode,
                             int perspCorrectionMode,
                             float red,
                             float green,
                             float blue,
                             float alpha,
                             int textureFormat)
Specified by:
updateTextureAttributes in class Pipeline

updateRegisterCombiners

void updateRegisterCombiners(long ctx,
                             double[] transform,
                             boolean isIdentity,
                             int textureMode,
                             int perspCorrectionMode,
                             float red,
                             float green,
                             float blue,
                             float alpha,
                             int textureFormat,
                             int combineRgbMode,
                             int combineAlphaMode,
                             int[] combineRgbSrc,
                             int[] combineAlphaSrc,
                             int[] combineRgbFcn,
                             int[] combineAlphaFcn,
                             int combineRgbScale,
                             int combineAlphaScale)

updateRegisterCombiners

void updateRegisterCombiners(Context ctx,
                             double[] transform,
                             boolean isIdentity,
                             int textureMode,
                             int perspCorrectionMode,
                             float red,
                             float green,
                             float blue,
                             float alpha,
                             int textureFormat,
                             int combineRgbMode,
                             int combineAlphaMode,
                             int[] combineRgbSrc,
                             int[] combineAlphaSrc,
                             int[] combineRgbFcn,
                             int[] combineAlphaFcn,
                             int combineRgbScale,
                             int combineAlphaScale)
Specified by:
updateRegisterCombiners in class Pipeline

updateTextureColorTable

void updateTextureColorTable(long ctx,
                             int numComponents,
                             int colorTableSize,
                             int[] colorTable)

updateTextureColorTable

void updateTextureColorTable(Context ctx,
                             int numComponents,
                             int colorTableSize,
                             int[] colorTable)
Specified by:
updateTextureColorTable in class Pipeline

updateCombiner

void updateCombiner(long ctx,
                    int combineRgbMode,
                    int combineAlphaMode,
                    int[] combineRgbSrc,
                    int[] combineAlphaSrc,
                    int[] combineRgbFcn,
                    int[] combineAlphaFcn,
                    int combineRgbScale,
                    int combineAlphaScale)

updateCombiner

void updateCombiner(Context ctx,
                    int combineRgbMode,
                    int combineAlphaMode,
                    int[] combineRgbSrc,
                    int[] combineAlphaSrc,
                    int[] combineRgbFcn,
                    int[] combineAlphaFcn,
                    int combineRgbScale,
                    int combineAlphaScale)
Specified by:
updateCombiner in class Pipeline

updateTextureUnitState

void updateTextureUnitState(long ctx,
                            int unitIndex,
                            boolean enableFlag)

updateTextureUnitState

void updateTextureUnitState(Context ctx,
                            int unitIndex,
                            boolean enableFlag)
Specified by:
updateTextureUnitState in class Pipeline

bindTexture2D

void bindTexture2D(long ctx,
                   int objectId,
                   boolean enable)

bindTexture2D

void bindTexture2D(Context ctx,
                   int objectId,
                   boolean enable)
Specified by:
bindTexture2D in class Pipeline

updateTexture2DImage

void updateTexture2DImage(long ctx,
                          int numLevels,
                          int level,
                          int textureFormat,
                          int imageFormat,
                          int width,
                          int height,
                          int boundaryWidth,
                          int imageDataType,
                          java.lang.Object data,
                          boolean useAutoMipMap)

updateTexture2DImage

void updateTexture2DImage(Context ctx,
                          int numLevels,
                          int level,
                          int textureFormat,
                          int imageFormat,
                          int width,
                          int height,
                          int boundaryWidth,
                          int imageDataType,
                          java.lang.Object data,
                          boolean useAutoMipMap)
Specified by:
updateTexture2DImage in class Pipeline

updateTexture2DSubImage

void updateTexture2DSubImage(long ctx,
                             int level,
                             int xoffset,
                             int yoffset,
                             int textureFormat,
                             int imageFormat,
                             int imgXOffset,
                             int imgYOffset,
                             int tilew,
                             int width,
                             int height,
                             int imageDataType,
                             java.lang.Object data,
                             boolean useAutoMipMap)

updateTexture2DSubImage

void updateTexture2DSubImage(Context ctx,
                             int level,
                             int xoffset,
                             int yoffset,
                             int textureFormat,
                             int imageFormat,
                             int imgXOffset,
                             int imgYOffset,
                             int tilew,
                             int width,
                             int height,
                             int imageDataType,
                             java.lang.Object data,
                             boolean useAutoMipMap)
Specified by:
updateTexture2DSubImage in class Pipeline

updateTexture2DLodRange

void updateTexture2DLodRange(long ctx,
                             int baseLevel,
                             int maximumLevel,
                             float minimumLod,
                             float maximumLod)

updateTexture2DLodRange

void updateTexture2DLodRange(Context ctx,
                             int baseLevel,
                             int maximumLevel,
                             float minimumLod,
                             float maximumLod)
Specified by:
updateTexture2DLodRange in class Pipeline

updateTexture2DLodOffset

void updateTexture2DLodOffset(long ctx,
                              float lodOffsetX,
                              float lodOffsetY,
                              float lodOffsetZ)

updateTexture2DLodOffset

void updateTexture2DLodOffset(Context ctx,
                              float lodOffsetX,
                              float lodOffsetY,
                              float lodOffsetZ)
Specified by:
updateTexture2DLodOffset in class Pipeline

updateTexture2DBoundary

void updateTexture2DBoundary(long ctx,
                             int boundaryModeS,
                             int boundaryModeT,
                             float boundaryRed,
                             float boundaryGreen,
                             float boundaryBlue,
                             float boundaryAlpha)

updateTexture2DBoundary

void updateTexture2DBoundary(Context ctx,
                             int boundaryModeS,
                             int boundaryModeT,
                             float boundaryRed,
                             float boundaryGreen,
                             float boundaryBlue,
                             float boundaryAlpha)
Specified by:
updateTexture2DBoundary in class Pipeline

updateTexture2DFilterModes

void updateTexture2DFilterModes(long ctx,
                                int minFilter,
                                int magFilter)

updateTexture2DFilterModes

void updateTexture2DFilterModes(Context ctx,
                                int minFilter,
                                int magFilter)
Specified by:
updateTexture2DFilterModes in class Pipeline

updateTexture2DSharpenFunc

void updateTexture2DSharpenFunc(long ctx,
                                int numSharpenTextureFuncPts,
                                float[] sharpenTextureFuncPts)

updateTexture2DSharpenFunc

void updateTexture2DSharpenFunc(Context ctx,
                                int numSharpenTextureFuncPts,
                                float[] sharpenTextureFuncPts)
Specified by:
updateTexture2DSharpenFunc in class Pipeline

updateTexture2DFilter4Func

void updateTexture2DFilter4Func(long ctx,
                                int numFilter4FuncPts,
                                float[] filter4FuncPts)

updateTexture2DFilter4Func

void updateTexture2DFilter4Func(Context ctx,
                                int numFilter4FuncPts,
                                float[] filter4FuncPts)
Specified by:
updateTexture2DFilter4Func in class Pipeline

updateTexture2DAnisotropicFilter

void updateTexture2DAnisotropicFilter(long ctx,
                                      float degree)

updateTexture2DAnisotropicFilter

void updateTexture2DAnisotropicFilter(Context ctx,
                                      float degree)
Specified by:
updateTexture2DAnisotropicFilter in class Pipeline

bindTexture3D

void bindTexture3D(long ctx,
                   int objectId,
                   boolean enable)

bindTexture3D

void bindTexture3D(Context ctx,
                   int objectId,
                   boolean enable)
Specified by:
bindTexture3D in class Pipeline

updateTexture3DImage

void updateTexture3DImage(long ctx,
                          int numLevels,
                          int level,
                          int textureFormat,
                          int imageFormat,
                          int width,
                          int height,
                          int depth,
                          int boundaryWidth,
                          int imageDataType,
                          java.lang.Object imageData,
                          boolean useAutoMipMap)

updateTexture3DImage

void updateTexture3DImage(Context ctx,
                          int numLevels,
                          int level,
                          int textureFormat,
                          int imageFormat,
                          int width,
                          int height,
                          int depth,
                          int boundaryWidth,
                          int imageDataType,
                          java.lang.Object imageData,
                          boolean useAutoMipMap)
Specified by:
updateTexture3DImage in class Pipeline

updateTexture3DSubImage

void updateTexture3DSubImage(long ctx,
                             int level,
                             int xoffset,
                             int yoffset,
                             int zoffset,
                             int textureFormat,
                             int imageFormat,
                             int imgXoffset,
                             int imgYoffset,
                             int imgZoffset,
                             int tilew,
                             int tileh,
                             int width,
                             int height,
                             int depth,
                             int imageDataType,
                             java.lang.Object imageData,
                             boolean useAutoMipMap)

updateTexture3DSubImage

void updateTexture3DSubImage(Context ctx,
                             int level,
                             int xoffset,
                             int yoffset,
                             int zoffset,
                             int textureFormat,
                             int imageFormat,
                             int imgXoffset,
                             int imgYoffset,
                             int imgZoffset,
                             int tilew,
                             int tileh,
                             int width,
                             int height,
                             int depth,
                             int imageDataType,
                             java.lang.Object imageData,
                             boolean useAutoMipMap)
Specified by:
updateTexture3DSubImage in class Pipeline

updateTexture3DLodRange

void updateTexture3DLodRange(long ctx,
                             int baseLevel,
                             int maximumLevel,
                             float minimumLod,
                             float maximumLod)

updateTexture3DLodRange

void updateTexture3DLodRange(Context ctx,
                             int baseLevel,
                             int maximumLevel,
                             float minimumLod,
                             float maximumLod)
Specified by:
updateTexture3DLodRange in class Pipeline

updateTexture3DLodOffset

void updateTexture3DLodOffset(long ctx,
                              float lodOffsetX,
                              float lodOffsetY,
                              float lodOffsetZ)

updateTexture3DLodOffset

void updateTexture3DLodOffset(Context ctx,
                              float lodOffsetX,
                              float lodOffsetY,
                              float lodOffsetZ)
Specified by:
updateTexture3DLodOffset in class Pipeline

updateTexture3DBoundary

void updateTexture3DBoundary(long ctx,
                             int boundaryModeS,
                             int boundaryModeT,
                             int boundaryModeR,
                             float boundaryRed,
                             float boundaryGreen,
                             float boundaryBlue,
                             float boundaryAlpha)

updateTexture3DBoundary

void updateTexture3DBoundary(Context ctx,
                             int boundaryModeS,
                             int boundaryModeT,
                             int boundaryModeR,
                             float boundaryRed,
                             float boundaryGreen,
                             float boundaryBlue,
                             float boundaryAlpha)
Specified by:
updateTexture3DBoundary in class Pipeline

updateTexture3DFilterModes

void updateTexture3DFilterModes(long ctx,
                                int minFilter,
                                int magFilter)

updateTexture3DFilterModes

void updateTexture3DFilterModes(Context ctx,
                                int minFilter,
                                int magFilter)
Specified by:
updateTexture3DFilterModes in class Pipeline

updateTexture3DSharpenFunc

void updateTexture3DSharpenFunc(long ctx,
                                int numSharpenTextureFuncPts,
                                float[] sharpenTextureFuncPts)

updateTexture3DSharpenFunc

void updateTexture3DSharpenFunc(Context ctx,
                                int numSharpenTextureFuncPts,
                                float[] sharpenTextureFuncPts)
Specified by:
updateTexture3DSharpenFunc in class Pipeline

updateTexture3DFilter4Func

void updateTexture3DFilter4Func(long ctx,
                                int numFilter4FuncPts,
                                float[] filter4FuncPts)

updateTexture3DFilter4Func

void updateTexture3DFilter4Func(Context ctx,
                                int numFilter4FuncPts,
                                float[] filter4FuncPts)
Specified by:
updateTexture3DFilter4Func in class Pipeline

updateTexture3DAnisotropicFilter

void updateTexture3DAnisotropicFilter(long ctx,
                                      float degree)

updateTexture3DAnisotropicFilter

void updateTexture3DAnisotropicFilter(Context ctx,
                                      float degree)
Specified by:
updateTexture3DAnisotropicFilter in class Pipeline

bindTextureCubeMap

void bindTextureCubeMap(long ctx,
                        int objectId,
                        boolean enable)

bindTextureCubeMap

void bindTextureCubeMap(Context ctx,
                        int objectId,
                        boolean enable)
Specified by:
bindTextureCubeMap in class Pipeline

updateTextureCubeMapImage

void updateTextureCubeMapImage(long ctx,
                               int face,
                               int numLevels,
                               int level,
                               int textureFormat,
                               int imageFormat,
                               int width,
                               int height,
                               int boundaryWidth,
                               int imageDataType,
                               java.lang.Object imageData,
                               boolean useAutoMipMap)

updateTextureCubeMapImage

void updateTextureCubeMapImage(Context ctx,
                               int face,
                               int numLevels,
                               int level,
                               int textureFormat,
                               int imageFormat,
                               int width,
                               int height,
                               int boundaryWidth,
                               int imageDataType,
                               java.lang.Object imageData,
                               boolean useAutoMipMap)
Specified by:
updateTextureCubeMapImage in class Pipeline

updateTextureCubeMapSubImage

void updateTextureCubeMapSubImage(long ctx,
                                  int face,
                                  int level,
                                  int xoffset,
                                  int yoffset,
                                  int textureFormat,
                                  int imageFormat,
                                  int imgXOffset,
                                  int imgYOffset,
                                  int tilew,
                                  int width,
                                  int height,
                                  int imageDataType,
                                  java.lang.Object imageData,
                                  boolean useAutoMipMap)

updateTextureCubeMapSubImage

void updateTextureCubeMapSubImage(Context ctx,
                                  int face,
                                  int level,
                                  int xoffset,
                                  int yoffset,
                                  int textureFormat,
                                  int imageFormat,
                                  int imgXOffset,
                                  int imgYOffset,
                                  int tilew,
                                  int width,
                                  int height,
                                  int imageDataType,
                                  java.lang.Object imageData,
                                  boolean useAutoMipMap)
Specified by:
updateTextureCubeMapSubImage in class Pipeline

updateTextureCubeMapLodRange

void updateTextureCubeMapLodRange(long ctx,
                                  int baseLevel,
                                  int maximumLevel,
                                  float minimumLod,
                                  float maximumLod)

updateTextureCubeMapLodRange

void updateTextureCubeMapLodRange(Context ctx,
                                  int baseLevel,
                                  int maximumLevel,
                                  float minimumLod,
                                  float maximumLod)
Specified by:
updateTextureCubeMapLodRange in class Pipeline

updateTextureCubeMapLodOffset

void updateTextureCubeMapLodOffset(long ctx,
                                   float lodOffsetX,
                                   float lodOffsetY,
                                   float lodOffsetZ)

updateTextureCubeMapLodOffset

void updateTextureCubeMapLodOffset(Context ctx,
                                   float lodOffsetX,
                                   float lodOffsetY,
                                   float lodOffsetZ)
Specified by:
updateTextureCubeMapLodOffset in class Pipeline

updateTextureCubeMapBoundary

void updateTextureCubeMapBoundary(long ctx,
                                  int boundaryModeS,
                                  int boundaryModeT,
                                  float boundaryRed,
                                  float boundaryGreen,
                                  float boundaryBlue,
                                  float boundaryAlpha)

updateTextureCubeMapBoundary

void updateTextureCubeMapBoundary(Context ctx,
                                  int boundaryModeS,
                                  int boundaryModeT,
                                  float boundaryRed,
                                  float boundaryGreen,
                                  float boundaryBlue,
                                  float boundaryAlpha)
Specified by:
updateTextureCubeMapBoundary in class Pipeline

updateTextureCubeMapFilterModes

void updateTextureCubeMapFilterModes(long ctx,
                                     int minFilter,
                                     int magFilter)

updateTextureCubeMapFilterModes

void updateTextureCubeMapFilterModes(Context ctx,
                                     int minFilter,
                                     int magFilter)
Specified by:
updateTextureCubeMapFilterModes in class Pipeline

updateTextureCubeMapSharpenFunc

void updateTextureCubeMapSharpenFunc(long ctx,
                                     int numSharpenTextureFuncPts,
                                     float[] sharpenTextureFuncPts)

updateTextureCubeMapSharpenFunc

void updateTextureCubeMapSharpenFunc(Context ctx,
                                     int numSharpenTextureFuncPts,
                                     float[] sharpenTextureFuncPts)
Specified by:
updateTextureCubeMapSharpenFunc in class Pipeline

updateTextureCubeMapFilter4Func

void updateTextureCubeMapFilter4Func(long ctx,
                                     int numFilter4FuncPts,
                                     float[] filter4FuncPts)

updateTextureCubeMapFilter4Func

void updateTextureCubeMapFilter4Func(Context ctx,
                                     int numFilter4FuncPts,
                                     float[] filter4FuncPts)
Specified by:
updateTextureCubeMapFilter4Func in class Pipeline

updateTextureCubeMapAnisotropicFilter

void updateTextureCubeMapAnisotropicFilter(long ctx,
                                           float degree)

updateTextureCubeMapAnisotropicFilter

void updateTextureCubeMapAnisotropicFilter(Context ctx,
                                           float degree)
Specified by:
updateTextureCubeMapAnisotropicFilter in class Pipeline

getAWT

long getAWT()
Specified by:
getAWT in class Pipeline

initializeJ3D

boolean initializeJ3D(boolean disableXinerama)
Specified by:
initializeJ3D in class Pipeline

getMaximumLights

int getMaximumLights()
Specified by:
getMaximumLights in class Pipeline

createNewContext

long createNewContext(Canvas3D cv,
                      long display,
                      long drawable,
                      long fbConfig,
                      long shareCtx,
                      boolean isSharedCtx,
                      boolean offScreen,
                      boolean glslLibraryAvailable,
                      boolean cgLibraryAvailable)

createNewContext

Context createNewContext(Canvas3D cv,
                         long display,
                         Drawable drawable,
                         long fbConfig,
                         Context shareCtx,
                         boolean isSharedCtx,
                         boolean offScreen,
                         boolean glslLibraryAvailable,
                         boolean cgLibraryAvailable)
Specified by:
createNewContext in class Pipeline

createQueryContext

void createQueryContext(Canvas3D cv,
                        long display,
                        long drawable,
                        long fbConfig,
                        boolean offScreen,
                        int width,
                        int height,
                        boolean glslLibraryAvailable,
                        boolean cgLibraryAvailable)

createQueryContext

void createQueryContext(Canvas3D cv,
                        long display,
                        Drawable drawable,
                        long fbConfig,
                        boolean offScreen,
                        int width,
                        int height,
                        boolean glslLibraryAvailable,
                        boolean cgLibraryAvailable)
Specified by:
createQueryContext in class Pipeline

createOffScreenBuffer

long createOffScreenBuffer(Canvas3D cv,
                           long ctx,
                           long display,
                           long fbConfig,
                           int width,
                           int height)

createOffScreenBuffer

Drawable createOffScreenBuffer(Canvas3D cv,
                               Context ctx,
                               long display,
                               long fbConfig,
                               int width,
                               int height)
Specified by:
createOffScreenBuffer in class Pipeline

destroyOffScreenBuffer

void destroyOffScreenBuffer(Canvas3D cv,
                            long ctx,
                            long display,
                            long fbConfig,
                            long drawable)

destroyOffScreenBuffer

void destroyOffScreenBuffer(Canvas3D cv,
                            Context ctx,
                            long display,
                            long fbConfig,
                            Drawable drawable)
Specified by:
destroyOffScreenBuffer in class Pipeline

readOffScreenBuffer

void readOffScreenBuffer(Canvas3D cv,
                         long ctx,
                         int format,
                         int type,
                         java.lang.Object data,
                         int width,
                         int height)

readOffScreenBuffer

void readOffScreenBuffer(Canvas3D cv,
                         Context ctx,
                         int format,
                         int type,
                         java.lang.Object data,
                         int width,
                         int height)
Specified by:
readOffScreenBuffer in class Pipeline

swapBuffers

int swapBuffers(Canvas3D cv,
                long ctx,
                long dpy,
                long drawable)

swapBuffers

int swapBuffers(Canvas3D cv,
                Context ctx,
                long dpy,
                Drawable drawable)
Specified by:
swapBuffers in class Pipeline

resizeD3DCanvas

int resizeD3DCanvas(Canvas3D cv,
                    long ctx)

resizeD3DCanvas

int resizeD3DCanvas(Canvas3D cv,
                    Context ctx)
Specified by:
resizeD3DCanvas in class Pipeline

toggleFullScreenMode

int toggleFullScreenMode(Canvas3D cv,
                         long ctx)

toggleFullScreenMode

int toggleFullScreenMode(Canvas3D cv,
                         Context ctx)
Specified by:
toggleFullScreenMode in class Pipeline

updateMaterialColor

void updateMaterialColor(long ctx,
                         float r,
                         float g,
                         float b,
                         float a)

updateMaterialColor

void updateMaterialColor(Context ctx,
                         float r,
                         float g,
                         float b,
                         float a)
Specified by:
updateMaterialColor in class Pipeline

destroyContext

void destroyContext(long display,
                    long drawable,
                    long ctx)

destroyContext

void destroyContext(long display,
                    Drawable drawable,
                    Context ctx)
Specified by:
destroyContext in class Pipeline

accum

void accum(long ctx,
           float value)

accum

void accum(Context ctx,
           float value)
Specified by:
accum in class Pipeline

accumReturn

void accumReturn(long ctx)

accumReturn

void accumReturn(Context ctx)
Specified by:
accumReturn in class Pipeline

clearAccum

void clearAccum(long ctx)

clearAccum

void clearAccum(Context ctx)
Specified by:
clearAccum in class Pipeline

getNumCtxLights

int getNumCtxLights(long ctx)

getNumCtxLights

int getNumCtxLights(Context ctx)
Specified by:
getNumCtxLights in class Pipeline

decal1stChildSetup

boolean decal1stChildSetup(long ctx)

decal1stChildSetup

boolean decal1stChildSetup(Context ctx)
Specified by:
decal1stChildSetup in class Pipeline

decalNthChildSetup

void decalNthChildSetup(long ctx)

decalNthChildSetup

void decalNthChildSetup(Context ctx)
Specified by:
decalNthChildSetup in class Pipeline

decalReset

void decalReset(long ctx,
                boolean depthBufferEnable)

decalReset

void decalReset(Context ctx,
                boolean depthBufferEnable)
Specified by:
decalReset in class Pipeline

ctxUpdateEyeLightingEnable

void ctxUpdateEyeLightingEnable(long ctx,
                                boolean localEyeLightingEnable)

ctxUpdateEyeLightingEnable

void ctxUpdateEyeLightingEnable(Context ctx,
                                boolean localEyeLightingEnable)
Specified by:
ctxUpdateEyeLightingEnable in class Pipeline

setBlendColor

void setBlendColor(long ctx,
                   float red,
                   float green,
                   float blue,
                   float alpha)

setBlendColor

void setBlendColor(Context ctx,
                   float red,
                   float green,
                   float blue,
                   float alpha)
Specified by:
setBlendColor in class Pipeline

setBlendFunc

void setBlendFunc(long ctx,
                  int src,
                  int dst)

setBlendFunc

void setBlendFunc(Context ctx,
                  int src,
                  int dst)
Specified by:
setBlendFunc in class Pipeline

setFogEnableFlag

void setFogEnableFlag(long ctx,
                      boolean enableFlag)

setFogEnableFlag

void setFogEnableFlag(Context ctx,
                      boolean enableFlag)
Specified by:
setFogEnableFlag in class Pipeline

setFullSceneAntialiasing

void setFullSceneAntialiasing(long ctx,
                              boolean enable)

setFullSceneAntialiasing

void setFullSceneAntialiasing(Context ctx,
                              boolean enable)
Specified by:
setFullSceneAntialiasing in class Pipeline

setGlobalAlpha

void setGlobalAlpha(long ctx,
                    float alpha)

setGlobalAlpha

void setGlobalAlpha(Context ctx,
                    float alpha)
Specified by:
setGlobalAlpha in class Pipeline

updateSeparateSpecularColorEnable

void updateSeparateSpecularColorEnable(long ctx,
                                       boolean control)

updateSeparateSpecularColorEnable

void updateSeparateSpecularColorEnable(Context ctx,
                                       boolean control)
Specified by:
updateSeparateSpecularColorEnable in class Pipeline

beginScene

void beginScene(long ctx)

beginScene

void beginScene(Context ctx)
Specified by:
beginScene in class Pipeline

endScene

void endScene(long ctx)

endScene

void endScene(Context ctx)
Specified by:
endScene in class Pipeline

validGraphicsMode

boolean validGraphicsMode()
Specified by:
validGraphicsMode in class Pipeline

setLightEnables

void setLightEnables(long ctx,
                     long enableMask,
                     int maxLights)

setLightEnables

void setLightEnables(Context ctx,
                     long enableMask,
                     int maxLights)
Specified by:
setLightEnables in class Pipeline

setSceneAmbient

void setSceneAmbient(long ctx,
                     float red,
                     float green,
                     float blue)

setSceneAmbient

void setSceneAmbient(Context ctx,
                     float red,
                     float green,
                     float blue)
Specified by:
setSceneAmbient in class Pipeline

disableFog

void disableFog(long ctx)

disableFog

void disableFog(Context ctx)
Specified by:
disableFog in class Pipeline

disableModelClip

void disableModelClip(long ctx)

disableModelClip

void disableModelClip(Context ctx)
Specified by:
disableModelClip in class Pipeline

resetRenderingAttributes

void resetRenderingAttributes(long ctx,
                              boolean depthBufferWriteEnableOverride,
                              boolean depthBufferEnableOverride)

resetRenderingAttributes

void resetRenderingAttributes(Context ctx,
                              boolean depthBufferWriteEnableOverride,
                              boolean depthBufferEnableOverride)
Specified by:
resetRenderingAttributes in class Pipeline

resetTextureNative

void resetTextureNative(long ctx,
                        int texUnitIndex)

resetTextureNative

void resetTextureNative(Context ctx,
                        int texUnitIndex)
Specified by:
resetTextureNative in class Pipeline

activeTextureUnit

void activeTextureUnit(long ctx,
                       int texUnitIndex)

activeTextureUnit

void activeTextureUnit(Context ctx,
                       int texUnitIndex)
Specified by:
activeTextureUnit in class Pipeline

resetTexCoordGeneration

void resetTexCoordGeneration(long ctx)

resetTexCoordGeneration

void resetTexCoordGeneration(Context ctx)
Specified by:
resetTexCoordGeneration in class Pipeline

resetTextureAttributes

void resetTextureAttributes(long ctx)

resetTextureAttributes

void resetTextureAttributes(Context ctx)
Specified by:
resetTextureAttributes in class Pipeline

resetPolygonAttributes

void resetPolygonAttributes(long ctx)

resetPolygonAttributes

void resetPolygonAttributes(Context ctx)
Specified by:
resetPolygonAttributes in class Pipeline

resetLineAttributes

void resetLineAttributes(long ctx)

resetLineAttributes

void resetLineAttributes(Context ctx)
Specified by:
resetLineAttributes in class Pipeline

resetPointAttributes

void resetPointAttributes(long ctx)

resetPointAttributes

void resetPointAttributes(Context ctx)
Specified by:
resetPointAttributes in class Pipeline

resetTransparency

void resetTransparency(long ctx,
                       int geometryType,
                       int polygonMode,
                       boolean lineAA,
                       boolean pointAA)

resetTransparency

void resetTransparency(Context ctx,
                       int geometryType,
                       int polygonMode,
                       boolean lineAA,
                       boolean pointAA)
Specified by:
resetTransparency in class Pipeline

resetColoringAttributes

void resetColoringAttributes(long ctx,
                             float r,
                             float g,
                             float b,
                             float a,
                             boolean enableLight)

resetColoringAttributes

void resetColoringAttributes(Context ctx,
                             float r,
                             float g,
                             float b,
                             float a,
                             boolean enableLight)
Specified by:
resetColoringAttributes in class Pipeline

syncRender

void syncRender(long ctx,
                boolean wait)
This native method makes sure that the rendering for this canvas gets done now.


syncRender

void syncRender(Context ctx,
                boolean wait)
Description copied from class: Pipeline
This native method makes sure that the rendering for this canvas gets done now.

Specified by:
syncRender in class Pipeline

useCtx

boolean useCtx(long ctx,
               long display,
               long drawable)

useCtx

boolean useCtx(Context ctx,
               long display,
               Drawable drawable)
Specified by:
useCtx in class Pipeline

clear

void clear(long ctx,
           float r,
           float g,
           float b,
           boolean clearStencil)

clear

void clear(Context ctx,
           float r,
           float g,
           float b,
           boolean clearStencil)
Specified by:
clear in class Pipeline

textureFillBackground

void textureFillBackground(long ctx,
                           float texMinU,
                           float texMaxU,
                           float texMinV,
                           float texMaxV,
                           float mapMinX,
                           float mapMaxX,
                           float mapMinY,
                           float mapMaxY,
                           boolean useBiliearFilter)

textureFillBackground

void textureFillBackground(Context ctx,
                           float texMinU,
                           float texMaxU,
                           float texMinV,
                           float texMaxV,
                           float mapMinX,
                           float mapMaxX,
                           float mapMinY,
                           float mapMaxY,
                           boolean useBiliearFilter)
Specified by:
textureFillBackground in class Pipeline

textureFillRaster

void textureFillRaster(long ctx,
                       float texMinU,
                       float texMaxU,
                       float texMinV,
                       float texMaxV,
                       float mapMinX,
                       float mapMaxX,
                       float mapMinY,
                       float mapMaxY,
                       float mapZ,
                       float alpha,
                       boolean useBiliearFilter)

textureFillRaster

void textureFillRaster(Context ctx,
                       float texMinU,
                       float texMaxU,
                       float texMinV,
                       float texMaxV,
                       float mapMinX,
                       float mapMaxX,
                       float mapMinY,
                       float mapMaxY,
                       float mapZ,
                       float alpha,
                       boolean useBiliearFilter)
Specified by:
textureFillRaster in class Pipeline

executeRasterDepth

void executeRasterDepth(long ctx,
                        float posX,
                        float posY,
                        float posZ,
                        int srcOffsetX,
                        int srcOffsetY,
                        int rasterWidth,
                        int rasterHeight,
                        int depthWidth,
                        int depthHeight,
                        int depthType,
                        java.lang.Object depthData)

executeRasterDepth

void executeRasterDepth(Context ctx,
                        float posX,
                        float posY,
                        float posZ,
                        int srcOffsetX,
                        int srcOffsetY,
                        int rasterWidth,
                        int rasterHeight,
                        int depthWidth,
                        int depthHeight,
                        int depthType,
                        java.lang.Object depthData)
Specified by:
executeRasterDepth in class Pipeline

setModelViewMatrix

void setModelViewMatrix(long ctx,
                        double[] viewMatrix,
                        double[] modelMatrix)

setModelViewMatrix

void setModelViewMatrix(Context ctx,
                        double[] viewMatrix,
                        double[] modelMatrix)
Specified by:
setModelViewMatrix in class Pipeline

setProjectionMatrix

void setProjectionMatrix(long ctx,
                         double[] projMatrix)

setProjectionMatrix

void setProjectionMatrix(Context ctx,
                         double[] projMatrix)
Specified by:
setProjectionMatrix in class Pipeline

setViewport

void setViewport(long ctx,
                 int x,
                 int y,
                 int width,
                 int height)

setViewport

void setViewport(Context ctx,
                 int x,
                 int y,
                 int width,
                 int height)
Specified by:
setViewport in class Pipeline

newDisplayList

void newDisplayList(long ctx,
                    int displayListId)

newDisplayList

void newDisplayList(Context ctx,
                    int displayListId)
Specified by:
newDisplayList in class Pipeline

endDisplayList

void endDisplayList(long ctx)

endDisplayList

void endDisplayList(Context ctx)
Specified by:
endDisplayList in class Pipeline

callDisplayList

void callDisplayList(long ctx,
                     int id,
                     boolean isNonUniformScale)

callDisplayList

void callDisplayList(Context ctx,
                     int id,
                     boolean isNonUniformScale)
Specified by:
callDisplayList in class Pipeline

freeDisplayList

void freeDisplayList(long ctx,
                     int id)

freeDisplayList

void freeDisplayList(Context ctx,
                     int id)
Specified by:
freeDisplayList in class Pipeline

freeTexture

void freeTexture(long ctx,
                 int id)

freeTexture

void freeTexture(Context ctx,
                 int id)
Specified by:
freeTexture in class Pipeline

texturemapping

void texturemapping(long ctx,
                    int px,
                    int py,
                    int xmin,
                    int ymin,
                    int xmax,
                    int ymax,
                    int texWidth,
                    int texHeight,
                    int rasWidth,
                    int format,
                    int objectId,
                    byte[] image,
                    int winWidth,
                    int winHeight)

texturemapping

void texturemapping(Context ctx,
                    int px,
                    int py,
                    int xmin,
                    int ymin,
                    int xmax,
                    int ymax,
                    int texWidth,
                    int texHeight,
                    int rasWidth,
                    int format,
                    int objectId,
                    byte[] image,
                    int winWidth,
                    int winHeight)
Specified by:
texturemapping in class Pipeline

initTexturemapping

boolean initTexturemapping(long ctx,
                           int texWidth,
                           int texHeight,
                           int objectId)

initTexturemapping

boolean initTexturemapping(Context ctx,
                           int texWidth,
                           int texHeight,
                           int objectId)
Specified by:
initTexturemapping in class Pipeline

setRenderMode

void setRenderMode(long ctx,
                   int mode,
                   boolean doubleBuffer)

setRenderMode

void setRenderMode(Context ctx,
                   int mode,
                   boolean doubleBuffer)
Specified by:
setRenderMode in class Pipeline

setDepthBufferWriteEnable

void setDepthBufferWriteEnable(long ctx,
                               boolean mode)

setDepthBufferWriteEnable

void setDepthBufferWriteEnable(Context ctx,
                               boolean mode)
Specified by:
setDepthBufferWriteEnable in class Pipeline

getGraphicsConfig

java.awt.GraphicsConfiguration getGraphicsConfig(java.awt.GraphicsConfiguration gconfig)
Specified by:
getGraphicsConfig in class Pipeline

getFbConfig

long getFbConfig(GraphicsConfigInfo gcInfo)
Specified by:
getFbConfig in class Pipeline

getBestConfiguration

java.awt.GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate3D gct,
                                                    java.awt.GraphicsConfiguration[] gc)
Specified by:
getBestConfiguration in class Pipeline

isGraphicsConfigSupported

boolean isGraphicsConfigSupported(GraphicsConfigTemplate3D gct,
                                  java.awt.GraphicsConfiguration gc)
Specified by:
isGraphicsConfigSupported in class Pipeline

hasDoubleBuffer

boolean hasDoubleBuffer(Canvas3D cv)
Specified by:
hasDoubleBuffer in class Pipeline

hasStereo

boolean hasStereo(Canvas3D cv)
Specified by:
hasStereo in class Pipeline

getStencilSize

int getStencilSize(Canvas3D cv)
Specified by:
getStencilSize in class Pipeline

hasSceneAntialiasingMultisample

boolean hasSceneAntialiasingMultisample(Canvas3D cv)
Specified by:
hasSceneAntialiasingMultisample in class Pipeline

hasSceneAntialiasingAccum

boolean hasSceneAntialiasingAccum(Canvas3D cv)
Specified by:
hasSceneAntialiasingAccum in class Pipeline

getDisplay

long getDisplay()
Specified by:
getDisplay in class Pipeline

getScreen

int getScreen(java.awt.GraphicsDevice graphicsDevice)
Specified by:
getScreen in class Pipeline

createDrawingSurfaceObject

DrawingSurfaceObject createDrawingSurfaceObject(Canvas3D cv)
Specified by:
createDrawingSurfaceObject in class Pipeline

freeDrawingSurface

void freeDrawingSurface(Canvas3D cv,
                        DrawingSurfaceObject drawingSurfaceObject)
Specified by:
freeDrawingSurface in class Pipeline

freeDrawingSurfaceNative

void freeDrawingSurfaceNative(java.lang.Object o)
Specified by:
freeDrawingSurfaceNative in class Pipeline


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.