Package org.lwjgl.vulkan
Class VkPhysicalDeviceInvocationMaskFeaturesHUAWEI
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceInvocationMaskFeaturesHUAWEI
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceInvocationMaskFeaturesHUAWEI extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing invocation mask features that can be supported by an implementation.Description
If the
VkPhysicalDeviceInvocationMaskFeaturesHUAWEIstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceInvocationMaskFeaturesHUAWEIcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceInvocationMaskFeaturesHUAWEI { VkStructureTypesType(); void *pNext(); VkBool32invocationMask(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.BufferAn array ofVkPhysicalDeviceInvocationMaskFeaturesHUAWEIstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intINVOCATIONMASK
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceInvocationMaskFeaturesHUAWEI(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceInvocationMaskFeaturesHUAWEIcalloc()Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated withmemCalloc.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEIcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEIcreate()Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated withBufferUtils.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffercreate(int capacity)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEIcreate(long address)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance for the specified memory address.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance at the specified memory.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEIcreateSafe(long address)static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.BuffercreateSafe(long address, int capacity)booleaninvocationMask()indicates that the implementation supports the use of an invocation mask image to optimize the ray dispatch.VkPhysicalDeviceInvocationMaskFeaturesHUAWEIinvocationMask(boolean value)Sets the specified value to theinvocationMask()field.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEImalloc()Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated withmemAlloc.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceInvocationMaskFeaturesHUAWEImalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated on the specifiedMemoryStack.static intninvocationMask(long struct)Unsafe version ofinvocationMask().static voidninvocationMask(long struct, int value)Unsafe version ofinvocationMask.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.VkPhysicalDeviceInvocationMaskFeaturesHUAWEIpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceInvocationMaskFeaturesHUAWEIset(int sType, long pNext, boolean invocationMask)Initializes this struct with the specified values.VkPhysicalDeviceInvocationMaskFeaturesHUAWEIset(VkPhysicalDeviceInvocationMaskFeaturesHUAWEI src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceInvocationMaskFeaturesHUAWEIsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceInvocationMaskFeaturesHUAWEIsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEIvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceInvocationMaskFeaturesHUAWEI
public VkPhysicalDeviceInvocationMaskFeaturesHUAWEI(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance 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.
-
invocationMask
public boolean invocationMask()
indicates that the implementation supports the use of an invocation mask image to optimize the ray dispatch.
-
sType
public VkPhysicalDeviceInvocationMaskFeaturesHUAWEI sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceInvocationMaskFeaturesHUAWEI sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEIvalue to thesType()field.
-
pNext
public VkPhysicalDeviceInvocationMaskFeaturesHUAWEI pNext(long value)
Sets the specified value to thepNext()field.
-
invocationMask
public VkPhysicalDeviceInvocationMaskFeaturesHUAWEI invocationMask(boolean value)
Sets the specified value to theinvocationMask()field.
-
set
public VkPhysicalDeviceInvocationMaskFeaturesHUAWEI set(int sType, long pNext, boolean invocationMask)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceInvocationMaskFeaturesHUAWEI set(VkPhysicalDeviceInvocationMaskFeaturesHUAWEI src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI malloc()
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI calloc()
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI create()
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI create(long address)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI createSafe(long address)
-
malloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffer create(int capacity)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEIinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceInvocationMaskFeaturesHUAWEI.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().
-
ninvocationMask
public static int ninvocationMask(long struct)
Unsafe version ofinvocationMask().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ninvocationMask
public static void ninvocationMask(long struct, int value)Unsafe version ofinvocationMask.
-
-