TextureData per face.
| Modifier and Type | Field and Description |
|---|---|
| protected final TextureData[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FacedCubemapData(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ)
Construct a Cubemap with the specified texture files for the sides, optionally generating mipmaps. |
| public | FacedCubemapData(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 | FacedCubemapData(int width, int height, int depth, Pixmap.
Construct a Cubemap with |
| public | FacedCubemapData(TextureData positiveX, TextureData negativeX, TextureData positiveY, TextureData negativeY, TextureData positiveZ, TextureData negativeZ)
Construct a Cubemap with the specified |
| Modifier and Type | Method and Description |
|---|---|
| public void | consumeCubemapData()
Implements com. Uploads the pixel data for the 6 faces of the cube to the OpenGL ES texture. |
| public int | |
| public TextureData | getTextureData(Cubemap.
Returns: The |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | load(Cubemap.
The side,CubemapSideThe texture file)FileHandleLoads the texture specified using the |
| public void | load(Cubemap.
The side,CubemapSideThe pixmap)PixmapSets the specified side of this cubemap to the specified |
| public void | prepare()
Implements com. Prepares the TextureData for a call to |
| data | back to summary |
|---|---|
| protected final TextureData[] data | |
| FacedCubemapData | back to summary |
|---|---|
| public FacedCubemapData() Construct an empty Cubemap. Use the load(...) methods to set the texture of each side. Every side of the cubemap must be set before it can be used. | |
| FacedCubemapData | back to summary |
|---|---|
| public FacedCubemapData(FileHandle positiveX, FileHandle negativeX, FileHandle positiveY, FileHandle negativeY, FileHandle positiveZ, FileHandle negativeZ) Construct a Cubemap with the specified texture files for the sides, optionally generating mipmaps. | |
| FacedCubemapData | back to summary |
|---|---|
| public FacedCubemapData(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. | |
| FacedCubemapData | back to summary |
|---|---|
| public FacedCubemapData(Pixmap positiveX, Pixmap negativeX, Pixmap positiveY, Pixmap negativeY, Pixmap positiveZ, Pixmap negativeZ) Construct a Cubemap with the specified | |
| FacedCubemapData | back to summary |
|---|---|
| public FacedCubemapData(Pixmap positiveX, Pixmap negativeX, Pixmap positiveY, Pixmap negativeY, Pixmap positiveZ, Pixmap negativeZ, boolean useMipMaps) Construct a Cubemap with the specified | |
| FacedCubemapData | back to summary |
|---|---|
| public FacedCubemapData(int width, int height, int depth, Pixmap. Construct a Cubemap with | |
| FacedCubemapData | back to summary |
|---|---|
| public FacedCubemapData(TextureData positiveX, TextureData negativeX, TextureData positiveY, TextureData negativeY, TextureData positiveZ, TextureData negativeZ) Construct a Cubemap with the specified | |
| consumeCubemapData | back to summary |
|---|---|
| public void consumeCubemapData() Implements com. Doc from com. Uploads the pixel data for the 6 faces of the cube to the OpenGL ES texture. The caller must bind an OpenGL ES texture. A
call to
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements com.
| |
| getTextureData | back to summary |
|---|---|
public TextureData getTextureData(Cubemap.
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements com.
| |
| isComplete | back to summary |
|---|---|
public boolean isComplete()
| |
| isManaged | back to summary |
|---|---|
| public boolean isManaged() Implements com.
| |
| isPrepared | back to summary |
|---|---|
| public boolean isPrepared() Implements com.
| |
| load | back to summary |
|---|---|
| public void load(Cubemap. Loads the texture specified using the
| |
| load | back to summary |
|---|---|
| public void load(Cubemap. Sets the specified side of this cubemap to the specified
| |
| prepare | back to summary |
|---|---|
| public void prepare() Implements com. Doc from com. Prepares the TextureData for a call to
| |