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.NativeResourceStructure describing advanced blending limits that can be supported by an implementation.Description
If the
VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT { VkStructureTypesType(); void *pNext(); uint32_tadvancedBlendMaxColorAttachments(); VkBool32advancedBlendIndependentBlend(); VkBool32advancedBlendNonPremultipliedSrcColor(); VkBool32advancedBlendNonPremultipliedDstColor(); VkBool32advancedBlendCorrelatedOverlap(); VkBool32advancedBlendAllOperations(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BufferAn array ofVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intADVANCEDBLENDALLOPERATIONS
ADVANCEDBLENDCORRELATEDOVERLAP
ADVANCEDBLENDINDEPENDENTBLEND
ADVANCEDBLENDMAXCOLORATTACHMENTS
ADVANCEDBLENDNONPREMULTIPLIEDDSTCOLOR
ADVANCEDBLENDNONPREMULTIPLIEDSRCCOLORThe struct member offsets.static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanadvancedBlendAllOperations()specifies whether all advanced blend operation enums are supported.booleanadvancedBlendCorrelatedOverlap()specifies whether the overlap mode can be treated as correlated.booleanadvancedBlendIndependentBlend()specifies whether advanced blend operations can vary per-attachment.intadvancedBlendMaxColorAttachments()one greater than the highest color attachment index that can be used in a subpass, for a pipeline that uses an advanced blend operation.booleanadvancedBlendNonPremultipliedDstColor()specifies whether the destination color can be treated as non-premultiplied.booleanadvancedBlendNonPremultipliedSrcColor()specifies whether the source color can be treated as non-premultiplied.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcalloc()Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcallocStack()Deprecated.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcreate()Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcreateSafe(long address)static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTmalloc()Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTmallocStack()Deprecated.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intnadvancedBlendAllOperations(long struct)Unsafe version ofadvancedBlendAllOperations().static intnadvancedBlendCorrelatedOverlap(long struct)Unsafe version ofadvancedBlendCorrelatedOverlap().static intnadvancedBlendIndependentBlend(long struct)Unsafe version ofadvancedBlendIndependentBlend().static intnadvancedBlendMaxColorAttachments(long struct)Unsafe version ofadvancedBlendMaxColorAttachments().static intnadvancedBlendNonPremultipliedDstColor(long struct)Unsafe version ofadvancedBlendNonPremultipliedDstColor().static intnadvancedBlendNonPremultipliedSrcColor(long struct)Unsafe version ofadvancedBlendNonPremultipliedSrcColor().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.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.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTset(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXTvalue 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 aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance 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.
-
advancedBlendMaxColorAttachments
public int 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
public boolean advancedBlendIndependentBlend()
specifies whether advanced blend operations can vary per-attachment.
-
advancedBlendNonPremultipliedSrcColor
public boolean advancedBlendNonPremultipliedSrcColor()
specifies whether the source color can be treated as non-premultiplied. If this isFALSE, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT::srcPremultipliedmust beTRUE.
-
advancedBlendNonPremultipliedDstColor
public boolean advancedBlendNonPremultipliedDstColor()
specifies whether the destination color can be treated as non-premultiplied. If this isFALSE, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT::dstPremultipliedmust beTRUE.
-
advancedBlendCorrelatedOverlap
public boolean advancedBlendCorrelatedOverlap()
specifies whether the overlap mode can be treated as correlated. If this isFALSE, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT::blendOverlapmust beBLEND_OVERLAP_UNCORRELATED_EXT.
-
advancedBlendAllOperations
public boolean advancedBlendAllOperations()
specifies whether all advanced blend operation enums are supported. See the valid usage ofVkPipelineColorBlendAttachmentState.
-
sType
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXTvalue 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 newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT calloc()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT create()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.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 VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.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().
-
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.
-
-