Package org.lwjgl.vulkan
Class VkPhysicalDevicePCIBusInfoPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDevicePCIBusInfoPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDevicePCIBusInfoPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure containing PCI bus information of a physical device.Valid Usage (Implicit)
Member documentation
sType– the type of this structure.pNext–NULLor 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.
Layout
struct VkPhysicalDevicePCIBusInfoPropertiesEXT { VkStructureType sType; void * pNext; uint32_t pciDomain; uint32_t pciBus; uint32_t pciDevice; uint32_t pciFunction; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDevicePCIBusInfoPropertiesEXT.BufferAn array ofVkPhysicalDevicePCIBusInfoPropertiesEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevicePCIBusInfoPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDevicePCIBusInfoPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDevicePCIBusInfoPropertiesEXTcalloc()Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDevicePCIBusInfoPropertiesEXTcallocStack()Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePCIBusInfoPropertiesEXT.BuffercallocStack(int capacity)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePCIBusInfoPropertiesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePCIBusInfoPropertiesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePCIBusInfoPropertiesEXTcreate()Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDevicePCIBusInfoPropertiesEXTcreate(long address)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance for the specified memory address.static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDevicePCIBusInfoPropertiesEXTcreateSafe(long address)static VkPhysicalDevicePCIBusInfoPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDevicePCIBusInfoPropertiesEXTmalloc()Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDevicePCIBusInfoPropertiesEXTmallocStack()Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the thread-localMemoryStack.static VkPhysicalDevicePCIBusInfoPropertiesEXT.BuffermallocStack(int capacity)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDevicePCIBusInfoPropertiesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDevicePCIBusInfoPropertiesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the specifiedMemoryStack.static intnpciBus(long struct)Unsafe version ofpciBus().static intnpciDevice(long struct)Unsafe version ofpciDevice().static intnpciDomain(long struct)Unsafe version ofpciDomain().static intnpciFunction(long struct)Unsafe version ofpciFunction().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.intpciBus()Returns the value of thepciBusfield.intpciDevice()Returns the value of thepciDevicefield.intpciDomain()Returns the value of thepciDomainfield.intpciFunction()Returns the value of thepciFunctionfield.longpNext()Returns the value of thepNextfield.VkPhysicalDevicePCIBusInfoPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDevicePCIBusInfoPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDevicePCIBusInfoPropertiesEXTset(VkPhysicalDevicePCIBusInfoPropertiesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPhysicalDevicePCIBusInfoPropertiesEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDevicePCIBusInfoPropertiesEXT
public VkPhysicalDevicePCIBusInfoPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDevicePCIBusInfoPropertiesEXTinstance 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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
pciDomain
public int pciDomain()
Returns the value of thepciDomainfield.
-
pciBus
public int pciBus()
Returns the value of thepciBusfield.
-
pciDevice
public int pciDevice()
Returns the value of thepciDevicefield.
-
pciFunction
public int pciFunction()
Returns the value of thepciFunctionfield.
-
sType
public VkPhysicalDevicePCIBusInfoPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDevicePCIBusInfoPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
set
public VkPhysicalDevicePCIBusInfoPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDevicePCIBusInfoPropertiesEXT set(VkPhysicalDevicePCIBusInfoPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDevicePCIBusInfoPropertiesEXT malloc()
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDevicePCIBusInfoPropertiesEXT calloc()
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDevicePCIBusInfoPropertiesEXT create()
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDevicePCIBusInfoPropertiesEXT create(long address)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDevicePCIBusInfoPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT mallocStack()
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT callocStack()
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDevicePCIBusInfoPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePCIBusInfoPropertiesEXT.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().
-
npciDomain
public static int npciDomain(long struct)
Unsafe version ofpciDomain().
-
npciBus
public static int npciBus(long struct)
Unsafe version ofpciBus().
-
npciDevice
public static int npciDevice(long struct)
Unsafe version ofpciDevice().
-
npciFunction
public static int npciFunction(long struct)
Unsafe version ofpciFunction().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-