public class VkPhysicalDevicePCIBusInfoPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.pciDomain – the PCI bus domain.pciBus – the PCI bus identifier.pciDevice – the PCI device identifier.pciFunction – the PCI device function identifier.
struct VkPhysicalDevicePCIBusInfoPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t pciDomain;
uint32_t pciBus;
uint32_t pciDevice;
uint32_t pciFunction;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer
An array of
VkPhysicalDevicePCIBusInfoPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PCIBUS
The struct member offsets.
|
static int |
PCIDEVICE
The struct member offsets.
|
static int |
PCIDOMAIN
The struct member offsets.
|
static int |
PCIFUNCTION
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDevicePCIBusInfoPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDevicePCIBusInfoPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
calloc()
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
create()
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance for the specified memory address. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
malloc()
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDevicePCIBusInfoPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the specified MemoryStack. |
static int |
npciBus(long struct)
Unsafe version of
pciBus(). |
static int |
npciDevice(long struct)
Unsafe version of
pciDevice(). |
static int |
npciDomain(long struct)
Unsafe version of
pciDomain(). |
static int |
npciFunction(long struct)
Unsafe version of
pciFunction(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
int |
pciBus()
Returns the value of the
pciBus field. |
int |
pciDevice()
Returns the value of the
pciDevice field. |
int |
pciDomain()
Returns the value of the
pciDomain field. |
int |
pciFunction()
Returns the value of the
pciFunction field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDevicePCIBusInfoPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDevicePCIBusInfoPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDevicePCIBusInfoPropertiesEXT |
set(VkPhysicalDevicePCIBusInfoPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDevicePCIBusInfoPropertiesEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int PCIDOMAIN
public static final int PCIBUS
public static final int PCIDEVICE
public static final int PCIFUNCTION
public VkPhysicalDevicePCIBusInfoPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDevicePCIBusInfoPropertiesEXT 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int pciDomain()
pciDomain field.public int pciBus()
pciBus field.public int pciDevice()
pciDevice field.public int pciFunction()
pciFunction field.public VkPhysicalDevicePCIBusInfoPropertiesEXT sType(int value)
sType field.public VkPhysicalDevicePCIBusInfoPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDevicePCIBusInfoPropertiesEXT set(int sType, long pNext)
public VkPhysicalDevicePCIBusInfoPropertiesEXT set(VkPhysicalDevicePCIBusInfoPropertiesEXT src)
src - the source structpublic static VkPhysicalDevicePCIBusInfoPropertiesEXT malloc()
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDevicePCIBusInfoPropertiesEXT calloc()
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDevicePCIBusInfoPropertiesEXT create()
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDevicePCIBusInfoPropertiesEXT create(long address)
VkPhysicalDevicePCIBusInfoPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDevicePCIBusInfoPropertiesEXT createSafe(long address)
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer create(int capacity)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDevicePCIBusInfoPropertiesEXT mallocStack()
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDevicePCIBusInfoPropertiesEXT callocStack()
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDevicePCIBusInfoPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDevicePCIBusInfoPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePCIBusInfoPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int npciDomain(long struct)
pciDomain().public static int npciBus(long struct)
pciBus().public static int npciDevice(long struct)
pciDevice().public static int npciFunction(long struct)
pciFunction().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.