Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderIntegerDotProductFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR extends VkPhysicalDeviceShaderIntegerDotProductFeatures
SeeVkPhysicalDeviceShaderIntegerDotProductFeatures.Layout
struct VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 shaderIntegerDotProduct; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.BufferAn array ofVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRstructs.
-
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.VkPhysicalDeviceShaderIntegerDotProductFeatures
ALIGNOF, PNEXT, SHADERINTEGERDOTPRODUCT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRcalloc()Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRcreate()Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRmalloc()Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRset(int sType, long pNext, boolean shaderIntegerDotProduct)Initializes this struct with the specified values.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRset(VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRshaderIntegerDotProduct(boolean value)Sets the specified value to theshaderIntegerDotProductfield.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceShaderIntegerDotProductFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceShaderIntegerDotProductFeatures
npNext, npNext, nshaderIntegerDotProduct, nshaderIntegerDotProduct, nsType, nsType, pNext, set, shaderIntegerDotProduct, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR
public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance 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 VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceShaderIntegerDotProductFeatures
-
sType$Default
public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceShaderIntegerDotProductFeatures
-
pNext
public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceShaderIntegerDotProductFeatures
-
shaderIntegerDotProduct
public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR shaderIntegerDotProduct(boolean value)
Sets the specified value to theshaderIntegerDotProductfield.- Overrides:
shaderIntegerDotProductin classVkPhysicalDeviceShaderIntegerDotProductFeatures
-
set
public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR set(int sType, long pNext, boolean shaderIntegerDotProduct)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceShaderIntegerDotProductFeatures
-
set
public VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR set(VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR malloc()
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR calloc()
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR create()
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-