Class VRVulkanTextureData.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.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 Detail

      • m_nImage

        public long m_nImage()
        Returns the value of the 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_pPhysicalDevice

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

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

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