Class VkPhysicalDeviceVulkan11Features

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, STORAGEBUFFER16BITACCESS, UNIFORMANDSTORAGEBUFFER16BITACCESS, STORAGEPUSHCONSTANT16, STORAGEINPUTOUTPUT16, MULTIVIEW, MULTIVIEWGEOMETRYSHADER, MULTIVIEWTESSELLATIONSHADER, VARIABLEPOINTERSSTORAGEBUFFER, VARIABLEPOINTERS, PROTECTEDMEMORY, SAMPLERYCBCRCONVERSION, SHADERDRAWPARAMETERS

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDeviceVulkan11Features

        public VkPhysicalDeviceVulkan11Features​(java.nio.ByteBuffer container)
        Creates a VkPhysicalDeviceVulkan11Features 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

        public long pNext()
        NULL or a pointer to a structure extending this structure.
      • storageBuffer16BitAccess

        public boolean storageBuffer16BitAccess()
        specifies whether objects in the StorageBuffer, ShaderRecordBufferKHR, or PhysicalStorageBuffer storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageBuffer16BitAccess capability.
      • uniformAndStorageBuffer16BitAccess

        public boolean uniformAndStorageBuffer16BitAccess()
        specifies whether objects in the Uniform storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the UniformAndStorageBuffer16BitAccess capability.
      • storagePushConstant16

        public boolean storagePushConstant16()
        specifies whether objects in the PushConstant storage class can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StoragePushConstant16 capability.
      • storageInputOutput16

        public boolean storageInputOutput16()
        specifies whether objects in the Input and Output storage classes can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageInputOutput16 capability.
      • multiview

        public boolean multiview()
        specifies whether the implementation supports multiview rendering within a render pass. If this feature is not enabled, the view mask of each subpass must always be zero.
      • multiviewGeometryShader

        public boolean multiviewGeometryShader()
        specifies whether the implementation supports multiview rendering within a render pass, with geometry shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include a geometry shader.
      • multiviewTessellationShader

        public boolean multiviewTessellationShader()
        specifies whether the implementation supports multiview rendering within a render pass, with tessellation shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include any tessellation shaders.
      • variablePointersStorageBuffer

        public boolean variablePointersStorageBuffer()
        specifies whether the implementation supports the SPIR-V VariablePointersStorageBuffer capability. When this feature is not enabled, shader modules must not declare the SPV_KHR_variable_pointers extension or the VariablePointersStorageBuffer capability.
      • variablePointers

        public boolean variablePointers()
        specifies whether the implementation supports the SPIR-V VariablePointers capability. When this feature is not enabled, shader modules must not declare the VariablePointers capability.
      • protectedMemory

        public boolean protectedMemory()
        specifies whether protected memory is supported.
      • samplerYcbcrConversion

        public boolean samplerYcbcrConversion()
        specifies whether the implementation supports sampler Y′CBCR conversion. If samplerYcbcrConversion is FALSE, sampler Y′CBCR conversion is not supported, and samplers using sampler Y′CBCR conversion must not be used.
      • shaderDrawParameters

        public boolean shaderDrawParameters()
        specifies whether the implementation supports the SPIR-V DrawParameters capability. When this feature is not enabled, shader modules must not declare the SPV_KHR_shader_draw_parameters extension or the DrawParameters capability.
      • set

        public VkPhysicalDeviceVulkan11Features set​(int sType,
                                                    long pNext,
                                                    boolean storageBuffer16BitAccess,
                                                    boolean uniformAndStorageBuffer16BitAccess,
                                                    boolean storagePushConstant16,
                                                    boolean storageInputOutput16,
                                                    boolean multiview,
                                                    boolean multiviewGeometryShader,
                                                    boolean multiviewTessellationShader,
                                                    boolean variablePointersStorageBuffer,
                                                    boolean variablePointers,
                                                    boolean protectedMemory,
                                                    boolean samplerYcbcrConversion,
                                                    boolean shaderDrawParameters)
        Initializes this struct with the specified values.
      • malloc

        public static VkPhysicalDeviceVulkan11Features malloc()
        Returns a new VkPhysicalDeviceVulkan11Features instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static VkPhysicalDeviceVulkan11Features calloc()
        Returns a new VkPhysicalDeviceVulkan11Features instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static VkPhysicalDeviceVulkan11Features create​(long address)
        Returns a new VkPhysicalDeviceVulkan11Features instance for the specified memory address.
      • malloc

        public static VkPhysicalDeviceVulkan11Features malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPhysicalDeviceVulkan11Features instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkPhysicalDeviceVulkan11Features calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPhysicalDeviceVulkan11Features instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • nstorageBuffer16BitAccess

        public static int nstorageBuffer16BitAccess​(long struct)
        Unsafe version of storageBuffer16BitAccess().
      • nstoragePushConstant16

        public static int nstoragePushConstant16​(long struct)
        Unsafe version of storagePushConstant16().
      • nstorageInputOutput16

        public static int nstorageInputOutput16​(long struct)
        Unsafe version of storageInputOutput16().
      • nmultiview

        public static int nmultiview​(long struct)
        Unsafe version of multiview().
      • nmultiviewGeometryShader

        public static int nmultiviewGeometryShader​(long struct)
        Unsafe version of multiviewGeometryShader().
      • nmultiviewTessellationShader

        public static int nmultiviewTessellationShader​(long struct)
      • nvariablePointers

        public static int nvariablePointers​(long struct)
        Unsafe version of variablePointers().
      • nprotectedMemory

        public static int nprotectedMemory​(long struct)
        Unsafe version of protectedMemory().
      • nsamplerYcbcrConversion

        public static int nsamplerYcbcrConversion​(long struct)
        Unsafe version of samplerYcbcrConversion().
      • nshaderDrawParameters

        public static int nshaderDrawParameters​(long struct)
        Unsafe version of shaderDrawParameters().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.
      • nstorageBuffer16BitAccess

        public static void nstorageBuffer16BitAccess​(long struct,
                                                     int value)
        Unsafe version of storageBuffer16BitAccess.
      • nuniformAndStorageBuffer16BitAccess

        public static void nuniformAndStorageBuffer16BitAccess​(long struct,
                                                               int value)
      • nstoragePushConstant16

        public static void nstoragePushConstant16​(long struct,
                                                  int value)
        Unsafe version of storagePushConstant16.
      • nstorageInputOutput16

        public static void nstorageInputOutput16​(long struct,
                                                 int value)
        Unsafe version of storageInputOutput16.
      • nmultiview

        public static void nmultiview​(long struct,
                                      int value)
        Unsafe version of multiview.
      • nmultiviewGeometryShader

        public static void nmultiviewGeometryShader​(long struct,
                                                    int value)
        Unsafe version of multiviewGeometryShader.
      • nmultiviewTessellationShader

        public static void nmultiviewTessellationShader​(long struct,
                                                        int value)
        Unsafe version of multiviewTessellationShader.
      • nvariablePointersStorageBuffer

        public static void nvariablePointersStorageBuffer​(long struct,
                                                          int value)
      • nvariablePointers

        public static void nvariablePointers​(long struct,
                                             int value)
        Unsafe version of variablePointers.
      • nprotectedMemory

        public static void nprotectedMemory​(long struct,
                                            int value)
        Unsafe version of protectedMemory.
      • nsamplerYcbcrConversion

        public static void nsamplerYcbcrConversion​(long struct,
                                                   int value)
        Unsafe version of samplerYcbcrConversion.
      • nshaderDrawParameters

        public static void nshaderDrawParameters​(long struct,
                                                 int value)
        Unsafe version of shaderDrawParameters.