Package org.lwjgl.vulkan
Class VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure describing advanced blending limits that can be supported by an implementation.Description
If the
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
structure is included in thepNext
chain ofVkPhysicalDeviceProperties2
, it is filled with the implementation-dependent limits.Valid Usage (Implicit)
Member documentation
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 isFALSE
, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT
::srcPremultiplied
must beTRUE
.advancedBlendNonPremultipliedDstColor
– specifies whether the destination color can be treated as non-premultiplied. If this isFALSE
, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT
::dstPremultiplied
must beTRUE
.advancedBlendCorrelatedOverlap
– specifies whether the overlap mode can be treated as correlated. If this isFALSE
, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT
::blendOverlap
must beBLEND_OVERLAP_UNCORRELATED_EXT
.advancedBlendAllOperations
– specifies whether all advanced blend operation enums are supported. See the valid usage ofVkPipelineColorBlendAttachmentState
.
Layout
struct VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT { VkStructureType sType; void * pNext; uint32_t advancedBlendMaxColorAttachments; VkBool32 advancedBlendIndependentBlend; VkBool32 advancedBlendNonPremultipliedSrcColor; VkBool32 advancedBlendNonPremultipliedDstColor; VkBool32 advancedBlendCorrelatedOverlap; VkBool32 advancedBlendAllOperations; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
An array ofVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ADVANCEDBLENDALLOPERATIONS
ADVANCEDBLENDCORRELATEDOVERLAP
ADVANCEDBLENDINDEPENDENTBLEND
ADVANCEDBLENDMAXCOLORATTACHMENTS
ADVANCEDBLENDNONPREMULTIPLIEDDSTCOLOR
ADVANCEDBLENDNONPREMULTIPLIEDSRCCOLORThe 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 Summary
Constructors Constructor Description VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
advancedBlendAllOperations()
Returns the value of theadvancedBlendAllOperations
field.boolean
advancedBlendCorrelatedOverlap()
Returns the value of theadvancedBlendCorrelatedOverlap
field.boolean
advancedBlendIndependentBlend()
Returns the value of theadvancedBlendIndependentBlend
field.int
advancedBlendMaxColorAttachments()
Returns the value of theadvancedBlendMaxColorAttachments
field.boolean
advancedBlendNonPremultipliedDstColor()
Returns the value of theadvancedBlendNonPremultipliedDstColor
field.boolean
advancedBlendNonPremultipliedSrcColor()
Returns the value of theadvancedBlendNonPremultipliedSrcColor
field.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
calloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated withmemCalloc
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
callocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
create()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated withBufferUtils
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
create(long address)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance for the specified memory address.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance at the specified memory.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
createSafe(long address)
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
malloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated withmemAlloc
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
mallocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the specifiedMemoryStack
.static int
nadvancedBlendAllOperations(long struct)
Unsafe version ofadvancedBlendAllOperations()
.static int
nadvancedBlendCorrelatedOverlap(long struct)
Unsafe version ofadvancedBlendCorrelatedOverlap()
.static int
nadvancedBlendIndependentBlend(long struct)
Unsafe version ofadvancedBlendIndependentBlend()
.static int
nadvancedBlendMaxColorAttachments(long struct)
Unsafe version ofadvancedBlendMaxColorAttachments()
.static int
nadvancedBlendNonPremultipliedDstColor(long struct)
Unsafe version ofadvancedBlendNonPremultipliedDstColor()
.static int
nadvancedBlendNonPremultipliedSrcColor(long struct)
Unsafe version ofadvancedBlendNonPremultipliedSrcColor()
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
pNext(long value)
Sets the specified value to thepNext
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 thesType
field.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, ADVANCEDBLENDMAXCOLORATTACHMENTS, ADVANCEDBLENDINDEPENDENTBLEND, ADVANCEDBLENDNONPREMULTIPLIEDSRCCOLOR, ADVANCEDBLENDNONPREMULTIPLIEDDSTCOLOR, ADVANCEDBLENDCORRELATEDOVERLAP, ADVANCEDBLENDALLOPERATIONS
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
advancedBlendMaxColorAttachments
public int advancedBlendMaxColorAttachments()
Returns the value of theadvancedBlendMaxColorAttachments
field.
-
advancedBlendIndependentBlend
public boolean advancedBlendIndependentBlend()
Returns the value of theadvancedBlendIndependentBlend
field.
-
advancedBlendNonPremultipliedSrcColor
public boolean advancedBlendNonPremultipliedSrcColor()
Returns the value of theadvancedBlendNonPremultipliedSrcColor
field.
-
advancedBlendNonPremultipliedDstColor
public boolean advancedBlendNonPremultipliedDstColor()
Returns the value of theadvancedBlendNonPremultipliedDstColor
field.
-
advancedBlendCorrelatedOverlap
public boolean advancedBlendCorrelatedOverlap()
Returns the value of theadvancedBlendCorrelatedOverlap
field.
-
advancedBlendAllOperations
public boolean advancedBlendAllOperations()
Returns the value of theadvancedBlendAllOperations
field.
-
sType
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT pNext(long value)
Sets the specified value to thepNext
field.
-
set
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT set(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT malloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT calloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT create()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and 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()
.
-
nadvancedBlendMaxColorAttachments
public static int nadvancedBlendMaxColorAttachments(long struct)
Unsafe version ofadvancedBlendMaxColorAttachments()
.
-
nadvancedBlendIndependentBlend
public static int nadvancedBlendIndependentBlend(long struct)
Unsafe version ofadvancedBlendIndependentBlend()
.
-
nadvancedBlendNonPremultipliedSrcColor
public static int nadvancedBlendNonPremultipliedSrcColor(long struct)
Unsafe version ofadvancedBlendNonPremultipliedSrcColor()
.
-
nadvancedBlendNonPremultipliedDstColor
public static int nadvancedBlendNonPremultipliedDstColor(long struct)
Unsafe version ofadvancedBlendNonPremultipliedDstColor()
.
-
nadvancedBlendCorrelatedOverlap
public static int nadvancedBlendCorrelatedOverlap(long struct)
Unsafe version ofadvancedBlendCorrelatedOverlap()
.
-
nadvancedBlendAllOperations
public static int nadvancedBlendAllOperations(long struct)
Unsafe version ofadvancedBlendAllOperations()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
-