Package org.lwjgl.vulkan
Class VkPhysicalDeviceDynamicRenderingFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDynamicRenderingFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceDynamicRenderingFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceDynamicRenderingFeaturesKHR extends VkPhysicalDeviceDynamicRenderingFeatures
SeeVkPhysicalDeviceDynamicRenderingFeatures.Layout
struct VkPhysicalDeviceDynamicRenderingFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 dynamicRendering; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceDynamicRenderingFeaturesKHR.BufferAn array ofVkPhysicalDeviceDynamicRenderingFeaturesKHRstructs.
-
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.VkPhysicalDeviceDynamicRenderingFeatures
ALIGNOF, DYNAMICRENDERING, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDynamicRenderingFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDynamicRenderingFeaturesKHRcalloc()Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDynamicRenderingFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDynamicRenderingFeaturesKHRcreate()Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDynamicRenderingFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceDynamicRenderingFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceDynamicRenderingFeaturesKHR.BuffercreateSafe(long address, int capacity)VkPhysicalDeviceDynamicRenderingFeaturesKHRdynamicRendering(boolean value)Sets the specified value to thedynamicRenderingfield.static VkPhysicalDeviceDynamicRenderingFeaturesKHRmalloc()Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDynamicRenderingFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceDynamicRenderingFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceDynamicRenderingFeaturesKHRset(int sType, long pNext, boolean dynamicRendering)Initializes this struct with the specified values.VkPhysicalDeviceDynamicRenderingFeaturesKHRset(VkPhysicalDeviceDynamicRenderingFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceDynamicRenderingFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceDynamicRenderingFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceDynamicRenderingFeatures
dynamicRendering, ndynamicRendering, ndynamicRendering, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceDynamicRenderingFeaturesKHR
public VkPhysicalDeviceDynamicRenderingFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance 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 VkPhysicalDeviceDynamicRenderingFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceDynamicRenderingFeatures
-
sType$Default
public VkPhysicalDeviceDynamicRenderingFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceDynamicRenderingFeatures
-
pNext
public VkPhysicalDeviceDynamicRenderingFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceDynamicRenderingFeatures
-
dynamicRendering
public VkPhysicalDeviceDynamicRenderingFeaturesKHR dynamicRendering(boolean value)
Sets the specified value to thedynamicRenderingfield.- Overrides:
dynamicRenderingin classVkPhysicalDeviceDynamicRenderingFeatures
-
set
public VkPhysicalDeviceDynamicRenderingFeaturesKHR set(int sType, long pNext, boolean dynamicRendering)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceDynamicRenderingFeatures
-
set
public VkPhysicalDeviceDynamicRenderingFeaturesKHR set(VkPhysicalDeviceDynamicRenderingFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR malloc()
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR calloc()
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR create()
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDynamicRenderingFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-