Class VkPhysicalDeviceFragmentShadingRatePropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFragmentShadingRatePropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFragmentShadingRatePropertiesKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing variable fragment shading rate limits that can be supported by an implementation.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
fragmentShadingRateStrictMultiplyCombinerbeing 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
VkPhysicalDeviceFragmentShadingRatePropertiesKHRstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, 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 { VkStructureTypesType(); void *pNext();VkExtent2DminFragmentShadingRateAttachmentTexelSize();VkExtent2DmaxFragmentShadingRateAttachmentTexelSize(); uint32_tmaxFragmentShadingRateAttachmentTexelSizeAspectRatio(); VkBool32primitiveFragmentShadingRateWithMultipleViewports(); VkBool32layeredShadingRateAttachments(); VkBool32fragmentShadingRateNonTrivialCombinerOps();VkExtent2DmaxFragmentSize(); uint32_tmaxFragmentSizeAspectRatio(); uint32_tmaxFragmentShadingRateCoverageSamples(); VkSampleCountFlagBitsmaxFragmentShadingRateRasterizationSamples(); VkBool32fragmentShadingRateWithShaderDepthStencilWrites(); VkBool32fragmentShadingRateWithSampleMask(); VkBool32fragmentShadingRateWithShaderSampleMask(); VkBool32fragmentShadingRateWithConservativeRasterization(); VkBool32fragmentShadingRateWithFragmentShaderInterlock(); VkBool32fragmentShadingRateWithCustomSampleLocations(); VkBool32fragmentShadingRateStrictMultiplyCombiner(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceFragmentShadingRatePropertiesKHR.BufferAn array ofVkPhysicalDeviceFragmentShadingRatePropertiesKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFRAGMENTSHADINGRATENONTRIVIALCOMBINEROPS
FRAGMENTSHADINGRATESTRICTMULTIPLYCOMBINER
FRAGMENTSHADINGRATEWITHCONSERVATIVERASTERIZATION
FRAGMENTSHADINGRATEWITHCUSTOMSAMPLELOCATIONS
FRAGMENTSHADINGRATEWITHFRAGMENTSHADERINTERLOCK
FRAGMENTSHADINGRATEWITHSAMPLEMASK
FRAGMENTSHADINGRATEWITHSHADERDEPTHSTENCILWRITES
FRAGMENTSHADINGRATEWITHSHADERSAMPLEMASK
LAYEREDSHADINGRATEATTACHMENTS
MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZE
MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZEASPECTRATIO
MAXFRAGMENTSHADINGRATECOVERAGESAMPLES
MAXFRAGMENTSHADINGRATERASTERIZATIONSAMPLES
MAXFRAGMENTSIZE
MAXFRAGMENTSIZEASPECTRATIO
MINFRAGMENTSHADINGRATEATTACHMENTTEXELSIZE
PNEXT
PRIMITIVEFRAGMENTSHADINGRATEWITHMULTIPLEVIEWPORTSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFragmentShadingRatePropertiesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceFragmentShadingRatePropertiesKHRcalloc()Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentShadingRatePropertiesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentShadingRatePropertiesKHRcreate()Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentShadingRatePropertiesKHRcreate(long address)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance for the specified memory address.static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceFragmentShadingRatePropertiesKHRcreateSafe(long address)static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.BuffercreateSafe(long address, int capacity)booleanfragmentShadingRateNonTrivialCombinerOps()specifies whetherVkFragmentShadingRateCombinerOpKHRenums other thanFRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHRorFRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHRcan be used.booleanfragmentShadingRateStrictMultiplyCombiner()specifies whetherFRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHRaccurately performs a multiplication or not.booleanfragmentShadingRateWithConservativeRasterization()specifies whether conservative rasterization is supported for multi-pixel fragments.booleanfragmentShadingRateWithCustomSampleLocations()specifies whether custom sample locations are supported for multi-pixel fragments.booleanfragmentShadingRateWithFragmentShaderInterlock()specifies whether fragment shader interlock is supported for multi-pixel fragments.booleanfragmentShadingRateWithSampleMask()specifies whether the the implementation supports setting valid bits ofVkPipelineMultisampleStateCreateInfo::pSampleMaskto 0 for multi-pixel fragments.booleanfragmentShadingRateWithShaderDepthStencilWrites()specifies whether the implementation supports writingFragDepthorFragStencilRefEXTfrom a fragment shader for multi-pixel fragments.booleanfragmentShadingRateWithShaderSampleMask()specifies whether the implementation supports reading or writingSampleMaskfor multi-pixel fragments.booleanlayeredShadingRateAttachments()specifies whether a shading rate attachment image view can be created with multiple layers.static VkPhysicalDeviceFragmentShadingRatePropertiesKHRmalloc()Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentShadingRatePropertiesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStack.VkExtent2DmaxFragmentShadingRateAttachmentTexelSize()indicates maximum supported width and height of the portion of the framebuffer corresponding to each texel in a fragment shading rate attachment.intmaxFragmentShadingRateAttachmentTexelSizeAspectRatio()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.intmaxFragmentShadingRateCoverageSamples()specifies the maximum number of coverage samples supported in a single fragment.intmaxFragmentShadingRateRasterizationSamples()aVkSampleCountFlagBitsvalue specifying the maximum sample rate supported when a fragment covers multiple pixels.VkExtent2DmaxFragmentSize()indicates the maximum supported width and height of a fragment.intmaxFragmentSizeAspectRatio()indicates the maximum ratio between the width and height of a fragment.VkExtent2DminFragmentShadingRateAttachmentTexelSize()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 intnmaxFragmentShadingRateAttachmentTexelSizeAspectRatio(long struct)Unsafe 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.VkPhysicalDeviceFragmentShadingRatePropertiesKHRpNext(long value)Sets the specified value to thepNext()field.booleanprimitiveFragmentShadingRateWithMultipleViewports()specifies whether the primitive fragment shading rate can be used when multiple viewports are used.VkPhysicalDeviceFragmentShadingRatePropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceFragmentShadingRatePropertiesKHRset(VkPhysicalDeviceFragmentShadingRatePropertiesKHR src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceFragmentShadingRatePropertiesKHRsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceFragmentShadingRatePropertiesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHRvalue to thesType()field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, MINFRAGMENTSHADINGRATEATTACHMENTTEXELSIZE, MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZE, MAXFRAGMENTSHADINGRATEATTACHMENTTEXELSIZEASPECTRATIO, PRIMITIVEFRAGMENTSHADINGRATEWITHMULTIPLEVIEWPORTS, LAYEREDSHADINGRATEATTACHMENTS, FRAGMENTSHADINGRATENONTRIVIALCOMBINEROPS, MAXFRAGMENTSIZE, MAXFRAGMENTSIZEASPECTRATIO, MAXFRAGMENTSHADINGRATECOVERAGESAMPLES, MAXFRAGMENTSHADINGRATERASTERIZATIONSAMPLES, FRAGMENTSHADINGRATEWITHSHADERDEPTHSTENCILWRITES, FRAGMENTSHADINGRATEWITHSAMPLEMASK, FRAGMENTSHADINGRATEWITHSHADERSAMPLEMASK, FRAGMENTSHADINGRATEWITHCONSERVATIVERASTERIZATION, FRAGMENTSHADINGRATEWITHFRAGMENTSHADERINTERLOCK, FRAGMENTSHADINGRATEWITHCUSTOMSAMPLELOCATIONS, FRAGMENTSHADINGRATESTRICTMULTIPLYCOMBINER
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceFragmentShadingRatePropertiesKHR
public VkPhysicalDeviceFragmentShadingRatePropertiesKHR(java.nio.ByteBuffer container)
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 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.
-
minFragmentShadingRateAttachmentTexelSize
public VkExtent2D 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
public VkExtent2D 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
public VkExtent2D 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 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
public VkPhysicalDeviceFragmentShadingRatePropertiesKHR sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceFragmentShadingRatePropertiesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHRvalue to thesType()field.
-
pNext
public VkPhysicalDeviceFragmentShadingRatePropertiesKHR pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceFragmentShadingRatePropertiesKHR set(int sType, long pNext)
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
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR malloc()
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR calloc()
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR create()
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR create(long address)
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentShadingRatePropertiesKHR.Buffer create(int capacity)
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
@Nullable public static 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:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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:
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().
-
nminFragmentShadingRateAttachmentTexelSize
public static VkExtent2D nminFragmentShadingRateAttachmentTexelSize(long struct)
Unsafe version ofminFragmentShadingRateAttachmentTexelSize().
-
nmaxFragmentShadingRateAttachmentTexelSize
public static VkExtent2D nmaxFragmentShadingRateAttachmentTexelSize(long struct)
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
public static VkExtent2D nmaxFragmentSize(long struct)
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.
-
-