Package org.lwjgl.opencl
Class CLDevicePCIBusInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<CLDevicePCIBusInfoKHR,CLDevicePCIBusInfoKHR.Buffer>
-
- org.lwjgl.opencl.CLDevicePCIBusInfoKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<CLDevicePCIBusInfoKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- CLDevicePCIBusInfoKHR
public static class CLDevicePCIBusInfoKHR.Buffer extends org.lwjgl.system.StructBuffer<CLDevicePCIBusInfoKHR,CLDevicePCIBusInfoKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofCLDevicePCIBusInfoKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intpci_bus()intpci_device()intpci_domain()intpci_function()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCLDevicePCIBusInfoKHR.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byCLDevicePCIBusInfoKHR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
pci_domain
public int pci_domain()
- Returns:
- the value of the
pci_domainfield.
-
pci_bus
public int pci_bus()
- Returns:
- the value of the
pci_busfield.
-
pci_device
public int pci_device()
- Returns:
- the value of the
pci_devicefield.
-
pci_function
public int pci_function()
- Returns:
- the value of the
pci_functionfield.
-
-