Package org.lwjgl.vulkan
Class VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing fragment density map offet features that can be supported by an implementation.Description
If the
VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM { VkStructureTypesType(); void *pNext(); VkBool32 fragmentDensityMapOffset; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.BufferAn array ofVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFRAGMENTDENSITYMAPOFFSET
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMcalloc()Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMcreate()Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMcreate(long address)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance for the specified memory address.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance at the specified memory.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMcreateSafe(long address)static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.BuffercreateSafe(long address, int capacity)booleanfragmentDensityMapOffset()VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMfragmentDensityMapOffset(boolean value)Sets the specified value to thefragmentDensityMapOffsetfield.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMmalloc()Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated on the specifiedMemoryStack.static intnfragmentDensityMapOffset(long struct)Unsafe version offragmentDensityMapOffset().static voidnfragmentDensityMapOffset(long struct, int value)Unsafe version offragmentDensityMapOffset.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.VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMset(int sType, long pNext, boolean fragmentDensityMapOffset)Initializes this struct with the specified values.VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMset(VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOMvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM
public VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance 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.
-
fragmentDensityMapOffset
public boolean fragmentDensityMapOffset()
- Returns:
- the value of the
fragmentDensityMapOffsetfield.
-
sType
public VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_QCOMvalue to thesType()field.
-
pNext
public VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM pNext(long value)
Sets the specified value to thepNext()field.
-
fragmentDensityMapOffset
public VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM fragmentDensityMapOffset(boolean value)
Sets the specified value to thefragmentDensityMapOffsetfield.
-
set
public VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM set(int sType, long pNext, boolean fragmentDensityMapOffset)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM set(VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM malloc()
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM calloc()
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM create()
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM create(long address)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM createSafe(long address)
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM.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().
-
nfragmentDensityMapOffset
public static int nfragmentDensityMapOffset(long struct)
Unsafe version offragmentDensityMapOffset().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nfragmentDensityMapOffset
public static void nfragmentDensityMapOffset(long struct, int value)Unsafe version offragmentDensityMapOffset.
-
-