Package icyllis.arc3d.engine.trash
Class PipelineKey_old
java.lang.Object
icyllis.arc3d.engine.Key
icyllis.arc3d.engine.KeyBuilder
icyllis.arc3d.engine.trash.PipelineKey_old
Deprecated.
This class is used to generate a generic pipeline cache key.
Also used to lookup pipeline state objects in cache.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PipelineKey_old
build
(PipelineKey_old desc, GraphicsPipelineDesc_Old info, Caps caps) Deprecated.Builds a base pipeline descriptor, without additional information.int
Deprecated.Returns the number of ints of the base key, without additional information.
-
Constructor Details
-
PipelineKey_old
public PipelineKey_old()Deprecated. -
PipelineKey_old
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 descriptorinfo
- the pipeline informationcaps
- the context capabilities
-