| Package | Description |
|---|---|
| com.bonzaiengine.opengl.helper | |
| com.bonzaiengine.texture | |
| com.bonzaiengine.texture.format | |
| com.bonzaiengine.util.awt | |
| thirdparty |
| Modifier and Type | Method and Description |
|---|---|
static ITexture |
ViewHelper.takeScreenshot(IGL gl,
Area viewport,
boolean alpha)
Copy the frame buffer into a ITexture
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ITextureCompressed |
| Modifier and Type | Method and Description |
|---|---|
static ITexture |
TextureUtils.addAlphaChannel(ITexture src) |
ITexture |
ITexture.clone() |
static ITexture |
TextureUtils.copy(ITexture texture)
Copy the
src texture into the best representing uncompressed format. |
static ITexture |
TextureUtils.copy(ITexture dst,
int dstSubTexture,
int dstLevel,
ITexture src,
int srcSubTexture,
int srcLevel) |
static ITexture |
TextureUtils.copy(ITexture dst,
ITexture src)
Convert the src texture into the dst texture.
|
static ITexture |
TextureUtils.copyRegion(ITexture dst,
Area dstArea,
int dstSubTexture,
int dstLevel,
ITexture src,
Area srcArea,
int srcSubTexture,
int srcLevel) |
static ITexture |
TextureUtils.copyRegion(ITexture dst,
Area dstArea,
int dstLevel,
ITexture src,
Area srcArea,
int level) |
ITexture |
Tga.createTexture() |
static ITexture |
TextureUtils.cubemap(ITexture[] src) |
static ITexture |
TextureUtils.generateMipmap(ITexture src)
Generate mipmap levels.
|
ITexture[] |
TextureList.getTextureSw(Texture texture)
Deprecated.
|
ITexture |
Tga.readTexture(Stream stream) |
ITexture |
TextureIO.readTexture(Stream stream) |
ITexture |
ITextureIO.readTexture(Stream stream) |
ITexture |
Dds.readTexture(Stream stream) |
static ITexture |
TextureUtils.reduce(ITexture src,
int numChannels,
boolean alphaRemoved)
Reduce number of channels into a new (non compressed) texture
|
static ITexture |
TextureUtils.resize(ITexture src,
int dstWidth,
int dstHeight,
int dstDepth)
Resize a texture
|
static ITexture |
TextureUtils.resize(ITexture src,
int subTexture,
int level,
int dstWidth,
int dstHeight,
int dstDepth)
Resize a texture
|
static ITexture |
TextureUtils.resize(ITexture dst,
int dstSubTexture,
int dstLevel,
ITexture src,
int srcSubTexture,
int srcLevel) |
static ITexture |
TextureUtils.resizeNoCopy(ITexture texture,
int width,
int height,
int depth)
identical to
TextureUtils.resize(ITexture, int, int, int) except that if no resizing is needed, it return the input texture |
static ITexture |
TextureUtils.uncompress(ITextureCompressed compressedTexture,
int srcSubTexture,
int srcLevel)
Uncompress a texture
|
| Modifier and Type | Method and Description |
|---|---|
static ITexture |
TextureUtils.addAlphaChannel(ITexture src) |
static void |
TextureUtils.alphaChannelToAlphaTest(ITexture texture) |
static ITextureCompressed |
Dds.compress(ITexture texture,
Dds.DdsFormat format,
Dds.DdsSwizzling swizzling,
boolean flip)
Compress a texture
|
static ITexture |
TextureUtils.copy(ITexture texture)
Copy the
src texture into the best representing uncompressed format. |
static ITexture |
TextureUtils.copy(ITexture dst,
int dstSubTexture,
int dstLevel,
ITexture src,
int srcSubTexture,
int srcLevel) |
static ITexture |
TextureUtils.copy(ITexture dst,
ITexture src)
Convert the src texture into the dst texture.
|
static ITexture |
TextureUtils.copyRegion(ITexture dst,
Area dstArea,
int dstSubTexture,
int dstLevel,
ITexture src,
Area srcArea,
int srcSubTexture,
int srcLevel) |
static ITexture |
TextureUtils.copyRegion(ITexture dst,
Area dstArea,
int dstLevel,
ITexture src,
Area srcArea,
int level) |
static void |
TextureUtils.copyRToA(ITexture dst,
ITexture src) |
static TextureByte |
TextureUtils.createsAlphaLayer(ITexture src,
int transparentColor)
Transparency effect ("Alpha layer")
Make a color full transparent. |
static TextureByte |
TextureUtils.createsMaskEffect(ITexture mask,
ITexture texture)
Mask effect
This effect use two pictures. |
static ITexture |
TextureUtils.cubemap(ITexture[] src) |
static void |
TextureUtils.fill(ITexture texture,
int channel,
byte color)
Fill a channel with the specified color byte
|
static ITexture |
TextureUtils.generateMipmap(ITexture src)
Generate mipmap levels.
|
static Dds.DdsFormat |
TextureUtils.getFormat(ITexture texture) |
static int |
TextureUtils.getMaximumMipmapLevels(ITexture texture) |
static Dds.DdsSwizzling |
TextureUtils.getSwizzling(ITexture texture) |
TextureID |
TextureLoader.loadTexture(IGL gl,
ITexture[] textures,
TextureParam textureParam) |
TextureID |
TextureLoader.loadTexture(IGL gl,
ITexture[] textures,
TextureParam textureParam,
TextureID.RgbMode rgbMode,
TextureID.AlphaMode alphaMode)
Load a 2D or Cubemap texture
|
TextureID |
TextureLoader.loadTexture(IGL gl,
ITexture texture,
TextureParam textureParam) |
void |
TextureList.read(Texture texture,
ITexture[] textures,
TextureParam textureParam) |
static ITexture |
TextureUtils.reduce(ITexture src,
int numChannels,
boolean alphaRemoved)
Reduce number of channels into a new (non compressed) texture
|
boolean |
TextureLoader.reloadTexture(IGL gl,
TextureID textureID,
ITexture[] textures,
TextureParam textureParam)
Reload a 2D or Cubemap texture into the existing
TextureID |
boolean |
TextureLoader.reloadTexture(IGL gl,
TextureID textureID,
ITexture texture,
TextureParam textureParam) |
static ITexture |
TextureUtils.resize(ITexture src,
int dstWidth,
int dstHeight,
int dstDepth)
Resize a texture
|
static ITexture |
TextureUtils.resize(ITexture src,
int subTexture,
int level,
int dstWidth,
int dstHeight,
int dstDepth)
Resize a texture
|
static ITexture |
TextureUtils.resize(ITexture dst,
int dstSubTexture,
int dstLevel,
ITexture src,
int srcSubTexture,
int srcLevel) |
static ITexture |
TextureUtils.resizeNoCopy(ITexture texture,
int width,
int height,
int depth)
identical to
TextureUtils.resize(ITexture, int, int, int) except that if no resizing is needed, it return the input texture |
void |
Tga.setTexture(ITexture texture,
boolean compressed) |
void |
ITextureCompressed.uncompress(ITexture dst,
int dstSubTexture,
int dstLevel,
int srcSubTexture,
int srcLevel) |
void |
Tga.writeTexture(TextureWriterParam params,
ITexture texture) |
void |
TextureIO.writeTexture(TextureWriterParam params,
ITexture texture) |
void |
ITextureIO.writeTexture(TextureWriterParam params,
ITexture texture) |
void |
Dds.writeTexture(TextureWriterParam params,
ITexture texture) |
| Modifier and Type | Class and Description |
|---|---|
class |
TextureATI1 |
class |
TextureATI2 |
class |
TextureByte
A texture with byte channels.
|
class |
TextureDXT1
Compression ratio is 8:1.
|
class |
TextureDXT3
Compression ratio is 4:1.
|
class |
TextureDXT5
Compression ratio is 4:1.
|
class |
TextureEtc1
See spec:
OES_compressed_ETC1_RGB8_texture.txt |
class |
TextureFloat
A floating point texture.
|
| Modifier and Type | Method and Description |
|---|---|
static ITexture |
TextureUtilsAwt.fromBufferedImage(java.awt.image.BufferedImage bi) |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
TextureUtilsAwt.convertToBufferedImage(ITexture texture,
int subTexture,
int level) |
| Modifier and Type | Method and Description |
|---|---|
static ITexture |
NormalMapGenerator.convertToDot3(ITexture src,
int channel,
boolean invert) |
| Modifier and Type | Method and Description |
|---|---|
static ITexture |
NormalMapGenerator.convertToDot3(ITexture src,
int channel,
boolean invert) |
static float |
NormalMapGenerator.sobelFilterX(ITexture source,
int subTexture,
int level,
int x,
int y,
int z,
int channel) |
static float |
NormalMapGenerator.sobelFilterY(ITexture source,
int subTexture,
int level,
int x,
int y,
int z,
int channel) |
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com