Package org.lwjgl.vulkan
Class VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether the mutable descriptor type is supported.Description
If the
VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE { VkStructureTypesType(); void *pNext(); VkBool32mutableDescriptorType(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.BufferAn array ofVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMUTABLEDESCRIPTORTYPE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEcalloc()Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated withmemCalloc.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEcreate()Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated withBufferUtils.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffercreate(int capacity)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEcreate(long address)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance for the specified memory address.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance at the specified memory.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEcreateSafe(long address)static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEmalloc()Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated withmemAlloc.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated on the specifiedMemoryStack.booleanmutableDescriptorType()indicates that the implementation must support using theVkDescriptorTypeofDESCRIPTOR_TYPE_MUTABLE_VALVEwith at least the following descriptor types, where any combination of the types must be supported:DESCRIPTOR_TYPE_SAMPLED_IMAGEDESCRIPTOR_TYPE_STORAGE_IMAGEDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERDESCRIPTOR_TYPE_UNIFORM_BUFFERDESCRIPTOR_TYPE_STORAGE_BUFFERVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEmutableDescriptorType(boolean value)Sets the specified value to themutableDescriptorType()field.static intnmutableDescriptorType(long struct)Unsafe version ofmutableDescriptorType().static voidnmutableDescriptorType(long struct, int value)Unsafe version ofmutableDescriptorType.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEset(int sType, long pNext, boolean mutableDescriptorType)Initializes this struct with the specified values.VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEset(VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_VALVEvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE
public VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
mutableDescriptorType
public boolean mutableDescriptorType()
indicates that the implementation must support using theVkDescriptorTypeofDESCRIPTOR_TYPE_MUTABLE_VALVEwith at least the following descriptor types, where any combination of the types must be supported:DESCRIPTOR_TYPE_SAMPLED_IMAGEDESCRIPTOR_TYPE_STORAGE_IMAGEDESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERDESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERDESCRIPTOR_TYPE_UNIFORM_BUFFERDESCRIPTOR_TYPE_STORAGE_BUFFER
Additionally,
mutableDescriptorTypeindicates that:- Non-uniform descriptor indexing must be supported if all descriptor types in a
VkMutableDescriptorTypeListVALVEforDESCRIPTOR_TYPE_MUTABLE_VALVEhave the corresponding non-uniform indexing features enabled inVkPhysicalDeviceDescriptorIndexingFeatures. DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITwithdescriptorTypeofDESCRIPTOR_TYPE_MUTABLE_VALVErelaxes the list of required descriptor types to the descriptor types which have the corresponding update-after-bind feature enabled inVkPhysicalDeviceDescriptorIndexingFeatures.- Dynamically uniform descriptor indexing must be supported if all descriptor types in a
VkMutableDescriptorTypeListVALVEforDESCRIPTOR_TYPE_MUTABLE_VALVEhave the corresponding dynamic indexing features enabled. DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVEmust be supported.DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_VALVEmust be supported.
-
sType
public VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_VALVEvalue to thesType()field.
-
pNext
public VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE pNext(long value)
Sets the specified value to thepNext()field.
-
mutableDescriptorType
public VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE mutableDescriptorType(boolean value)
Sets the specified value to themutableDescriptorType()field.
-
set
public VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE set(int sType, long pNext, boolean mutableDescriptorType)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE set(VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE malloc()
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE calloc()
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE create()
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE create(long address)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE createSafe(long address)
-
malloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffer create(int capacity)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nmutableDescriptorType
public static int nmutableDescriptorType(long struct)
Unsafe version ofmutableDescriptorType().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nmutableDescriptorType
public static void nmutableDescriptorType(long struct, int value)Unsafe version ofmutableDescriptorType.
-
-