|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Texture | |
---|---|
com.threed.jpct |
Uses of Texture in com.threed.jpct |
---|
Methods in com.threed.jpct that return Texture | |
---|---|
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. |
Methods in com.threed.jpct with parameters of type Texture | |
---|---|
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,
int srcX,
int srcY,
int destX,
int destY,
int width,
int height,
boolean transparent)
Copies a part of a bitmap (taken from a Texture in this case) into the framebuffer. |
void |
FrameBuffer.blit(Texture src,
int srcX,
int srcY,
int destX,
int destY,
int sourceWidth,
int sourceHeight,
int destWidth,
int 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 |
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |