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.Valid Usage (Implicit)
If the
VkPhysicalDeviceFragmentDensityMapPropertiesEXTstructure is included in thepNextchain ofVkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits and properties.See Also
Member documentation
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.
Layout
struct VkPhysicalDeviceFragmentDensityMapPropertiesEXT { VkStructureType sType; void * pNext;VkExtent2DminFragmentDensityTexelSize;VkExtent2DmaxFragmentDensityTexelSize; VkBool32 fragmentDensityInvocations; }
-
-
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 Modifier and Type Method Description static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcalloc()Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcallocStack()Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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()Returns the value of thefragmentDensityInvocationsfield.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTmalloc()Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTmallocStack()Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentDensityMapPropertiesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the specifiedMemoryStack.VkExtent2DmaxFragmentDensityTexelSize()Returns aVkExtent2Dview of themaxFragmentDensityTexelSizefield.VkExtent2DminFragmentDensityTexelSize()Returns aVkExtent2Dview of theminFragmentDensityTexelSizefield.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()Returns the value of thepNextfield.VkPhysicalDeviceFragmentDensityMapPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.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()Returns the value of thesTypefield.VkPhysicalDeviceFragmentDensityMapPropertiesEXTsType(int value)Sets the specified value to thesTypefield.
-
-
-
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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
minFragmentDensityTexelSize
public VkExtent2D minFragmentDensityTexelSize()
Returns aVkExtent2Dview of theminFragmentDensityTexelSizefield.
-
maxFragmentDensityTexelSize
public VkExtent2D maxFragmentDensityTexelSize()
Returns aVkExtent2Dview of themaxFragmentDensityTexelSizefield.
-
fragmentDensityInvocations
public boolean fragmentDensityInvocations()
Returns the value of thefragmentDensityInvocationsfield.
-
sType
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceFragmentDensityMapPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
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
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT mallocStack()
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT callocStack()
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT callocStack(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
-
mallocStack
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapPropertiesEXT.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer mallocStack(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
-
callocStack
public static VkPhysicalDeviceFragmentDensityMapPropertiesEXT.Buffer callocStack(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.
-
-