|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.Pipeline
javax.media.j3d.NoopPipeline
class NoopPipeline
Concrete implementation of Pipeline class for the noop rendering pipeline.
Nested Class Summary | |
---|---|
(package private) static class |
NoopPipeline.NoopContext
Dummy context for noop pipeline |
Nested classes/interfaces inherited from class javax.media.j3d.Pipeline |
---|
Pipeline.Type |
Field Summary | |
---|---|
private boolean |
cgLibraryAvailable
|
Constructor Summary | |
---|---|
protected |
NoopPipeline()
Constructor for singleton NoopPipeline instance |
Method Summary | |
---|---|
(package private) void |
accum(Context ctx,
float value)
|
(package private) void |
accumReturn(Context ctx)
|
(package private) void |
activeTextureUnit(Context ctx,
int texUnitIndex)
|
(package private) void |
beginScene(Context ctx)
|
(package private) ShaderError |
bindGLSLVertexAttrName(Context ctx,
ShaderProgramId shaderProgramId,
java.lang.String attrName,
int attrIndex)
|
(package private) void |
bindTexture2D(Context ctx,
int objectId,
boolean enable)
|
(package private) void |
bindTexture3D(Context ctx,
int objectId,
boolean enable)
|
(package private) void |
bindTextureCubeMap(Context ctx,
int objectId,
boolean enable)
|
(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 |
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 |
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 |
callDisplayList(Context 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 |
clearAccum(Context ctx)
|
(package private) ShaderError |
compileCgShader(Context ctx,
ShaderId shaderId,
java.lang.String program)
|
(package private) ShaderError |
compileGLSLShader(Context ctx,
ShaderId shaderId,
java.lang.String program)
|
(package private) ShaderError |
createCgShader(Context ctx,
int shaderType,
ShaderId[] shaderId)
|
(package private) ShaderError |
createCgShaderProgram(Context ctx,
ShaderProgramId[] shaderProgramId)
|
(package private) DrawingSurfaceObject |
createDrawingSurfaceObject(Canvas3D cv)
|
(package private) ShaderError |
createGLSLShader(Context ctx,
int shaderType,
ShaderId[] shaderId)
|
(package private) ShaderError |
createGLSLShaderProgram(Context ctx,
ShaderProgramId[] 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) Drawable |
createOffScreenBuffer(Canvas3D cv,
Context 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 |
ctxUpdateEyeLightingEnable(Context ctx,
boolean localEyeLightingEnable)
|
(package private) boolean |
decal1stChildSetup(Context ctx)
|
(package private) void |
decalNthChildSetup(Context ctx)
|
(package private) void |
decalReset(Context ctx,
boolean depthBufferEnable)
|
(package private) ShaderError |
destroyCgShader(Context ctx,
ShaderId shaderId)
|
(package private) ShaderError |
destroyCgShaderProgram(Context ctx,
ShaderProgramId shaderProgramId)
|
(package private) void |
destroyContext(long display,
Drawable drawable,
Context ctx)
|
(package private) ShaderError |
destroyGLSLShader(Context ctx,
ShaderId shaderId)
|
(package private) ShaderError |
destroyGLSLShaderProgram(Context ctx,
ShaderProgramId shaderProgramId)
|
(package private) void |
destroyOffScreenBuffer(Canvas3D cv,
Context ctx,
long display,
long fbConfig,
Drawable drawable)
|
(package private) void |
disableFog(Context ctx)
|
(package private) void |
disableGlobalAlpha(Context ctx,
GeometryArrayRetained geo,
int vformat,
boolean useAlpha,
boolean ignoreVertexColors)
|
(package private) void |
disableModelClip(Context ctx)
|
(package private) void |
endDisplayList(Context ctx)
|
(package private) void |
endScene(Context 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
freeD3DArray(GeometryArrayRetained geo,
boolean deleteVB)
|
(package private) void |
freeDisplayList(Context 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) 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 |
getScreen(java.awt.GraphicsDevice graphicsDevice)
|
(package private) int |
getStencilSize(Canvas3D cv)
|
(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 |
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 |
linkGLSLShaderProgram(Context ctx,
ShaderProgramId shaderProgramId,
ShaderId[] shaderIds)
|
(package private) void |
loadLibraries(int globalShadingLanguage)
Load all of the required libraries |
(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 |
lookupCgVertexAttrNames(Context ctx,
ShaderProgramId 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 |
newDisplayList(Context 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 |
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 |
resetColoringAttributes(Context ctx,
float r,
float g,
float b,
float a,
boolean enableLight)
|
(package private) void |
resetLineAttributes(Context ctx)
|
(package private) void |
resetPointAttributes(Context ctx)
|
(package private) void |
resetPolygonAttributes(Context ctx)
|
(package private) void |
resetRenderingAttributes(Context ctx,
boolean depthBufferWriteEnableOverride,
boolean depthBufferEnableOverride)
|
(package private) void |
resetTexCoordGeneration(Context ctx)
|
(package private) void |
resetTextureAttributes(Context ctx)
|
(package private) void |
resetTextureNative(Context ctx,
int texUnitIndex)
|
(package private) void |
resetTransparency(Context ctx,
int geometryType,
int polygonMode,
boolean lineAA,
boolean pointAA)
|
(package private) int |
resizeD3DCanvas(Canvas3D cv,
Context ctx)
|
(package private) void |
setBlendColor(Context ctx,
float red,
float green,
float blue,
float alpha)
|
(package private) void |
setBlendFunc(Context ctx,
int src,
int dst)
|
(package private) ShaderError |
setCgUniform1f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float value)
|
(package private) ShaderError |
setCgUniform1fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setCgUniform1i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int value)
|
(package private) ShaderError |
setCgUniform1iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setCgUniform2f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setCgUniform2fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setCgUniform2i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value)
|
(package private) ShaderError |
setCgUniform2iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setCgUniform3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setCgUniform3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setCgUniform3i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value)
|
(package private) ShaderError |
setCgUniform3iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setCgUniform4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setCgUniform4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setCgUniform4i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value)
|
(package private) ShaderError |
setCgUniform4iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setCgUniformMatrix3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setCgUniformMatrix3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setCgUniformMatrix4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setCgUniformMatrix4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) void |
setDepthBufferWriteEnable(Context ctx,
boolean mode)
|
(package private) void |
setFogEnableFlag(Context ctx,
boolean enableFlag)
|
(package private) void |
setFullSceneAntialiasing(Context ctx,
boolean enable)
|
(package private) void |
setGlobalAlpha(Context ctx,
float alpha)
|
(package private) ShaderError |
setGLSLUniform1f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float value)
|
(package private) ShaderError |
setGLSLUniform1fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setGLSLUniform1i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int value)
|
(package private) ShaderError |
setGLSLUniform1iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setGLSLUniform2f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setGLSLUniform2fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setGLSLUniform2i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value)
|
(package private) ShaderError |
setGLSLUniform2iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setGLSLUniform3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setGLSLUniform3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setGLSLUniform3i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value)
|
(package private) ShaderError |
setGLSLUniform3iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setGLSLUniform4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setGLSLUniform4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setGLSLUniform4i(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int[] value)
|
(package private) ShaderError |
setGLSLUniform4iArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
int[] value)
|
(package private) ShaderError |
setGLSLUniformMatrix3f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setGLSLUniformMatrix3fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) ShaderError |
setGLSLUniformMatrix4f(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
float[] value)
|
(package private) ShaderError |
setGLSLUniformMatrix4fArray(Context ctx,
ShaderProgramId shaderProgramId,
ShaderAttrLoc uniformLocation,
int numElements,
float[] value)
|
(package private) void |
setLightEnables(Context ctx,
long enableMask,
int maxLights)
|
(package private) void |
setModelViewMatrix(Context ctx,
double[] viewMatrix,
double[] modelMatrix)
|
(package private) void |
setProjectionMatrix(Context ctx,
double[] projMatrix)
|
(package private) void |
setRenderMode(Context ctx,
int mode,
boolean doubleBuffer)
|
(package private) void |
setSceneAmbient(Context ctx,
float red,
float green,
float blue)
|
(package private) void |
setVertexFormat(Context 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) int |
swapBuffers(Canvas3D cv,
Context ctx,
long dpy,
Drawable 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 |
textureFillBackground(Context 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 |
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) int |
toggleFullScreenMode(Canvas3D cv,
Context ctx)
|
(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 |
updateCombiner(Context 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 |
updateExponentialFog(Context 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 |
updateLineAttributes(Context 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 |
updateMaterialColor(Context 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 |
updatePointAttributes(Context 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 |
updatePolygonAttributes(Context 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 |
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 |
updateSeparateSpecularColorEnable(Context 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 |
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 |
updateTexture2DAnisotropicFilter(Context ctx,
float degree)
|
(package private) void |
updateTexture2DBoundary(Context 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 |
updateTexture2DFilterModes(Context 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 |
updateTexture2DLodOffset(Context ctx,
float lodOffsetX,
float lodOffsetY,
float lodOffsetZ)
|
(package private) void |
updateTexture2DLodRange(Context ctx,
int baseLevel,
int maximumLevel,
float minimumLod,
float maximumLod)
|
(package private) void |
updateTexture2DSharpenFunc(Context 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 |
updateTexture3DAnisotropicFilter(Context 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 |
updateTexture3DFilter4Func(Context ctx,
int numFilter4FuncPts,
float[] filter4FuncPts)
|
(package private) void |
updateTexture3DFilterModes(Context 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 |
updateTexture3DLodOffset(Context ctx,
float lodOffsetX,
float lodOffsetY,
float lodOffsetZ)
|
(package private) void |
updateTexture3DLodRange(Context ctx,
int baseLevel,
int maximumLevel,
float minimumLod,
float maximumLod)
|
(package private) void |
updateTexture3DSharpenFunc(Context 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 imageTypeData,
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 |
updateTextureColorTable(Context ctx,
int numComponents,
int colorTableSize,
int[] colorTable)
|
(package private) void |
updateTextureCubeMapAnisotropicFilter(Context ctx,
float degree)
|
(package private) void |
updateTextureCubeMapBoundary(Context 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 |
updateTextureCubeMapFilterModes(Context 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 |
updateTextureCubeMapLodOffset(Context ctx,
float lodOffsetX,
float lodOffsetY,
float lodOffsetZ)
|
(package private) void |
updateTextureCubeMapLodRange(Context ctx,
int baseLevel,
int maximumLevel,
float minimumLod,
float maximumLod)
|
(package private) void |
updateTextureCubeMapSharpenFunc(Context 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 |
updateTextureUnitState(Context 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) ShaderError |
useCgShaderProgram(Context ctx,
ShaderProgramId shaderProgramId)
|
(package private) boolean |
useCtx(Context ctx,
long display,
Drawable drawable)
|
(package private) ShaderError |
useGLSLShaderProgram(Context ctx,
ShaderProgramId 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 |
---|
private boolean cgLibraryAvailable
Constructor Detail |
---|
protected NoopPipeline()
Method Detail |
---|
void initialize(Pipeline.Type pipelineType)
initialize
in class Pipeline
void loadLibraries(int globalShadingLanguage)
loadLibraries
in class Pipeline
boolean isCgLibraryAvailable()
isCgLibraryAvailable
in class Pipeline
boolean isGLSLLibraryAvailable()
isGLSLLibraryAvailable
in class Pipeline
void freeD3DArray(GeometryArrayRetained geo, boolean deleteVB)
freeD3DArray
in class Pipeline
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)
execute
in class Pipeline
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)
executeVA
in class Pipeline
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)
executeVABuffer
in class Pipeline
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)
executeInterleavedBuffer
in class Pipeline
void setVertexFormat(Context ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
setVertexFormat
in class Pipeline
void disableGlobalAlpha(Context ctx, GeometryArrayRetained geo, int vformat, boolean useAlpha, boolean ignoreVertexColors)
disableGlobalAlpha
in class Pipeline
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)
buildGA
in class Pipeline
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)
buildGAForByRef
in class Pipeline
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)
executeIndexedGeometry
in class Pipeline
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)
executeIndexedGeometryBuffer
in class Pipeline
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)
executeIndexedGeometryVA
in class Pipeline
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)
executeIndexedGeometryVABuffer
in class Pipeline
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)
buildIndexedGeometry
in class Pipeline
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)
readRaster
in class Pipeline
ShaderError setCgUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value)
setCgUniform1i
in class Pipeline
ShaderError setCgUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value)
setCgUniform1f
in class Pipeline
ShaderError setCgUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setCgUniform2i
in class Pipeline
ShaderError setCgUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniform2f
in class Pipeline
ShaderError setCgUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setCgUniform3i
in class Pipeline
ShaderError setCgUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniform3f
in class Pipeline
ShaderError setCgUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setCgUniform4i
in class Pipeline
ShaderError setCgUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniform4f
in class Pipeline
ShaderError setCgUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniformMatrix3f
in class Pipeline
ShaderError setCgUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setCgUniformMatrix4f
in class Pipeline
ShaderError setCgUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform1iArray
in class Pipeline
ShaderError setCgUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform1fArray
in class Pipeline
ShaderError setCgUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform2iArray
in class Pipeline
ShaderError setCgUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform2fArray
in class Pipeline
ShaderError setCgUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform3iArray
in class Pipeline
ShaderError setCgUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform3fArray
in class Pipeline
ShaderError setCgUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setCgUniform4iArray
in class Pipeline
ShaderError setCgUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniform4fArray
in class Pipeline
ShaderError setCgUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniformMatrix3fArray
in class Pipeline
ShaderError setCgUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setCgUniformMatrix4fArray
in class Pipeline
ShaderError createCgShader(Context ctx, int shaderType, ShaderId[] shaderId)
createCgShader
in class Pipeline
ShaderError destroyCgShader(Context ctx, ShaderId shaderId)
destroyCgShader
in class Pipeline
ShaderError compileCgShader(Context ctx, ShaderId shaderId, java.lang.String program)
compileCgShader
in class Pipeline
ShaderError createCgShaderProgram(Context ctx, ShaderProgramId[] shaderProgramId)
createCgShaderProgram
in class Pipeline
ShaderError destroyCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
destroyCgShaderProgram
in class Pipeline
ShaderError linkCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds)
linkCgShaderProgram
in class Pipeline
void lookupCgVertexAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, boolean[] errArr)
lookupCgVertexAttrNames
in class Pipeline
void lookupCgShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, ShaderAttrLoc[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
lookupCgShaderAttrNames
in class Pipeline
ShaderError useCgShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
useCgShaderProgram
in class Pipeline
ShaderError setGLSLUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value)
setGLSLUniform1i
in class Pipeline
ShaderError setGLSLUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value)
setGLSLUniform1f
in class Pipeline
ShaderError setGLSLUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setGLSLUniform2i
in class Pipeline
ShaderError setGLSLUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniform2f
in class Pipeline
ShaderError setGLSLUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setGLSLUniform3i
in class Pipeline
ShaderError setGLSLUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniform3f
in class Pipeline
ShaderError setGLSLUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)
setGLSLUniform4i
in class Pipeline
ShaderError setGLSLUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniform4f
in class Pipeline
ShaderError setGLSLUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniformMatrix3f
in class Pipeline
ShaderError setGLSLUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)
setGLSLUniformMatrix4f
in class Pipeline
ShaderError setGLSLUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform1iArray
in class Pipeline
ShaderError setGLSLUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform1fArray
in class Pipeline
ShaderError setGLSLUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform2iArray
in class Pipeline
ShaderError setGLSLUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform2fArray
in class Pipeline
ShaderError setGLSLUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform3iArray
in class Pipeline
ShaderError setGLSLUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform3fArray
in class Pipeline
ShaderError setGLSLUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)
setGLSLUniform4iArray
in class Pipeline
ShaderError setGLSLUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniform4fArray
in class Pipeline
ShaderError setGLSLUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniformMatrix3fArray
in class Pipeline
ShaderError setGLSLUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)
setGLSLUniformMatrix4fArray
in class Pipeline
ShaderError createGLSLShader(Context ctx, int shaderType, ShaderId[] shaderId)
createGLSLShader
in class Pipeline
ShaderError destroyGLSLShader(Context ctx, ShaderId shaderId)
destroyGLSLShader
in class Pipeline
ShaderError compileGLSLShader(Context ctx, ShaderId shaderId, java.lang.String program)
compileGLSLShader
in class Pipeline
ShaderError createGLSLShaderProgram(Context ctx, ShaderProgramId[] shaderProgramId)
createGLSLShaderProgram
in class Pipeline
ShaderError destroyGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
destroyGLSLShaderProgram
in class Pipeline
ShaderError linkGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds)
linkGLSLShaderProgram
in class Pipeline
ShaderError bindGLSLVertexAttrName(Context ctx, ShaderProgramId shaderProgramId, java.lang.String attrName, int attrIndex)
bindGLSLVertexAttrName
in class Pipeline
void lookupGLSLShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, int numAttrNames, java.lang.String[] attrNames, ShaderAttrLoc[] locArr, int[] typeArr, int[] sizeArr, boolean[] isArrayArr)
lookupGLSLShaderAttrNames
in class Pipeline
ShaderError useGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId)
useGLSLShaderProgram
in class Pipeline
void cleanupRenderer()
cleanupRenderer
in class Pipeline
void updateColoringAttributes(Context ctx, float dRed, float dGreen, float dBlue, float red, float green, float blue, float alpha, boolean lEnable, int shadeModel)
updateColoringAttributes
in class Pipeline
void updateDirectionalLight(Context ctx, int lightSlot, float red, float green, float blue, float x, float y, float z)
updateDirectionalLight
in class Pipeline
void updatePointLight(Context ctx, int lightSlot, float red, float green, float blue, float ax, float ay, float az, float px, float py, float pz)
updatePointLight
in class Pipeline
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)
updateSpotLight
in class Pipeline
void updateExponentialFog(Context ctx, float red, float green, float blue, float density)
updateExponentialFog
in class Pipeline
void updateLinearFog(Context ctx, float red, float green, float blue, double fdist, double bdist)
updateLinearFog
in class Pipeline
void updateLineAttributes(Context ctx, float lineWidth, int linePattern, int linePatternMask, int linePatternScaleFactor, boolean lineAntialiasing)
updateLineAttributes
in class Pipeline
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)
updateMaterial
in class Pipeline
void updateModelClip(Context ctx, int planeNum, boolean enableFlag, double A, double B, double C, double D)
updateModelClip
in class Pipeline
void updatePointAttributes(Context ctx, float pointSize, boolean pointAntialiasing)
updatePointAttributes
in class Pipeline
void updatePolygonAttributes(Context ctx, int polygonMode, int cullFace, boolean backFaceNormalFlip, float polygonOffset, float polygonOffsetFactor)
updatePolygonAttributes
in class Pipeline
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)
updateRenderingAttributes
in class Pipeline
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)
updateTexCoordGeneration
in class Pipeline
void updateTransparencyAttributes(Context ctx, float alpha, int geometryType, int polygonMode, boolean lineAA, boolean pointAA, int transparencyMode, int srcBlendFunction, int dstBlendFunction)
updateTransparencyAttributes
in class Pipeline
void updateTextureAttributes(Context ctx, double[] transform, boolean isIdentity, int textureMode, int perspCorrectionMode, float red, float green, float blue, float alpha, int textureFormat)
updateTextureAttributes
in class Pipeline
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)
updateRegisterCombiners
in class Pipeline
void updateTextureColorTable(Context ctx, int numComponents, int colorTableSize, int[] colorTable)
updateTextureColorTable
in class Pipeline
void updateCombiner(Context ctx, int combineRgbMode, int combineAlphaMode, int[] combineRgbSrc, int[] combineAlphaSrc, int[] combineRgbFcn, int[] combineAlphaFcn, int combineRgbScale, int combineAlphaScale)
updateCombiner
in class Pipeline
void updateTextureUnitState(Context ctx, int unitIndex, boolean enableFlag)
updateTextureUnitState
in class Pipeline
void bindTexture2D(Context ctx, int objectId, boolean enable)
bindTexture2D
in class Pipeline
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)
updateTexture2DImage
in class Pipeline
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)
updateTexture2DSubImage
in class Pipeline
void updateTexture2DLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
updateTexture2DLodRange
in class Pipeline
void updateTexture2DLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
updateTexture2DLodOffset
in class Pipeline
void updateTexture2DBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
updateTexture2DBoundary
in class Pipeline
void updateTexture2DFilterModes(Context ctx, int minFilter, int magFilter)
updateTexture2DFilterModes
in class Pipeline
void updateTexture2DSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
updateTexture2DSharpenFunc
in class Pipeline
void updateTexture2DFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
updateTexture2DFilter4Func
in class Pipeline
void updateTexture2DAnisotropicFilter(Context ctx, float degree)
updateTexture2DAnisotropicFilter
in class Pipeline
void bindTexture3D(Context ctx, int objectId, boolean enable)
bindTexture3D
in class Pipeline
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)
updateTexture3DImage
in class Pipeline
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 imageTypeData, java.lang.Object imageData, boolean useAutoMipMap)
updateTexture3DSubImage
in class Pipeline
void updateTexture3DLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
updateTexture3DLodRange
in class Pipeline
void updateTexture3DLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
updateTexture3DLodOffset
in class Pipeline
void updateTexture3DBoundary(Context ctx, int boundaryModeS, int boundaryModeT, int boundaryModeR, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
updateTexture3DBoundary
in class Pipeline
void updateTexture3DFilterModes(Context ctx, int minFilter, int magFilter)
updateTexture3DFilterModes
in class Pipeline
void updateTexture3DSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
updateTexture3DSharpenFunc
in class Pipeline
void updateTexture3DFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
updateTexture3DFilter4Func
in class Pipeline
void updateTexture3DAnisotropicFilter(Context ctx, float degree)
updateTexture3DAnisotropicFilter
in class Pipeline
void bindTextureCubeMap(Context ctx, int objectId, boolean enable)
bindTextureCubeMap
in class Pipeline
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)
updateTextureCubeMapImage
in class Pipeline
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)
updateTextureCubeMapSubImage
in class Pipeline
void updateTextureCubeMapLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
updateTextureCubeMapLodRange
in class Pipeline
void updateTextureCubeMapLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
updateTextureCubeMapLodOffset
in class Pipeline
void updateTextureCubeMapBoundary(Context ctx, int boundaryModeS, int boundaryModeT, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
updateTextureCubeMapBoundary
in class Pipeline
void updateTextureCubeMapFilterModes(Context ctx, int minFilter, int magFilter)
updateTextureCubeMapFilterModes
in class Pipeline
void updateTextureCubeMapSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
updateTextureCubeMapSharpenFunc
in class Pipeline
void updateTextureCubeMapFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
updateTextureCubeMapFilter4Func
in class Pipeline
void updateTextureCubeMapAnisotropicFilter(Context ctx, float degree)
updateTextureCubeMapAnisotropicFilter
in class Pipeline
long getAWT()
getAWT
in class Pipeline
boolean initializeJ3D(boolean disableXinerama)
initializeJ3D
in class Pipeline
int getMaximumLights()
getMaximumLights
in class Pipeline
Context createNewContext(Canvas3D cv, long display, Drawable drawable, long fbConfig, Context shareCtx, boolean isSharedCtx, boolean offScreen, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
createNewContext
in class Pipeline
void createQueryContext(Canvas3D cv, long display, Drawable drawable, long fbConfig, boolean offScreen, int width, int height, boolean glslLibraryAvailable, boolean cgLibraryAvailable)
createQueryContext
in class Pipeline
Drawable createOffScreenBuffer(Canvas3D cv, Context ctx, long display, long fbConfig, int width, int height)
createOffScreenBuffer
in class Pipeline
void destroyOffScreenBuffer(Canvas3D cv, Context ctx, long display, long fbConfig, Drawable drawable)
destroyOffScreenBuffer
in class Pipeline
void readOffScreenBuffer(Canvas3D cv, Context ctx, int format, int type, java.lang.Object data, int width, int height)
readOffScreenBuffer
in class Pipeline
int swapBuffers(Canvas3D cv, Context ctx, long dpy, Drawable drawable)
swapBuffers
in class Pipeline
int resizeD3DCanvas(Canvas3D cv, Context ctx)
resizeD3DCanvas
in class Pipeline
int toggleFullScreenMode(Canvas3D cv, Context ctx)
toggleFullScreenMode
in class Pipeline
void updateMaterialColor(Context ctx, float r, float g, float b, float a)
updateMaterialColor
in class Pipeline
void destroyContext(long display, Drawable drawable, Context ctx)
destroyContext
in class Pipeline
void accum(Context ctx, float value)
accum
in class Pipeline
void accumReturn(Context ctx)
accumReturn
in class Pipeline
void clearAccum(Context ctx)
clearAccum
in class Pipeline
int getNumCtxLights(Context ctx)
getNumCtxLights
in class Pipeline
boolean decal1stChildSetup(Context ctx)
decal1stChildSetup
in class Pipeline
void decalNthChildSetup(Context ctx)
decalNthChildSetup
in class Pipeline
void decalReset(Context ctx, boolean depthBufferEnable)
decalReset
in class Pipeline
void ctxUpdateEyeLightingEnable(Context ctx, boolean localEyeLightingEnable)
ctxUpdateEyeLightingEnable
in class Pipeline
void setBlendColor(Context ctx, float red, float green, float blue, float alpha)
setBlendColor
in class Pipeline
void setBlendFunc(Context ctx, int src, int dst)
setBlendFunc
in class Pipeline
void setFogEnableFlag(Context ctx, boolean enableFlag)
setFogEnableFlag
in class Pipeline
void setFullSceneAntialiasing(Context ctx, boolean enable)
setFullSceneAntialiasing
in class Pipeline
void setGlobalAlpha(Context ctx, float alpha)
setGlobalAlpha
in class Pipeline
void updateSeparateSpecularColorEnable(Context ctx, boolean control)
updateSeparateSpecularColorEnable
in class Pipeline
void beginScene(Context ctx)
beginScene
in class Pipeline
void endScene(Context ctx)
endScene
in class Pipeline
boolean validGraphicsMode()
validGraphicsMode
in class Pipeline
void setLightEnables(Context ctx, long enableMask, int maxLights)
setLightEnables
in class Pipeline
void setSceneAmbient(Context ctx, float red, float green, float blue)
setSceneAmbient
in class Pipeline
void disableFog(Context ctx)
disableFog
in class Pipeline
void disableModelClip(Context ctx)
disableModelClip
in class Pipeline
void resetRenderingAttributes(Context ctx, boolean depthBufferWriteEnableOverride, boolean depthBufferEnableOverride)
resetRenderingAttributes
in class Pipeline
void resetTextureNative(Context ctx, int texUnitIndex)
resetTextureNative
in class Pipeline
void activeTextureUnit(Context ctx, int texUnitIndex)
activeTextureUnit
in class Pipeline
void resetTexCoordGeneration(Context ctx)
resetTexCoordGeneration
in class Pipeline
void resetTextureAttributes(Context ctx)
resetTextureAttributes
in class Pipeline
void resetPolygonAttributes(Context ctx)
resetPolygonAttributes
in class Pipeline
void resetLineAttributes(Context ctx)
resetLineAttributes
in class Pipeline
void resetPointAttributes(Context ctx)
resetPointAttributes
in class Pipeline
void resetTransparency(Context ctx, int geometryType, int polygonMode, boolean lineAA, boolean pointAA)
resetTransparency
in class Pipeline
void resetColoringAttributes(Context ctx, float r, float g, float b, float a, boolean enableLight)
resetColoringAttributes
in class Pipeline
void syncRender(Context ctx, boolean wait)
syncRender
in class Pipeline
boolean useCtx(Context ctx, long display, Drawable drawable)
useCtx
in class Pipeline
void clear(Context ctx, float r, float g, float b, boolean clearStencil)
clear
in class Pipeline
void textureFillBackground(Context ctx, float texMinU, float texMaxU, float texMinV, float texMaxV, float mapMinX, float mapMaxX, float mapMinY, float mapMaxY, boolean useBiliearFilter)
textureFillBackground
in class Pipeline
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)
textureFillRaster
in class Pipeline
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)
executeRasterDepth
in class Pipeline
void setModelViewMatrix(Context ctx, double[] viewMatrix, double[] modelMatrix)
setModelViewMatrix
in class Pipeline
void setProjectionMatrix(Context ctx, double[] projMatrix)
setProjectionMatrix
in class Pipeline
void setViewport(Context ctx, int x, int y, int width, int height)
setViewport
in class Pipeline
void newDisplayList(Context ctx, int displayListId)
newDisplayList
in class Pipeline
void endDisplayList(Context ctx)
endDisplayList
in class Pipeline
void callDisplayList(Context ctx, int id, boolean isNonUniformScale)
callDisplayList
in class Pipeline
void freeDisplayList(Context ctx, int id)
freeDisplayList
in class Pipeline
void freeTexture(Context ctx, int id)
freeTexture
in class Pipeline
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)
texturemapping
in class Pipeline
boolean initTexturemapping(Context ctx, int texWidth, int texHeight, int objectId)
initTexturemapping
in class Pipeline
void setRenderMode(Context ctx, int mode, boolean doubleBuffer)
setRenderMode
in class Pipeline
void setDepthBufferWriteEnable(Context ctx, boolean mode)
setDepthBufferWriteEnable
in class Pipeline
java.awt.GraphicsConfiguration getGraphicsConfig(java.awt.GraphicsConfiguration gconfig)
getGraphicsConfig
in class Pipeline
long getFbConfig(GraphicsConfigInfo gcInfo)
getFbConfig
in class Pipeline
java.awt.GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate3D gct, java.awt.GraphicsConfiguration[] gc)
getBestConfiguration
in class Pipeline
boolean isGraphicsConfigSupported(GraphicsConfigTemplate3D gct, java.awt.GraphicsConfiguration gc)
isGraphicsConfigSupported
in class Pipeline
boolean hasDoubleBuffer(Canvas3D cv)
hasDoubleBuffer
in class Pipeline
boolean hasStereo(Canvas3D cv)
hasStereo
in class Pipeline
int getStencilSize(Canvas3D cv)
getStencilSize
in class Pipeline
boolean hasSceneAntialiasingMultisample(Canvas3D cv)
hasSceneAntialiasingMultisample
in class Pipeline
boolean hasSceneAntialiasingAccum(Canvas3D cv)
hasSceneAntialiasingAccum
in class Pipeline
long getDisplay()
getDisplay
in class Pipeline
int getScreen(java.awt.GraphicsDevice graphicsDevice)
getScreen
in class Pipeline
DrawingSurfaceObject createDrawingSurfaceObject(Canvas3D cv)
createDrawingSurfaceObject
in class Pipeline
void freeDrawingSurface(Canvas3D cv, DrawingSurfaceObject drawingSurfaceObject)
freeDrawingSurface
in class Pipeline
void freeDrawingSurfaceNative(java.lang.Object o)
freeDrawingSurfaceNative
in class Pipeline
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |