Package org.lwjgl.vulkan
Class VkPhysicalDeviceFragmentDensityMap2FeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFragmentDensityMap2FeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFragmentDensityMap2FeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing additional fragment density map features that can be supported by an implementation.Description
If the
VkPhysicalDeviceFragmentDensityMap2FeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceFragmentDensityMap2FeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceFragmentDensityMap2FeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32fragmentDensityMapDeferred(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.BufferAn array ofVkPhysicalDeviceFragmentDensityMap2FeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFRAGMENTDENSITYMAPDEFERRED
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFragmentDensityMap2FeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceFragmentDensityMap2FeaturesEXTcalloc()Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXTcreate()Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXTcreateSafe(long address)static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.BuffercreateSafe(long address, int capacity)booleanfragmentDensityMapDeferred()specifies whether the implementation supports deferred reads of fragment density map image views.VkPhysicalDeviceFragmentDensityMap2FeaturesEXTfragmentDensityMapDeferred(boolean value)Sets the specified value to thefragmentDensityMapDeferred()field.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXTmalloc()Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentDensityMap2FeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated on the specifiedMemoryStack.static intnfragmentDensityMapDeferred(long struct)Unsafe version offragmentDensityMapDeferred().static voidnfragmentDensityMapDeferred(long struct, int value)Unsafe version offragmentDensityMapDeferred.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.VkPhysicalDeviceFragmentDensityMap2FeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceFragmentDensityMap2FeaturesEXTset(int sType, long pNext, boolean fragmentDensityMapDeferred)Initializes this struct with the specified values.VkPhysicalDeviceFragmentDensityMap2FeaturesEXTset(VkPhysicalDeviceFragmentDensityMap2FeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceFragmentDensityMap2FeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceFragmentDensityMap2FeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceFragmentDensityMap2FeaturesEXT
public VkPhysicalDeviceFragmentDensityMap2FeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance 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.
-
fragmentDensityMapDeferred
public boolean fragmentDensityMapDeferred()
specifies whether the implementation supports deferred reads of fragment density map image views. If this feature is not enabled,IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXTmust not be included inVkImageViewCreateInfo::flags.
-
sType
public VkPhysicalDeviceFragmentDensityMap2FeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceFragmentDensityMap2FeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceFragmentDensityMap2FeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
fragmentDensityMapDeferred
public VkPhysicalDeviceFragmentDensityMap2FeaturesEXT fragmentDensityMapDeferred(boolean value)
Sets the specified value to thefragmentDensityMapDeferred()field.
-
set
public VkPhysicalDeviceFragmentDensityMap2FeaturesEXT set(int sType, long pNext, boolean fragmentDensityMapDeferred)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceFragmentDensityMap2FeaturesEXT set(VkPhysicalDeviceFragmentDensityMap2FeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT malloc()
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT calloc()
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT create()
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT create(long address)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMap2FeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMap2FeaturesEXT.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().
-
nfragmentDensityMapDeferred
public static int nfragmentDensityMapDeferred(long struct)
Unsafe version offragmentDensityMapDeferred().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nfragmentDensityMapDeferred
public static void nfragmentDensityMapDeferred(long struct, int value)Unsafe version offragmentDensityMapDeferred.
-
-