Package org.lwjgl.vulkan
Class VkTraceRaysIndirectCommandKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkTraceRaysIndirectCommandKHR,VkTraceRaysIndirectCommandKHR.Buffer>
-
- org.lwjgl.vulkan.VkTraceRaysIndirectCommandKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkTraceRaysIndirectCommandKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkTraceRaysIndirectCommandKHR
public static class VkTraceRaysIndirectCommandKHR.Buffer extends org.lwjgl.system.StructBuffer<VkTraceRaysIndirectCommandKHR,VkTraceRaysIndirectCommandKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkTraceRaysIndirectCommandKHRstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdepth()VkTraceRaysIndirectCommandKHR.Bufferdepth(int value)Sets the specified value to theVkTraceRaysIndirectCommandKHR.depth()field.intheight()VkTraceRaysIndirectCommandKHR.Bufferheight(int value)Sets the specified value to theVkTraceRaysIndirectCommandKHR.height()field.intwidth()VkTraceRaysIndirectCommandKHR.Bufferwidth(int value)Sets the specified value to theVkTraceRaysIndirectCommandKHR.width()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkTraceRaysIndirectCommandKHR.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 byVkTraceRaysIndirectCommandKHR.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
-
width
public int width()
- Returns:
- the value of the
VkTraceRaysIndirectCommandKHR.width()field.
-
height
public int height()
- Returns:
- the value of the
VkTraceRaysIndirectCommandKHR.height()field.
-
depth
public int depth()
- Returns:
- the value of the
VkTraceRaysIndirectCommandKHR.depth()field.
-
width
public VkTraceRaysIndirectCommandKHR.Buffer width(int value)
Sets the specified value to theVkTraceRaysIndirectCommandKHR.width()field.
-
height
public VkTraceRaysIndirectCommandKHR.Buffer height(int value)
Sets the specified value to theVkTraceRaysIndirectCommandKHR.height()field.
-
depth
public VkTraceRaysIndirectCommandKHR.Buffer depth(int value)
Sets the specified value to theVkTraceRaysIndirectCommandKHR.depth()field.
-
-