Package org.lwjgl.vulkan
Class VkPhysicalDevicePrivateDataFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDevicePrivateDataFeatures
-
- org.lwjgl.vulkan.VkPhysicalDevicePrivateDataFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDevicePrivateDataFeaturesEXT extends VkPhysicalDevicePrivateDataFeatures
SeeVkPhysicalDevicePrivateDataFeatures.Layout
struct VkPhysicalDevicePrivateDataFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 privateData; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDevicePrivateDataFeaturesEXT.BufferAn array ofVkPhysicalDevicePrivateDataFeaturesEXTstructs.
-
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.VkPhysicalDevicePrivateDataFeatures
ALIGNOF, PNEXT, PRIVATEDATA, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDevicePrivateDataFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDevicePrivateDataFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDevicePrivateDataFeaturesEXTcalloc()Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDevicePrivateDataFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDevicePrivateDataFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePrivateDataFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDevicePrivateDataFeaturesEXTcreate()Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDevicePrivateDataFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDevicePrivateDataFeaturesEXTcreate(long address)Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance for the specified memory address.static VkPhysicalDevicePrivateDataFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDevicePrivateDataFeaturesEXTcreateSafe(long address)static VkPhysicalDevicePrivateDataFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDevicePrivateDataFeaturesEXTmalloc()Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDevicePrivateDataFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDevicePrivateDataFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDevicePrivateDataFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated on the specifiedMemoryStack.VkPhysicalDevicePrivateDataFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDevicePrivateDataFeaturesEXTprivateData(boolean value)Sets the specified value to theprivateDatafield.VkPhysicalDevicePrivateDataFeaturesEXTset(int sType, long pNext, boolean privateData)Initializes this struct with the specified values.VkPhysicalDevicePrivateDataFeaturesEXTset(VkPhysicalDevicePrivateDataFeaturesEXT src)Copies the specified struct data to this struct.VkPhysicalDevicePrivateDataFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDevicePrivateDataFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDevicePrivateDataFeatures
npNext, npNext, nprivateData, nprivateData, nsType, nsType, pNext, privateData, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDevicePrivateDataFeaturesEXT
public VkPhysicalDevicePrivateDataFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDevicePrivateDataFeaturesEXTinstance 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 VkPhysicalDevicePrivateDataFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDevicePrivateDataFeatures
-
sType$Default
public VkPhysicalDevicePrivateDataFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDevicePrivateDataFeatures
-
pNext
public VkPhysicalDevicePrivateDataFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDevicePrivateDataFeatures
-
privateData
public VkPhysicalDevicePrivateDataFeaturesEXT privateData(boolean value)
Sets the specified value to theprivateDatafield.- Overrides:
privateDatain classVkPhysicalDevicePrivateDataFeatures
-
set
public VkPhysicalDevicePrivateDataFeaturesEXT set(int sType, long pNext, boolean privateData)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDevicePrivateDataFeatures
-
set
public VkPhysicalDevicePrivateDataFeaturesEXT set(VkPhysicalDevicePrivateDataFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDevicePrivateDataFeaturesEXT malloc()
Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDevicePrivateDataFeaturesEXT calloc()
Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDevicePrivateDataFeaturesEXT create()
Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDevicePrivateDataFeaturesEXT create(long address)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDevicePrivateDataFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDevicePrivateDataFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDevicePrivateDataFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePrivateDataFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDevicePrivateDataFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDevicePrivateDataFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDevicePrivateDataFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDevicePrivateDataFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDevicePrivateDataFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDevicePrivateDataFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDevicePrivateDataFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-