Package org.lwjgl.vulkan
Class VkPipelineColorBlendAdvancedStateCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineColorBlendAdvancedStateCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineColorBlendAdvancedStateCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters that affect advanced blend operations.Description
If this structure is not present,
srcPremultipliedanddstPremultipliedare both considered to beTRUE, andblendOverlapis considered to beBLEND_OVERLAP_UNCORRELATED_EXT.Valid Usage
- If the non-premultiplied source color property is not supported,
srcPremultipliedmust beTRUE - If the non-premultiplied destination color property is not supported,
dstPremultipliedmust beTRUE - If the correlated overlap property is not supported,
blendOverlapmust beBLEND_OVERLAP_UNCORRELATED_EXT
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXTblendOverlapmust be a validVkBlendOverlapEXTvalue
Layout
struct VkPipelineColorBlendAdvancedStateCreateInfoEXT { VkStructureTypesType(); void const *pNext(); VkBool32srcPremultiplied(); VkBool32dstPremultiplied(); VkBlendOverlapEXTblendOverlap(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineColorBlendAdvancedStateCreateInfoEXT.BufferAn array ofVkPipelineColorBlendAdvancedStateCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBLENDOVERLAP
DSTPREMULTIPLIED
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSRCPREMULTIPLIED
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPipelineColorBlendAdvancedStateCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intblendOverlap()aVkBlendOverlapEXTvalue specifying how the source and destination sample’s coverage is correlated.VkPipelineColorBlendAdvancedStateCreateInfoEXTblendOverlap(int value)Sets the specified value to theblendOverlap()field.static VkPipelineColorBlendAdvancedStateCreateInfoEXTcalloc()Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated withmemCalloc.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineColorBlendAdvancedStateCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineColorBlendAdvancedStateCreateInfoEXTcallocStack()Deprecated.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineColorBlendAdvancedStateCreateInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineColorBlendAdvancedStateCreateInfoEXTcreate()Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated withBufferUtils.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffercreate(int capacity)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkPipelineColorBlendAdvancedStateCreateInfoEXTcreate(long address)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance for the specified memory address.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance at the specified memory.static VkPipelineColorBlendAdvancedStateCreateInfoEXTcreateSafe(long address)static VkPipelineColorBlendAdvancedStateCreateInfoEXT.BuffercreateSafe(long address, int capacity)booleandstPremultiplied()specifies whether the destination color of the blend operation is treated as premultiplied.VkPipelineColorBlendAdvancedStateCreateInfoEXTdstPremultiplied(boolean value)Sets the specified value to thedstPremultiplied()field.static VkPipelineColorBlendAdvancedStateCreateInfoEXTmalloc()Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated withmemAlloc.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineColorBlendAdvancedStateCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated on the specifiedMemoryStack.static VkPipelineColorBlendAdvancedStateCreateInfoEXTmallocStack()Deprecated.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkPipelineColorBlendAdvancedStateCreateInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPipelineColorBlendAdvancedStateCreateInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intnblendOverlap(long struct)Unsafe version ofblendOverlap().static voidnblendOverlap(long struct, int value)Unsafe version ofblendOverlap.static intndstPremultiplied(long struct)Unsafe version ofdstPremultiplied().static voidndstPremultiplied(long struct, int value)Unsafe version ofdstPremultiplied.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsrcPremultiplied(long struct)Unsafe version ofsrcPremultiplied().static voidnsrcPremultiplied(long struct, int value)Unsafe version ofsrcPremultiplied.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPipelineColorBlendAdvancedStateCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkPipelineColorBlendAdvancedStateCreateInfoEXTset(int sType, long pNext, boolean srcPremultiplied, boolean dstPremultiplied, int blendOverlap)Initializes this struct with the specified values.VkPipelineColorBlendAdvancedStateCreateInfoEXTset(VkPipelineColorBlendAdvancedStateCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()booleansrcPremultiplied()specifies whether the source color of the blend operation is treated as premultiplied.VkPipelineColorBlendAdvancedStateCreateInfoEXTsrcPremultiplied(boolean value)Sets the specified value to thesrcPremultiplied()field.intsType()the type of this structure.VkPipelineColorBlendAdvancedStateCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkPipelineColorBlendAdvancedStateCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPipelineColorBlendAdvancedStateCreateInfoEXT
public VkPipelineColorBlendAdvancedStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
srcPremultiplied
public boolean srcPremultiplied()
specifies whether the source color of the blend operation is treated as premultiplied.
-
dstPremultiplied
public boolean dstPremultiplied()
specifies whether the destination color of the blend operation is treated as premultiplied.
-
blendOverlap
public int blendOverlap()
aVkBlendOverlapEXTvalue specifying how the source and destination sample’s coverage is correlated.
-
sType
public VkPipelineColorBlendAdvancedStateCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineColorBlendAdvancedStateCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkPipelineColorBlendAdvancedStateCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
srcPremultiplied
public VkPipelineColorBlendAdvancedStateCreateInfoEXT srcPremultiplied(boolean value)
Sets the specified value to thesrcPremultiplied()field.
-
dstPremultiplied
public VkPipelineColorBlendAdvancedStateCreateInfoEXT dstPremultiplied(boolean value)
Sets the specified value to thedstPremultiplied()field.
-
blendOverlap
public VkPipelineColorBlendAdvancedStateCreateInfoEXT blendOverlap(int value)
Sets the specified value to theblendOverlap()field.
-
set
public VkPipelineColorBlendAdvancedStateCreateInfoEXT set(int sType, long pNext, boolean srcPremultiplied, boolean dstPremultiplied, int blendOverlap)
Initializes this struct with the specified values.
-
set
public VkPipelineColorBlendAdvancedStateCreateInfoEXT set(VkPipelineColorBlendAdvancedStateCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT malloc()
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT calloc()
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT create()
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT create(long address)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineColorBlendAdvancedStateCreateInfoEXT createSafe(long address)
-
malloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer create(int capacity)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineColorBlendAdvancedStateCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineColorBlendAdvancedStateCreateInfoEXT.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().
-
nsrcPremultiplied
public static int nsrcPremultiplied(long struct)
Unsafe version ofsrcPremultiplied().
-
ndstPremultiplied
public static int ndstPremultiplied(long struct)
Unsafe version ofdstPremultiplied().
-
nblendOverlap
public static int nblendOverlap(long struct)
Unsafe version ofblendOverlap().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nsrcPremultiplied
public static void nsrcPremultiplied(long struct, int value)Unsafe version ofsrcPremultiplied.
-
ndstPremultiplied
public static void ndstPremultiplied(long struct, int value)Unsafe version ofdstPremultiplied.
-
nblendOverlap
public static void nblendOverlap(long struct, int value)Unsafe version ofblendOverlap.
-
-