Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR
public class VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing the extended types subgroups support feature for an implementation.Description
If the
VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturescan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures { VkStructureTypesType(); void *pNext(); VkBool32shaderSubgroupExtendedTypes(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.BufferAn array ofVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
SHADERSUBGROUPEXTENDEDTYPESThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturescalloc()Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturescreate()Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturescreate(long address)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance for the specified memory address.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturescreateSafe(long address)static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesmalloc()Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnshaderSubgroupExtendedTypes(long struct)Unsafe version ofshaderSubgroupExtendedTypes().static voidnshaderSubgroupExtendedTypes(long struct, int value)Unsafe version ofshaderSubgroupExtendedTypes.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.VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturespNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesset(int sType, long pNext, boolean shaderSubgroupExtendedTypes)Initializes this struct with the specified values.VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesset(VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures src)Copies the specified struct data to this struct.booleanshaderSubgroupExtendedTypes()a boolean specifying whether subgroup operations can use 8-bit integer, 16-bit integer, 64-bit integer, 16-bit floating-point, and vectors of these types in group operations with subgroup scope, if the implementation supports the types.VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesshaderSubgroupExtendedTypes(boolean value)Sets the specified value to theshaderSubgroupExtendedTypes()field.intsizeof()intsType()the type of this structure.VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURESvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance 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.
-
shaderSubgroupExtendedTypes
public boolean shaderSubgroupExtendedTypes()
a boolean specifying whether subgroup operations can use 8-bit integer, 16-bit integer, 64-bit integer, 16-bit floating-point, and vectors of these types in group operations with subgroup scope, if the implementation supports the types.
-
sType
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures pNext(long value)
Sets the specified value to thepNext()field.
-
shaderSubgroupExtendedTypes
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures shaderSubgroupExtendedTypes(boolean value)
Sets the specified value to theshaderSubgroupExtendedTypes()field.
-
set
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures set(int sType, long pNext, boolean shaderSubgroupExtendedTypes)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures set(VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures malloc()
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures calloc()
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures create()
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures create(long address)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupExtendedTypesFeatures.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().
-
nshaderSubgroupExtendedTypes
public static int nshaderSubgroupExtendedTypes(long struct)
Unsafe version ofshaderSubgroupExtendedTypes().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nshaderSubgroupExtendedTypes
public static void nshaderSubgroupExtendedTypes(long struct, int value)Unsafe version ofshaderSubgroupExtendedTypes.
-
-