Enum Class Limits

java.lang.Object
java.lang.Enum<Limits>
com.jme3.renderer.Limits
All Implemented Interfaces:
Serializable, Comparable<Limits>, Constable

public enum Limits extends Enum<Limits>
Allows querying the limits of certain features in Renderer.

For example, maximum texture sizes or number of samples.

  • Enum Constant Details

    • VertexTextureUnits

      public static final Limits VertexTextureUnits
      Maximum number of vertex texture units, or number of textures that can be used in the vertex shader.
    • FragmentTextureUnits

      public static final Limits FragmentTextureUnits
      Maximum number of fragment texture units, or number of textures that can be used in the fragment shader.
    • FragmentUniformVectors

      public static final Limits FragmentUniformVectors
      Maximum number of fragment uniform vectors.
    • VertexUniformVectors

      public static final Limits VertexUniformVectors
      Maximum number of vertex uniform vectors.
    • VertexAttributes

      public static final Limits VertexAttributes
      Maximum number of vertex attributes.
    • FrameBufferSamples

      public static final Limits FrameBufferSamples
      Maximum number of FrameBuffer samples.
    • FrameBufferAttachments

      public static final Limits FrameBufferAttachments
      Maximum number of FrameBuffer attachments.
    • FrameBufferMrtAttachments

      public static final Limits FrameBufferMrtAttachments
      Maximum number of FrameBuffer MRT attachments.
    • RenderBufferSize

      public static final Limits RenderBufferSize
      Maximum render buffer size.
    • TextureSize

      public static final Limits TextureSize
      Maximum texture size.
    • CubemapSize

      public static final Limits CubemapSize
      Maximum cubemap size.
    • ColorTextureSamples

      public static final Limits ColorTextureSamples
      Maximum number of color texture samples.
    • DepthTextureSamples

      public static final Limits DepthTextureSamples
      Maximum number of depth texture samples.
    • TextureAnisotropy

      public static final Limits TextureAnisotropy
      Maximum degree of texture anisotropy.
    • UniformBufferObjectMaxVertexBlocks

      public static final Limits UniformBufferObjectMaxVertexBlocks
      Maximum number of UBOs that may be accessed by a vertex shader.
    • UniformBufferObjectMaxFragmentBlocks

      public static final Limits UniformBufferObjectMaxFragmentBlocks
      Maximum number of UBOs that may be accessed by a fragment shader.
    • UniformBufferObjectMaxGeometryBlocks

      public static final Limits UniformBufferObjectMaxGeometryBlocks
      Maximum number of UBOs that may be accessed by a geometry shader.
    • UniformBufferObjectMaxBlockSize

      public static final Limits UniformBufferObjectMaxBlockSize
      Maximum block size of a UBO.
    • ShaderStorageBufferObjectMaxBlockSize

      public static final Limits ShaderStorageBufferObjectMaxBlockSize
      Maximum size of an SSBO.
    • ShaderStorageBufferObjectMaxVertexBlocks

      public static final Limits ShaderStorageBufferObjectMaxVertexBlocks
      Maximum number of active SSBOs that may be accessed by a vertex shader.
    • ShaderStorageBufferObjectMaxFragmentBlocks

      public static final Limits ShaderStorageBufferObjectMaxFragmentBlocks
      Maximum number of active SSBOs that may be accessed by a fragment shader.
    • ShaderStorageBufferObjectMaxGeometryBlocks

      public static final Limits ShaderStorageBufferObjectMaxGeometryBlocks
      Maximum number of active SSBOs that may be accessed by a geometry shader.
    • ShaderStorageBufferObjectMaxTessControlBlocks

      public static final Limits ShaderStorageBufferObjectMaxTessControlBlocks
      Maximum number of active SSBOs that may be accessed by a tessellation control shader.
    • ShaderStorageBufferObjectMaxTessEvaluationBlocks

      public static final Limits ShaderStorageBufferObjectMaxTessEvaluationBlocks
      Maximum number of active SSBOs that may be accessed by a tessellation evaluation shader.
    • ShaderStorageBufferObjectMaxComputeBlocks

      public static final Limits ShaderStorageBufferObjectMaxComputeBlocks
      Not implemented yet.
    • ShaderStorageBufferObjectMaxCombineBlocks

      public static final Limits ShaderStorageBufferObjectMaxCombineBlocks
      Maximum number shader storage blocks across all active programs.
  • Method Details

    • values

      public static Limits[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Limits valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null