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 ofVkRayTracingPipelineCreateInfoNVstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbasePipelineHandle()Returns the value of thebasePipelineHandlefield.VkRayTracingPipelineCreateInfoNV.BufferbasePipelineHandle(long value)Sets the specified value to thebasePipelineHandlefield.intbasePipelineIndex()Returns the value of thebasePipelineIndexfield.VkRayTracingPipelineCreateInfoNV.BufferbasePipelineIndex(int value)Sets the specified value to thebasePipelineIndexfield.intflags()Returns the value of theflagsfield.VkRayTracingPipelineCreateInfoNV.Bufferflags(int value)Sets the specified value to theflagsfield.intgroupCount()Returns the value of thegroupCountfield.longlayout()Returns the value of thelayoutfield.VkRayTracingPipelineCreateInfoNV.Bufferlayout(long value)Sets the specified value to thelayoutfield.intmaxRecursionDepth()Returns the value of themaxRecursionDepthfield.VkRayTracingPipelineCreateInfoNV.BuffermaxRecursionDepth(int value)Sets the specified value to themaxRecursionDepthfield.VkRayTracingShaderGroupCreateInfoNV.BufferpGroups()Returns aVkRayTracingShaderGroupCreateInfoNV.Bufferview of the struct array pointed to by thepGroupsfield.VkRayTracingPipelineCreateInfoNV.BufferpGroups(VkRayTracingShaderGroupCreateInfoNV.Buffer value)Sets the address of the specifiedVkRayTracingShaderGroupCreateInfoNV.Bufferto thepGroupsfield.longpNext()Returns the value of thepNextfield.VkRayTracingPipelineCreateInfoNV.BufferpNext(long value)Sets the specified value to thepNextfield.VkPipelineShaderStageCreateInfo.BufferpStages()Returns aVkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.VkRayTracingPipelineCreateInfoNV.BufferpStages(VkPipelineShaderStageCreateInfo.Buffer value)Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield.intstageCount()Returns the value of thestageCountfield.intsType()Returns the value of thesTypefield.VkRayTracingPipelineCreateInfoNV.BuffersType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkRayTracingPipelineCreateInfoNV.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 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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
stageCount
public int stageCount()
Returns the value of thestageCountfield.
-
pStages
public VkPipelineShaderStageCreateInfo.Buffer pStages()
Returns aVkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.
-
groupCount
public int groupCount()
Returns the value of thegroupCountfield.
-
pGroups
public VkRayTracingShaderGroupCreateInfoNV.Buffer pGroups()
Returns aVkRayTracingShaderGroupCreateInfoNV.Bufferview of the struct array pointed to by thepGroupsfield.
-
maxRecursionDepth
public int maxRecursionDepth()
Returns the value of themaxRecursionDepthfield.
-
layout
public long layout()
Returns the value of thelayoutfield.
-
basePipelineHandle
public long basePipelineHandle()
Returns the value of thebasePipelineHandlefield.
-
basePipelineIndex
public int basePipelineIndex()
Returns the value of thebasePipelineIndexfield.
-
sType
public VkRayTracingPipelineCreateInfoNV.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkRayTracingPipelineCreateInfoNV.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkRayTracingPipelineCreateInfoNV.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
pStages
public VkRayTracingPipelineCreateInfoNV.Buffer pStages(VkPipelineShaderStageCreateInfo.Buffer value)
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield.
-
pGroups
public VkRayTracingPipelineCreateInfoNV.Buffer pGroups(VkRayTracingShaderGroupCreateInfoNV.Buffer value)
Sets the address of the specifiedVkRayTracingShaderGroupCreateInfoNV.Bufferto thepGroupsfield.
-
maxRecursionDepth
public VkRayTracingPipelineCreateInfoNV.Buffer maxRecursionDepth(int value)
Sets the specified value to themaxRecursionDepthfield.
-
layout
public VkRayTracingPipelineCreateInfoNV.Buffer layout(long value)
Sets the specified value to thelayoutfield.
-
basePipelineHandle
public VkRayTracingPipelineCreateInfoNV.Buffer basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandlefield.
-
basePipelineIndex
public VkRayTracingPipelineCreateInfoNV.Buffer basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndexfield.
-
-