Package org.lwjgl.vulkan
Class VkD3D12FenceSubmitInfoKHR.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkD3D12FenceSubmitInfoKHR.Buffer>
org.lwjgl.system.StructBuffer<VkD3D12FenceSubmitInfoKHR,VkD3D12FenceSubmitInfoKHR.Buffer>
org.lwjgl.vulkan.VkD3D12FenceSubmitInfoKHR.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkD3D12FenceSubmitInfoKHR>,NativeResource,Pointer
- Enclosing class:
VkD3D12FenceSubmitInfoKHR
public static class VkD3D12FenceSubmitInfoKHR.Buffer
extends StructBuffer<VkD3D12FenceSubmitInfoKHR,VkD3D12FenceSubmitInfoKHR.Buffer>
implements NativeResource
An array of
VkD3D12FenceSubmitInfoKHR structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkD3D12FenceSubmitInfoKHR.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongpNext()pNext(long value) Sets the specified value to thepNextfield.@Nullable LongBufferpSignalSemaphoreValues(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepSignalSemaphoreValuesfield.@Nullable LongBufferpWaitSemaphoreValues(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepWaitSemaphoreValuesfield.intsignalSemaphoreValuesCount(int value) Sets the specified value to thesignalSemaphoreValuesCountfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHRvalue to thesTypefield.intwaitSemaphoreValuesCount(int value) Sets the specified value to thewaitSemaphoreValuesCountfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkD3D12FenceSubmitInfoKHR.Bufferinstance 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
VkD3D12FenceSubmitInfoKHR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
waitSemaphoreValuesCount
public int waitSemaphoreValuesCount()- Returns:
- the value of the
waitSemaphoreValuesCountfield.
-
pWaitSemaphoreValues
- Returns:
- a
LongBufferview of the data pointed to by thepWaitSemaphoreValuesfield.
-
signalSemaphoreValuesCount
public int signalSemaphoreValuesCount()- Returns:
- the value of the
signalSemaphoreValuesCountfield.
-
pSignalSemaphoreValues
- Returns:
- a
LongBufferview of the data pointed to by thepSignalSemaphoreValuesfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHRvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
waitSemaphoreValuesCount
Sets the specified value to thewaitSemaphoreValuesCountfield. -
pWaitSemaphoreValues
Sets the address of the specifiedLongBufferto thepWaitSemaphoreValuesfield. -
signalSemaphoreValuesCount
Sets the specified value to thesignalSemaphoreValuesCountfield. -
pSignalSemaphoreValues
Sets the address of the specifiedLongBufferto thepSignalSemaphoreValuesfield.
-