type is RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV then generalShader must be a valid index into VkRayTracingPipelineCreateInfoNV::pStages referring to a shader of SHADER_STAGE_RAYGEN_BIT_NV, SHADER_STAGE_MISS_BIT_NV, or SHADER_STAGE_CALLABLE_BIT_NVtype is RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV then closestHitShader, anyHitShader, and intersectionShader must be SHADER_UNUSED_NVtype is RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_NV then intersectionShader must be a valid index into VkRayTracingPipelineCreateInfoNV::pStages referring to a shader of SHADER_STAGE_INTERSECTION_BIT_NVtype is RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_NV then intersectionShader must be SHADER_UNUSED_NVclosestHitShader must be either SHADER_UNUSED_NV or a valid index into VkRayTracingPipelineCreateInfoNV::pStages referring to a shader of SHADER_STAGE_CLOSEST_HIT_BIT_NVanyHitShader must be either SHADER_UNUSED_NV or a valid index into VkRayTracingPipelineCreateInfoNV::pStages referring to a shader of SHADER_STAGE_ANY_HIT_BIT_NVsType must be STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NVpNext must be NULLtype must be a valid VkRayTracingShaderGroupTypeKHR valueVkRayTracingPipelineCreateInfoNV
struct VkRayTracingShaderGroupCreateInfoNV {
VkStructureType sType;
void const * pNext;
VkRayTracingShaderGroupTypeKHR type;
uint32_t generalShader;
uint32_t closestHitShader;
uint32_t anyHitShader;
uint32_t intersectionShader;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkRayTracingShaderGroupCreateInfoNV.
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 | 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 | VkRayTracingShaderGroupCreateInfoNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | anyHitShader()
the optional index of the any-hit shader from |
| public VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV. | |
| public static VkRayTracingShaderGroupCreateInfoNV. | |
| public int | closestHitShader()
the optional index of the closest hit shader from |
| public VkRayTracingShaderGroupCreateInfoNV | |
| protected VkRayTracingShaderGroupCreateInfoNV | 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 VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV | create(long address)
Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV. | |
| public int | generalShader()
the index of the ray generation, miss, or callable shader from |
| public VkRayTracingShaderGroupCreateInfoNV | |
| public int | intersectionShader()
the index of the intersection shader from |
| public VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV | |
| public static VkRayTracingShaderGroupCreateInfoNV. | |
| public static VkRayTracingShaderGroupCreateInfoNV. | |
| 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 int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkRayTracingShaderGroupCreateInfoNV | |
| public VkRayTracingShaderGroupCreateInfoNV | set(int sType, long pNext, int type, int generalShader, int closestHitShader, int anyHitShader, int intersectionShader)
Initializes this struct with the specified values. |
| public VkRayTracingShaderGroupCreateInfoNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkRayTracingShaderGroupCreateInfoNV | |
| public VkRayTracingShaderGroupCreateInfoNV | sType$Default()
Sets the |
| public int | |
| public VkRayTracingShaderGroupCreateInfoNV |
| 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. | |
| 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. | |
| VkRayTracingShaderGroupCreateInfoNV | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoNV(long address, ByteBuffer container) | |
| VkRayTracingShaderGroupCreateInfoNV | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV(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 VkRayTracingShaderGroupCreateInfoNV anyHitShader(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| closestHitShader | back to summary |
|---|---|
| public int closestHitShader() the optional index of the closest hit shader from
| |
| closestHitShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV closestHitShader(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Like
| |
| generalShader | back to summary |
|---|---|
| public int generalShader() the index of the ray generation, miss, or callable shader from
| |
| generalShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV 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 VkRayTracingShaderGroupCreateInfoNV intersectionShader(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkRayTracingShaderGroupCreateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| 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 | |
| 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 VkRayTracingShaderGroupCreateInfoNV pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV set(int sType, long pNext, int type, int generalShader, int closestHitShader, int anyHitShader, int intersectionShader) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV set(VkRayTracingShaderGroupCreateInfoNV 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 VkRayTracingShaderGroupCreateInfoNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV 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 VkRayTracingShaderGroupCreateInfoNV type(int value) Sets the specified value to the | |
VkRayTracingShaderGroupCreateInfoNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkRayTracingShaderGroupCreateInfoNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkRayTracingShaderGroupCreateInfoNV 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 VkRayTracingShaderGroupCreateInfoNV. Sets the specified value to the | |
| closestHitShader | back to summary |
|---|---|
public int closestHitShader()
| |
| closestHitShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV. Sets the specified value to the | |
| generalShader | back to summary |
|---|---|
public int generalShader()
| |
| generalShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoNV getElementFactory() Implements abstract org.
| |
| intersectionShader | back to summary |
|---|---|
public int intersectionShader()
| |
| intersectionShader | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkRayTracingShaderGroupCreateInfoNV. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV. Sets the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public VkRayTracingShaderGroupCreateInfoNV. Sets the specified value to the | |