Package org.lwjgl.vulkan
Class VkPhysicalDeviceImagelessFramebufferFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceImagelessFramebufferFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceImagelessFramebufferFeaturesKHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure indicating support for imageless framebuffers.Description
If the
VkPhysicalDeviceImagelessFramebufferFeaturesKHR
structure is included in thepNext
chain ofVkPhysicalDeviceFeatures2KHR
, it is filled with values indicating whether the feature is supported.VkPhysicalDeviceImagelessFramebufferFeaturesKHR
can also be used in thepNext
chain ofVkDeviceCreateInfo
to enable this feature.Valid Usage (Implicit)
Member documentation
imagelessFramebuffer
– indicates that the implementation supports specifying the image view for attachments at render pass begin time viaVkRenderPassAttachmentBeginInfoKHR
.
Layout
struct VkPhysicalDeviceImagelessFramebufferFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 imagelessFramebuffer; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
An array ofVkPhysicalDeviceImagelessFramebufferFeaturesKHR
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
IMAGELESSFRAMEBUFFER
PNEXTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceImagelessFramebufferFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceImagelessFramebufferFeaturesKHR
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 VkPhysicalDeviceImagelessFramebufferFeaturesKHR
calloc()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated withmemCalloc
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
callocStack()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
create()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated withBufferUtils
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
create(long address)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance for the specified memory address.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance at the specified memory.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
createSafe(long address)
static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
createSafe(long address, int capacity)
boolean
imagelessFramebuffer()
Returns the value of theimagelessFramebuffer
field.VkPhysicalDeviceImagelessFramebufferFeaturesKHR
imagelessFramebuffer(boolean value)
Sets the specified value to theimagelessFramebuffer
field.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
malloc()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated withmemAlloc
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
mallocStack()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the specifiedMemoryStack
.static int
nimagelessFramebuffer(long struct)
Unsafe version ofimagelessFramebuffer()
.static void
nimagelessFramebuffer(long struct, int value)
Unsafe version ofimagelessFramebuffer
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.long
pNext()
Returns the value of thepNext
field.VkPhysicalDeviceImagelessFramebufferFeaturesKHR
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceImagelessFramebufferFeaturesKHR
set(int sType, long pNext, boolean imagelessFramebuffer)
Initializes this struct with the specified values.VkPhysicalDeviceImagelessFramebufferFeaturesKHR
set(VkPhysicalDeviceImagelessFramebufferFeaturesKHR src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkPhysicalDeviceImagelessFramebufferFeaturesKHR
sType(int value)
Sets the specified value to thesType
field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceImagelessFramebufferFeaturesKHR
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceImagelessFramebufferFeaturesKHR
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
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
imagelessFramebuffer
public boolean imagelessFramebuffer()
Returns the value of theimagelessFramebuffer
field.
-
sType
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR pNext(long value)
Sets the specified value to thepNext
field.
-
imagelessFramebuffer
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR imagelessFramebuffer(boolean value)
Sets the specified value to theimagelessFramebuffer
field.
-
set
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR set(int sType, long pNext, boolean imagelessFramebuffer)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR set(VkPhysicalDeviceImagelessFramebufferFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR malloc()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR calloc()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR create()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR mallocStack()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR callocStack()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and 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()
.
-
nimagelessFramebuffer
public static int nimagelessFramebuffer(long struct)
Unsafe version ofimagelessFramebuffer()
.
-
nsType
public static void nsType(long struct, int value)
Unsafe version ofsType
.
-
npNext
public static void npNext(long struct, long value)
Unsafe version ofpNext
.
-
nimagelessFramebuffer
public static void nimagelessFramebuffer(long struct, int value)
Unsafe version ofimagelessFramebuffer
.
-
-