| Modifier and Type | Class and Description |
|---|---|
| public static enum | Cubemap.
Enum to identify each side of a Cubemap |
| Modifier and Type | Field and Description |
|---|---|
| private static AssetManager | |
| protected CubemapData | |
| pack-priv static final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Cubemap(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ)
Construct a Cubemap with the specified texture files for the sides, does not generate mipmaps. |
| public | Cubemap(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ, boolean useMipMaps)
Construct a Cubemap with the specified texture files for the sides, optionally generating mipmaps. |
| public | |
| public | |
| public | |
| public | Cubemap(TextureData positiveX, TextureData negativeX, TextureData positiveY, TextureData negativeY, TextureData positiveZ, TextureData negativeZ)
Construct a Cubemap with the specified |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static void | |
| public void | dispose()
Overrides com. Implements com. Disposes all resources associated with the cubemap |
| public CubemapData | |
| public int | |
| public int | |
| public static String | |
| public static int | |
| public int | |
| public static void | |
| public boolean | |
| public void | |
| protected void | |
| public static void |
| assetManager | back to summary |
|---|---|
| private static AssetManager assetManager | |
| data | back to summary |
|---|---|
| protected CubemapData data | |
| managedCubemaps | back to summary |
|---|---|
| pack-priv static final Map<Application, Array<Cubemap>> managedCubemaps | |
| Cubemap | back to summary |
|---|---|
| public Cubemap(CubemapData data) Construct a Cubemap based on the given CubemapData. | |
| Cubemap | back to summary |
|---|---|
| public Cubemap(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ) Construct a Cubemap with the specified texture files for the sides, does not generate mipmaps. | |
| Cubemap | back to summary |
|---|---|
| public Cubemap(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ, boolean useMipMaps) Construct a Cubemap with the specified texture files for the sides, optionally generating mipmaps. | |
| Cubemap | back to summary |
|---|---|
| public Cubemap(Pixmap positiveX, Pixmap negativeX, Pixmap positiveY, Pixmap negativeY, Pixmap positiveZ, Pixmap negativeZ) Construct a Cubemap with the specified | |
| Cubemap | back to summary |
|---|---|
| public Cubemap(Pixmap positiveX, Pixmap negativeX, Pixmap positiveY, Pixmap negativeY, Pixmap positiveZ, Pixmap negativeZ, boolean useMipMaps) Construct a Cubemap with the specified | |
| Cubemap | back to summary |
|---|---|
| public Cubemap(int width, int height, int depth, Pixmap. Construct a Cubemap with | |
| Cubemap | back to summary |
|---|---|
| public Cubemap(TextureData positiveX, TextureData negativeX, TextureData positiveY, TextureData negativeY, TextureData positiveZ, TextureData negativeZ) Construct a Cubemap with the specified | |
| addManagedCubemap | back to summary |
|---|---|
| private static void addManagedCubemap(Application app, Cubemap cubemap) | |
| clearAllCubemaps | back to summary |
|---|---|
| public static void clearAllCubemaps(Application app) Clears all managed cubemaps. This is an internal method. Do not use it! | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides com. Implements com. Disposes all resources associated with the cubemap
| |
| getCubemapData | back to summary |
|---|---|
| public CubemapData getCubemapData() | |
| getDepth | back to summary |
|---|---|
| public int getDepth() Implements abstract com.
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements abstract com.
| |
| getManagedStatus | back to summary |
|---|---|
| public static String getManagedStatus() | |
| getNumManagedCubemaps | back to summary |
|---|---|
public static int getNumManagedCubemaps()
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements abstract com.
| |
| invalidateAllCubemaps | back to summary |
|---|---|
| public static void invalidateAllCubemaps(Application app) Invalidate all managed cubemaps. This is an internal method. Do not use it! | |
| isManaged | back to summary |
|---|---|
| public boolean isManaged() Implements abstract com.
| |
| load | back to summary |
|---|---|
| public void load(CubemapData data) Sets the sides of this cubemap to the specified | |
| reload | back to summary |
|---|---|
| protected void reload() Implements abstract com.
| |
| setAssetManager | back to summary |
|---|---|
| public static void setAssetManager(AssetManager manager) Sets the
| |
| Modifier and Type | Field and Description |
|---|---|
| public final Vector3 | direction
The direction vector to target the side. |
| public final int | glEnum
The OpenGL target (used for glTexImage2D) of the side. |
| public final int | index
The zero based index of the side in the cubemap |
| public static final Cubemap. | NegativeX
The negative X and second side of the cubemap |
| public static final Cubemap. | NegativeY
The negative Y and fourth side of the cubemap |
| public static final Cubemap. | NegativeZ
The negative Z and sixth side of the cubemap |
| public static final Cubemap. | PositiveX
The positive X and first side of the cubemap |
| public static final Cubemap. | PositiveY
The positive Y and third side of the cubemap |
| public static final Cubemap. | PositiveZ
The positive Z and fifth side of the cubemap |
| public final Vector3 | up
The up vector to target the side. |
| Access | Constructor and Description |
|---|---|
| private | CubemapSide(int index, int glEnum, float upX, float upY, float upZ, float directionX, float directionY, float directionZ)
|
| Modifier and Type | Method and Description |
|---|---|
| public Vector3 | |
| public int | |
| public Vector3 | |
| public static Cubemap. | |
| public static Cubemap. |
| direction | back to summary |
|---|---|
| public final Vector3 direction The direction vector to target the side. | |
| glEnum | back to summary |
|---|---|
| public final int glEnum The OpenGL target (used for glTexImage2D) of the side. | |
| index | back to summary |
|---|---|
| public final int index The zero based index of the side in the cubemap | |
| NegativeX | back to summary |
|---|---|
| public static final Cubemap. The negative X and second side of the cubemap | |
| NegativeY | back to summary |
|---|---|
| public static final Cubemap. The negative Y and fourth side of the cubemap | |
| NegativeZ | back to summary |
|---|---|
| public static final Cubemap. The negative Z and sixth side of the cubemap | |
| PositiveX | back to summary |
|---|---|
| public static final Cubemap. The positive X and first side of the cubemap | |
| PositiveY | back to summary |
|---|---|
| public static final Cubemap. The positive Y and third side of the cubemap | |
| PositiveZ | back to summary |
|---|---|
| public static final Cubemap. The positive Z and fifth side of the cubemap | |
| up | back to summary |
|---|---|
| public final Vector3 up The up vector to target the side. | |
| CubemapSide | back to summary |
|---|---|
| private CubemapSide(int index, int glEnum, float upX, float upY, float upZ, float directionX, float directionY, float directionZ) | |
| getDirection | back to summary |
|---|---|
public Vector3 getDirection(Vector3 out)
| |
| getGLEnum | back to summary |
|---|---|
public int getGLEnum()
| |
| getUp | back to summary |
|---|---|
public Vector3 getUp(Vector3 out)
| |
| valueOf | back to summary |
|---|---|
| public static Cubemap. | |
| values | back to summary |
|---|---|
| public static Cubemap. | |