Package org.lwjgl.vulkan
Class VkVideoBindMemoryKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkVideoBindMemoryKHR,VkVideoBindMemoryKHR.Buffer>
-
- org.lwjgl.vulkan.VkVideoBindMemoryKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkVideoBindMemoryKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkVideoBindMemoryKHR
public static class VkVideoBindMemoryKHR.Buffer extends org.lwjgl.system.StructBuffer<VkVideoBindMemoryKHR,VkVideoBindMemoryKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkVideoBindMemoryKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkVideoBindMemoryKHR.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 byVkVideoBindMemoryKHR.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
-
sType
public int sType()
- Returns:
- the value of the
VkVideoBindMemoryKHR.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkVideoBindMemoryKHR.pNext()field.
-
memoryBindIndex
public int memoryBindIndex()
- Returns:
- the value of the
VkVideoBindMemoryKHR.memoryBindIndex()field.
-
memory
public long memory()
- Returns:
- the value of the
VkVideoBindMemoryKHR.memory()field.
-
memoryOffset
public long memoryOffset()
- Returns:
- the value of the
VkVideoBindMemoryKHR.memoryOffset()field.
-
memorySize
public long memorySize()
- Returns:
- the value of the
VkVideoBindMemoryKHR.memorySize()field.
-
sType
public VkVideoBindMemoryKHR.Buffer sType(int value)
Sets the specified value to theVkVideoBindMemoryKHR.sType()field.
-
sType$Default
public VkVideoBindMemoryKHR.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_BIND_MEMORY_KHRvalue to theVkVideoBindMemoryKHR.sType()field.
-
pNext
public VkVideoBindMemoryKHR.Buffer pNext(long value)
Sets the specified value to theVkVideoBindMemoryKHR.pNext()field.
-
memoryBindIndex
public VkVideoBindMemoryKHR.Buffer memoryBindIndex(int value)
Sets the specified value to theVkVideoBindMemoryKHR.memoryBindIndex()field.
-
memory
public VkVideoBindMemoryKHR.Buffer memory(long value)
Sets the specified value to theVkVideoBindMemoryKHR.memory()field.
-
memoryOffset
public VkVideoBindMemoryKHR.Buffer memoryOffset(long value)
Sets the specified value to theVkVideoBindMemoryKHR.memoryOffset()field.
-
memorySize
public VkVideoBindMemoryKHR.Buffer memorySize(long value)
Sets the specified value to theVkVideoBindMemoryKHR.memorySize()field.
-
-