Package org.lwjgl.vulkan
Class VkPhysicalDeviceCustomBorderColorPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceCustomBorderColorPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceCustomBorderColorPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing whether custom border colors can be supported by an implementation.Description
If the
VkPhysicalDeviceCustomBorderColorPropertiesEXTstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceCustomBorderColorPropertiesEXT { VkStructureType sType; void * pNext; uint32_tmaxCustomBorderColorSamplers(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceCustomBorderColorPropertiesEXT.BufferAn array ofVkPhysicalDeviceCustomBorderColorPropertiesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXCUSTOMBORDERCOLORSAMPLERS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceCustomBorderColorPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceCustomBorderColorPropertiesEXTcalloc()Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceCustomBorderColorPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceCustomBorderColorPropertiesEXTcreate()Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceCustomBorderColorPropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceCustomBorderColorPropertiesEXTcreateSafe(long address)static VkPhysicalDeviceCustomBorderColorPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceCustomBorderColorPropertiesEXTmalloc()Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceCustomBorderColorPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated on the specifiedMemoryStack.intmaxCustomBorderColorSamplers()indicates the maximum number of samplers with custom border colors which can simultaneously exist on a device.static intnmaxCustomBorderColorSamplers(long struct)Unsafe version ofmaxCustomBorderColorSamplers().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.longpNext()VkPhysicalDeviceCustomBorderColorPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceCustomBorderColorPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceCustomBorderColorPropertiesEXTset(VkPhysicalDeviceCustomBorderColorPropertiesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()VkPhysicalDeviceCustomBorderColorPropertiesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceCustomBorderColorPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXTvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceCustomBorderColorPropertiesEXT
public VkPhysicalDeviceCustomBorderColorPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance 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 the
sTypefield.
-
pNext
public long pNext()
- Returns:
- the value of the
pNextfield.
-
maxCustomBorderColorSamplers
public int maxCustomBorderColorSamplers()
indicates the maximum number of samplers with custom border colors which can simultaneously exist on a device.
-
sType
public VkPhysicalDeviceCustomBorderColorPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkPhysicalDeviceCustomBorderColorPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXTvalue to thesTypefield.
-
pNext
public VkPhysicalDeviceCustomBorderColorPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
set
public VkPhysicalDeviceCustomBorderColorPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceCustomBorderColorPropertiesEXT set(VkPhysicalDeviceCustomBorderColorPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT malloc()
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT calloc()
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT create()
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceCustomBorderColorPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceCustomBorderColorPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceCustomBorderColorPropertiesEXT.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().
-
nmaxCustomBorderColorSamplers
public static int nmaxCustomBorderColorSamplers(long struct)
Unsafe version ofmaxCustomBorderColorSamplers().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-