public static class VkComputePipelineCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkComputePipelineCreateInfo,VkComputePipelineCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkComputePipelineCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkComputePipelineCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
basePipelineHandle()
Returns the value of the
basePipelineHandle field. |
VkComputePipelineCreateInfo.Buffer |
basePipelineHandle(long value)
Sets the specified value to the
basePipelineHandle field. |
int |
basePipelineIndex()
Returns the value of the
basePipelineIndex field. |
VkComputePipelineCreateInfo.Buffer |
basePipelineIndex(int value)
Sets the specified value to the
basePipelineIndex field. |
int |
flags()
Returns the value of the
flags field. |
VkComputePipelineCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
long |
layout()
Returns the value of the
layout field. |
VkComputePipelineCreateInfo.Buffer |
layout(long value)
Sets the specified value to the
layout field. |
long |
pNext()
Returns the value of the
pNext field. |
VkComputePipelineCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineShaderStageCreateInfo |
stage()
Returns a
VkPipelineShaderStageCreateInfo view of the stage field. |
VkComputePipelineCreateInfo.Buffer |
stage(java.util.function.Consumer<VkPipelineShaderStageCreateInfo> consumer)
Passes the
stage field to the specified Consumer. |
VkComputePipelineCreateInfo.Buffer |
stage(VkPipelineShaderStageCreateInfo value)
Copies the specified
VkPipelineShaderStageCreateInfo to the stage field. |
int |
sType()
Returns the value of the
sType field. |
VkComputePipelineCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkComputePipelineCreateInfo.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 VkComputePipelineCreateInfo.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public int flags()
flags field.public VkPipelineShaderStageCreateInfo stage()
VkPipelineShaderStageCreateInfo view of the stage field.public long layout()
layout field.public long basePipelineHandle()
basePipelineHandle field.public int basePipelineIndex()
basePipelineIndex field.public VkComputePipelineCreateInfo.Buffer sType(int value)
sType field.public VkComputePipelineCreateInfo.Buffer pNext(long value)
pNext field.public VkComputePipelineCreateInfo.Buffer flags(int value)
flags field.public VkComputePipelineCreateInfo.Buffer stage(VkPipelineShaderStageCreateInfo value)
VkPipelineShaderStageCreateInfo to the stage field.public VkComputePipelineCreateInfo.Buffer stage(java.util.function.Consumer<VkPipelineShaderStageCreateInfo> consumer)
stage field to the specified Consumer.public VkComputePipelineCreateInfo.Buffer layout(long value)
layout field.public VkComputePipelineCreateInfo.Buffer basePipelineHandle(long value)
basePipelineHandle field.public VkComputePipelineCreateInfo.Buffer basePipelineIndex(int value)
basePipelineIndex field.Copyright LWJGL. All Rights Reserved. License terms.