Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing support for shader subgroup uniform control flow by an implementation.Description
If the
VkPhysicalDevicePrivateDataFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDevicePrivateDataFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR { VkStructureType sType; void * pNext; VkBool32shaderSubgroupUniformControlFlow(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.BufferAn array ofVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
SHADERSUBGROUPUNIFORMCONTROLFLOWThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRcalloc()Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRcreate()Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRmalloc()Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnshaderSubgroupUniformControlFlow(long struct)Unsafe version ofshaderSubgroupUniformControlFlow().static voidnshaderSubgroupUniformControlFlow(long struct, int value)Unsafe version ofshaderSubgroupUniformControlFlow.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRset(int sType, long pNext, boolean shaderSubgroupUniformControlFlow)Initializes this struct with the specified values.VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRset(VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR src)Copies the specified struct data to this struct.booleanshaderSubgroupUniformControlFlow()specifies whether the implementation supports the shader execution modeSubgroupUniformControlFlowKHRVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRshaderSubgroupUniformControlFlow(boolean value)Sets the specified value to theshaderSubgroupUniformControlFlow()field.intsizeof()intsType()VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHRvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR
public VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance 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 the
sTypefield.
-
pNext
public long pNext()
- Returns:
- the value of the
pNextfield.
-
shaderSubgroupUniformControlFlow
public boolean shaderSubgroupUniformControlFlow()
specifies whether the implementation supports the shader execution modeSubgroupUniformControlFlowKHR
-
sType
public VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHRvalue to thesTypefield.
-
pNext
public VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.
-
shaderSubgroupUniformControlFlow
public VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR shaderSubgroupUniformControlFlow(boolean value)
Sets the specified value to theshaderSubgroupUniformControlFlow()field.
-
set
public VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR set(int sType, long pNext, boolean shaderSubgroupUniformControlFlow)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR set(VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR malloc()
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR calloc()
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR create()
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR.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().
-
nshaderSubgroupUniformControlFlow
public static int nshaderSubgroupUniformControlFlow(long struct)
Unsafe version ofshaderSubgroupUniformControlFlow().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nshaderSubgroupUniformControlFlow
public static void nshaderSubgroupUniformControlFlow(long struct, int value)Unsafe version ofshaderSubgroupUniformControlFlow.
-
-