Package org.lwjgl.vulkan
Class VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing fragment density map offset properties that can be supported by an implementation.Description
If the
VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMstructure 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 VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM { VkStructureTypesType(); void *pNext();VkExtent2DfragmentDensityOffsetGranularity(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.BufferAn array ofVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFRAGMENTDENSITYOFFSETGRANULARITY
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMcalloc()Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMcreate()Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMcreate(long address)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance for the specified memory address.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance at the specified memory.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMcreateSafe(long address)static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.BuffercreateSafe(long address, int capacity)VkExtent2DfragmentDensityOffsetGranularity()the granularity for fragment density offsets.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMmalloc()Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated on the specifiedMemoryStack.static VkExtent2DnfragmentDensityOffsetGranularity(long struct)Unsafe version offragmentDensityOffsetGranularity().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.VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMset(VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOMvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM
public VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance 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.
-
fragmentDensityOffsetGranularity
public VkExtent2D fragmentDensityOffsetGranularity()
the granularity for fragment density offsets.
-
sType
public VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_QCOMvalue to thesType()field.
-
pNext
public VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM set(VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM malloc()
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM calloc()
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM create()
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM create(long address)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM createSafe(long address)
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM.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().
-
nfragmentDensityOffsetGranularity
public static VkExtent2D nfragmentDensityOffsetGranularity(long struct)
Unsafe version offragmentDensityOffsetGranularity().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-