Package org.lwjgl.vulkan
Class VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDevicePipelineCreationCacheControlFeatures
-
- org.lwjgl.vulkan.VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT extends VkPhysicalDevicePipelineCreationCacheControlFeatures
SeeVkPhysicalDevicePipelineCreationCacheControlFeatures.Layout
struct VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 pipelineCreationCacheControl; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.BufferAn array ofVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDevicePipelineCreationCacheControlFeatures
ALIGNOF, PIPELINECREATIONCACHECONTROL, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTcalloc()Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTcreate()Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTcreate(long address)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance for the specified memory address.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTcreateSafe(long address)static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTmalloc()Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated on the specifiedMemoryStack.VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTpipelineCreationCacheControl(boolean value)Sets the specified value to thepipelineCreationCacheControlfield.VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTset(int sType, long pNext, boolean pipelineCreationCacheControl)Initializes this struct with the specified values.VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTset(VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT src)Copies the specified struct data to this struct.VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDevicePipelineCreationCacheControlFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDevicePipelineCreationCacheControlFeatures
npipelineCreationCacheControl, npipelineCreationCacheControl, npNext, npNext, nsType, nsType, pipelineCreationCacheControl, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT
public VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance 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
-
sType
public VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDevicePipelineCreationCacheControlFeatures
-
sType$Default
public VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDevicePipelineCreationCacheControlFeatures
-
pNext
public VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDevicePipelineCreationCacheControlFeatures
-
pipelineCreationCacheControl
public VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT pipelineCreationCacheControl(boolean value)
Sets the specified value to thepipelineCreationCacheControlfield.- Overrides:
pipelineCreationCacheControlin classVkPhysicalDevicePipelineCreationCacheControlFeatures
-
set
public VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT set(int sType, long pNext, boolean pipelineCreationCacheControl)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDevicePipelineCreationCacheControlFeatures
-
set
public VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT set(VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT malloc()
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT calloc()
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT create()
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT create(long address)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePipelineCreationCacheControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-