Java javax.media.j3d Texture fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d Texture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d Texture.

The text is from its open source code.

Field

intALLOW_ENABLE_WRITE
Specifies that this Texture object allows writing its enable flag.
intALLOW_IMAGE_WRITE
Specifies that this Texture object allows writing its image component information.
intFASTEST
Uses the fastest available method for processing geometry.
intNICEST
Uses the nicest available method for processing geometry.
intBASE_LEVEL_POINT
Select the nearest texel in level 0 texture map.
intBASE_LEVEL_LINEAR
Performs bilinear interpolation on the four nearest texels in level 0 texture map.
intMULTI_LEVEL_POINT
Selects the nearest texel in the nearest mipmap.
intMULTI_LEVEL_LINEAR
Performs tri-linear interpolation of texels between four texels each from two nearest mipmap levels.
intCLAMP
Clamps texture coordinates to be in the range [0, 1].
intWRAP
Repeats the texture by wrapping texture coordinates that are outside the range [0,1].
intBASE_LEVEL
Indicates that Texture object only has one level.
intMULTI_LEVEL_MIPMAP
Indicates that this Texture object has multiple images, one for each mipmap level.
intRGB
Specifies Texture contains Red, Green and Blue color values.
intRGBA
Specifies Texture contains Red, Green, Blue color values and Alpha value.

Method

ImageComponentgetImage(int level)
Retrieves the image for a specified mipmap level.
voidsetBoundaryColor(Color4f boundaryColor)
Sets the texture boundary color for this texture object.
voidsetBoundaryColor(float r, float g, float b, float a)
Sets the texture boundary color for this texture object.
voidsetBoundaryModeS(int boundaryModeS)
Sets the boundary mode for the S coordinate in this texture object.
voidsetBoundaryModeT(int boundaryModeT)
Sets the boundary mode for the T coordinate in this texture object.
voidsetEnable(boolean state)
Enables or disables texture mapping for this appearance component object.
voidsetMagFilter(int magFilter)
Sets the magnification filter function.
voidsetMinFilter(int minFilter)
Sets the minification filter function.
voidsetMipMapMode(int mipMapMode)
Sets mipmap mode for texture mapping for this texture object.