Class VkPhysicalDeviceFragmentShadingRatePropertiesKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
Description
Note
Multiplication of the combiner rates using the fragment width/height in linear space is equivalent to an addition of those values in log2 space. Some implementations inadvertently implemented an addition in linear space due to unclear requirements originating outside of this specification. This resulted in fragmentShadingRateStrictMultiplyCombiner being added. Fortunately, this only affects situations where a rate of 1 in either dimension is combined with another rate of 1. All other combinations result in the exact same result as if multiplication was performed in linear space due to the clamping logic, and the fact that both the sum and product of 2 and 2 are equal. In many cases, this limit will not affect the correct operation of applications.
If the VkPhysicalDeviceFragmentShadingRatePropertiesKHR structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
These properties are related to fragment shading rates.
Valid Usage (Implicit)
See Also
Layout
struct VkPhysicalDeviceFragmentShadingRatePropertiesKHR {
VkStructureType sType();
void * pNext();
VkExtent2D minFragmentShadingRateAttachmentTexelSize();
VkExtent2D maxFragmentShadingRateAttachmentTexelSize();
uint32_t maxFragmentShadingRateAttachmentTexelSizeAspectRatio();
VkBool32 primitiveFragmentShadingRateWithMultipleViewports();
VkBool32 layeredShadingRateAttachments();
VkBool32 fragmentShadingRateNonTrivialCombinerOps();
VkExtent2D maxFragmentSize();
uint32_t maxFragmentSizeAspectRatio();
uint32_t maxFragmentShadingRateCoverageSamples();
VkSampleCountFlagBits maxFragmentShadingRateRasterizationSamples();
VkBool32 fragmentShadingRateWithShaderDepthStencilWrites();
VkBool32 fragmentShadingRateWithSampleMask();
VkBool32 fragmentShadingRateWithShaderSampleMask();
VkBool32 fragmentShadingRateWithConservativeRasterization();
VkBool32 fragmentShadingRateWithFragmentShaderInterlock();
VkBool32 fragmentShadingRateWithCustomSampleLocations();
VkBool32 fragmentShadingRateStrictMultiplyCombiner();
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPhysicalDeviceFragmentShadingRatePropertiesKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceFragmentShadingRatePropertiesKHRcreateSafe(long address) static @Nullable VkPhysicalDeviceFragmentShadingRatePropertiesKHR.BuffercreateSafe(long address, int capacity) booleanspecifies whetherVkFragmentShadingRateCombinerOpKHRenums other thanFRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHRorFRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHRcan be used.booleanspecifies whetherFRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHRaccurately performs a multiplication or not.booleanspecifies whether conservative rasterization is supported for multi-pixel fragments.booleanspecifies whether custom sample locations are supported for multi-pixel fragments.booleanspecifies whether fragment shader interlock is supported for multi-pixel fragments.booleanspecifies whether the implementation supports setting valid bits ofVkPipelineMultisampleStateCreateInfo::pSampleMaskto 0 for multi-pixel fragments.booleanspecifies whether the implementation supports writingFragDepthorFragStencilRefEXTfrom a fragment shader for multi-pixel fragments.booleanspecifies whether the implementation supports reading or writingSampleMaskfor multi-pixel fragments.booleanspecifies whether a shading rate attachment image view can be created with multiple layers.malloc()Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStack.indicates maximum supported width and height of the portion of the framebuffer corresponding to each texel in a fragment shading rate attachment.intindicates the maximum ratio between the width and height of the portion of the framebuffer corresponding to each texel in a fragment shading rate attachment.intspecifies the maximum number of coverage samples supported in a single fragment.intaVkSampleCountFlagBitsvalue specifying the maximum sample rate supported when a fragment covers multiple pixels.indicates the maximum supported width and height of a fragment.intindicates the maximum ratio between the width and height of a fragment.indicates minimum supported width and height of the portion of the framebuffer corresponding to each texel in a fragment shading rate attachment.static intnfragmentShadingRateNonTrivialCombinerOps(long struct) Unsafe version offragmentShadingRateNonTrivialCombinerOps().static intnfragmentShadingRateStrictMultiplyCombiner(long struct) Unsafe version offragmentShadingRateStrictMultiplyCombiner().static intnfragmentShadingRateWithConservativeRasterization(long struct) Unsafe version offragmentShadingRateWithConservativeRasterization().static intnfragmentShadingRateWithCustomSampleLocations(long struct) Unsafe version offragmentShadingRateWithCustomSampleLocations().static intnfragmentShadingRateWithFragmentShaderInterlock(long struct) Unsafe version offragmentShadingRateWithFragmentShaderInterlock().static intnfragmentShadingRateWithSampleMask(long struct) Unsafe version offragmentShadingRateWithSampleMask().static intnfragmentShadingRateWithShaderDepthStencilWrites(long struct) Unsafe version offragmentShadingRateWithShaderDepthStencilWrites().static intnfragmentShadingRateWithShaderSampleMask(long struct) Unsafe version offragmentShadingRateWithShaderSampleMask().static intnlayeredShadingRateAttachments(long struct) Unsafe version oflayeredShadingRateAttachments().static VkExtent2DnmaxFragmentShadingRateAttachmentTexelSize(long struct) Unsafe version ofmaxFragmentShadingRateAttachmentTexelSize().static intUnsafe version ofmaxFragmentShadingRateAttachmentTexelSizeAspectRatio().static intnmaxFragmentShadingRateCoverageSamples(long struct) Unsafe version ofmaxFragmentShadingRateCoverageSamples().static intnmaxFragmentShadingRateRasterizationSamples(long struct) Unsafe version ofmaxFragmentShadingRateRasterizationSamples().static VkExtent2DnmaxFragmentSize(long struct) Unsafe version ofmaxFragmentSize().static intnmaxFragmentSizeAspectRatio(long struct) Unsafe version ofmaxFragmentSizeAspectRatio().static VkExtent2DnminFragmentShadingRateAttachmentTexelSize(long struct) Unsafe version ofminFragmentShadingRateAttachmentTexelSize().static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnprimitiveFragmentShadingRateWithMultipleViewports(long struct) Unsafe version ofprimitiveFragmentShadingRateWithMultipleViewports().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.pNext(long value) Sets the specified value to thepNext()field.booleanspecifies whether the primitive fragment shading rate can be used when multiple viewports are used.set(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHRvalue to thesType()field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
MINFRAGMENTSHADINGRATEATTACHMENTTEXELSIZE
public static final int MINFRAGMENTSHADINGRATEATTACHMENTTEXELSIZEThe struct member offsets. -
MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZE
public static final int MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZEThe struct member offsets. -
MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZEASPECTRATIO
public static final int MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZEASPECTRATIOThe struct member offsets. -
PRIMITIVEFRAGMENTSHADINGRATEWITHMULTIPLEVIEWPORTS
public static final int PRIMITIVEFRAGMENTSHADINGRATEWITHMULTIPLEVIEWPORTSThe struct member offsets. -
LAYEREDSHADINGRATEATTACHMENTS
public static final int LAYEREDSHADINGRATEATTACHMENTSThe struct member offsets. -
FRAGMENTSHADINGRATENONTRIVIALCOMBINEROPS
public static final int FRAGMENTSHADINGRATENONTRIVIALCOMBINEROPSThe struct member offsets. -
MAXFRAGMENTSIZE
public static final int MAXFRAGMENTSIZEThe struct member offsets. -
MAXFRAGMENTSIZEASPECTRATIO
public static final int MAXFRAGMENTSIZEASPECTRATIOThe struct member offsets. -
MAXFRAGMENTSHADINGRATECOVERAGESAMPLES
public static final int MAXFRAGMENTSHADINGRATECOVERAGESAMPLESThe struct member offsets. -
MAXFRAGMENTSHADINGRATERASTERIZATIONSAMPLES
public static final int MAXFRAGMENTSHADINGRATERASTERIZATIONSAMPLESThe struct member offsets. -
FRAGMENTSHADINGRATEWITHSHADERDEPTHSTENCILWRITES
public static final int FRAGMENTSHADINGRATEWITHSHADERDEPTHSTENCILWRITESThe struct member offsets. -
FRAGMENTSHADINGRATEWITHSAMPLEMASK
public static final int FRAGMENTSHADINGRATEWITHSAMPLEMASKThe struct member offsets. -
FRAGMENTSHADINGRATEWITHSHADERSAMPLEMASK
public static final int FRAGMENTSHADINGRATEWITHSHADERSAMPLEMASKThe struct member offsets. -
FRAGMENTSHADINGRATEWITHCONSERVATIVERASTERIZATION
public static final int FRAGMENTSHADINGRATEWITHCONSERVATIVERASTERIZATIONThe struct member offsets. -
FRAGMENTSHADINGRATEWITHFRAGMENTSHADERINTERLOCK
public static final int FRAGMENTSHADINGRATEWITHFRAGMENTSHADERINTERLOCKThe struct member offsets. -
FRAGMENTSHADINGRATEWITHCUSTOMSAMPLELOCATIONS
public static final int FRAGMENTSHADINGRATEWITHCUSTOMSAMPLELOCATIONSThe struct member offsets. -
FRAGMENTSHADINGRATESTRICTMULTIPLYCOMBINER
public static final int FRAGMENTSHADINGRATESTRICTMULTIPLYCOMBINERThe struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceFragmentShadingRatePropertiesKHR
Creates aVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance 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 Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkPhysicalDeviceFragmentShadingRatePropertiesKHR>
-
sType
public int sType()aVkStructureTypevalue identifying this structure. -
pNext
public long pNext()NULLor a pointer to a structure extending this structure. -
minFragmentShadingRateAttachmentTexelSize
indicates minimum supported width and height of the portion of the framebuffer corresponding to each texel in a fragment shading rate attachment. Each value must be less than or equal to the values inmaxFragmentShadingRateAttachmentTexelSize. Each value must be a power-of-two. It must be(0,0)if theattachmentFragmentShadingRatefeature is not supported. -
maxFragmentShadingRateAttachmentTexelSize
indicates maximum supported width and height of the portion of the framebuffer corresponding to each texel in a fragment shading rate attachment. Each value must be greater than or equal to the values inminFragmentShadingRateAttachmentTexelSize. Each value must be a power-of-two. It must be(0,0)if theattachmentFragmentShadingRatefeature is not supported. -
maxFragmentShadingRateAttachmentTexelSizeAspectRatio
public int maxFragmentShadingRateAttachmentTexelSizeAspectRatio()indicates the maximum ratio between the width and height of the portion of the framebuffer corresponding to each texel in a fragment shading rate attachment.maxFragmentShadingRateAttachmentTexelSizeAspectRatiomust be a power-of-two value, and must be less than or equal tomax(maxFragmentShadingRateAttachmentTexelSize.width / minFragmentShadingRateAttachmentTexelSize.height, maxFragmentShadingRateAttachmentTexelSize.height / minFragmentShadingRateAttachmentTexelSize.width). It must be 0 if theattachmentFragmentShadingRatefeature is not supported. -
primitiveFragmentShadingRateWithMultipleViewports
public boolean primitiveFragmentShadingRateWithMultipleViewports()specifies whether the primitive fragment shading rate can be used when multiple viewports are used. If this value isFALSE, only a single viewport must be used, and applications must not write to theViewportMaskNVorViewportIndexbuilt-in when settingPrimitiveShadingRateKHR. It must beFALSEif theshaderOutputViewportIndexfeature, theVK_EXT_shader_viewport_index_layerextension, or thegeometryShaderfeature is not supported, or if theprimitiveFragmentShadingRatefeature is not supported. -
layeredShadingRateAttachments
public boolean layeredShadingRateAttachments()specifies whether a shading rate attachment image view can be created with multiple layers. If this value isFALSE, when creating an image view with ausagethat includesIMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR,layerCountmust be 1. It must beFALSEif themultiviewfeature, theshaderOutputViewportIndexfeature, theVK_EXT_shader_viewport_index_layerextension, or thegeometryShaderfeature is not supported, or if theattachmentFragmentShadingRatefeature is not supported. -
fragmentShadingRateNonTrivialCombinerOps
public boolean fragmentShadingRateNonTrivialCombinerOps()specifies whetherVkFragmentShadingRateCombinerOpKHRenums other thanFRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHRorFRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHRcan be used. It must beFALSEunless either theprimitiveFragmentShadingRateorattachmentFragmentShadingRatefeature is supported. -
maxFragmentSize
indicates the maximum supported width and height of a fragment. Itswidthandheightmembers must both be power-of-two values. This limit is purely informational, and is not validated. -
maxFragmentSizeAspectRatio
public int maxFragmentSizeAspectRatio()indicates the maximum ratio between the width and height of a fragment.maxFragmentSizeAspectRatiomust be a power-of-two value, and must be less than or equal to the maximum of thewidthandheightmembers ofmaxFragmentSize. This limit is purely informational, and is not validated. -
maxFragmentShadingRateCoverageSamples
public int maxFragmentShadingRateCoverageSamples()specifies the maximum number of coverage samples supported in a single fragment.maxFragmentShadingRateCoverageSamplesmust be less than or equal to the product of thewidthandheightmembers ofmaxFragmentSize, and the sample count reported bymaxFragmentShadingRateRasterizationSamples.maxFragmentShadingRateCoverageSamplesmust be less than or equal tomaxSampleMaskWords × 32iffragmentShadingRateWithShaderSampleMaskis supported. This limit is purely informational, and is not validated. -
maxFragmentShadingRateRasterizationSamples
public int maxFragmentShadingRateRasterizationSamples()aVkSampleCountFlagBitsvalue specifying the maximum sample rate supported when a fragment covers multiple pixels. This limit is purely informational, and is not validated. -
fragmentShadingRateWithShaderDepthStencilWrites
public boolean fragmentShadingRateWithShaderDepthStencilWrites()specifies whether the implementation supports writingFragDepthorFragStencilRefEXTfrom a fragment shader for multi-pixel fragments. If this value isFALSE, writing to those built-ins will clamp the fragment shading rate to(1,1). -
fragmentShadingRateWithSampleMask
public boolean fragmentShadingRateWithSampleMask()specifies whether the implementation supports setting valid bits ofVkPipelineMultisampleStateCreateInfo::pSampleMaskto 0 for multi-pixel fragments. If this value isFALSE, zeroing valid bits in the sample mask will clamp the fragment shading rate to(1,1). -
fragmentShadingRateWithShaderSampleMask
public boolean fragmentShadingRateWithShaderSampleMask()specifies whether the implementation supports reading or writingSampleMaskfor multi-pixel fragments. If this value isFALSE, using that built-in will clamp the fragment shading rate to(1,1). -
fragmentShadingRateWithConservativeRasterization
public boolean fragmentShadingRateWithConservativeRasterization()specifies whether conservative rasterization is supported for multi-pixel fragments. It must beFALSEifVK_EXT_conservative_rasterizationis not supported. If this value isFALSE, using conservative rasterization will clamp the fragment shading rate to(1,1). -
fragmentShadingRateWithFragmentShaderInterlock
public boolean fragmentShadingRateWithFragmentShaderInterlock()specifies whether fragment shader interlock is supported for multi-pixel fragments. It must beFALSEifVK_EXT_fragment_shader_interlockis not supported. If this value isFALSE, using fragment shader interlock will clamp the fragment shading rate to(1,1). -
fragmentShadingRateWithCustomSampleLocations
public boolean fragmentShadingRateWithCustomSampleLocations()specifies whether custom sample locations are supported for multi-pixel fragments. It must beFALSEifVK_EXT_sample_locationsis not supported. If this value isFALSE, using custom sample locations will clamp the fragment shading rate to(1,1). -
fragmentShadingRateStrictMultiplyCombiner
public boolean fragmentShadingRateStrictMultiplyCombiner()specifies whetherFRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHRaccurately performs a multiplication or not. Implementations where this value isFALSEwill instead combine rates with an addition. IffragmentShadingRateNonTrivialCombinerOpsisFALSE, implementations must report this asFALSE. IffragmentShadingRateNonTrivialCombinerOpsisTRUE, implementations should report this asTRUE. -
sType
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHRvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
set
Initializes this struct with the specified values. -
set
public VkPhysicalDeviceFragmentShadingRatePropertiesKHR set(VkPhysicalDeviceFragmentShadingRatePropertiesKHR src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffer create(long address, int capacity) Create aVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffer createSafe(long address, int capacity) -
malloc
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nminFragmentShadingRateAttachmentTexelSize
Unsafe version ofminFragmentShadingRateAttachmentTexelSize(). -
nmaxFragmentShadingRateAttachmentTexelSize
Unsafe version ofmaxFragmentShadingRateAttachmentTexelSize(). -
nmaxFragmentShadingRateAttachmentTexelSizeAspectRatio
public static int nmaxFragmentShadingRateAttachmentTexelSizeAspectRatio(long struct) Unsafe version ofmaxFragmentShadingRateAttachmentTexelSizeAspectRatio(). -
nprimitiveFragmentShadingRateWithMultipleViewports
public static int nprimitiveFragmentShadingRateWithMultipleViewports(long struct) Unsafe version ofprimitiveFragmentShadingRateWithMultipleViewports(). -
nlayeredShadingRateAttachments
public static int nlayeredShadingRateAttachments(long struct) Unsafe version oflayeredShadingRateAttachments(). -
nfragmentShadingRateNonTrivialCombinerOps
public static int nfragmentShadingRateNonTrivialCombinerOps(long struct) Unsafe version offragmentShadingRateNonTrivialCombinerOps(). -
nmaxFragmentSize
Unsafe version ofmaxFragmentSize(). -
nmaxFragmentSizeAspectRatio
public static int nmaxFragmentSizeAspectRatio(long struct) Unsafe version ofmaxFragmentSizeAspectRatio(). -
nmaxFragmentShadingRateCoverageSamples
public static int nmaxFragmentShadingRateCoverageSamples(long struct) Unsafe version ofmaxFragmentShadingRateCoverageSamples(). -
nmaxFragmentShadingRateRasterizationSamples
public static int nmaxFragmentShadingRateRasterizationSamples(long struct) Unsafe version ofmaxFragmentShadingRateRasterizationSamples(). -
nfragmentShadingRateWithShaderDepthStencilWrites
public static int nfragmentShadingRateWithShaderDepthStencilWrites(long struct) Unsafe version offragmentShadingRateWithShaderDepthStencilWrites(). -
nfragmentShadingRateWithSampleMask
public static int nfragmentShadingRateWithSampleMask(long struct) Unsafe version offragmentShadingRateWithSampleMask(). -
nfragmentShadingRateWithShaderSampleMask
public static int nfragmentShadingRateWithShaderSampleMask(long struct) Unsafe version offragmentShadingRateWithShaderSampleMask(). -
nfragmentShadingRateWithConservativeRasterization
public static int nfragmentShadingRateWithConservativeRasterization(long struct) Unsafe version offragmentShadingRateWithConservativeRasterization(). -
nfragmentShadingRateWithFragmentShaderInterlock
public static int nfragmentShadingRateWithFragmentShaderInterlock(long struct) Unsafe version offragmentShadingRateWithFragmentShaderInterlock(). -
nfragmentShadingRateWithCustomSampleLocations
public static int nfragmentShadingRateWithCustomSampleLocations(long struct) Unsafe version offragmentShadingRateWithCustomSampleLocations(). -
nfragmentShadingRateStrictMultiplyCombiner
public static int nfragmentShadingRateStrictMultiplyCombiner(long struct) Unsafe version offragmentShadingRateStrictMultiplyCombiner(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext.
-