public class VkShaderModuleValidationCacheCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXTvalidationCache must be a valid VkValidationCacheEXT handlesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.validationCache – the validation cache object from which the results of prior validation attempts will be written, and to which new validation results for this VkShaderModule will be written (if not already present).
struct VkShaderModuleValidationCacheCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkValidationCacheEXT validationCache;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkShaderModuleValidationCacheCreateInfoEXT.Buffer
An array of
VkShaderModuleValidationCacheCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VALIDATIONCACHE
The struct member offsets.
|
| Constructor and Description |
|---|
VkShaderModuleValidationCacheCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkShaderModuleValidationCacheCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkShaderModuleValidationCacheCreateInfoEXT |
calloc()
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance allocated with memCalloc. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkShaderModuleValidationCacheCreateInfoEXT |
callocStack()
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkShaderModuleValidationCacheCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkShaderModuleValidationCacheCreateInfoEXT |
create()
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance allocated with BufferUtils. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkShaderModuleValidationCacheCreateInfoEXT |
create(long address)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance for the specified memory address. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance at the specified memory. |
static VkShaderModuleValidationCacheCreateInfoEXT |
createSafe(long address)
|
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkShaderModuleValidationCacheCreateInfoEXT |
malloc()
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance allocated with memAlloc. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkShaderModuleValidationCacheCreateInfoEXT |
mallocStack()
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkShaderModuleValidationCacheCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkShaderModuleValidationCacheCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static long |
nvalidationCache(long struct)
Unsafe version of
validationCache(). |
static void |
nvalidationCache(long struct,
long value)
Unsafe version of
validationCache. |
long |
pNext()
Returns the value of the
pNext field. |
VkShaderModuleValidationCacheCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkShaderModuleValidationCacheCreateInfoEXT |
set(int sType,
long pNext,
long validationCache)
Initializes this struct with the specified values.
|
VkShaderModuleValidationCacheCreateInfoEXT |
set(VkShaderModuleValidationCacheCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkShaderModuleValidationCacheCreateInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
long |
validationCache()
Returns the value of the
validationCache field. |
VkShaderModuleValidationCacheCreateInfoEXT |
validationCache(long value)
Sets the specified value to the
validationCache field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int VALIDATIONCACHE
public VkShaderModuleValidationCacheCreateInfoEXT(java.nio.ByteBuffer container)
VkShaderModuleValidationCacheCreateInfoEXT 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public long validationCache()
validationCache field.public VkShaderModuleValidationCacheCreateInfoEXT sType(int value)
sType field.public VkShaderModuleValidationCacheCreateInfoEXT pNext(long value)
pNext field.public VkShaderModuleValidationCacheCreateInfoEXT validationCache(long value)
validationCache field.public VkShaderModuleValidationCacheCreateInfoEXT set(int sType, long pNext, long validationCache)
public VkShaderModuleValidationCacheCreateInfoEXT set(VkShaderModuleValidationCacheCreateInfoEXT src)
src - the source structpublic static VkShaderModuleValidationCacheCreateInfoEXT malloc()
VkShaderModuleValidationCacheCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkShaderModuleValidationCacheCreateInfoEXT calloc()
VkShaderModuleValidationCacheCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkShaderModuleValidationCacheCreateInfoEXT create()
VkShaderModuleValidationCacheCreateInfoEXT instance allocated with BufferUtils.public static VkShaderModuleValidationCacheCreateInfoEXT create(long address)
VkShaderModuleValidationCacheCreateInfoEXT instance for the specified memory address.@Nullable public static VkShaderModuleValidationCacheCreateInfoEXT createSafe(long address)
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer malloc(int capacity)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkShaderModuleValidationCacheCreateInfoEXT.Buffer calloc(int capacity)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkShaderModuleValidationCacheCreateInfoEXT.Buffer create(int capacity)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkShaderModuleValidationCacheCreateInfoEXT.Buffer create(long address, int capacity)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkShaderModuleValidationCacheCreateInfoEXT mallocStack()
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkShaderModuleValidationCacheCreateInfoEXT callocStack()
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkShaderModuleValidationCacheCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkShaderModuleValidationCacheCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkShaderModuleValidationCacheCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkShaderModuleValidationCacheCreateInfoEXT.Buffer mallocStack(int capacity)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkShaderModuleValidationCacheCreateInfoEXT.Buffer callocStack(int capacity)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkShaderModuleValidationCacheCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkShaderModuleValidationCacheCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkShaderModuleValidationCacheCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static long nvalidationCache(long struct)
validationCache().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nvalidationCache(long struct,
long value)
validationCache.Copyright LWJGL. All Rights Reserved. License terms.