Package org.lwjgl.vulkan
Class VkPhysicalDevicePortabilitySubsetPropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDevicePortabilitySubsetPropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDevicePortabilitySubsetPropertiesKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing additional properties supported by a portable implementation.Description
If the
VkPhysicalDevicePortabilitySubsetPropertiesKHRstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDevicePortabilitySubsetPropertiesKHR { VkStructureTypesType(); void *pNext(); uint32_tminVertexInputBindingStrideAlignment(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDevicePortabilitySubsetPropertiesKHR.BufferAn array ofVkPhysicalDevicePortabilitySubsetPropertiesKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMINVERTEXINPUTBINDINGSTRIDEALIGNMENT
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevicePortabilitySubsetPropertiesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDevicePortabilitySubsetPropertiesKHRcalloc()Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePortabilitySubsetPropertiesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePortabilitySubsetPropertiesKHRcreate()Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDevicePortabilitySubsetPropertiesKHRcreate(long address)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance for the specified memory address.static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDevicePortabilitySubsetPropertiesKHRcreateSafe(long address)static VkPhysicalDevicePortabilitySubsetPropertiesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDevicePortabilitySubsetPropertiesKHRmalloc()Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDevicePortabilitySubsetPropertiesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated on the specifiedMemoryStack.intminVertexInputBindingStrideAlignment()indicates the minimum alignment for vertex input strides.VkPhysicalDevicePortabilitySubsetPropertiesKHRminVertexInputBindingStrideAlignment(int value)Sets the specified value to theminVertexInputBindingStrideAlignment()field.static intnminVertexInputBindingStrideAlignment(long struct)Unsafe version ofminVertexInputBindingStrideAlignment().static voidnminVertexInputBindingStrideAlignment(long struct, int value)Unsafe version ofminVertexInputBindingStrideAlignment.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.VkPhysicalDevicePortabilitySubsetPropertiesKHRpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDevicePortabilitySubsetPropertiesKHRset(int sType, long pNext, int minVertexInputBindingStrideAlignment)Initializes this struct with the specified values.VkPhysicalDevicePortabilitySubsetPropertiesKHRset(VkPhysicalDevicePortabilitySubsetPropertiesKHR src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDevicePortabilitySubsetPropertiesKHRsType(int value)Sets the specified value to thesType()field.VkPhysicalDevicePortabilitySubsetPropertiesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHRvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDevicePortabilitySubsetPropertiesKHR
public VkPhysicalDevicePortabilitySubsetPropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance 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.
-
minVertexInputBindingStrideAlignment
public int minVertexInputBindingStrideAlignment()
indicates the minimum alignment for vertex input strides.VkVertexInputBindingDescription::stridemust be a multiple of, and at least as large as, this value. The value must be a power of two.
-
sType
public VkPhysicalDevicePortabilitySubsetPropertiesKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDevicePortabilitySubsetPropertiesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHRvalue to thesType()field.
-
pNext
public VkPhysicalDevicePortabilitySubsetPropertiesKHR pNext(long value)
Sets the specified value to thepNext()field.
-
minVertexInputBindingStrideAlignment
public VkPhysicalDevicePortabilitySubsetPropertiesKHR minVertexInputBindingStrideAlignment(int value)
Sets the specified value to theminVertexInputBindingStrideAlignment()field.
-
set
public VkPhysicalDevicePortabilitySubsetPropertiesKHR set(int sType, long pNext, int minVertexInputBindingStrideAlignment)
Initializes this struct with the specified values.
-
set
public VkPhysicalDevicePortabilitySubsetPropertiesKHR set(VkPhysicalDevicePortabilitySubsetPropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR malloc()
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR calloc()
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR create()
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR create(long address)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDevicePortabilitySubsetPropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDevicePortabilitySubsetPropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePortabilitySubsetPropertiesKHR.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().
-
nminVertexInputBindingStrideAlignment
public static int nminVertexInputBindingStrideAlignment(long struct)
Unsafe version ofminVertexInputBindingStrideAlignment().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nminVertexInputBindingStrideAlignment
public static void nminVertexInputBindingStrideAlignment(long struct, int value)Unsafe version ofminVertexInputBindingStrideAlignment.
-
-