Class VRVulkanTextureData.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VRVulkanTextureData>, NativeResource, Pointer
Enclosing class:
VRVulkanTextureData

public static class VRVulkanTextureData.Buffer extends StructBuffer<VRVulkanTextureData,VRVulkanTextureData.Buffer> implements NativeResource
An array of VRVulkanTextureData structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VRVulkanTextureData.Buffer instance 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 by VRVulkanTextureData.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 Details

    • m_nImage

      public long m_nImage()
      Returns:
      the value of the VRVulkanTextureData.m_nImage() field.
    • m_pDevice

      public long m_pDevice()
      Returns:
      the value of the m_pDevice field.
    • m_pPhysicalDevice

      public long m_pPhysicalDevice()
      Returns:
      the value of the m_pPhysicalDevice field.
    • m_pInstance

      public long m_pInstance()
      Returns:
      the value of the m_pInstance field.
    • m_pQueue

      public long m_pQueue()
      Returns:
      the value of the m_pQueue field.
    • m_nQueueFamilyIndex

      public int m_nQueueFamilyIndex()
      Returns:
      the value of the m_nQueueFamilyIndex field.
    • m_nWidth

      public int m_nWidth()
      Returns:
      the value of the m_nWidth field.
    • m_nHeight

      public int m_nHeight()
      Returns:
      the value of the m_nHeight field.
    • m_nFormat

      public int m_nFormat()
      Returns:
      the value of the m_nFormat field.
    • m_nSampleCount

      public int m_nSampleCount()
      Returns:
      the value of the m_nSampleCount field.
    • m_nImage

      public VRVulkanTextureData.Buffer m_nImage(long value)
      Sets the specified value to the VRVulkanTextureData.m_nImage() field.
    • m_pDevice

      public VRVulkanTextureData.Buffer m_pDevice(long value)
      Sets the specified value to the m_pDevice field.
    • m_pPhysicalDevice

      public VRVulkanTextureData.Buffer m_pPhysicalDevice(long value)
      Sets the specified value to the m_pPhysicalDevice field.
    • m_pInstance

      public VRVulkanTextureData.Buffer m_pInstance(long value)
      Sets the specified value to the m_pInstance field.
    • m_pQueue

      public VRVulkanTextureData.Buffer m_pQueue(long value)
      Sets the specified value to the m_pQueue field.
    • m_nQueueFamilyIndex

      public VRVulkanTextureData.Buffer m_nQueueFamilyIndex(int value)
      Sets the specified value to the m_nQueueFamilyIndex field.
    • m_nWidth

      public VRVulkanTextureData.Buffer m_nWidth(int value)
      Sets the specified value to the m_nWidth field.
    • m_nHeight

      public VRVulkanTextureData.Buffer m_nHeight(int value)
      Sets the specified value to the m_nHeight field.
    • m_nFormat

      public VRVulkanTextureData.Buffer m_nFormat(int value)
      Sets the specified value to the m_nFormat field.
    • m_nSampleCount

      public VRVulkanTextureData.Buffer m_nSampleCount(int value)
      Sets the specified value to the m_nSampleCount field.