Package org.lwjgl.vulkan
Class VkRayTracingPipelineCreateInfoNV.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkRayTracingPipelineCreateInfoNV,VkRayTracingPipelineCreateInfoNV.Buffer>
-
- org.lwjgl.vulkan.VkRayTracingPipelineCreateInfoNV.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkRayTracingPipelineCreateInfoNV>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkRayTracingPipelineCreateInfoNV
public static class VkRayTracingPipelineCreateInfoNV.Buffer extends org.lwjgl.system.StructBuffer<VkRayTracingPipelineCreateInfoNV,VkRayTracingPipelineCreateInfoNV.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkRayTracingPipelineCreateInfoNV
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
basePipelineHandle()
Returns the value of thebasePipelineHandle
field.VkRayTracingPipelineCreateInfoNV.Buffer
basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandle
field.int
basePipelineIndex()
Returns the value of thebasePipelineIndex
field.VkRayTracingPipelineCreateInfoNV.Buffer
basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndex
field.int
flags()
Returns the value of theflags
field.VkRayTracingPipelineCreateInfoNV.Buffer
flags(int value)
Sets the specified value to theflags
field.int
groupCount()
Returns the value of thegroupCount
field.long
layout()
Returns the value of thelayout
field.VkRayTracingPipelineCreateInfoNV.Buffer
layout(long value)
Sets the specified value to thelayout
field.int
maxRecursionDepth()
Returns the value of themaxRecursionDepth
field.VkRayTracingPipelineCreateInfoNV.Buffer
maxRecursionDepth(int value)
Sets the specified value to themaxRecursionDepth
field.VkRayTracingShaderGroupCreateInfoNV.Buffer
pGroups()
Returns aVkRayTracingShaderGroupCreateInfoNV.Buffer
view of the struct array pointed to by thepGroups
field.VkRayTracingPipelineCreateInfoNV.Buffer
pGroups(VkRayTracingShaderGroupCreateInfoNV.Buffer value)
Sets the address of the specifiedVkRayTracingShaderGroupCreateInfoNV.Buffer
to thepGroups
field.long
pNext()
Returns the value of thepNext
field.VkRayTracingPipelineCreateInfoNV.Buffer
pNext(long value)
Sets the specified value to thepNext
field.VkPipelineShaderStageCreateInfo.Buffer
pStages()
Returns aVkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by thepStages
field.VkRayTracingPipelineCreateInfoNV.Buffer
pStages(VkPipelineShaderStageCreateInfo.Buffer value)
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to thepStages
field.int
stageCount()
Returns the value of thestageCount
field.int
sType()
Returns the value of thesType
field.VkRayTracingPipelineCreateInfoNV.Buffer
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkRayTracingPipelineCreateInfoNV.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 byVkRayTracingPipelineCreateInfoNV.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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
stageCount
public int stageCount()
Returns the value of thestageCount
field.
-
pStages
public VkPipelineShaderStageCreateInfo.Buffer pStages()
Returns aVkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by thepStages
field.
-
groupCount
public int groupCount()
Returns the value of thegroupCount
field.
-
pGroups
public VkRayTracingShaderGroupCreateInfoNV.Buffer pGroups()
Returns aVkRayTracingShaderGroupCreateInfoNV.Buffer
view of the struct array pointed to by thepGroups
field.
-
maxRecursionDepth
public int maxRecursionDepth()
Returns the value of themaxRecursionDepth
field.
-
layout
public long layout()
Returns the value of thelayout
field.
-
basePipelineHandle
public long basePipelineHandle()
Returns the value of thebasePipelineHandle
field.
-
basePipelineIndex
public int basePipelineIndex()
Returns the value of thebasePipelineIndex
field.
-
sType
public VkRayTracingPipelineCreateInfoNV.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkRayTracingPipelineCreateInfoNV.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkRayTracingPipelineCreateInfoNV.Buffer flags(int value)
Sets the specified value to theflags
field.
-
pStages
public VkRayTracingPipelineCreateInfoNV.Buffer pStages(VkPipelineShaderStageCreateInfo.Buffer value)
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to thepStages
field.
-
pGroups
public VkRayTracingPipelineCreateInfoNV.Buffer pGroups(VkRayTracingShaderGroupCreateInfoNV.Buffer value)
Sets the address of the specifiedVkRayTracingShaderGroupCreateInfoNV.Buffer
to thepGroups
field.
-
maxRecursionDepth
public VkRayTracingPipelineCreateInfoNV.Buffer maxRecursionDepth(int value)
Sets the specified value to themaxRecursionDepth
field.
-
layout
public VkRayTracingPipelineCreateInfoNV.Buffer layout(long value)
Sets the specified value to thelayout
field.
-
basePipelineHandle
public VkRayTracingPipelineCreateInfoNV.Buffer basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandle
field.
-
basePipelineIndex
public VkRayTracingPipelineCreateInfoNV.Buffer basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndex
field.
-
-