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.NativeResourceStructure indicating support for imageless framebuffers.Description
If the
VkPhysicalDeviceImagelessFramebufferFeaturesKHRstructure is included in thepNextchain ofVkPhysicalDeviceFeatures2KHR, it is filled with values indicating whether the feature is supported.VkPhysicalDeviceImagelessFramebufferFeaturesKHRcan also be used in thepNextchain ofVkDeviceCreateInfoto 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 classVkPhysicalDeviceImagelessFramebufferFeaturesKHR.BufferAn array ofVkPhysicalDeviceImagelessFramebufferFeaturesKHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intIMAGELESSFRAMEBUFFER
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceImagelessFramebufferFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceImagelessFramebufferFeaturesKHRcalloc()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRcallocStack()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRcreate()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.BuffercreateSafe(long address, int capacity)booleanimagelessFramebuffer()Returns the value of theimagelessFramebufferfield.VkPhysicalDeviceImagelessFramebufferFeaturesKHRimagelessFramebuffer(boolean value)Sets the specified value to theimagelessFramebufferfield.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRmalloc()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRmallocStack()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceImagelessFramebufferFeaturesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the specifiedMemoryStack.static intnimagelessFramebuffer(long struct)Unsafe version ofimagelessFramebuffer().static voidnimagelessFramebuffer(long struct, int value)Unsafe version ofimagelessFramebuffer.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkPhysicalDeviceImagelessFramebufferFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceImagelessFramebufferFeaturesKHRset(int sType, long pNext, boolean imagelessFramebuffer)Initializes this struct with the specified values.VkPhysicalDeviceImagelessFramebufferFeaturesKHRset(VkPhysicalDeviceImagelessFramebufferFeaturesKHR src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkPhysicalDeviceImagelessFramebufferFeaturesKHRsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceImagelessFramebufferFeaturesKHR
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance 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()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
imagelessFramebuffer
public boolean imagelessFramebuffer()
Returns the value of theimagelessFramebufferfield.
-
sType
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.
-
imagelessFramebuffer
public VkPhysicalDeviceImagelessFramebufferFeaturesKHR imagelessFramebuffer(boolean value)
Sets the specified value to theimagelessFramebufferfield.
-
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 newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR calloc()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR create()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance 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 newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR callocStack()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceImagelessFramebufferFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.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().
-
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.
-
-