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 class
VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
An array ofVkPhysicalDeviceShaderDrawParameterFeatures
structs.
-
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 aVkPhysicalDeviceShaderDrawParameterFeatures
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceShaderDrawParameterFeatures
calloc()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated withmemCalloc
.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceShaderDrawParameterFeatures
callocStack()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeatures
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceShaderDrawParameterFeatures
create()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated withBufferUtils
.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceShaderDrawParameterFeatures
create(long address)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance for the specified memory address.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance at the specified memory.static VkPhysicalDeviceShaderDrawParameterFeatures
createSafe(long address)
static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceShaderDrawParameterFeatures
malloc()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated withmemAlloc
.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceShaderDrawParameterFeatures
mallocStack()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceShaderDrawParameterFeatures
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the specifiedMemoryStack
.VkPhysicalDeviceShaderDrawParameterFeatures
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceShaderDrawParameterFeatures
set(int sType, long pNext, boolean shaderDrawParameters)
Initializes this struct with the specified values.VkPhysicalDeviceShaderDrawParameterFeatures
set(VkPhysicalDeviceShaderDrawParameterFeatures src)
Copies the specified struct data to this struct.VkPhysicalDeviceShaderDrawParameterFeatures
shaderDrawParameters(boolean value)
Sets the specified value to theshaderDrawParameters
field.VkPhysicalDeviceShaderDrawParameterFeatures
sType(int value)
Sets the specified value to thesType
field.-
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 aVkPhysicalDeviceShaderDrawParameterFeatures
instance at the current position of the specifiedByteBuffer
container. 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 thesType
field.- Overrides:
sType
in classVkPhysicalDeviceShaderDrawParametersFeatures
-
pNext
public VkPhysicalDeviceShaderDrawParameterFeatures pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceShaderDrawParametersFeatures
-
shaderDrawParameters
public VkPhysicalDeviceShaderDrawParameterFeatures shaderDrawParameters(boolean value)
Sets the specified value to theshaderDrawParameters
field.- Overrides:
shaderDrawParameters
in classVkPhysicalDeviceShaderDrawParametersFeatures
-
set
public VkPhysicalDeviceShaderDrawParameterFeatures set(int sType, long pNext, boolean shaderDrawParameters)
Initializes this struct with the specified values.- Overrides:
set
in 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 newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceShaderDrawParameterFeatures calloc()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures create()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures create(long address)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceShaderDrawParameterFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance 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 newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures callocStack()
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceShaderDrawParameterFeatures.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceShaderDrawParameterFeatures.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-