Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderIntegerDotProductFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderIntegerDotProductFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR
public class VkPhysicalDeviceShaderIntegerDotProductFeatures extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing integer dot product features that can be supported by an implementation.Description
If the
VkPhysicalDeviceShaderIntegerDotProductFeaturesstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceShaderIntegerDotProductFeaturescan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceShaderIntegerDotProductFeatures { VkStructureTypesType(); void *pNext(); VkBool32shaderIntegerDotProduct(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceShaderIntegerDotProductFeatures.BufferAn array ofVkPhysicalDeviceShaderIntegerDotProductFeaturesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
SHADERINTEGERDOTPRODUCTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceShaderIntegerDotProductFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderIntegerDotProductFeaturescalloc()Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderIntegerDotProductFeaturescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderIntegerDotProductFeaturescreate()Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceShaderIntegerDotProductFeaturescreate(long address)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance for the specified memory address.static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceShaderIntegerDotProductFeaturescreateSafe(long address)static VkPhysicalDeviceShaderIntegerDotProductFeatures.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceShaderIntegerDotProductFeaturesmalloc()Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceShaderIntegerDotProductFeaturesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnshaderIntegerDotProduct(long struct)Unsafe version ofshaderIntegerDotProduct().static voidnshaderIntegerDotProduct(long struct, int value)Unsafe version ofshaderIntegerDotProduct.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.VkPhysicalDeviceShaderIntegerDotProductFeaturespNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceShaderIntegerDotProductFeaturesset(int sType, long pNext, boolean shaderIntegerDotProduct)Initializes this struct with the specified values.VkPhysicalDeviceShaderIntegerDotProductFeaturesset(VkPhysicalDeviceShaderIntegerDotProductFeatures src)Copies the specified struct data to this struct.booleanshaderIntegerDotProduct()specifies whether shader modules can declare theDotProductInputAllKHR,DotProductInput4x8BitKHR,DotProductInput4x8BitPackedKHRandDotProductKHRcapabilities.VkPhysicalDeviceShaderIntegerDotProductFeaturesshaderIntegerDotProduct(boolean value)Sets the specified value to theshaderIntegerDotProduct()field.intsizeof()intsType()the type of this structure.VkPhysicalDeviceShaderIntegerDotProductFeaturessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceShaderIntegerDotProductFeaturessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURESvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceShaderIntegerDotProductFeatures
public VkPhysicalDeviceShaderIntegerDotProductFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance 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.
-
shaderIntegerDotProduct
public boolean shaderIntegerDotProduct()
specifies whether shader modules can declare theDotProductInputAllKHR,DotProductInput4x8BitKHR,DotProductInput4x8BitPackedKHRandDotProductKHRcapabilities.
-
sType
public VkPhysicalDeviceShaderIntegerDotProductFeatures sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceShaderIntegerDotProductFeatures sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceShaderIntegerDotProductFeatures pNext(long value)
Sets the specified value to thepNext()field.
-
shaderIntegerDotProduct
public VkPhysicalDeviceShaderIntegerDotProductFeatures shaderIntegerDotProduct(boolean value)
Sets the specified value to theshaderIntegerDotProduct()field.
-
set
public VkPhysicalDeviceShaderIntegerDotProductFeatures set(int sType, long pNext, boolean shaderIntegerDotProduct)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceShaderIntegerDotProductFeatures set(VkPhysicalDeviceShaderIntegerDotProductFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures malloc()
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures calloc()
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeatures create()
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeatures create(long address)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderIntegerDotProductFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderIntegerDotProductFeatures.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderIntegerDotProductFeatures.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().
-
nshaderIntegerDotProduct
public static int nshaderIntegerDotProduct(long struct)
Unsafe version ofshaderIntegerDotProduct().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nshaderIntegerDotProduct
public static void nshaderIntegerDotProduct(long struct, int value)Unsafe version ofshaderIntegerDotProduct.
-
-