public class VkPipelineColorBlendAdvancedStateCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, srcPremultiplied and dstPremultiplied are both considered to be TRUE, and blendOverlap is considered to be BLEND_OVERLAP_UNCORRELATED_EXT.
srcPremultiplied must be TRUEdstPremultiplied must be TRUEblendOverlap must be BLEND_OVERLAP_UNCORRELATED_EXTsType must be STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXTblendOverlap must be a valid VkBlendOverlapEXT valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.srcPremultiplied – specifies whether the source color of the blend operation is treated as premultiplied.dstPremultiplied – specifies whether the destination color of the blend operation is treated as premultiplied.blendOverlap – a VkBlendOverlapEXT value specifying how the source and destination sample’s coverage is correlated.
struct VkPipelineColorBlendAdvancedStateCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkBool32 srcPremultiplied;
VkBool32 dstPremultiplied;
VkBlendOverlapEXT blendOverlap;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer
An array of
VkPipelineColorBlendAdvancedStateCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BLENDOVERLAP
The struct member offsets.
|
static int |
DSTPREMULTIPLIED
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SRCPREMULTIPLIED
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineColorBlendAdvancedStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
blendOverlap()
Returns the value of the
blendOverlap field. |
VkPipelineColorBlendAdvancedStateCreateInfoEXT |
blendOverlap(int value)
Sets the specified value to the
blendOverlap field. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
calloc()
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated with memCalloc. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
callocStack()
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
create()
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated with BufferUtils. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
create(long address)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance for the specified memory address. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance at the specified memory. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
createSafe(long address)
|
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
dstPremultiplied()
Returns the value of the
dstPremultiplied field. |
VkPipelineColorBlendAdvancedStateCreateInfoEXT |
dstPremultiplied(boolean value)
Sets the specified value to the
dstPremultiplied field. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
malloc()
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated with memAlloc. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
mallocStack()
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineColorBlendAdvancedStateCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the specified MemoryStack. |
static int |
nblendOverlap(long struct)
Unsafe version of
blendOverlap(). |
static void |
nblendOverlap(long struct,
int value)
Unsafe version of
blendOverlap. |
static int |
ndstPremultiplied(long struct)
Unsafe version of
dstPremultiplied(). |
static void |
ndstPremultiplied(long struct,
int value)
Unsafe version of
dstPremultiplied. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsrcPremultiplied(long struct)
Unsafe version of
srcPremultiplied(). |
static void |
nsrcPremultiplied(long struct,
int value)
Unsafe version of
srcPremultiplied. |
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. |
VkPipelineColorBlendAdvancedStateCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineColorBlendAdvancedStateCreateInfoEXT |
set(int sType,
long pNext,
boolean srcPremultiplied,
boolean dstPremultiplied,
int blendOverlap)
Initializes this struct with the specified values.
|
VkPipelineColorBlendAdvancedStateCreateInfoEXT |
set(VkPipelineColorBlendAdvancedStateCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
boolean |
srcPremultiplied()
Returns the value of the
srcPremultiplied field. |
VkPipelineColorBlendAdvancedStateCreateInfoEXT |
srcPremultiplied(boolean value)
Sets the specified value to the
srcPremultiplied field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineColorBlendAdvancedStateCreateInfoEXT |
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 SRCPREMULTIPLIED
public static final int DSTPREMULTIPLIED
public static final int BLENDOVERLAP
public VkPipelineColorBlendAdvancedStateCreateInfoEXT(java.nio.ByteBuffer container)
VkPipelineColorBlendAdvancedStateCreateInfoEXT 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 srcPremultiplied()
srcPremultiplied field.public boolean dstPremultiplied()
dstPremultiplied field.public int blendOverlap()
blendOverlap field.public VkPipelineColorBlendAdvancedStateCreateInfoEXT sType(int value)
sType field.public VkPipelineColorBlendAdvancedStateCreateInfoEXT pNext(long value)
pNext field.public VkPipelineColorBlendAdvancedStateCreateInfoEXT srcPremultiplied(boolean value)
srcPremultiplied field.public VkPipelineColorBlendAdvancedStateCreateInfoEXT dstPremultiplied(boolean value)
dstPremultiplied field.public VkPipelineColorBlendAdvancedStateCreateInfoEXT blendOverlap(int value)
blendOverlap field.public VkPipelineColorBlendAdvancedStateCreateInfoEXT set(int sType, long pNext, boolean srcPremultiplied, boolean dstPremultiplied, int blendOverlap)
public VkPipelineColorBlendAdvancedStateCreateInfoEXT set(VkPipelineColorBlendAdvancedStateCreateInfoEXT src)
src - the source structpublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT malloc()
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineColorBlendAdvancedStateCreateInfoEXT calloc()
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineColorBlendAdvancedStateCreateInfoEXT create()
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated with BufferUtils.public static VkPipelineColorBlendAdvancedStateCreateInfoEXT create(long address)
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance for the specified memory address.@Nullable public static VkPipelineColorBlendAdvancedStateCreateInfoEXT createSafe(long address)
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer malloc(int capacity)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer calloc(int capacity)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer create(int capacity)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer create(long address, int capacity)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT mallocStack()
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkPipelineColorBlendAdvancedStateCreateInfoEXT callocStack()
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineColorBlendAdvancedStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineColorBlendAdvancedStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer mallocStack(int capacity)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer callocStack(int capacity)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineColorBlendAdvancedStateCreateInfoEXT.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 nsrcPremultiplied(long struct)
srcPremultiplied().public static int ndstPremultiplied(long struct)
dstPremultiplied().public static int nblendOverlap(long struct)
blendOverlap().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nsrcPremultiplied(long struct,
int value)
srcPremultiplied.public static void ndstPremultiplied(long struct,
int value)
dstPremultiplied.public static void nblendOverlap(long struct,
int value)
blendOverlap.Copyright LWJGL. All Rights Reserved. License terms.