Package org.lwjgl.vulkan
Class VkShaderModuleValidationCacheCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkShaderModuleValidationCacheCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkShaderModuleValidationCacheCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceSpecify validation cache to use during shader module creation.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXTvalidationCachemust be a validVkValidationCacheEXThandle
Layout
struct VkShaderModuleValidationCacheCreateInfoEXT { VkStructureTypesType(); void const *pNext(); VkValidationCacheEXTvalidationCache(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkShaderModuleValidationCacheCreateInfoEXT.BufferAn array ofVkShaderModuleValidationCacheCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
VALIDATIONCACHEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkShaderModuleValidationCacheCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkShaderModuleValidationCacheCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkShaderModuleValidationCacheCreateInfoEXTcalloc()Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated withmemCalloc.static VkShaderModuleValidationCacheCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkShaderModuleValidationCacheCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkShaderModuleValidationCacheCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkShaderModuleValidationCacheCreateInfoEXTcallocStack()Deprecated.static VkShaderModuleValidationCacheCreateInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkShaderModuleValidationCacheCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkShaderModuleValidationCacheCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkShaderModuleValidationCacheCreateInfoEXTcreate()Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated withBufferUtils.static VkShaderModuleValidationCacheCreateInfoEXT.Buffercreate(int capacity)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkShaderModuleValidationCacheCreateInfoEXTcreate(long address)Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance for the specified memory address.static VkShaderModuleValidationCacheCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance at the specified memory.static VkShaderModuleValidationCacheCreateInfoEXTcreateSafe(long address)static VkShaderModuleValidationCacheCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkShaderModuleValidationCacheCreateInfoEXTmalloc()Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated withmemAlloc.static VkShaderModuleValidationCacheCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkShaderModuleValidationCacheCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkShaderModuleValidationCacheCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the specifiedMemoryStack.static VkShaderModuleValidationCacheCreateInfoEXTmallocStack()Deprecated.static VkShaderModuleValidationCacheCreateInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkShaderModuleValidationCacheCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkShaderModuleValidationCacheCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static longnvalidationCache(long struct)Unsafe version ofvalidationCache().static voidnvalidationCache(long struct, long value)Unsafe version ofvalidationCache.longpNext()NULLor a pointer to a structure extending this structure.VkShaderModuleValidationCacheCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkShaderModuleValidationCacheCreateInfoEXTset(int sType, long pNext, long validationCache)Initializes this struct with the specified values.VkShaderModuleValidationCacheCreateInfoEXTset(VkShaderModuleValidationCacheCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkShaderModuleValidationCacheCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkShaderModuleValidationCacheCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXTvalue to thesType()field.longvalidationCache()the validation cache object from which the results of prior validation attempts will be written, and to which new validation results for thisVkShaderModulewill be written (if not already present).VkShaderModuleValidationCacheCreateInfoEXTvalidationCache(long value)Sets the specified value to thevalidationCache()field.
-
-
-
Constructor Detail
-
VkShaderModuleValidationCacheCreateInfoEXT
public VkShaderModuleValidationCacheCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkShaderModuleValidationCacheCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer. 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
validationCache
public long validationCache()
the validation cache object from which the results of prior validation attempts will be written, and to which new validation results for thisVkShaderModulewill be written (if not already present).
-
sType
public VkShaderModuleValidationCacheCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkShaderModuleValidationCacheCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkShaderModuleValidationCacheCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
validationCache
public VkShaderModuleValidationCacheCreateInfoEXT validationCache(long value)
Sets the specified value to thevalidationCache()field.
-
set
public VkShaderModuleValidationCacheCreateInfoEXT set(int sType, long pNext, long validationCache)
Initializes this struct with the specified values.
-
set
public VkShaderModuleValidationCacheCreateInfoEXT set(VkShaderModuleValidationCacheCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkShaderModuleValidationCacheCreateInfoEXT malloc()
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkShaderModuleValidationCacheCreateInfoEXT calloc()
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkShaderModuleValidationCacheCreateInfoEXT create()
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkShaderModuleValidationCacheCreateInfoEXT create(long address)
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkShaderModuleValidationCacheCreateInfoEXT createSafe(long address)
-
malloc
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer create(int capacity)
Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkShaderModuleValidationCacheCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkShaderModuleValidationCacheCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nvalidationCache
public static long nvalidationCache(long struct)
Unsafe version ofvalidationCache().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nvalidationCache
public static void nvalidationCache(long struct, long value)Unsafe version ofvalidationCache.
-
-