Package org.lwjgl.vulkan
Class VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineShaderStageRequiredSubgroupSizeCreateInfo
-
- org.lwjgl.vulkan.VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT extends VkPipelineShaderStageRequiredSubgroupSizeCreateInfo
SeeVkPipelineShaderStageRequiredSubgroupSizeCreateInfo.Layout
struct VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT { VkStructureType sType; void * pNext; uint32_t requiredSubgroupSize; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.BufferAn array ofVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPipelineShaderStageRequiredSubgroupSizeCreateInfo
ALIGNOF, PNEXT, REQUIREDSUBGROUPSIZE, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
-
Methods inherited from class org.lwjgl.vulkan.VkPipelineShaderStageRequiredSubgroupSizeCreateInfo
npNext, npNext, nrequiredSubgroupSize, nsType, nsType, pNext, requiredSubgroupSize, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance 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
-
sType
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPipelineShaderStageRequiredSubgroupSizeCreateInfo
-
sType$Default
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPipelineShaderStageRequiredSubgroupSizeCreateInfo
-
pNext
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPipelineShaderStageRequiredSubgroupSizeCreateInfo
-
set
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkPipelineShaderStageRequiredSubgroupSizeCreateInfo
-
set
public VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT set(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT malloc()
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT calloc()
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT create()
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT create(long address)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT createSafe(long address)
-
malloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer create(int capacity)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-