Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceDescriptorIndexingProperties

extends Struct<VkPhysicalDeviceDescriptorIndexingProperties>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkPhysicalDeviceDescriptorIndexingPropertiesEXT
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing descriptor indexing properties that can be supported by an implementation.
Description

If the VkPhysicalDeviceDescriptorIndexingProperties 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 VkPhysicalDeviceDescriptorIndexingProperties {
    VkStructureType sType;
    void * pNext;
    uint32_t maxUpdateAfterBindDescriptorsInAllPools;
    VkBool32 shaderUniformBufferArrayNonUniformIndexingNative;
    VkBool32 shaderSampledImageArrayNonUniformIndexingNative;
    VkBool32 shaderStorageBufferArrayNonUniformIndexingNative;
    VkBool32 shaderStorageImageArrayNonUniformIndexingNative;
    VkBool32 shaderInputAttachmentArrayNonUniformIndexingNative;
    VkBool32 robustBufferAccessUpdateAfterBind;
    VkBool32 quadDivergentImplicitLod;
    uint32_t maxPerStageDescriptorUpdateAfterBindSamplers;
    uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers;
    uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers;
    uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages;
    uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages;
    uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments;
    uint32_t maxPerStageUpdateAfterBindResources;
    uint32_t maxDescriptorSetUpdateAfterBindSamplers;
    uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers;
    uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
    uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers;
    uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
    uint32_t maxDescriptorSetUpdateAfterBindSampledImages;
    uint32_t maxDescriptorSetUpdateAfterBindStorageImages;
    uint32_t maxDescriptorSetUpdateAfterBindInputAttachments;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
public static final int
public static final int
MAXDESCRIPTORSETUPDATEAFTERBINDSAMPLERS

The struct member offsets.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
MAXPERSTAGEUPDATEAFTERBINDRESOURCES

The struct member offsets.

public static final int
MAXUPDATEAFTERBINDDESCRIPTORSINALLPOOLS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
QUADDIVERGENTIMPLICITLOD

The struct member offsets.

public static final int
ROBUSTBUFFERACCESSUPDATEAFTERBIND

The struct member offsets.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceDescriptorIndexingProperties(ByteBuffer container)

Creates a VkPhysicalDeviceDescriptorIndexingProperties instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceDescriptorIndexingProperties
calloc()

Returns a new VkPhysicalDeviceDescriptorIndexingProperties instance allocated with memCalloc.

public static VkPhysicalDeviceDescriptorIndexingProperties.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceDescriptorIndexingProperties
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceDescriptorIndexingProperties.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkPhysicalDeviceDescriptorIndexingProperties
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceDescriptorIndexingProperties
create()

Returns a new VkPhysicalDeviceDescriptorIndexingProperties instance allocated with BufferUtils.

public static VkPhysicalDeviceDescriptorIndexingProperties
create(long address)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties instance for the specified memory address.

public static VkPhysicalDeviceDescriptorIndexingProperties.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceDescriptorIndexingProperties.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceDescriptorIndexingProperties.Buffer instance at the specified memory.

public static VkPhysicalDeviceDescriptorIndexingProperties
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceDescriptorIndexingProperties.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceDescriptorIndexingProperties
malloc()

Returns a new VkPhysicalDeviceDescriptorIndexingProperties instance allocated with memAlloc.

public static VkPhysicalDeviceDescriptorIndexingProperties.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceDescriptorIndexingProperties
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceDescriptorIndexingProperties.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceDescriptorIndexingProperties.Buffer instance allocated on the specified MemoryStack.

public int
maxDescriptorSetUpdateAfterBindInputAttachments()

similar to maxDescriptorSetInputAttachments but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxDescriptorSetUpdateAfterBindSampledImages()

similar to maxDescriptorSetSampledImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxDescriptorSetUpdateAfterBindSamplers()

similar to maxDescriptorSetSamplers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxDescriptorSetUpdateAfterBindStorageBuffers()

similar to maxDescriptorSetStorageBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxDescriptorSetUpdateAfterBindStorageBuffersDynamic()

similar to maxDescriptorSetStorageBuffersDynamic but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxDescriptorSetUpdateAfterBindStorageImages()

similar to maxDescriptorSetStorageImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxDescriptorSetUpdateAfterBindUniformBuffers()

similar to maxDescriptorSetUniformBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxDescriptorSetUpdateAfterBindUniformBuffersDynamic()

similar to maxDescriptorSetUniformBuffersDynamic but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxPerStageDescriptorUpdateAfterBindInputAttachments()

similar to maxPerStageDescriptorInputAttachments but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxPerStageDescriptorUpdateAfterBindSampledImages()

similar to maxPerStageDescriptorSampledImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxPerStageDescriptorUpdateAfterBindSamplers()

similar to maxPerStageDescriptorSamplers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxPerStageDescriptorUpdateAfterBindStorageBuffers()

similar to maxPerStageDescriptorStorageBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxPerStageDescriptorUpdateAfterBindStorageImages()

similar to maxPerStageDescriptorStorageImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxPerStageDescriptorUpdateAfterBindUniformBuffers()

similar to maxPerStageDescriptorUniformBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxPerStageUpdateAfterBindResources()

similar to maxPerStageResources but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.

public int
maxUpdateAfterBindDescriptorsInAllPools()

the maximum number of descriptors (summed over all descriptor types) that can be created across all pools that are created with the DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT bit set.

public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static int
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nquadDivergentImplicitLod(long struct)

Unsafe version of quadDivergentImplicitLod.

public static int
public static int
public static int
public static int
public static int
public static int
public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceDescriptorIndexingProperties
pNext(long value)

Sets the specified value to the pNext field.

public boolean
quadDivergentImplicitLod()

a boolean value indicating whether implicit LOD calculations for image operations have well-defined results when the image and/or sampler objects used for the instruction are not uniform within a quad.

public boolean
robustBufferAccessUpdateAfterBind()

a boolean value indicating whether robustBufferAccess can be enabled on a device simultaneously with descriptorBindingUniformBufferUpdateAfterBind, descriptorBindingStorageBufferUpdateAfterBind, descriptorBindingUniformTexelBufferUpdateAfterBind, and/or descriptorBindingStorageTexelBufferUpdateAfterBind.

public VkPhysicalDeviceDescriptorIndexingProperties
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceDescriptorIndexingProperties

Returns:

this struct
set
(VkPhysicalDeviceDescriptorIndexingProperties
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderInputAttachmentArrayNonUniformIndexingNative()

a boolean value indicating whether input attachment descriptors natively support nonuniform indexing.

public boolean
shaderSampledImageArrayNonUniformIndexingNative()

a boolean value indicating whether sampler and image descriptors natively support nonuniform indexing.

public boolean
shaderStorageBufferArrayNonUniformIndexingNative()

a boolean value indicating whether storage buffer descriptors natively support nonuniform indexing.

public boolean
shaderStorageImageArrayNonUniformIndexingNative()

a boolean value indicating whether storage image descriptors natively support nonuniform indexing.

public boolean
shaderUniformBufferArrayNonUniformIndexingNative()

a boolean value indicating whether uniform buffer descriptors natively support nonuniform indexing.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceDescriptorIndexingProperties
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceDescriptorIndexingProperties
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate