Package org.lwjgl.vulkan
Class VkPhysicalDeviceFragmentDensityMapPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFragmentDensityMapPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFragmentDensityMapPropertiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing fragment density map properties that can be supported by an implementation.Description
If the
VkPhysicalDeviceFragmentDensityMapPropertiesEXTstructure is included in thepNextchain of theVkPhysicalDeviceProperties2structure passed toGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.Valid Usage (Implicit)
See Also
Layout
struct VkPhysicalDeviceFragmentDensityMapPropertiesEXT { VkStructureTypesType(); void *pNext();VkExtent2DminFragmentDensityTexelSize();VkExtent2DmaxFragmentDensityTexelSize(); VkBool32fragmentDensityInvocations(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceFragmentDensityMapPropertiesEXT.BufferAn array ofVkPhysicalDeviceFragmentDensityMapPropertiesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFRAGMENTDENSITYINVOCATIONS
MAXFRAGMENTDENSITYTEXELSIZE
MINFRAGMENTDENSITYTEXELSIZE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFragmentDensityMapPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcalloc()Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcallocStack()Deprecated.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcreate()Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcreateSafe(long address)static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffercreateSafe(long address, int capacity)booleanfragmentDensityInvocations()specifies whether the implementation may invoke additional fragment shader invocations for each covered sample.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTmalloc()Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTmallocStack()Deprecated.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkExtent2DmaxFragmentDensityTexelSize()the maximum fragment density texel size.VkExtent2DminFragmentDensityTexelSize()the minimum fragment density texel size.static intnfragmentDensityInvocations(long struct)Unsafe version offragmentDensityInvocations().static VkExtent2DnmaxFragmentDensityTexelSize(long struct)Unsafe version ofmaxFragmentDensityTexelSize().static VkExtent2DnminFragmentDensityTexelSize(long struct)Unsafe version ofminFragmentDensityTexelSize().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.VkPhysicalDeviceFragmentDensityMapPropertiesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceFragmentDensityMapPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceFragmentDensityMapPropertiesEXTset(VkPhysicalDeviceFragmentDensityMapPropertiesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceFragmentDensityMapPropertiesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceFragmentDensityMapPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceFragmentDensityMapPropertiesEXT
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance 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.
-
minFragmentDensityTexelSize
public VkExtent2D minFragmentDensityTexelSize()
the minimum fragment density texel size.
-
maxFragmentDensityTexelSize
public VkExtent2D maxFragmentDensityTexelSize()
the maximum fragment density texel size.
-
fragmentDensityInvocations
public boolean fragmentDensityInvocations()
specifies whether the implementation may invoke additional fragment shader invocations for each covered sample.
-
sType
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT set(VkPhysicalDeviceFragmentDensityMapPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT malloc()
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT calloc()
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT create()
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.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().
-
nminFragmentDensityTexelSize
public static VkExtent2D nminFragmentDensityTexelSize(long struct)
Unsafe version ofminFragmentDensityTexelSize().
-
nmaxFragmentDensityTexelSize
public static VkExtent2D nmaxFragmentDensityTexelSize(long struct)
Unsafe version ofmaxFragmentDensityTexelSize().
-
nfragmentDensityInvocations
public static int nfragmentDensityInvocations(long struct)
Unsafe version offragmentDensityInvocations().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-