public class VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable the features.
advancedBlendCoherentOperations – specifies whether blending using advanced blend operations is guaranteed to execute atomically and in primitive order. If this is TRUE, ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT is treated the same as ACCESS_COLOR_ATTACHMENT_READ_BIT, and advanced blending needs no additional synchronization over basic blending. If this is FALSE, then memory dependencies are required to guarantee order between two advanced blending operations that occur on the same sample.
struct VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 advancedBlendCoherentOperations;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer
An array of
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT structs. |
| Modifier and Type | Field and 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 and Description |
|---|
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
advancedBlendCoherentOperations()
Returns the value of the
advancedBlendCoherentOperations field. |
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
advancedBlendCoherentOperations(boolean value)
Sets the specified value to the
advancedBlendCoherentOperations field. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
nadvancedBlendCoherentOperations(long struct)
Unsafe version of
advancedBlendCoherentOperations(). |
static void |
nadvancedBlendCoherentOperations(long struct,
int value)
Unsafe version of
advancedBlendCoherentOperations. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext 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 the
sType field. |
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int ADVANCEDBLENDCOHERENTOPERATIONS
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean advancedBlendCoherentOperations()
advancedBlendCoherentOperations field.public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT advancedBlendCoherentOperations(boolean value)
advancedBlendCoherentOperations field.public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT set(int sType, long pNext, boolean advancedBlendCoherentOperations)
public VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT set(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT malloc()
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT calloc()
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT create()
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT create(long address)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT mallocStack()
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT callocStack()
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nadvancedBlendCoherentOperations(long struct)
advancedBlendCoherentOperations().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nadvancedBlendCoherentOperations(long struct,
int value)
advancedBlendCoherentOperations.Copyright LWJGL. All Rights Reserved. License terms.