Package org.lwjgl.vulkan
Class VkPhysicalDeviceShaderDrawParameterFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderDrawParametersFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceShaderDrawParameterFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceShaderDrawParameterFeatures extends VkPhysicalDeviceShaderDrawParametersFeatures
SeeVkPhysicalDeviceShaderDrawParametersFeatures.Layout
struct VkPhysicalDeviceShaderDrawParameterFeatures { VkStructureType sType; void * pNext; VkBool32 shaderDrawParameters; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceShaderDrawParameterFeatures.BufferAn array ofVkPhysicalDeviceShaderDrawParameterFeaturesstructs.
-
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.VkPhysicalDeviceShaderDrawParametersFeatures
ALIGNOF, PNEXT, SHADERDRAWPARAMETERS, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceShaderDrawParameterFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceShaderDrawParameterFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderDrawParameterFeaturescalloc()Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceShaderDrawParameterFeaturescallocStack()Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeatures.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeatures.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeaturescallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeaturescreate()Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceShaderDrawParameterFeaturescreate(long address)Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance for the specified memory address.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceShaderDrawParameterFeaturescreateSafe(long address)static VkPhysicalDeviceShaderDrawParameterFeatures.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceShaderDrawParameterFeaturesmalloc()Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceShaderDrawParameterFeaturesmallocStack()Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceShaderDrawParameterFeatures.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceShaderDrawParameterFeatures.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceShaderDrawParameterFeaturesmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceShaderDrawParameterFeaturespNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceShaderDrawParameterFeaturesset(int sType, long pNext, boolean shaderDrawParameters)Initializes this struct with the specified values.VkPhysicalDeviceShaderDrawParameterFeaturesset(VkPhysicalDeviceShaderDrawParameterFeatures src)Copies the specified struct data to this struct.VkPhysicalDeviceShaderDrawParameterFeaturesshaderDrawParameters(boolean value)Sets the specified value to theshaderDrawParametersfield.VkPhysicalDeviceShaderDrawParameterFeaturessType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceShaderDrawParametersFeatures
npNext, npNext, nshaderDrawParameters, nshaderDrawParameters, nsType, nsType, pNext, set, shaderDrawParameters, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceShaderDrawParameterFeatures
public VkPhysicalDeviceShaderDrawParameterFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceShaderDrawParameterFeaturesinstance 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 VkPhysicalDeviceShaderDrawParameterFeatures sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceShaderDrawParametersFeatures
-
pNext
public VkPhysicalDeviceShaderDrawParameterFeatures pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceShaderDrawParametersFeatures
-
shaderDrawParameters
public VkPhysicalDeviceShaderDrawParameterFeatures shaderDrawParameters(boolean value)
Sets the specified value to theshaderDrawParametersfield.- Overrides:
shaderDrawParametersin classVkPhysicalDeviceShaderDrawParametersFeatures
-
set
public VkPhysicalDeviceShaderDrawParameterFeatures set(int sType, long pNext, boolean shaderDrawParameters)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceShaderDrawParametersFeatures
-
set
public VkPhysicalDeviceShaderDrawParameterFeatures set(VkPhysicalDeviceShaderDrawParameterFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceShaderDrawParameterFeatures malloc()
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderDrawParameterFeatures calloc()
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures create()
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures create(long address)
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderDrawParameterFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures mallocStack()
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures callocStack()
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-