Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPipelineRobustnessCreateInfoEXT

extends Struct<VkPipelineRobustnessCreateInfoEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure controlling the robustness of a newly created pipeline shader stage.
Description

Resources bound as DESCRIPTOR_TYPE_MUTABLE_EXT will have the robustness behavior that covers its active descriptor type.

The scope of the effect of VkPipelineRobustnessCreateInfoEXT depends on which structure’s pNext chain it is included in.

If VkPipelineRobustnessCreateInfoEXT is specified for both a pipeline and a pipeline stage, the VkPipelineRobustnessCreateInfoEXT specified for the pipeline stage will take precedence.

When VkPipelineRobustnessCreateInfoEXT is specified for a pipeline, it only affects the subset of the pipeline that is specified by the create info, as opposed to subsets linked from pipeline libraries. For VkGraphicsPipelineCreateInfo, that subset is specified by VkGraphicsPipelineLibraryCreateInfoEXT::flags. For VkRayTracingPipelineCreateInfoKHR, that subset is specified by the specific stages in VkRayTracingPipelineCreateInfoKHR::pStages.

Valid Usage
Valid Usage (Implicit)

Layout


struct VkPipelineRobustnessCreateInfoEXT {
    VkStructureType sType;
    void const * pNext;
    VkPipelineRobustnessBufferBehaviorEXT storageBuffers;
    VkPipelineRobustnessBufferBehaviorEXT uniformBuffers;
    VkPipelineRobustnessBufferBehaviorEXT vertexInputs;
    VkPipelineRobustnessImageBehaviorEXT images;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
IMAGES

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
STORAGEBUFFERS

The struct member offsets.

public static final int
STYPE

The struct member offsets.

public static final int
UNIFORMBUFFERS

The struct member offsets.

public static final int
VERTEXINPUTS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPipelineRobustnessCreateInfoEXT(ByteBuffer container)

Creates a VkPipelineRobustnessCreateInfoEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPipelineRobustnessCreateInfoEXT
calloc()

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated with memCalloc.

public static VkPipelineRobustnessCreateInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated with memCalloc.

public static VkPipelineRobustnessCreateInfoEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPipelineRobustnessCreateInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkPipelineRobustnessCreateInfoEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPipelineRobustnessCreateInfoEXT
create()

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated with BufferUtils.

public static VkPipelineRobustnessCreateInfoEXT
create(long address)

Returns a new VkPipelineRobustnessCreateInfoEXT instance for the specified memory address.

public static VkPipelineRobustnessCreateInfoEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated with BufferUtils.

public static VkPipelineRobustnessCreateInfoEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPipelineRobustnessCreateInfoEXT.Buffer instance at the specified memory.

public static VkPipelineRobustnessCreateInfoEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPipelineRobustnessCreateInfoEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
images()

describes the behaviour of out of bounds accesses made to resources bound as:

public VkPipelineRobustnessCreateInfoEXT
images(int value)

Sets the specified value to the images field.

public static VkPipelineRobustnessCreateInfoEXT
malloc()

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated with memAlloc.

public static VkPipelineRobustnessCreateInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated with memAlloc.

public static VkPipelineRobustnessCreateInfoEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated on the specified MemoryStack.

public static VkPipelineRobustnessCreateInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.

public static int
nimages(long struct)

Unsafe version of images.

public static void
nimages(long struct, int value)

Unsafe version of images.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nstorageBuffers(long struct)

Unsafe version of storageBuffers.

public static void
nstorageBuffers(long struct, int value)

Unsafe version of storageBuffers.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
nuniformBuffers(long struct)

Unsafe version of uniformBuffers.

public static void
nuniformBuffers(long struct, int value)

Unsafe version of uniformBuffers.

public static int
nvertexInputs(long struct)

Unsafe version of vertexInputs.

public static void
nvertexInputs(long struct, int value)

Unsafe version of vertexInputs.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPipelineRobustnessCreateInfoEXT
pNext(long value)

Sets the specified value to the pNext field.

public VkPipelineRobustnessCreateInfoEXT
set(int sType, long pNext, int storageBuffers, int uniformBuffers, int vertexInputs, int images)

Initializes this struct with the specified values.

public VkPipelineRobustnessCreateInfoEXT

Returns:

this struct
set
(VkPipelineRobustnessCreateInfoEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
public VkPipelineRobustnessCreateInfoEXT
storageBuffers(int value)

Sets the specified value to the storageBuffers field.

public int
sType()

a VkStructureType value identifying this structure.

public VkPipelineRobustnessCreateInfoEXT
sType(int value)

Sets the specified value to the sType field.

public VkPipelineRobustnessCreateInfoEXT
public int
public VkPipelineRobustnessCreateInfoEXT
uniformBuffers(int value)

Sets the specified value to the uniformBuffers field.

public int
vertexInputs()

describes the behaviour of out of bounds accesses made to vertex input attributes

public VkPipelineRobustnessCreateInfoEXT
vertexInputs(int value)

Sets the specified value to the vertexInputs field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

IMAGESback to summary
public static final int IMAGES

The struct member offsets.

PNEXTback to summary
public static final int PNEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STORAGEBUFFERSback to summary
public static final int STORAGEBUFFERS

The struct member offsets.

STYPEback to summary
public static final int STYPE

The struct member offsets.

UNIFORMBUFFERSback to summary
public static final int UNIFORMBUFFERS

The struct member offsets.

VERTEXINPUTSback to summary
public static final int VERTEXINPUTS

The struct member offsets.

Constructor Detail

VkPipelineRobustnessCreateInfoEXTback to summary
protected VkPipelineRobustnessCreateInfoEXT(long address, ByteBuffer container)
VkPipelineRobustnessCreateInfoEXTback to summary
public VkPipelineRobustnessCreateInfoEXT(ByteBuffer container)

Creates a VkPipelineRobustnessCreateInfoEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

callocback to summary
public static VkPipelineRobustnessCreateInfoEXT calloc()

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkPipelineRobustnessCreateInfoEXT.Buffer calloc(int capacity)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkPipelineRobustnessCreateInfoEXT calloc(MemoryStack stack)

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkPipelineRobustnessCreateInfoEXT.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected VkPipelineRobustnessCreateInfoEXT create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkPipelineRobustnessCreateInfoEXT create()

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated with BufferUtils.

createback to summary
public static VkPipelineRobustnessCreateInfoEXT create(long address)

Returns a new VkPipelineRobustnessCreateInfoEXT instance for the specified memory address.

createback to summary
public static VkPipelineRobustnessCreateInfoEXT.Buffer create(int capacity)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkPipelineRobustnessCreateInfoEXT.Buffer create(long address, int capacity)

Create a VkPipelineRobustnessCreateInfoEXT.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkPipelineRobustnessCreateInfoEXT createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkPipelineRobustnessCreateInfoEXT.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
imagesback to summary
public int images()

describes the behaviour of out of bounds accesses made to resources bound as:

Annotations
@NativeType:VkPipelineRobustnessImageBehaviorEXT
imagesback to summary
public VkPipelineRobustnessCreateInfoEXT images(int value)

Sets the specified value to the images field.

mallocback to summary
public static VkPipelineRobustnessCreateInfoEXT malloc()

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkPipelineRobustnessCreateInfoEXT.Buffer malloc(int capacity)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkPipelineRobustnessCreateInfoEXT malloc(MemoryStack stack)

Returns a new VkPipelineRobustnessCreateInfoEXT instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkPipelineRobustnessCreateInfoEXT.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VkPipelineRobustnessCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nimagesback to summary
public static int nimages(long struct)

Unsafe version of images.

nimagesback to summary
public static void nimages(long struct, int value)

Unsafe version of images.

npNextback to summary
public static long npNext(long struct)

Unsafe version of pNext.

npNextback to summary
public static void npNext(long struct, long value)

Unsafe version of pNext.

nstorageBuffersback to summary
public static int nstorageBuffers(long struct)

Unsafe version of storageBuffers.

nstorageBuffersback to summary
public static void nstorageBuffers(long struct, int value)

Unsafe version of storageBuffers.

nsTypeback to summary
public static int nsType(long struct)

Unsafe version of sType.

nsTypeback to summary
public static void nsType(long struct, int value)

Unsafe version of sType.

nuniformBuffersback to summary
public static int nuniformBuffers(long struct)

Unsafe version of uniformBuffers.

nuniformBuffersback to summary
public static void nuniformBuffers(long struct, int value)

Unsafe version of uniformBuffers.

nvertexInputsback to summary
public static int nvertexInputs(long struct)

Unsafe version of vertexInputs.

nvertexInputsback to summary
public static void nvertexInputs(long struct, int value)

Unsafe version of vertexInputs.

pNextback to summary
public long pNext()

NULL or a pointer to a structure extending this structure.

Annotations
@NativeType:void const *
pNextback to summary
public VkPipelineRobustnessCreateInfoEXT pNext(long value)

Sets the specified value to the pNext field.

setback to summary
public VkPipelineRobustnessCreateInfoEXT set(int sType, long pNext, int storageBuffers, int uniformBuffers, int vertexInputs, int images)

Initializes this struct with the specified values.

setback to summary
public VkPipelineRobustnessCreateInfoEXT set(VkPipelineRobustnessCreateInfoEXT src)

Copies the specified struct data to this struct.

Parameters
src:VkPipelineRobustnessCreateInfoEXT

the source struct

Returns:VkPipelineRobustnessCreateInfoEXT

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
storageBuffersback to summary
public int storageBuffers()

sets the behaviour of out of bounds accesses made to resources bound as:

Annotations
@NativeType:VkPipelineRobustnessBufferBehaviorEXT
storageBuffersback to summary
public VkPipelineRobustnessCreateInfoEXT storageBuffers(int value)

Sets the specified value to the storageBuffers field.

sTypeback to summary
public int sType()

a VkStructureType value identifying this structure.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkPipelineRobustnessCreateInfoEXT sType(int value)

Sets the specified value to the sType field.

sType$Defaultback to summary
public VkPipelineRobustnessCreateInfoEXT sType$Default()

Sets the STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO_EXT value to the sType field.

uniformBuffersback to summary
public int uniformBuffers()

describes the behaviour of out of bounds accesses made to resources bound as:

Annotations
@NativeType:VkPipelineRobustnessBufferBehaviorEXT
uniformBuffersback to summary
public VkPipelineRobustnessCreateInfoEXT uniformBuffers(int value)

Sets the specified value to the uniformBuffers field.

vertexInputsback to summary
public int vertexInputs()

describes the behaviour of out of bounds accesses made to vertex input attributes

Annotations
@NativeType:VkPipelineRobustnessBufferBehaviorEXT
vertexInputsback to summary
public VkPipelineRobustnessCreateInfoEXT vertexInputs(int value)

Sets the specified value to the vertexInputs field.

org.lwjgl.vulkan back to summary

public Class VkPipelineRobustnessCreateInfoEXT.Buffer

extends StructBuffer<VkPipelineRobustnessCreateInfoEXT, VkPipelineRobustnessCreateInfoEXT.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkPipelineRobustnessCreateInfoEXT structs.

Field Summary

Modifier and TypeField and Description
private static final VkPipelineRobustnessCreateInfoEXT

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkPipelineRobustnessCreateInfoEXT.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
protected VkPipelineRobustnessCreateInfoEXT
public int

Returns:

the value of the VkPipelineRobustnessCreateInfoEXT#images field.
images
()

public VkPipelineRobustnessCreateInfoEXT.Buffer
images(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#images field.

public long

Returns:

the value of the VkPipelineRobustnessCreateInfoEXT#pNext field.
pNext
()

public VkPipelineRobustnessCreateInfoEXT.Buffer
pNext(long value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#pNext field.

protected VkPipelineRobustnessCreateInfoEXT.Buffer
public int
public VkPipelineRobustnessCreateInfoEXT.Buffer
storageBuffers(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#storageBuffers field.

public int

Returns:

the value of the VkPipelineRobustnessCreateInfoEXT#sType field.
sType
()

public VkPipelineRobustnessCreateInfoEXT.Buffer
sType(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#sType field.

public VkPipelineRobustnessCreateInfoEXT.Buffer
public int
public VkPipelineRobustnessCreateInfoEXT.Buffer
uniformBuffers(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#uniformBuffers field.

public int
public VkPipelineRobustnessCreateInfoEXT.Buffer
vertexInputs(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#vertexInputs field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkPipelineRobustnessCreateInfoEXT ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkPipelineRobustnessCreateInfoEXT.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 VkPipelineRobustnessCreateInfoEXT#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

getElementFactoryback to summary
protected VkPipelineRobustnessCreateInfoEXT getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
imagesback to summary
public int images()
Returns:int

the value of the VkPipelineRobustnessCreateInfoEXT#images field.

Annotations
@NativeType:VkPipelineRobustnessImageBehaviorEXT
imagesback to summary
public VkPipelineRobustnessCreateInfoEXT.Buffer images(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#images field.

pNextback to summary
public long pNext()
Returns:long

the value of the VkPipelineRobustnessCreateInfoEXT#pNext field.

Annotations
@NativeType:void const *
pNextback to summary
public VkPipelineRobustnessCreateInfoEXT.Buffer pNext(long value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#pNext field.

selfback to summary
protected VkPipelineRobustnessCreateInfoEXT.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
storageBuffersback to summary
public int storageBuffers()
Returns:int

the value of the VkPipelineRobustnessCreateInfoEXT#storageBuffers field.

Annotations
@NativeType:VkPipelineRobustnessBufferBehaviorEXT
storageBuffersback to summary
public VkPipelineRobustnessCreateInfoEXT.Buffer storageBuffers(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#storageBuffers field.

sTypeback to summary
public int sType()
Returns:int

the value of the VkPipelineRobustnessCreateInfoEXT#sType field.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkPipelineRobustnessCreateInfoEXT.Buffer sType(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#sType field.

sType$Defaultback to summary
public VkPipelineRobustnessCreateInfoEXT.Buffer sType$Default()

Sets the STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO_EXT value to the VkPipelineRobustnessCreateInfoEXT#sType field.

uniformBuffersback to summary
public int uniformBuffers()
Returns:int

the value of the VkPipelineRobustnessCreateInfoEXT#uniformBuffers field.

Annotations
@NativeType:VkPipelineRobustnessBufferBehaviorEXT
uniformBuffersback to summary
public VkPipelineRobustnessCreateInfoEXT.Buffer uniformBuffers(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#uniformBuffers field.

vertexInputsback to summary
public int vertexInputs()
Returns:int

the value of the VkPipelineRobustnessCreateInfoEXT#vertexInputs field.

Annotations
@NativeType:VkPipelineRobustnessBufferBehaviorEXT
vertexInputsback to summary
public VkPipelineRobustnessCreateInfoEXT.Buffer vertexInputs(int value)

Sets the specified value to the VkPipelineRobustnessCreateInfoEXT#vertexInputs field.