public class VkPhysicalDeviceFragmentDensityMapFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceFragmentDensityMapFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceFragmentDensityMapFeaturesEXT can also be included in pNext chain of VkDeviceCreateInfo to enable the features.
fragmentDensityMap – specifies whether the implementation supports render passes with a fragment density map attachment. If this feature is not enabled and the pNext chain of VkRenderPassCreateInfo includes a VkRenderPassFragmentDensityMapCreateInfoEXT structure, fragmentDensityMapAttachment must be ATTACHMENT_UNUSED.fragmentDensityMapDynamic – specifies whether the implementation supports dynamic fragment density map image views. If this feature is not enabled, IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT must not be included in VkImageViewCreateInfo::flags.fragmentDensityMapNonSubsampledImages – specifies whether the implementation supports regular non-subsampled image attachments with fragment density map render passes. If this feature is not enabled, render passes with a fragment density map attachment must only have subsampled attachments bound.
struct VkPhysicalDeviceFragmentDensityMapFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 fragmentDensityMap;
VkBool32 fragmentDensityMapDynamic;
VkBool32 fragmentDensityMapNonSubsampledImages;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer
An array of
VkPhysicalDeviceFragmentDensityMapFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FRAGMENTDENSITYMAP
The struct member offsets.
|
static int |
FRAGMENTDENSITYMAPDYNAMIC
The struct member offsets.
|
static int |
FRAGMENTDENSITYMAPNONSUBSAMPLEDIMAGES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceFragmentDensityMapFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
fragmentDensityMap()
Returns the value of the
fragmentDensityMap field. |
boolean |
fragmentDensityMapDynamic()
Returns the value of the
fragmentDensityMapDynamic field. |
boolean |
fragmentDensityMapNonSubsampledImages()
Returns the value of the
fragmentDensityMapNonSubsampledImages field. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
nfragmentDensityMap(long struct)
Unsafe version of
fragmentDensityMap(). |
static int |
nfragmentDensityMapDynamic(long struct)
Unsafe version of
fragmentDensityMapDynamic(). |
static int |
nfragmentDensityMapNonSubsampledImages(long struct)
Unsafe version of
fragmentDensityMapNonSubsampledImages(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
set(VkPhysicalDeviceFragmentDensityMapFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceFragmentDensityMapFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int FRAGMENTDENSITYMAP
public static final int FRAGMENTDENSITYMAPDYNAMIC
public static final int FRAGMENTDENSITYMAPNONSUBSAMPLEDIMAGES
public VkPhysicalDeviceFragmentDensityMapFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean fragmentDensityMap()
fragmentDensityMap field.public boolean fragmentDensityMapDynamic()
fragmentDensityMapDynamic field.public boolean fragmentDensityMapNonSubsampledImages()
fragmentDensityMapNonSubsampledImages field.public VkPhysicalDeviceFragmentDensityMapFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceFragmentDensityMapFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceFragmentDensityMapFeaturesEXT set(int sType, long pNext)
public VkPhysicalDeviceFragmentDensityMapFeaturesEXT set(VkPhysicalDeviceFragmentDensityMapFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT malloc()
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT calloc()
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT create()
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT create(long address)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT mallocStack()
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT callocStack()
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceFragmentDensityMapFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nfragmentDensityMap(long struct)
fragmentDensityMap().public static int nfragmentDensityMapDynamic(long struct)
fragmentDensityMapDynamic().public static int nfragmentDensityMapNonSubsampledImages(long struct)
fragmentDensityMapNonSubsampledImages().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.