Package org.lwjgl.vulkan
Class VkPhysicalDeviceFragmentDensityMap2PropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFragmentDensityMap2PropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFragmentDensityMap2PropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing additional fragment density map properties that can be supported by an implementation.Description
If the
VkPhysicalDeviceFragmentDensityMap2PropertiesEXTstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceFragmentDensityMap2PropertiesEXT { VkStructureTypesType(); void *pNext(); VkBool32subsampledLoads(); VkBool32subsampledCoarseReconstructionEarlyAccess(); uint32_tmaxSubsampledArrayLayers(); uint32_tmaxDescriptorSetSubsampledSamplers(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.BufferAn array ofVkPhysicalDeviceFragmentDensityMap2PropertiesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMAXDESCRIPTORSETSUBSAMPLEDSAMPLERS
MAXSUBSAMPLEDARRAYLAYERS
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
SUBSAMPLEDCOARSERECONSTRUCTIONEARLYACCESS
SUBSAMPLEDLOADSThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFragmentDensityMap2PropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceFragmentDensityMap2PropertiesEXTcalloc()Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXTcreate()Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXTcreateSafe(long address)static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceFragmentDensityMap2PropertiesEXTmalloc()Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentDensityMap2PropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated on the specifiedMemoryStack.intmaxDescriptorSetSubsampledSamplers()the maximum number of subsampled samplers that can be included in aVkPipelineLayoutintmaxSubsampledArrayLayers()the maximum number ofVkImageViewarray layers for usages supporting subsampled samplersstatic intnmaxDescriptorSetSubsampledSamplers(long struct)Unsafe version ofmaxDescriptorSetSubsampledSamplers().static intnmaxSubsampledArrayLayers(long struct)Unsafe version ofmaxSubsampledArrayLayers().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.static intnsubsampledCoarseReconstructionEarlyAccess(long struct)Unsafe version ofsubsampledCoarseReconstructionEarlyAccess().static intnsubsampledLoads(long struct)Unsafe version ofsubsampledLoads().longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceFragmentDensityMap2PropertiesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceFragmentDensityMap2PropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceFragmentDensityMap2PropertiesEXTset(VkPhysicalDeviceFragmentDensityMap2PropertiesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceFragmentDensityMap2PropertiesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceFragmentDensityMap2PropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXTvalue to thesType()field.booleansubsampledCoarseReconstructionEarlyAccess()specifies if performing image data read with samplers created withflagscontainingSAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXTin fragment shader will trigger additional reads duringPIPELINE_STAGE_VERTEX_SHADER_BITbooleansubsampledLoads()specifies if performing image data read with load operations on subsampled attachments will be resampled to the fragment density of the render pass
-
-
-
Constructor Detail
-
VkPhysicalDeviceFragmentDensityMap2PropertiesEXT
public VkPhysicalDeviceFragmentDensityMap2PropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance 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.
-
subsampledLoads
public boolean subsampledLoads()
specifies if performing image data read with load operations on subsampled attachments will be resampled to the fragment density of the render pass
-
subsampledCoarseReconstructionEarlyAccess
public boolean subsampledCoarseReconstructionEarlyAccess()
specifies if performing image data read with samplers created withflagscontainingSAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXTin fragment shader will trigger additional reads duringPIPELINE_STAGE_VERTEX_SHADER_BIT
-
maxSubsampledArrayLayers
public int maxSubsampledArrayLayers()
the maximum number ofVkImageViewarray layers for usages supporting subsampled samplers
-
maxDescriptorSetSubsampledSamplers
public int maxDescriptorSetSubsampledSamplers()
the maximum number of subsampled samplers that can be included in aVkPipelineLayout
-
sType
public VkPhysicalDeviceFragmentDensityMap2PropertiesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceFragmentDensityMap2PropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceFragmentDensityMap2PropertiesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceFragmentDensityMap2PropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceFragmentDensityMap2PropertiesEXT set(VkPhysicalDeviceFragmentDensityMap2PropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT malloc()
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT calloc()
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT create()
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT create(long address)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2PropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2PropertiesEXT.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().
-
nsubsampledLoads
public static int nsubsampledLoads(long struct)
Unsafe version ofsubsampledLoads().
-
nsubsampledCoarseReconstructionEarlyAccess
public static int nsubsampledCoarseReconstructionEarlyAccess(long struct)
Unsafe version ofsubsampledCoarseReconstructionEarlyAccess().
-
nmaxSubsampledArrayLayers
public static int nmaxSubsampledArrayLayers(long struct)
Unsafe version ofmaxSubsampledArrayLayers().
-
nmaxDescriptorSetSubsampledSamplers
public static int nmaxDescriptorSetSubsampledSamplers(long struct)
Unsafe version ofmaxDescriptorSetSubsampledSamplers().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-