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
Member documentation
sType– the type of this structure.pNext–NULLor 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 thisVkShaderModulewill be written (if not already present).
Layout
struct VkShaderModuleValidationCacheCreateInfoEXT { VkStructureType sType; void const * pNext; VkValidationCacheEXT validationCache; }
-
-
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 Modifier and Type Method Description static VkShaderModuleValidationCacheCreateInfoEXTcalloc()Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated withmemCalloc.static VkShaderModuleValidationCacheCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkShaderModuleValidationCacheCreateInfoEXTcallocStack()Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkShaderModuleValidationCacheCreateInfoEXT.BuffercallocStack(int capacity)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkShaderModuleValidationCacheCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkShaderModuleValidationCacheCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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 VkShaderModuleValidationCacheCreateInfoEXTmallocStack()Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the thread-localMemoryStack.static VkShaderModuleValidationCacheCreateInfoEXT.BuffermallocStack(int capacity)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkShaderModuleValidationCacheCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkShaderModuleValidationCacheCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the specifiedMemoryStack.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()Returns the value of thepNextfield.VkShaderModuleValidationCacheCreateInfoEXTpNext(long value)Sets the specified value to thepNextfield.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()Returns the value of thesTypefield.VkShaderModuleValidationCacheCreateInfoEXTsType(int value)Sets the specified value to thesTypefield.longvalidationCache()Returns the value of thevalidationCachefield.VkShaderModuleValidationCacheCreateInfoEXTvalidationCache(long value)Sets the specified value to thevalidationCachefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
validationCache
public long validationCache()
Returns the value of thevalidationCachefield.
-
sType
public VkShaderModuleValidationCacheCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkShaderModuleValidationCacheCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
validationCache
public VkShaderModuleValidationCacheCreateInfoEXT validationCache(long value)
Sets the specified value to thevalidationCachefield.
-
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
public static VkShaderModuleValidationCacheCreateInfoEXT mallocStack()
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkShaderModuleValidationCacheCreateInfoEXT callocStack()
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkShaderModuleValidationCacheCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkShaderModuleValidationCacheCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkShaderModuleValidationCacheCreateInfoEXT callocStack(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
-
mallocStack
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer mallocStack(int capacity)
Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer callocStack(int capacity)
Returns a newVkShaderModuleValidationCacheCreateInfoEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer mallocStack(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
-
callocStack
public static VkShaderModuleValidationCacheCreateInfoEXT.Buffer callocStack(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.
-
-