Package org.lwjgl.vulkan
Class VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure describing advanced blending features that can be supported by an implementation.Description
If the
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
structure is included in thepNext
chain ofVkPhysicalDeviceFeatures2
, it is filled with values indicating whether each feature is supported.VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
can also be used inpNext
chain ofVkDeviceCreateInfo
to enable the features.Valid Usage (Implicit)
Member documentation
advancedBlendCoherentOperations
– specifies whether blending using advanced blend operations is guaranteed to execute atomically and in primitive order. If this isTRUE
,ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT
is treated the same asACCESS_COLOR_ATTACHMENT_READ_BIT
, and advanced blending needs no additional synchronization over basic blending. If this isFALSE
, then memory dependencies are required to guarantee order between two advanced blending operations that occur on the same sample.
Layout
struct VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 advancedBlendCoherentOperations; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
An array ofVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ADVANCEDBLENDCOHERENTOPERATIONS
The struct member offsets.static int
ALIGNOF
The struct alignment in bytes.static int
PNEXT
The struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
advancedBlendCoherentOperations()
Returns the value of theadvancedBlendCoherentOperations
field.VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
advancedBlendCoherentOperations(boolean value)
Sets the specified value to theadvancedBlendCoherentOperations
field.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
calloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated withmemCalloc
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
callocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
create()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated withBufferUtils
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
create(long address)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance for the specified memory address.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance at the specified memory.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
createSafe(long address)
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
malloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated withmemAlloc
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
mallocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the specifiedMemoryStack
.static int
nadvancedBlendCoherentOperations(long struct)
Unsafe version ofadvancedBlendCoherentOperations()
.static void
nadvancedBlendCoherentOperations(long struct, int value)
Unsafe version ofadvancedBlendCoherentOperations
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
set(int sType, long pNext, boolean advancedBlendCoherentOperations)
Initializes this struct with the specified values.VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
set(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance at the current position of the specifiedByteBuffer
container. 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:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
advancedBlendCoherentOperations
public boolean advancedBlendCoherentOperations()
Returns the value of theadvancedBlendCoherentOperations
field.
-
sType
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT pNext(long value)
Sets the specified value to thepNext
field.
-
advancedBlendCoherentOperations
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT advancedBlendCoherentOperations(boolean value)
Sets the specified value to theadvancedBlendCoherentOperations
field.
-
set
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT set(int sType, long pNext, boolean advancedBlendCoherentOperations)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT set(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT malloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT calloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT create()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT mallocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT callocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
instance allocated on the specifiedMemoryStack
and 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()
.
-
nadvancedBlendCoherentOperations
public static int nadvancedBlendCoherentOperations(long struct)
Unsafe version ofadvancedBlendCoherentOperations()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nadvancedBlendCoherentOperations
public static void nadvancedBlendCoherentOperations(long struct, int value)
Unsafe version ofadvancedBlendCoherentOperations
.
-
-