public static class VkRayTracingShaderGroupCreateInfoNV.Buffer extends org.lwjgl.system.StructBuffer<VkRayTracingShaderGroupCreateInfoNV,VkRayTracingShaderGroupCreateInfoNV.Buffer> implements org.lwjgl.system.NativeResource
VkRayTracingShaderGroupCreateInfoNV structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkRayTracingShaderGroupCreateInfoNV.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
anyHitShader()
Returns the value of the
anyHitShader field. |
VkRayTracingShaderGroupCreateInfoNV.Buffer |
anyHitShader(int value)
Sets the specified value to the
anyHitShader field. |
int |
closestHitShader()
Returns the value of the
closestHitShader field. |
VkRayTracingShaderGroupCreateInfoNV.Buffer |
closestHitShader(int value)
Sets the specified value to the
closestHitShader field. |
int |
generalShader()
Returns the value of the
generalShader field. |
VkRayTracingShaderGroupCreateInfoNV.Buffer |
generalShader(int value)
Sets the specified value to the
generalShader field. |
int |
intersectionShader()
Returns the value of the
intersectionShader field. |
VkRayTracingShaderGroupCreateInfoNV.Buffer |
intersectionShader(int value)
Sets the specified value to the
intersectionShader field. |
long |
pNext()
Returns the value of the
pNext field. |
VkRayTracingShaderGroupCreateInfoNV.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkRayTracingShaderGroupCreateInfoNV.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
type()
Returns the value of the
type field. |
VkRayTracingShaderGroupCreateInfoNV.Buffer |
type(int value)
Sets the specified value to the
type field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkRayTracingShaderGroupCreateInfoNV.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 VkRayTracingShaderGroupCreateInfoNV.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 type()
type field.public int generalShader()
generalShader field.public int closestHitShader()
closestHitShader field.public int anyHitShader()
anyHitShader field.public int intersectionShader()
intersectionShader field.public VkRayTracingShaderGroupCreateInfoNV.Buffer sType(int value)
sType field.public VkRayTracingShaderGroupCreateInfoNV.Buffer pNext(long value)
pNext field.public VkRayTracingShaderGroupCreateInfoNV.Buffer type(int value)
type field.public VkRayTracingShaderGroupCreateInfoNV.Buffer generalShader(int value)
generalShader field.public VkRayTracingShaderGroupCreateInfoNV.Buffer closestHitShader(int value)
closestHitShader field.public VkRayTracingShaderGroupCreateInfoNV.Buffer anyHitShader(int value)
anyHitShader field.public VkRayTracingShaderGroupCreateInfoNV.Buffer intersectionShader(int value)
intersectionShader field.Copyright LWJGL. All Rights Reserved. License terms.