org.rajawali3d.materials.textures

Package org.rajawali3d.materials.textures

Types

ACompressedTexture

abstract class ACompressedTexture : ATexture
abstract class ACompressedTexture : ATexture

AlphaMapTexture

open class AlphaMapTexture : ASingleTexture
open class AlphaMapTexture : ASingleTexture

AMultiTexture

abstract class AMultiTexture : ATexture
abstract class AMultiTexture : ATexture

AnimatedGIFTexture

open class AnimatedGIFTexture : ASingleTexture
open class AnimatedGIFTexture : ASingleTexture

Creates a texture from an animated GIF.

ASingleTexture

abstract class ASingleTexture : ATexture
abstract class ASingleTexture : ATexture

This class is used to specify texture options.

AtcTexture

open class AtcTexture : ACompressedTexture
open class AtcTexture : ACompressedTexture

ATexture

abstract class ATexture
abstract class ATexture

CubeMapTexture

open class CubeMapTexture : AMultiTexture
open class CubeMapTexture : AMultiTexture

Dxt1Texture

open class Dxt1Texture : ACompressedTexture
open class Dxt1Texture : ACompressedTexture

Etc1Texture

open class Etc1Texture : ACompressedTexture
open class Etc1Texture : ACompressedTexture

Etc2Texture

open class Etc2Texture : ACompressedTexture
open class Etc2Texture : ACompressedTexture

Rajawali container for an ETC2 texture. Due to the nature of ETC2 textures, you may also use this to load an ETC1 texture. The following GL internal formats are supported: - GLES11Ext#GL_ETC1_RGB8_OES - GLES30#GL_COMPRESSED_RGB8_ETC2 - GLES30#GL_COMPRESSED_RGBA8_ETC2_EAC - GLES30#GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 - GLES30#GL_COMPRESSED_R11_EAC - GLES30#GL_COMPRESSED_RG11_EAC - GLES30#GL_COMPRESSED_SIGNED_R11_EAC - GLES30#GL_COMPRESSED_SIGNED_RG11_EAC In theory, the sRGB types GLES30#GL_COMPRESSED_SRGB8_ETC2, GLES30#GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, and GLES30#GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 are also supported, but they will currently fail the header check because no source was available to determine their internal type codes. //TODO: Find internal type codes for sRGB formats.

LightMapTexture

open class LightMapTexture : ASingleTexture
open class LightMapTexture : ASingleTexture

NormalMapTexture

open class NormalMapTexture : ASingleTexture
open class NormalMapTexture : ASingleTexture

PalettedTexture

open class PalettedTexture : ACompressedTexture
open class PalettedTexture : ACompressedTexture

PvrtcTexture

open class PvrtcTexture : ACompressedTexture
open class PvrtcTexture : ACompressedTexture

RenderTargetTexture

open class RenderTargetTexture : ATexture
open class RenderTargetTexture : ATexture

SpecularMapTexture

open class SpecularMapTexture : ASingleTexture
open class SpecularMapTexture : ASingleTexture

SphereMapTexture

open class SphereMapTexture : ASingleTexture
open class SphereMapTexture : ASingleTexture

StreamingTexture

open class StreamingTexture : ATexture
open class StreamingTexture : ATexture

Texture

open class Texture : ASingleTexture
open class Texture : ASingleTexture

TextureAtlas

open class TextureAtlas
open class TextureAtlas

TextureManager

class TextureManager : AResourceManager
class TextureManager : AResourceManager

A singleton class that keeps track of all textures used by the application. All textures will be restored when the OpenGL context is being recreated. This however needs to be indicated by setting ATexture#shouldRecycle(boolean) to true (which is the default). It will then keep a reference to the Bitmap which means the application will take up more memory.

TexturePacker

open class TexturePacker
open class TexturePacker

ThreeDcTexture

open class ThreeDcTexture : ACompressedTexture
open class ThreeDcTexture : ACompressedTexture