Package org.lwjgl.openvr
Class VRVulkanDevice.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VRVulkanDevice,VRVulkanDevice.Buffer>
-
- org.lwjgl.openvr.VRVulkanDevice.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VRVulkanDevice>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VRVulkanDevice
public static class VRVulkanDevice.Buffer extends org.lwjgl.system.StructBuffer<VRVulkanDevice,VRVulkanDevice.Buffer> implements org.lwjgl.system.NativeResource
An array ofVRVulkanDevicestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longm_pDevice()VRVulkanDevice.Bufferm_pDevice(long value)Sets the specified value to them_pDevicefield.longm_pInstance()VRVulkanDevice.Bufferm_pInstance(long value)Sets the specified value to them_pInstancefield.longm_pPhysicalDevice()VRVulkanDevice.Bufferm_pPhysicalDevice(long value)Sets the specified value to them_pPhysicalDevicefield.longm_pQueue()VRVulkanDevice.Bufferm_pQueue(long value)Sets the specified value to them_pQueuefield.intm_uQueueFamilyIndex()VRVulkanDevice.Bufferm_uQueueFamilyIndex(int value)Sets the specified value to them_uQueueFamilyIndexfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVRVulkanDevice.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 byVRVulkanDevice.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
-
m_pInstance
public long m_pInstance()
- Returns:
- the value of the
m_pInstancefield.
-
m_pDevice
public long m_pDevice()
- Returns:
- the value of the
m_pDevicefield.
-
m_pPhysicalDevice
public long m_pPhysicalDevice()
- Returns:
- the value of the
m_pPhysicalDevicefield.
-
m_pQueue
public long m_pQueue()
- Returns:
- the value of the
m_pQueuefield.
-
m_uQueueFamilyIndex
public int m_uQueueFamilyIndex()
- Returns:
- the value of the
m_uQueueFamilyIndexfield.
-
m_pInstance
public VRVulkanDevice.Buffer m_pInstance(long value)
Sets the specified value to them_pInstancefield.
-
m_pDevice
public VRVulkanDevice.Buffer m_pDevice(long value)
Sets the specified value to them_pDevicefield.
-
m_pPhysicalDevice
public VRVulkanDevice.Buffer m_pPhysicalDevice(long value)
Sets the specified value to them_pPhysicalDevicefield.
-
m_pQueue
public VRVulkanDevice.Buffer m_pQueue(long value)
Sets the specified value to them_pQueuefield.
-
m_uQueueFamilyIndex
public VRVulkanDevice.Buffer m_uQueueFamilyIndex(int value)
Sets the specified value to them_uQueueFamilyIndexfield.
-
-