Package | Description |
---|---|
com.threed.jpct | |
com.threed.jpct.util |
Modifier and Type | Class and Description |
---|---|
class |
NPOTTexture
Special class to create a NPOT texture.
|
Modifier and Type | Method and Description |
---|---|
Texture |
TextureManager.getDummyTexture()
Returns the current dummy texture.
|
Texture |
TextureManager.getTexture(java.lang.String name)
Returns the texture being named 'name'.
|
Texture |
TextureManager.getTextureByID(int id)
Returns the texture with the ID or null if no such texture can be found.
|
Modifier and Type | Method and Description |
---|---|
void |
Texture.add(Texture ta,
float weight)
Adds a textures color (and alpha) information to this one.
|
void |
TextureManager.addTexture(java.lang.String name,
Texture tex)
Adds a texture with the given name to the manager.
|
void |
FrameBuffer.blit(Texture src,
float srcX,
float srcY,
float destX,
float destY,
float width,
float height,
boolean transparent)
Copies a part of a bitmap (taken from a Texture in this case) into the
framebuffer.
|
void |
FrameBuffer.blit(Texture src,
float srcX,
float srcY,
float destX,
float destY,
float sourceWidth,
float sourceHeight,
float destWidth,
float destHeight,
int transValue,
boolean additive)
Special version of blit() that allows for scaling, i.e. it doesn't make
1-to-1 copies but can up- or down-scale.
|
void |
FrameBuffer.blit(Texture src,
float srcX,
float srcY,
float destX,
float destY,
float sourceWidth,
float sourceHeight,
float destWidth,
float destHeight,
int transValue,
boolean additive,
RGBColor addColor)
Special version of blit() that allows for scaling, i.e. it doesn't make
1-to-1 copies but can up- or down-scale.
|
void |
TextureManager.deVirtualize(Texture tex)
Removes a texture from the virtualized set by recreating a state as if
this texture has never been virtualized, i.e. pixel data will be stored
in memory again the file which has been stored on disk has been removed.
|
java.lang.String |
TextureManager.getNameByTexture(Texture texture)
Returns the name with which the texture has been added to the manager.
|
void |
ITextureEffect.init(Texture tex)
Initializes the effect.
|
void |
TextureManager.replaceTexture(java.lang.String name,
Texture tex)
Replaces a texture with the given name with another one.
|
void |
TextureManager.setDummyTexture(Texture texture)
Sets a texture as dummy texture.
|
void |
FrameBuffer.setRenderTarget(Texture tex)
Sets the render target of the framebuffer to a texture.
|
void |
FrameBuffer.setRenderTarget(Texture tex,
int left,
int top,
int right,
int bottom,
boolean clearAll)
Sets the render target of the framebuffer to a texture.
|
void |
TextureManager.unloadTexture(FrameBuffer from,
Texture texture)
Unloads a texture from the contexts of the renderers of the given frame
buffer.
|
void |
TextureManager.virtualize(Texture tex)
Virtualizes a textures if a Virtualizer has been set.
|
Modifier and Type | Method and Description |
---|---|
Texture |
ShadowHelper.getShadowMap()
Returns the shadow map's texture.
|