class Texture3DRetained extends TextureRetained
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
boundaryModeR |
(package private) int |
depth |
anisotropicFilterDegree, anisotropicFilterMode, BASE_LEVEL_CHANGED, baseLevel, boundaryColor, boundaryModeS, boundaryModeT, boundaryWidth, COLOR_CHANGED, enable, ENABLE_CHANGED, filter4FuncPts, format, height, IMAGE_CHANGED, images, IMAGES_CHANGED, imageUpdateInfo, imageUpdatePruneMask, isAlphaNeedUpdate, isDirty, LOD_OFFSET_CHANGED, lodOffset, MAG_FILTER, magFilter, MAX_LEVEL_CHANGED, MAX_LOD_CHANGED, maximumLevel, maximumLod, maxLevels, MIN_FILTER, MIN_LOD_CHANGED, minFilter, minimumLod, mipmapMode, numFaces, numSharpenTextureFuncPts, objectId, resourceCreationMask, resourceInReloadList, resourceLock, resourceLodUpdatedMask, resourceUpdatedMask, sharpenTextureFuncPts, STATE_CHANGED, UPDATE_IMAGE, userSpecifiedEnable, widthchangedFrequent, compChanged, duplicateOnCloneTree, mirror, refCnt, refCount, usersDONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, sourcelistIdx| Constructor and Description |
|---|
Texture3DRetained() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
bindTexture(Context ctx,
int objectId,
boolean enable)
This method updates the native context.
|
(package private) void |
freeTextureId(int id) |
(package private) int |
getBoundaryModeR()
Retrieves the boundary mode for the R coordinate.
|
(package private) int |
getDepth() |
(package private) int |
getTextureId() |
(package private) void |
initBoundaryModeR(int boundaryModeR)
Sets the boundary mode for the R coordinate in this texture object.
|
(package private) void |
reloadTextureImage(Canvas3D cv,
int face,
int level,
ImageComponentRetained image,
int numLevels)
reloadTextureImage is used to load a particular level of image
This method needs to take care of RenderedImage as well as
BufferedImage
|
(package private) void |
reloadTextureSubImage(Canvas3D cv,
int level,
int face,
ImageComponentUpdateInfo info,
ImageComponentRetained image)
update a subregion of the texture image
This method needs to take care of RenderedImage as well as
BufferedImage
|
(package private) void |
setDepth(int depth) |
(package private) void |
updateTextureAnisotropicFilter(Context ctx,
float degree) |
(package private) void |
updateTextureBoundary(Canvas3D cv) |
(package private) void |
updateTextureBoundary(Context ctx,
int boundaryModeS,
int boundaryModeT,
int boundaryModeR,
float boundaryRed,
float boundaryGreen,
float boundaryBlue,
float boundaryAlpha) |
(package private) void |
updateTextureDimensions(Canvas3D cv)
load level 0 explicitly with null pointer to enable
mipmapping when level 0 is not the base level
|
(package private) void |
updateTextureFilter4Func(Context ctx,
int numFilter4FuncPts,
float[] filter4FuncPts) |
(package private) void |
updateTextureFilterModes(Context ctx,
int minFilter,
int magFilter) |
(package private) void |
updateTextureImage(Canvas3D cv,
int face,
int numLevels,
int level,
int textureFormat,
int imageFormat,
int width,
int height,
int depth,
int boundaryWidth,
int imageDataType,
java.lang.Object imageData) |
(package private) void |
updateTextureLodOffset(Context ctx,
float lodOffsetX,
float lodOffsetY,
float lodOffsetZ) |
(package private) void |
updateTextureLodRange(Context ctx,
int baseLevel,
int maximumLevel,
float minimumLod,
float maximumLod) |
(package private) void |
updateTextureSharpenFunc(Context ctx,
int numSharpenTextureFuncPts,
float[] sharpenTextureFuncPts) |
(package private) void |
updateTextureSubImage(Canvas3D cv,
int face,
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) |
addImageUpdateInfo, bindTexture, checkImageSize, checkSizes, clearLive, createMirrorObject, decTextureBinRefCount, getAnisotropicFilterDegree, getAnisotropicFilterMode, getBaseLevel, getBoundaryColor, getBoundaryModeS, getBoundaryModeT, getBoundaryWidth, getEnable, getFilter4Func, getFilter4Func, getFilter4FuncPointsCount, getFormat, getHeight, getImage, getImages, getLodOffset, getMagFilter, getMaximumLevel, getMaximumLOD, getMinFilter, getMinimumLOD, getMipMapMode, getSharpenTextureFunc, getSharpenTextureFunc, getSharpenTextureFunc, getSharpenTextureFuncPointsCount, getTextureBinRefCount, getWidth, handleFrequencyChange, incTextureBinRefCount, initAnisotropicFilterDegree, initAnisotropicFilterMode, initBaseLevel, initBoundaryColor, initBoundaryColor, initBoundaryModeS, initBoundaryModeT, initEnable, initFilter4Func, initialize, initImage, initImages, initLodOffset, initMagFilter, initMaximumLevel, initMaximumLOD, initMinFilter, initMinimumLOD, initMipMapMode, initMirrorObject, initSharpenTextureFunc, initSharpenTextureFunc, initSharpenTextureFunc, isUseAsRaster, notifyImageComponentImageChanged, numMipMapLevels, pruneImageUpdateInfo, reloadTexture, reloadTextureSharedContext, sendMessage, setBaseLevel, setEnable, setImage, setImages, setLive, setLodOffset, setMaximumLevel, setMaximumLOD, setMinimumLOD, setUseAsRaster, updateMirrorObject, updateNative, updateResourceCreationMask, updateTexture, updateTextureBoundary, updateTextureFields, updateTextureImage, updateTextureLOD, updateTextureSubImage, useAutoMipMapGeneration, validateaddAMirrorUser, addUser, clone, copyMirrorUsers, decRefCnt, doSetLive, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask, setInImmCtxclearLive, clearLive, compile, doSetLive, doSetLive, getSource, getVirtualUniverse, isInSetLive, isStatic, markAsLive, merge, mergeTransform, setCompiled, setLive, setLive, setSource, traversegetIdxUsed, incIdxUsedfinal void setDepth(int depth)
final int getDepth()
final void initBoundaryModeR(int boundaryModeR)
boundaryModeR - the boundary mode for the R coordinate,
one of: CLAMP or WRAP.RestrictedAccessException - if the method is called
when this object is part of live or compiled scene graph.final int getBoundaryModeR()
RestrictedAccessException - if the method is called
when this object is part of live or compiled scene graph.void bindTexture(Context ctx, int objectId, boolean enable)
bindTexture in class TextureRetainedvoid updateTextureBoundary(Context ctx, int boundaryModeS, int boundaryModeT, int boundaryModeR, float boundaryRed, float boundaryGreen, float boundaryBlue, float boundaryAlpha)
void updateTextureFilterModes(Context ctx, int minFilter, int magFilter)
updateTextureFilterModes in class TextureRetainedvoid updateTextureSharpenFunc(Context ctx, int numSharpenTextureFuncPts, float[] sharpenTextureFuncPts)
updateTextureSharpenFunc in class TextureRetainedvoid updateTextureFilter4Func(Context ctx, int numFilter4FuncPts, float[] filter4FuncPts)
updateTextureFilter4Func in class TextureRetainedvoid updateTextureAnisotropicFilter(Context ctx, float degree)
updateTextureAnisotropicFilter in class TextureRetainedvoid updateTextureImage(Canvas3D cv, int face, int numLevels, int level, int textureFormat, int imageFormat, int width, int height, int depth, int boundaryWidth, int imageDataType, java.lang.Object imageData)
void updateTextureSubImage(Canvas3D cv, int face, 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)
int getTextureId()
getTextureId in class TextureRetainedvoid freeTextureId(int id)
freeTextureId in class TextureRetainedvoid updateTextureDimensions(Canvas3D cv)
TextureRetainedupdateTextureDimensions in class TextureRetainedvoid updateTextureBoundary(Canvas3D cv)
updateTextureBoundary in class TextureRetainedvoid updateTextureLodRange(Context ctx, int baseLevel, int maximumLevel, float minimumLod, float maximumLod)
updateTextureLodRange in class TextureRetainedvoid updateTextureLodOffset(Context ctx, float lodOffsetX, float lodOffsetY, float lodOffsetZ)
updateTextureLodOffset in class TextureRetainedvoid reloadTextureImage(Canvas3D cv, int face, int level, ImageComponentRetained image, int numLevels)
TextureRetainedreloadTextureImage in class TextureRetainedvoid reloadTextureSubImage(Canvas3D cv, int level, int face, ImageComponentUpdateInfo info, ImageComponentRetained image)
TextureRetainedreloadTextureSubImage in class TextureRetainedCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.