If the pipeline is created with PIPELINE_CREATE_LIBRARY_BIT_KHR and the pipelineLibraryGroupHandles feature is enabled, pShaderGroupCaptureReplayHandle is inherited by all pipelines which link against this pipeline and remains bitwise identical for any pipeline which references this pipeline library.
type is RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR then generalShader must be a valid index into VkRayTracingPipelineCreateInfoKHR::pStages referring to a shader of SHADER_STAGE_RAYGEN_BIT_KHR, SHADER_STAGE_MISS_BIT_KHR, or SHADER_STAGE_CALLABLE_BIT_KHRtype is RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR then closestHitShader, anyHitShader, and intersectionShader must be SHADER_UNUSED_KHRtype is RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR then intersectionShader must be a valid index into VkRayTracingPipelineCreateInfoKHR::pStages referring to a shader of SHADER_STAGE_INTERSECTION_BIT_KHRtype is RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR then intersectionShader must be SHADER_UNUSED_KHRclosestHitShader must be either SHADER_UNUSED_KHR or a valid index into VkRayTracingPipelineCreateInfoKHR::pStages referring to a shader of SHADER_STAGE_CLOSEST_HIT_BIT_KHRanyHitShader must be either SHADER_UNUSED_KHR or a valid index into VkRayTracingPipelineCreateInfoKHR::pStages referring to a shader of SHADER_STAGE_ANY_HIT_BIT_KHRVkPhysicalDeviceRayTracingPipelineFeaturesKHR::rayTracingPipelineShaderGroupHandleCaptureReplayMixed is FALSE then pShaderGroupCaptureReplayHandle must not be provided if it has not been provided on a previous call to ray tracing pipeline creationVkPhysicalDeviceRayTracingPipelineFeaturesKHR::rayTracingPipelineShaderGroupHandleCaptureReplayMixed is FALSE then the caller must guarantee that no ray tracing pipeline creation commands with pShaderGroupCaptureReplayHandle provided execute simultaneously with ray tracing pipeline creation commands without pShaderGroupCaptureReplayHandle providedsType must be STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHRpNext must be NULLtype must be a valid VkRayTracingShaderGroupTypeKHR valueVkRayTracingPipelineCreateInfoKHR
struct VkRayTracingShaderGroupCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkRayTracingShaderGroupTypeKHR type;
uint32_t generalShader;
uint32_t closestHitShader;
uint32_t anyHitShader;
uint32_t intersectionShader;
void const * pShaderGroupCaptureReplayHandle;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkRayTracingShaderGroupCreateInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ANYHITSHADER
The struct member offsets. |
| public static final int | CLOSESTHITSHADER
The struct member offsets. |
| public static final int | GENERALSHADER
The struct member offsets. |
| public static final int | INTERSECTIONSHADER
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PSHADERGROUPCAPTUREREPLAYHANDLE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkRayTracingShaderGroupCreateInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | anyHitShader()
the optional index of the any-hit shader from |
| public VkRayTracingShaderGroupCreateInfoKHR | |
| public static VkRayTracingShaderGroupCreateInfoKHR | |
| public static VkRayTracingShaderGroupCreateInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | closestHitShader()
the optional index of the closest hit shader from |
| public VkRayTracingShaderGroupCreateInfoKHR | |
| protected VkRayTracingShaderGroupCreateInfoKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkRayTracingShaderGroupCreateInfoKHR | |
| public static VkRayTracingShaderGroupCreateInfoKHR | create(long address)
Returns a new |
| public static VkRayTracingShaderGroupCreateInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkRayTracingShaderGroupCreateInfoKHR | |
| public static VkRayTracingShaderGroupCreateInfoKHR. | |
| public int | generalShader()
the index of the ray generation, miss, or callable shader from |
| public VkRayTracingShaderGroupCreateInfoKHR | |
| public int | intersectionShader()
the index of the intersection shader from |
| public VkRayTracingShaderGroupCreateInfoKHR | |
| public static VkRayTracingShaderGroupCreateInfoKHR | |
| public static VkRayTracingShaderGroupCreateInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | npShaderGroupCaptureReplayHandle(long struct, long value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkRayTracingShaderGroupCreateInfoKHR | |
| public long | pShaderGroupCaptureReplayHandle()
|
| public VkRayTracingShaderGroupCreateInfoKHR | pShaderGroupCaptureReplayHandle(long value)
Sets the specified value to the |
| public VkRayTracingShaderGroupCreateInfoKHR | set(int sType, long pNext, int type, int generalShader, int closestHitShader, int anyHitShader, int intersectionShader, long pShaderGroupCaptureReplayHandle)
Initializes this struct with the specified values. |
| public VkRayTracingShaderGroupCreateInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkRayTracingShaderGroupCreateInfoKHR | |
| public VkRayTracingShaderGroupCreateInfoKHR | sType$Default()
Sets the |
| public int | |
| public VkRayTracingShaderGroupCreateInfoKHR |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ANYHITSHADER | back to summary |
|---|---|
| public static final int ANYHITSHADER The struct member offsets. | |
| CLOSESTHITSHADER | back to summary |
|---|---|
| public static final int CLOSESTHITSHADER The struct member offsets. | |
| GENERALSHADER | back to summary |
|---|---|
| public static final int GENERALSHADER The struct member offsets. | |
| INTERSECTIONSHADER | back to summary |
|---|---|
| public static final int INTERSECTIONSHADER The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PSHADERGROUPCAPTUREREPLAYHANDLE | back to summary |
|---|---|
| public static final int PSHADERGROUPCAPTUREREPLAYHANDLE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| VkRayTracingShaderGroupCreateInfoKHR | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoKHR(long address, ByteBuffer container) | |
| VkRayTracingShaderGroupCreateInfoKHR | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| anyHitShader | back to summary |
|---|---|
| public int anyHitShader() the optional index of the any-hit shader from
| |
| anyHitShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR anyHitShader(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR. Returns a new
| |
| closestHitShader | back to summary |
|---|---|
| public int closestHitShader() the optional index of the closest hit shader from
| |
| closestHitShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR closestHitShader(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR. Like
| |
| generalShader | back to summary |
|---|---|
| public int generalShader() the index of the ray generation, miss, or callable shader from
| |
| generalShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR generalShader(int value) Sets the specified value to the | |
| intersectionShader | back to summary |
|---|---|
| public int intersectionShader() the index of the intersection shader from
| |
| intersectionShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR intersectionShader(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoKHR. Returns a new
| |
| nanyHitShader | back to summary |
|---|---|
| public static int nanyHitShader(long struct) Unsafe version of | |
| nanyHitShader | back to summary |
|---|---|
| public static void nanyHitShader(long struct, int value) Unsafe version of | |
| nclosestHitShader | back to summary |
|---|---|
| public static int nclosestHitShader(long struct) Unsafe version of | |
| nclosestHitShader | back to summary |
|---|---|
| public static void nclosestHitShader(long struct, int value) Unsafe version of | |
| ngeneralShader | back to summary |
|---|---|
| public static int ngeneralShader(long struct) Unsafe version of | |
| ngeneralShader | back to summary |
|---|---|
| public static void ngeneralShader(long struct, int value) Unsafe version of | |
| nintersectionShader | back to summary |
|---|---|
| public static int nintersectionShader(long struct) Unsafe version of | |
| nintersectionShader | back to summary |
|---|---|
| public static void nintersectionShader(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npShaderGroupCaptureReplayHandle | back to summary |
|---|---|
| public static long npShaderGroupCaptureReplayHandle(long struct) Unsafe version of | |
| npShaderGroupCaptureReplayHandle | back to summary |
|---|---|
| public static void npShaderGroupCaptureReplayHandle(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR pNext(long value) Sets the specified value to the | |
| pShaderGroupCaptureReplayHandle | back to summary |
|---|---|
| public long pShaderGroupCaptureReplayHandle()
| |
| pShaderGroupCaptureReplayHandle | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR pShaderGroupCaptureReplayHandle(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR set(int sType, long pNext, int type, int generalShader, int closestHitShader, int anyHitShader, int intersectionShader, long pShaderGroupCaptureReplayHandle) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR set(VkRayTracingShaderGroupCreateInfoKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR sType$Default() Sets the | |
| type | back to summary |
|---|---|
| public int type() the type of hit group specified in this structure.
| |
| type | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR type(int value) Sets the specified value to the | |
VkRayTracingShaderGroupCreateInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkRayTracingShaderGroupCreateInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkRayTracingShaderGroupCreateInfoKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| anyHitShader | back to summary |
|---|---|
public int anyHitShader()
| |
| anyHitShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |
| closestHitShader | back to summary |
|---|---|
public int closestHitShader()
| |
| closestHitShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |
| generalShader | back to summary |
|---|---|
public int generalShader()
| |
| generalShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoKHR getElementFactory() Implements abstract org.
| |
| intersectionShader | back to summary |
|---|---|
public int intersectionShader()
| |
| intersectionShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |
| pShaderGroupCaptureReplayHandle | back to summary |
|---|---|
public long pShaderGroupCaptureReplayHandle()
| |
| pShaderGroupCaptureReplayHandle | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoKHR. Sets the specified value to the | |