public class VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.advancedBlendMaxColorAttachments – one greater than the highest color attachment index that can be used in a subpass, for a pipeline that uses an advanced blend operation.advancedBlendIndependentBlend – specifies whether advanced blend operations can vary per-attachment.advancedBlendNonPremultipliedSrcColor – specifies whether the source color can be treated as non-premultiplied. If this is FALSE, then VkPipelineColorBlendAdvancedStateCreateInfoEXT::srcPremultiplied must be TRUE.advancedBlendNonPremultipliedDstColor – specifies whether the destination color can be treated as non-premultiplied. If this is FALSE, then VkPipelineColorBlendAdvancedStateCreateInfoEXT::dstPremultiplied must be TRUE.advancedBlendCorrelatedOverlap – specifies whether the overlap mode can be treated as correlated. If this is FALSE, then VkPipelineColorBlendAdvancedStateCreateInfoEXT::blendOverlap must be BLEND_OVERLAP_UNCORRELATED_EXT.advancedBlendAllOperations – specifies whether all advanced blend operation enums are supported. See the valid usage of VkPipelineColorBlendAttachmentState.
struct VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t advancedBlendMaxColorAttachments;
VkBool32 advancedBlendIndependentBlend;
VkBool32 advancedBlendNonPremultipliedSrcColor;
VkBool32 advancedBlendNonPremultipliedDstColor;
VkBool32 advancedBlendCorrelatedOverlap;
VkBool32 advancedBlendAllOperations;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
An array of
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADVANCEDBLENDALLOPERATIONS
The struct member offsets.
|
static int |
ADVANCEDBLENDCORRELATEDOVERLAP
The struct member offsets.
|
static int |
ADVANCEDBLENDINDEPENDENTBLEND
The struct member offsets.
|
static int |
ADVANCEDBLENDMAXCOLORATTACHMENTS
The struct member offsets.
|
static int |
ADVANCEDBLENDNONPREMULTIPLIEDDSTCOLOR
The struct member offsets.
|
static int |
ADVANCEDBLENDNONPREMULTIPLIEDSRCCOLOR
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 |
|---|
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
advancedBlendAllOperations()
Returns the value of the
advancedBlendAllOperations field. |
boolean |
advancedBlendCorrelatedOverlap()
Returns the value of the
advancedBlendCorrelatedOverlap field. |
boolean |
advancedBlendIndependentBlend()
Returns the value of the
advancedBlendIndependentBlend field. |
int |
advancedBlendMaxColorAttachments()
Returns the value of the
advancedBlendMaxColorAttachments field. |
boolean |
advancedBlendNonPremultipliedDstColor()
Returns the value of the
advancedBlendNonPremultipliedDstColor field. |
boolean |
advancedBlendNonPremultipliedSrcColor()
Returns the value of the
advancedBlendNonPremultipliedSrcColor field. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the specified MemoryStack. |
static int |
nadvancedBlendAllOperations(long struct)
Unsafe version of
advancedBlendAllOperations(). |
static int |
nadvancedBlendCorrelatedOverlap(long struct)
Unsafe version of
advancedBlendCorrelatedOverlap(). |
static int |
nadvancedBlendIndependentBlend(long struct)
Unsafe version of
advancedBlendIndependentBlend(). |
static int |
nadvancedBlendMaxColorAttachments(long struct)
Unsafe version of
advancedBlendMaxColorAttachments(). |
static int |
nadvancedBlendNonPremultipliedDstColor(long struct)
Unsafe version of
advancedBlendNonPremultipliedDstColor(). |
static int |
nadvancedBlendNonPremultipliedSrcColor(long struct)
Unsafe version of
advancedBlendNonPremultipliedSrcColor(). |
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. |
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
set(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT |
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 ADVANCEDBLENDMAXCOLORATTACHMENTS
public static final int ADVANCEDBLENDINDEPENDENTBLEND
public static final int ADVANCEDBLENDNONPREMULTIPLIEDSRCCOLOR
public static final int ADVANCEDBLENDNONPREMULTIPLIEDDSTCOLOR
public static final int ADVANCEDBLENDCORRELATEDOVERLAP
public static final int ADVANCEDBLENDALLOPERATIONS
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT 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 int advancedBlendMaxColorAttachments()
advancedBlendMaxColorAttachments field.public boolean advancedBlendIndependentBlend()
advancedBlendIndependentBlend field.public boolean advancedBlendNonPremultipliedSrcColor()
advancedBlendNonPremultipliedSrcColor field.public boolean advancedBlendNonPremultipliedDstColor()
advancedBlendNonPremultipliedDstColor field.public boolean advancedBlendCorrelatedOverlap()
advancedBlendCorrelatedOverlap field.public boolean advancedBlendAllOperations()
advancedBlendAllOperations field.public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT set(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT malloc()
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT calloc()
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT create()
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT create(long address)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack()
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack()
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.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 nadvancedBlendMaxColorAttachments(long struct)
advancedBlendMaxColorAttachments().public static int nadvancedBlendIndependentBlend(long struct)
advancedBlendIndependentBlend().public static int nadvancedBlendNonPremultipliedSrcColor(long struct)
advancedBlendNonPremultipliedSrcColor().public static int nadvancedBlendNonPremultipliedDstColor(long struct)
advancedBlendNonPremultipliedDstColor().public static int nadvancedBlendCorrelatedOverlap(long struct)
advancedBlendCorrelatedOverlap().public static int nadvancedBlendAllOperations(long struct)
advancedBlendAllOperations().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.