Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkDisplayPresentInfoKHR

extends Struct<VkDisplayPresentInfoKHR>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing parameters of a queue presentation to a swapchain.
Description

If the extent of the srcRect and dstRect are not equal, the presented pixels will be scaled accordingly.

Valid Usage
Valid Usage (Implicit)
See Also

VkRect2D

Layout


struct VkDisplayPresentInfoKHR {
    VkStructureType sType;
    void const * pNext;
    VkRect2D srcRect;
    VkRect2D dstRect;
    VkBool32 persistent;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DSTRECT

The struct member offsets.

public static final int
PERSISTENT

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SRCRECT

The struct member offsets.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkDisplayPresentInfoKHR(long address, ByteBuffer container)

public
VkDisplayPresentInfoKHR(ByteBuffer container)

Creates a VkDisplayPresentInfoKHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkDisplayPresentInfoKHR
calloc()

Returns a new VkDisplayPresentInfoKHR instance allocated with memCalloc.

public static VkDisplayPresentInfoKHR.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated with memCalloc.

public static VkDisplayPresentInfoKHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDisplayPresentInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkDisplayPresentInfoKHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkDisplayPresentInfoKHR
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkDisplayPresentInfoKHR
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDisplayPresentInfoKHR.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDisplayPresentInfoKHR.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkDisplayPresentInfoKHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkDisplayPresentInfoKHR
create()

Returns a new VkDisplayPresentInfoKHR instance allocated with BufferUtils.

public static VkDisplayPresentInfoKHR
create(long address)

Returns a new VkDisplayPresentInfoKHR instance for the specified memory address.

public static VkDisplayPresentInfoKHR.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated with BufferUtils.

public static VkDisplayPresentInfoKHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkDisplayPresentInfoKHR.Buffer instance at the specified memory.

public static VkDisplayPresentInfoKHR
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkDisplayPresentInfoKHR.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public VkRect2D
dstRect()

a rectangular region within the visible region of the swapchain’s display mode.

public VkDisplayPresentInfoKHR
dstRect(VkRect2D value)

Copies the specified VkRect2D to the dstRect field.

public VkDisplayPresentInfoKHR
dstRect(Consumer<VkRect2D> consumer)

Passes the dstRect field to the specified Consumer.

public static VkDisplayPresentInfoKHR
malloc()

Returns a new VkDisplayPresentInfoKHR instance allocated with memAlloc.

public static VkDisplayPresentInfoKHR.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated with memAlloc.

public static VkDisplayPresentInfoKHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDisplayPresentInfoKHR instance allocated on the specified MemoryStack.

public static VkDisplayPresentInfoKHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated on the specified MemoryStack.

public static VkDisplayPresentInfoKHR
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkDisplayPresentInfoKHR
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDisplayPresentInfoKHR.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDisplayPresentInfoKHR.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkRect2D
ndstRect(long struct)

Unsafe version of dstRect.

public static void
ndstRect(long struct, VkRect2D value)

Unsafe version of dstRect.

public static int
npersistent(long struct)

Unsafe version of persistent.

public static void
npersistent(long struct, int value)

Unsafe version of persistent.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkRect2D
nsrcRect(long struct)

Unsafe version of srcRect.

public static void
nsrcRect(long struct, VkRect2D value)

Unsafe version of srcRect.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public boolean
persistent()

If this is TRUE, the display engine will enable buffered mode on displays that support it.

public VkDisplayPresentInfoKHR
persistent(boolean value)

Sets the specified value to the persistent field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkDisplayPresentInfoKHR
pNext(long value)

Sets the specified value to the pNext field.

public VkDisplayPresentInfoKHR
set(int sType, long pNext, VkRect2D srcRect, VkRect2D dstRect, boolean persistent)

Initializes this struct with the specified values.

public VkDisplayPresentInfoKHR

Returns:

this struct
set
(VkDisplayPresentInfoKHR
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public VkRect2D
srcRect()

a rectangular region of pixels to present.

public VkDisplayPresentInfoKHR
srcRect(VkRect2D value)

Copies the specified VkRect2D to the srcRect field.

public VkDisplayPresentInfoKHR
srcRect(Consumer<VkRect2D> consumer)

Passes the srcRect field to the specified Consumer.

public int
sType()

a VkStructureType value identifying this structure.

public VkDisplayPresentInfoKHR
sType(int value)

Sets the specified value to the sType field.

public VkDisplayPresentInfoKHR
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

DSTRECTback to summary
public static final int DSTRECT

The struct member offsets.

PERSISTENTback to summary
public static final int PERSISTENT

The struct member offsets.

PNEXTback to summary
public static final int PNEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SRCRECTback to summary
public static final int SRCRECT

The struct member offsets.

STYPEback to summary
public static final int STYPE

The struct member offsets.

Constructor Detail

VkDisplayPresentInfoKHRback to summary
protected VkDisplayPresentInfoKHR(long address, ByteBuffer container)
VkDisplayPresentInfoKHRback to summary
public VkDisplayPresentInfoKHR(ByteBuffer container)

Creates a VkDisplayPresentInfoKHR instance at the current position of the specified ByteBuffer 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

callocback to summary
public static VkDisplayPresentInfoKHR calloc()

Returns a new VkDisplayPresentInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkDisplayPresentInfoKHR.Buffer calloc(int capacity)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkDisplayPresentInfoKHR calloc(MemoryStack stack)

Returns a new VkDisplayPresentInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkDisplayPresentInfoKHR.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VkDisplayPresentInfoKHR callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkDisplayPresentInfoKHR callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkDisplayPresentInfoKHR.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VkDisplayPresentInfoKHR.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VkDisplayPresentInfoKHR create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkDisplayPresentInfoKHR create()

Returns a new VkDisplayPresentInfoKHR instance allocated with BufferUtils.

createback to summary
public static VkDisplayPresentInfoKHR create(long address)

Returns a new VkDisplayPresentInfoKHR instance for the specified memory address.

createback to summary
public static VkDisplayPresentInfoKHR.Buffer create(int capacity)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkDisplayPresentInfoKHR.Buffer create(long address, int capacity)

Create a VkDisplayPresentInfoKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkDisplayPresentInfoKHR createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkDisplayPresentInfoKHR.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
dstRectback to summary
public VkRect2D dstRect()

a rectangular region within the visible region of the swapchain’s display mode. If VkDisplayPresentInfoKHR is not specified, this region will be assumed to be the entire visible region of the swapchain’s mode. If the specified rectangle is a subset of the display mode’s visible region, content from display planes below the swapchain’s plane will be visible outside the rectangle. If there are no planes below the swapchain’s, the area outside the specified rectangle will be black. If portions of the specified rectangle are outside of the display’s visible region, pixels mapping only to those portions of the rectangle will be discarded.

dstRectback to summary
public VkDisplayPresentInfoKHR dstRect(VkRect2D value)

Copies the specified VkRect2D to the dstRect field.

dstRectback to summary
public VkDisplayPresentInfoKHR dstRect(Consumer<VkRect2D> consumer)

Passes the dstRect field to the specified Consumer.

mallocback to summary
public static VkDisplayPresentInfoKHR malloc()

Returns a new VkDisplayPresentInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkDisplayPresentInfoKHR.Buffer malloc(int capacity)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkDisplayPresentInfoKHR malloc(MemoryStack stack)

Returns a new VkDisplayPresentInfoKHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkDisplayPresentInfoKHR.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VkDisplayPresentInfoKHR.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VkDisplayPresentInfoKHR mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkDisplayPresentInfoKHR mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkDisplayPresentInfoKHR.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VkDisplayPresentInfoKHR.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
ndstRectback to summary
public static VkRect2D ndstRect(long struct)

Unsafe version of dstRect.

ndstRectback to summary
public static void ndstRect(long struct, VkRect2D value)

Unsafe version of dstRect.

npersistentback to summary
public static int npersistent(long struct)

Unsafe version of persistent.

npersistentback to summary
public static void npersistent(long struct, int value)

Unsafe version of persistent.

npNextback to summary
public static long npNext(long struct)

Unsafe version of pNext.

npNextback to summary
public static void npNext(long struct, long value)

Unsafe version of pNext.

nsrcRectback to summary
public static VkRect2D nsrcRect(long struct)

Unsafe version of srcRect.

nsrcRectback to summary
public static void nsrcRect(long struct, VkRect2D value)

Unsafe version of srcRect.

nsTypeback to summary
public static int nsType(long struct)

Unsafe version of sType.

nsTypeback to summary
public static void nsType(long struct, int value)

Unsafe version of sType.

persistentback to summary
public boolean persistent()

If this is TRUE, the display engine will enable buffered mode on displays that support it. This allows the display engine to stop sending content to the display until a new image is presented. The display will instead maintain a copy of the last presented image. This allows less power to be used, but may increase presentation latency. If VkDisplayPresentInfoKHR is not specified, persistent mode will not be used.

Annotations
@NativeType:VkBool32
persistentback to summary
public VkDisplayPresentInfoKHR persistent(boolean value)

Sets the specified value to the persistent field.

pNextback to summary
public long pNext()

NULL or a pointer to a structure extending this structure.

Annotations
@NativeType:void const *
pNextback to summary
public VkDisplayPresentInfoKHR pNext(long value)

Sets the specified value to the pNext field.

setback to summary
public VkDisplayPresentInfoKHR set(int sType, long pNext, VkRect2D srcRect, VkRect2D dstRect, boolean persistent)

Initializes this struct with the specified values.

setback to summary
public VkDisplayPresentInfoKHR set(VkDisplayPresentInfoKHR src)

Copies the specified struct data to this struct.

Parameters
src:VkDisplayPresentInfoKHR

the source struct

Returns:VkDisplayPresentInfoKHR

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
srcRectback to summary
public VkRect2D srcRect()

a rectangular region of pixels to present. It must be a subset of the image being presented. If VkDisplayPresentInfoKHR is not specified, this region will be assumed to be the entire presentable image.

srcRectback to summary
public VkDisplayPresentInfoKHR srcRect(VkRect2D value)

Copies the specified VkRect2D to the srcRect field.

srcRectback to summary
public VkDisplayPresentInfoKHR srcRect(Consumer<VkRect2D> consumer)

Passes the srcRect field to the specified Consumer.

sTypeback to summary
public int sType()

a VkStructureType value identifying this structure.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkDisplayPresentInfoKHR sType(int value)

Sets the specified value to the sType field.

sType$Defaultback to summary
public VkDisplayPresentInfoKHR sType$Default()

Sets the STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR value to the sType field.

org.lwjgl.vulkan back to summary

public Class VkDisplayPresentInfoKHR.Buffer

extends StructBuffer<VkDisplayPresentInfoKHR, VkDisplayPresentInfoKHR.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VkDisplayPresentInfoKHR structs.

Field Summary

Modifier and TypeField and Description
private static final VkDisplayPresentInfoKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkDisplayPresentInfoKHR.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public VkRect2D

Returns:

a VkRect2D view of the VkDisplayPresentInfoKHR#dstRect field.
dstRect
()

public VkDisplayPresentInfoKHR.Buffer
dstRect(VkRect2D value)

Copies the specified VkRect2D to the VkDisplayPresentInfoKHR#dstRect field.

public VkDisplayPresentInfoKHR.Buffer
dstRect(Consumer<VkRect2D> consumer)

Passes the VkDisplayPresentInfoKHR#dstRect field to the specified Consumer.

protected VkDisplayPresentInfoKHR
public boolean

Returns:

the value of the VkDisplayPresentInfoKHR#persistent field.
persistent
()

public VkDisplayPresentInfoKHR.Buffer
persistent(boolean value)

Sets the specified value to the VkDisplayPresentInfoKHR#persistent field.

public long

Returns:

the value of the VkDisplayPresentInfoKHR#pNext field.
pNext
()

public VkDisplayPresentInfoKHR.Buffer
pNext(long value)

Sets the specified value to the VkDisplayPresentInfoKHR#pNext field.

protected VkDisplayPresentInfoKHR.Buffer
public VkRect2D

Returns:

a VkRect2D view of the VkDisplayPresentInfoKHR#srcRect field.
srcRect
()

public VkDisplayPresentInfoKHR.Buffer
srcRect(VkRect2D value)

Copies the specified VkRect2D to the VkDisplayPresentInfoKHR#srcRect field.

public VkDisplayPresentInfoKHR.Buffer
srcRect(Consumer<VkRect2D> consumer)

Passes the VkDisplayPresentInfoKHR#srcRect field to the specified Consumer.

public int

Returns:

the value of the VkDisplayPresentInfoKHR#sType field.
sType
()

public VkDisplayPresentInfoKHR.Buffer
sType(int value)

Sets the specified value to the VkDisplayPresentInfoKHR#sType field.

public VkDisplayPresentInfoKHR.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkDisplayPresentInfoKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkDisplayPresentInfoKHR.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkDisplayPresentInfoKHR#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

dstRectback to summary
public VkRect2D dstRect()
Returns:VkRect2D

a VkRect2D view of the VkDisplayPresentInfoKHR#dstRect field.

dstRectback to summary
public VkDisplayPresentInfoKHR.Buffer dstRect(VkRect2D value)

Copies the specified VkRect2D to the VkDisplayPresentInfoKHR#dstRect field.

dstRectback to summary
public VkDisplayPresentInfoKHR.Buffer dstRect(Consumer<VkRect2D> consumer)

Passes the VkDisplayPresentInfoKHR#dstRect field to the specified Consumer.

getElementFactoryback to summary
protected VkDisplayPresentInfoKHR getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
persistentback to summary
public boolean persistent()
Returns:boolean

the value of the VkDisplayPresentInfoKHR#persistent field.

Annotations
@NativeType:VkBool32
persistentback to summary
public VkDisplayPresentInfoKHR.Buffer persistent(boolean value)

Sets the specified value to the VkDisplayPresentInfoKHR#persistent field.

pNextback to summary
public long pNext()
Returns:long

the value of the VkDisplayPresentInfoKHR#pNext field.

Annotations
@NativeType:void const *
pNextback to summary
public VkDisplayPresentInfoKHR.Buffer pNext(long value)

Sets the specified value to the VkDisplayPresentInfoKHR#pNext field.

selfback to summary
protected VkDisplayPresentInfoKHR.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
srcRectback to summary
public VkRect2D srcRect()
Returns:VkRect2D

a VkRect2D view of the VkDisplayPresentInfoKHR#srcRect field.

srcRectback to summary
public VkDisplayPresentInfoKHR.Buffer srcRect(VkRect2D value)

Copies the specified VkRect2D to the VkDisplayPresentInfoKHR#srcRect field.

srcRectback to summary
public VkDisplayPresentInfoKHR.Buffer srcRect(Consumer<VkRect2D> consumer)

Passes the VkDisplayPresentInfoKHR#srcRect field to the specified Consumer.

sTypeback to summary
public int sType()
Returns:int

the value of the VkDisplayPresentInfoKHR#sType field.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkDisplayPresentInfoKHR.Buffer sType(int value)

Sets the specified value to the VkDisplayPresentInfoKHR#sType field.

sType$Defaultback to summary
public VkDisplayPresentInfoKHR.Buffer sType$Default()

Sets the STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR value to the VkDisplayPresentInfoKHR#sType field.