Package org.lwjgl.vulkan
Class VkPhysicalDeviceFragmentShadingRatePropertiesKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceFragmentShadingRatePropertiesKHR>
org.lwjgl.vulkan.VkPhysicalDeviceFragmentShadingRatePropertiesKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkPhysicalDeviceFragmentShadingRatePropertiesKHR
extends Struct<VkPhysicalDeviceFragmentShadingRatePropertiesKHR>
implements NativeResource
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
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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, MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(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) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanmalloc()Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStack.intintintintstatic 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()pNext(long value) Sets the specified value to thepNextfield.booleanset(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHRvalue to thesTypefield.Methods 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()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkPhysicalDeviceFragmentShadingRatePropertiesKHR>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
minFragmentShadingRateAttachmentTexelSize
- Returns:
- a
VkExtent2Dview of theminFragmentShadingRateAttachmentTexelSizefield.
-
maxFragmentShadingRateAttachmentTexelSize
- Returns:
- a
VkExtent2Dview of themaxFragmentShadingRateAttachmentTexelSizefield.
-
maxFragmentShadingRateAttachmentTexelSizeAspectRatio
public int maxFragmentShadingRateAttachmentTexelSizeAspectRatio()- Returns:
- the value of the
maxFragmentShadingRateAttachmentTexelSizeAspectRatiofield.
-
primitiveFragmentShadingRateWithMultipleViewports
public boolean primitiveFragmentShadingRateWithMultipleViewports()- Returns:
- the value of the
primitiveFragmentShadingRateWithMultipleViewportsfield.
-
layeredShadingRateAttachments
public boolean layeredShadingRateAttachments()- Returns:
- the value of the
layeredShadingRateAttachmentsfield.
-
fragmentShadingRateNonTrivialCombinerOps
public boolean fragmentShadingRateNonTrivialCombinerOps()- Returns:
- the value of the
fragmentShadingRateNonTrivialCombinerOpsfield.
-
maxFragmentSize
- Returns:
- a
VkExtent2Dview of themaxFragmentSizefield.
-
maxFragmentSizeAspectRatio
public int maxFragmentSizeAspectRatio()- Returns:
- the value of the
maxFragmentSizeAspectRatiofield.
-
maxFragmentShadingRateCoverageSamples
public int maxFragmentShadingRateCoverageSamples()- Returns:
- the value of the
maxFragmentShadingRateCoverageSamplesfield.
-
maxFragmentShadingRateRasterizationSamples
public int maxFragmentShadingRateRasterizationSamples()- Returns:
- the value of the
maxFragmentShadingRateRasterizationSamplesfield.
-
fragmentShadingRateWithShaderDepthStencilWrites
public boolean fragmentShadingRateWithShaderDepthStencilWrites()- Returns:
- the value of the
fragmentShadingRateWithShaderDepthStencilWritesfield.
-
fragmentShadingRateWithSampleMask
public boolean fragmentShadingRateWithSampleMask()- Returns:
- the value of the
fragmentShadingRateWithSampleMaskfield.
-
fragmentShadingRateWithShaderSampleMask
public boolean fragmentShadingRateWithShaderSampleMask()- Returns:
- the value of the
fragmentShadingRateWithShaderSampleMaskfield.
-
fragmentShadingRateWithConservativeRasterization
public boolean fragmentShadingRateWithConservativeRasterization()- Returns:
- the value of the
fragmentShadingRateWithConservativeRasterizationfield.
-
fragmentShadingRateWithFragmentShaderInterlock
public boolean fragmentShadingRateWithFragmentShaderInterlock()- Returns:
- the value of the
fragmentShadingRateWithFragmentShaderInterlockfield.
-
fragmentShadingRateWithCustomSampleLocations
public boolean fragmentShadingRateWithCustomSampleLocations()- Returns:
- the value of the
fragmentShadingRateWithCustomSampleLocationsfield.
-
fragmentShadingRateStrictMultiplyCombiner
public boolean fragmentShadingRateStrictMultiplyCombiner()- Returns:
- the value of the
fragmentShadingRateStrictMultiplyCombinerfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHRvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
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
Returns a newVkPhysicalDeviceFragmentShadingRatePropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
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, 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, 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.
-