Class Texture3D

java.lang.Object
com.jme3.texture.Texture
com.jme3.texture.Texture3D
All Implemented Interfaces:
CloneableSmartAsset, Savable, Cloneable

public class Texture3D extends Texture
  • Constructor Details

    • Texture3D

      public Texture3D()
      Creates a new two-dimensional texture with default attributes.
    • Texture3D

      public Texture3D(Image img)
      Creates a new three-dimensional texture using the given image.
      Parameters:
      img - The image to use.
    • Texture3D

      public Texture3D(int width, int height, int depth, Image.Format format)
      Creates a new three-dimensional texture for the purpose of offscreen rendering.
      Parameters:
      width - the desired width (in pixels)
      height - the desired height (in pixels)
      depth - the desired depth
      format - the desired format
      See Also:
    • Texture3D

      public Texture3D(int width, int height, int depth, int numSamples, Image.Format format)
      Creates a new three-dimensional texture for the purpose of offscreen rendering.
      Parameters:
      width - the desired width (in pixels)
      height - the desired height (in pixels)
      depth - the desired depth
      numSamples - the desired degree of multi-sampling (≥1)
      format - the desired format
      See Also:
  • Method Details