public class VkPhysicalDeviceFragmentDensityMapPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceFragmentDensityMapPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits and properties.
minFragmentDensityTexelSize – the minimum fragment density texel size.maxFragmentDensityTexelSize – the maximum fragment density texel size.fragmentDensityInvocations – specifies whether the implementation may invoke additional fragment shader invocations for each covered sample.
struct VkPhysicalDeviceFragmentDensityMapPropertiesEXT {
VkStructureType sType;
void * pNext;
VkExtent2D minFragmentDensityTexelSize;
VkExtent2D maxFragmentDensityTexelSize;
VkBool32 fragmentDensityInvocations;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer
An array of
VkPhysicalDeviceFragmentDensityMapPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FRAGMENTDENSITYINVOCATIONS
The struct member offsets.
|
static int |
MAXFRAGMENTDENSITYTEXELSIZE
The struct member offsets.
|
static int |
MINFRAGMENTDENSITYTEXELSIZE
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 |
|---|
VkPhysicalDeviceFragmentDensityMapPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
fragmentDensityInvocations()
Returns the value of the
fragmentDensityInvocations field. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the specified MemoryStack. |
VkExtent2D |
maxFragmentDensityTexelSize()
Returns a
VkExtent2D view of the maxFragmentDensityTexelSize field. |
VkExtent2D |
minFragmentDensityTexelSize()
Returns a
VkExtent2D view of the minFragmentDensityTexelSize field. |
static int |
nfragmentDensityInvocations(long struct)
Unsafe version of
fragmentDensityInvocations(). |
static VkExtent2D |
nmaxFragmentDensityTexelSize(long struct)
Unsafe version of
maxFragmentDensityTexelSize(). |
static VkExtent2D |
nminFragmentDensityTexelSize(long struct)
Unsafe version of
minFragmentDensityTexelSize(). |
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. |
VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
set(VkPhysicalDeviceFragmentDensityMapPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceFragmentDensityMapPropertiesEXT |
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 MINFRAGMENTDENSITYTEXELSIZE
public static final int MAXFRAGMENTDENSITYTEXELSIZE
public static final int FRAGMENTDENSITYINVOCATIONS
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT 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 VkExtent2D minFragmentDensityTexelSize()
VkExtent2D view of the minFragmentDensityTexelSize field.public VkExtent2D maxFragmentDensityTexelSize()
VkExtent2D view of the maxFragmentDensityTexelSize field.public boolean fragmentDensityInvocations()
fragmentDensityInvocations field.public VkPhysicalDeviceFragmentDensityMapPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceFragmentDensityMapPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceFragmentDensityMapPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT set(VkPhysicalDeviceFragmentDensityMapPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT malloc()
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT calloc()
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT create()
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT create(long address)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT mallocStack()
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT callocStack()
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFragmentDensityMapPropertiesEXT.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 VkExtent2D nminFragmentDensityTexelSize(long struct)
minFragmentDensityTexelSize().public static VkExtent2D nmaxFragmentDensityTexelSize(long struct)
maxFragmentDensityTexelSize().public static int nfragmentDensityInvocations(long struct)
fragmentDensityInvocations().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.