Package org.lwjgl.vulkan
Class VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing fragment shading rate limits that can be supported by an implementation.Description
If the
VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVstructure 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)
sTypemust beSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NVmaxFragmentShadingRateInvocationCountmust be a validVkSampleCountFlagBitsvalue
Layout
struct VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV { VkStructureTypesType(); void *pNext(); VkSampleCountFlagBitsmaxFragmentShadingRateInvocationCount(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.BufferAn array ofVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXFRAGMENTSHADINGRATEINVOCATIONCOUNT
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVcalloc()Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVcreate()Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVcreate(long address)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance for the specified memory address.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance at the specified memory.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVcreateSafe(long address)static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVmalloc()Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated on the specifiedMemoryStack.intmaxFragmentShadingRateInvocationCount()aVkSampleCountFlagBitsvalue indicating the maximum number of fragment shader invocations per fragment supported in pipeline, primitive, and attachment fragment shading rates.VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVmaxFragmentShadingRateInvocationCount(int value)Sets the specified value to themaxFragmentShadingRateInvocationCount()field.static intnmaxFragmentShadingRateInvocationCount(long struct)Unsafe version ofmaxFragmentShadingRateInvocationCount().static voidnmaxFragmentShadingRateInvocationCount(long struct, int value)Unsafe version ofmaxFragmentShadingRateInvocationCount.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVset(int sType, long pNext, int maxFragmentShadingRateInvocationCount)Initializes this struct with the specified values.VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVset(VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV
public VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance 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.
-
maxFragmentShadingRateInvocationCount
public int maxFragmentShadingRateInvocationCount()
aVkSampleCountFlagBitsvalue indicating the maximum number of fragment shader invocations per fragment supported in pipeline, primitive, and attachment fragment shading rates.
-
sType
public VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NVvalue to thesType()field.
-
pNext
public VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV pNext(long value)
Sets the specified value to thepNext()field.
-
maxFragmentShadingRateInvocationCount
public VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV maxFragmentShadingRateInvocationCount(int value)
Sets the specified value to themaxFragmentShadingRateInvocationCount()field.
-
set
public VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV set(int sType, long pNext, int maxFragmentShadingRateInvocationCount)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV set(VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV malloc()
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV calloc()
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV create()
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV create(long address)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV createSafe(long address)
-
malloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.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().
-
nmaxFragmentShadingRateInvocationCount
public static int nmaxFragmentShadingRateInvocationCount(long struct)
Unsafe version ofmaxFragmentShadingRateInvocationCount().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nmaxFragmentShadingRateInvocationCount
public static void nmaxFragmentShadingRateInvocationCount(long struct, int value)Unsafe version ofmaxFragmentShadingRateInvocationCount.
-
-