Package org.lwjgl.vulkan
Class VkPhysicalDeviceToolPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceToolProperties
-
- org.lwjgl.vulkan.VkPhysicalDeviceToolPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceToolPropertiesEXT extends VkPhysicalDeviceToolProperties
SeeVkPhysicalDeviceToolProperties.Layout
struct VkPhysicalDeviceToolPropertiesEXT { VkStructureType sType; void * pNext; char name[VK_MAX_EXTENSION_NAME_SIZE]; char version[VK_MAX_EXTENSION_NAME_SIZE]; VkToolPurposeFlags purposes; char description[VK_MAX_DESCRIPTION_SIZE]; char layer[VK_MAX_EXTENSION_NAME_SIZE]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceToolPropertiesEXT.BufferAn array ofVkPhysicalDeviceToolPropertiesEXTstructs.
-
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.VkPhysicalDeviceToolProperties
ALIGNOF, DESCRIPTION, LAYER, NAME, PNEXT, PURPOSES, SIZEOF, STYPE, VERSION
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceToolPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceToolPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceToolPropertiesEXTcalloc()Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceToolPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceToolPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceToolPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceToolPropertiesEXTcreate()Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceToolPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceToolPropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceToolPropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceToolPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceToolPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceToolPropertiesEXTcreateSafe(long address)static VkPhysicalDeviceToolPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceToolPropertiesEXTmalloc()Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceToolPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceToolPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceToolPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceToolPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceToolPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceToolPropertiesEXTset(VkPhysicalDeviceToolPropertiesEXT src)Copies the specified struct data to this struct.VkPhysicalDeviceToolPropertiesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceToolPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceToolProperties
description, descriptionString, layer, layerString, name, nameString, ndescription, ndescriptionString, nlayer, nlayerString, nname, nnameString, npNext, npNext, npurposes, nsType, nsType, nversion, nversionString, pNext, purposes, set, sizeof, sType, version, versionString
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceToolPropertiesEXT
public VkPhysicalDeviceToolPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceToolPropertiesEXTinstance 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 VkPhysicalDeviceToolPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceToolProperties
-
sType$Default
public VkPhysicalDeviceToolPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceToolProperties
-
pNext
public VkPhysicalDeviceToolPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceToolProperties
-
set
public VkPhysicalDeviceToolPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceToolProperties
-
set
public VkPhysicalDeviceToolPropertiesEXT set(VkPhysicalDeviceToolPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceToolPropertiesEXT malloc()
Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceToolPropertiesEXT calloc()
Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceToolPropertiesEXT create()
Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceToolPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceToolPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceToolPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceToolPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceToolPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceToolPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceToolPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceToolPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceToolPropertiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceToolPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceToolPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceToolPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceToolPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceToolPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceToolPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-