srcPremultiplied must be TRUEdstPremultiplied must be TRUEblendOverlap must be BLEND_OVERLAP_UNCORRELATED_EXTadvancedBlendOp must be a valid VkBlendOp valueblendOverlap must be a valid VkBlendOverlapEXT value
struct VkColorBlendAdvancedEXT {
VkBlendOp advancedBlendOp;
VkBool32 srcPremultiplied;
VkBool32 dstPremultiplied;
VkBlendOverlapEXT blendOverlap;
VkBool32 clampResults;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkColorBlendAdvancedEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ADVANCEDBLENDOP
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BLENDOVERLAP
The struct member offsets. |
| public static final int | CLAMPRESULTS
The struct member offsets. |
| public static final int | DSTPREMULTIPLIED
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCPREMULTIPLIED
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkColorBlendAdvancedEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | advancedBlendOp()
selects which blend operation is used to calculate the RGB values to write to the color attachment. |
| public VkColorBlendAdvancedEXT | |
| public int | blendOverlap()
a |
| public VkColorBlendAdvancedEXT | |
| public static VkColorBlendAdvancedEXT | |
| public static VkColorBlendAdvancedEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkColorBlendAdvancedEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkColorBlendAdvancedEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public boolean | clampResults()
specifies the results must be clamped to the [0,1] range before writing to the attachment, which is useful when the attachment format is not normalized fixed-point. |
| public VkColorBlendAdvancedEXT | |
| protected VkColorBlendAdvancedEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkColorBlendAdvancedEXT | |
| public static VkColorBlendAdvancedEXT | create(long address)
Returns a new |
| public static VkColorBlendAdvancedEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkColorBlendAdvancedEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkColorBlendAdvancedEXT | |
| public static VkColorBlendAdvancedEXT. | |
| public boolean | dstPremultiplied()
specifies whether the destination color of the blend operation is treated as premultiplied. |
| public VkColorBlendAdvancedEXT | |
| public static VkColorBlendAdvancedEXT | |
| public static VkColorBlendAdvancedEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkColorBlendAdvancedEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkColorBlendAdvancedEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public VkColorBlendAdvancedEXT | set(int advancedBlendOp, boolean srcPremultiplied, boolean dstPremultiplied, int blendOverlap, boolean clampResults)
Initializes this struct with the specified values. |
| public VkColorBlendAdvancedEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public boolean | srcPremultiplied()
specifies whether the source color of the blend operation is treated as premultiplied. |
| public VkColorBlendAdvancedEXT |
| ADVANCEDBLENDOP | back to summary |
|---|---|
| public static final int ADVANCEDBLENDOP The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BLENDOVERLAP | back to summary |
|---|---|
| public static final int BLENDOVERLAP The struct member offsets. | |
| CLAMPRESULTS | back to summary |
|---|---|
| public static final int CLAMPRESULTS The struct member offsets. | |
| DSTPREMULTIPLIED | back to summary |
|---|---|
| public static final int DSTPREMULTIPLIED The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SRCPREMULTIPLIED | back to summary |
|---|---|
| public static final int SRCPREMULTIPLIED The struct member offsets. | |
| VkColorBlendAdvancedEXT | back to summary |
|---|---|
| protected VkColorBlendAdvancedEXT(long address, ByteBuffer container) | |
| VkColorBlendAdvancedEXT | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| advancedBlendOp | back to summary |
|---|---|
| public int advancedBlendOp() selects which blend operation is used to calculate the RGB values to write to the color attachment.
| |
| advancedBlendOp | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT advancedBlendOp(int value) Sets the specified value to the | |
| blendOverlap | back to summary |
|---|---|
| public int blendOverlap() a
| |
| blendOverlap | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT blendOverlap(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT. Returns a new
| |
| clampResults | back to summary |
|---|---|
| public boolean clampResults() specifies the results must be clamped to the [0,1] range before writing to the attachment, which is useful when the attachment format is not normalized fixed-point.
| |
| clampResults | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT clampResults(boolean value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected VkColorBlendAdvancedEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT. Like
| |
| dstPremultiplied | back to summary |
|---|---|
| public boolean dstPremultiplied() specifies whether the destination color of the blend operation is treated as premultiplied.
| |
| dstPremultiplied | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT dstPremultiplied(boolean value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkColorBlendAdvancedEXT. Returns a new
| |
| nadvancedBlendOp | back to summary |
|---|---|
| public static int nadvancedBlendOp(long struct) Unsafe version of | |
| nadvancedBlendOp | back to summary |
|---|---|
| public static void nadvancedBlendOp(long struct, int value) Unsafe version of | |
| nblendOverlap | back to summary |
|---|---|
| public static int nblendOverlap(long struct) Unsafe version of | |
| nblendOverlap | back to summary |
|---|---|
| public static void nblendOverlap(long struct, int value) Unsafe version of | |
| nclampResults | back to summary |
|---|---|
| public static int nclampResults(long struct) Unsafe version of | |
| nclampResults | back to summary |
|---|---|
| public static void nclampResults(long struct, int value) Unsafe version of | |
| ndstPremultiplied | back to summary |
|---|---|
| public static int ndstPremultiplied(long struct) Unsafe version of | |
| ndstPremultiplied | back to summary |
|---|---|
| public static void ndstPremultiplied(long struct, int value) Unsafe version of | |
| nsrcPremultiplied | back to summary |
|---|---|
| public static int nsrcPremultiplied(long struct) Unsafe version of | |
| nsrcPremultiplied | back to summary |
|---|---|
| public static void nsrcPremultiplied(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT set(int advancedBlendOp, boolean srcPremultiplied, boolean dstPremultiplied, int blendOverlap, boolean clampResults) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT set(VkColorBlendAdvancedEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| srcPremultiplied | back to summary |
|---|---|
| public boolean srcPremultiplied() specifies whether the source color of the blend operation is treated as premultiplied.
| |
| srcPremultiplied | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT srcPremultiplied(boolean value) Sets the specified value to the | |
VkColorBlendAdvancedEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkColorBlendAdvancedEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkColorBlendAdvancedEXT. | advancedBlendOp(int value)
Sets the specified value to the |
| public int | |
| public VkColorBlendAdvancedEXT. | |
| public boolean | |
| public VkColorBlendAdvancedEXT. | clampResults(boolean value)
Sets the specified value to the |
| public boolean | |
| public VkColorBlendAdvancedEXT. | dstPremultiplied(boolean value)
Sets the specified value to the |
| protected VkColorBlendAdvancedEXT | |
| protected VkColorBlendAdvancedEXT. | |
| public boolean | |
| public VkColorBlendAdvancedEXT. | srcPremultiplied(boolean value)
Sets the specified value to the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkColorBlendAdvancedEXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| advancedBlendOp | back to summary |
|---|---|
public int advancedBlendOp()
| |
| advancedBlendOp | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT. Sets the specified value to the | |
| blendOverlap | back to summary |
|---|---|
public int blendOverlap()
| |
| blendOverlap | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT. Sets the specified value to the | |
| clampResults | back to summary |
|---|---|
public boolean clampResults()
| |
| clampResults | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT. Sets the specified value to the | |
| dstPremultiplied | back to summary |
|---|---|
public boolean dstPremultiplied()
| |
| dstPremultiplied | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkColorBlendAdvancedEXT getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkColorBlendAdvancedEXT. Implements abstract org.
| |
| srcPremultiplied | back to summary |
|---|---|
public boolean srcPremultiplied()
| |
| srcPremultiplied | back to summary |
|---|---|
| public VkColorBlendAdvancedEXT. Sets the specified value to the | |