Class PipelineKey_old


@Deprecated public final class PipelineKey_old extends KeyBuilder
Deprecated.
This class is used to generate a generic pipeline cache key. Also used to lookup pipeline state objects in cache.
  • Constructor Details

    • PipelineKey_old

      public PipelineKey_old()
      Deprecated.
    • PipelineKey_old

      public PipelineKey_old(PipelineKey_old other)
      Deprecated.
  • Method Details

    • getShaderKeyLength

      public int getShaderKeyLength()
      Deprecated.
      Returns the number of ints of the base key, without additional information. The key in this range describes the shader module info. OpenGL has no additional information, but Vulkan has.

      Because Vulkan encapsulates some states into an immutable structure, we have to collect additional information to form the cache key.

    • build

      @Nonnull public static PipelineKey_old build(PipelineKey_old desc, GraphicsPipelineDesc_Old info, Caps caps)
      Deprecated.
      Builds a base pipeline descriptor, without additional information.
      Parameters:
      desc - the pipeline descriptor
      info - the pipeline information
      caps - the context capabilities