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 ofVkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.Valid Usage (Implicit)
Member documentation
sType– the type of this structure.pNext–NULLor 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::srcPremultipliedmust beTRUE.advancedBlendNonPremultipliedDstColor– specifies whether the destination color can be treated as non-premultiplied. If this isFALSE, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT::dstPremultipliedmust beTRUE.advancedBlendCorrelatedOverlap– specifies whether the overlap mode can be treated as correlated. If this isFALSE, thenVkPipelineColorBlendAdvancedStateCreateInfoEXT::blendOverlapmust 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 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 Modifier and Type Method Description booleanadvancedBlendAllOperations()Returns the value of theadvancedBlendAllOperationsfield.booleanadvancedBlendCorrelatedOverlap()Returns the value of theadvancedBlendCorrelatedOverlapfield.booleanadvancedBlendIndependentBlend()Returns the value of theadvancedBlendIndependentBlendfield.intadvancedBlendMaxColorAttachments()Returns the value of theadvancedBlendMaxColorAttachmentsfield.booleanadvancedBlendNonPremultipliedDstColor()Returns the value of theadvancedBlendNonPremultipliedDstColorfield.booleanadvancedBlendNonPremultipliedSrcColor()Returns the value of theadvancedBlendNonPremultipliedSrcColorfield.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcalloc()Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcallocStack()Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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 VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTmallocStack()Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the specifiedMemoryStack.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()Returns the value of thepNextfield.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.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()Returns the value of thesTypefield.VkPhysicalDeviceBlendOperationAdvancedPropertiesEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
advancedBlendMaxColorAttachments
public int advancedBlendMaxColorAttachments()
Returns the value of theadvancedBlendMaxColorAttachmentsfield.
-
advancedBlendIndependentBlend
public boolean advancedBlendIndependentBlend()
Returns the value of theadvancedBlendIndependentBlendfield.
-
advancedBlendNonPremultipliedSrcColor
public boolean advancedBlendNonPremultipliedSrcColor()
Returns the value of theadvancedBlendNonPremultipliedSrcColorfield.
-
advancedBlendNonPremultipliedDstColor
public boolean advancedBlendNonPremultipliedDstColor()
Returns the value of theadvancedBlendNonPremultipliedDstColorfield.
-
advancedBlendCorrelatedOverlap
public boolean advancedBlendCorrelatedOverlap()
Returns the value of theadvancedBlendCorrelatedOverlapfield.
-
advancedBlendAllOperations
public boolean advancedBlendAllOperations()
Returns the value of theadvancedBlendAllOperationsfield.
-
sType
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
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
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack()
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT callocStack(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
-
mallocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.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.
-
-