Class VkPhysicalDeviceShaderFloat16Int8Features

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceShaderFloat16Int8Features>
org.lwjgl.vulkan.VkPhysicalDeviceShaderFloat16Int8Features
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkPhysicalDeviceFloat16Int8FeaturesKHR, VkPhysicalDeviceShaderFloat16Int8FeaturesKHR

public class VkPhysicalDeviceShaderFloat16Int8Features extends org.lwjgl.system.Struct<VkPhysicalDeviceShaderFloat16Int8Features> implements org.lwjgl.system.NativeResource
Structure describing features supported by VK_KHR_shader_float16_int8.
Description

If the VkPhysicalDeviceShaderFloat16Int8Features structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceShaderFloat16Int8Features can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


 struct VkPhysicalDeviceShaderFloat16Int8Features {
     VkStructureType sType();
     void * pNext();
     VkBool32 shaderFloat16();
     VkBool32 shaderInt8();
 }
  • 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.
    • SHADERFLOAT16

      public static final int SHADERFLOAT16
      The struct member offsets.
    • SHADERINT8

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

    • VkPhysicalDeviceShaderFloat16Int8Features

      public VkPhysicalDeviceShaderFloat16Int8Features(ByteBuffer container)
      Creates a VkPhysicalDeviceShaderFloat16Int8Features 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