Class VkPhysicalDevicePipelineBinaryPropertiesKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDevicePipelineBinaryPropertiesKHR>
org.lwjgl.vulkan.VkPhysicalDevicePipelineBinaryPropertiesKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkPhysicalDevicePipelineBinaryPropertiesKHR extends org.lwjgl.system.Struct<VkPhysicalDevicePipelineBinaryPropertiesKHR> implements org.lwjgl.system.NativeResource
Structure describing properties about the pipeline binary implementation.
Description
Note

These properties tend to be platform specific and may change depending on external configuration which is outside the scope of this specification. These properties are intended to guide applications when implementations have dedicated caching solutions available. In particular, if the pipelineBinaryPrefersInternalCache limit is exposed, relying on the internal cache may provide some advantage compared to an application-specific solution. An application with its own dedicated solution may still use its own caching system even with this limit exposed.

If the VkPhysicalDevicePipelineBinaryPropertiesKHR structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

Layout


 struct VkPhysicalDevicePipelineBinaryPropertiesKHR {
     VkStructureType sType();
     void * pNext();
     VkBool32 pipelineBinaryInternalCache();
     VkBool32 pipelineBinaryInternalCacheControl();
     VkBool32 pipelineBinaryPrefersInternalCache();
     VkBool32 pipelineBinaryPrecompiledInternalCache();
     VkBool32 pipelineBinaryCompressedData();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • PIPELINEBINARYINTERNALCACHE

      public static final int PIPELINEBINARYINTERNALCACHE
      The struct member offsets.
    • PIPELINEBINARYINTERNALCACHECONTROL

      public static final int PIPELINEBINARYINTERNALCACHECONTROL
      The struct member offsets.
    • PIPELINEBINARYPREFERSINTERNALCACHE

      public static final int PIPELINEBINARYPREFERSINTERNALCACHE
      The struct member offsets.
    • PIPELINEBINARYPRECOMPILEDINTERNALCACHE

      public static final int PIPELINEBINARYPRECOMPILEDINTERNALCACHE
      The struct member offsets.
    • PIPELINEBINARYCOMPRESSEDDATA

      public static final int PIPELINEBINARYCOMPRESSEDDATA
      The struct member offsets.
  • Constructor Details

    • VkPhysicalDevicePipelineBinaryPropertiesKHR

      public VkPhysicalDevicePipelineBinaryPropertiesKHR(ByteBuffer container)
      Creates a VkPhysicalDevicePipelineBinaryPropertiesKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details