public class VkExternalBufferPropertiesKHR extends VkExternalBufferProperties
VkExternalBufferProperties.
struct VkExternalBufferPropertiesKHR {
VkStructureType sType;
void * pNext;
VkExternalMemoryProperties externalMemoryProperties;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExternalBufferPropertiesKHR.Buffer
An array of
VkExternalBufferPropertiesKHR structs. |
ALIGNOF, EXTERNALMEMORYPROPERTIES, PNEXT, SIZEOF, STYPE| Constructor and Description |
|---|
VkExternalBufferPropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkExternalBufferPropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExternalBufferPropertiesKHR |
calloc()
Returns a new
VkExternalBufferPropertiesKHR instance allocated with memCalloc. |
static VkExternalBufferPropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkExternalBufferPropertiesKHR.Buffer instance allocated with memCalloc. |
static VkExternalBufferPropertiesKHR |
callocStack()
Returns a new
VkExternalBufferPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalBufferPropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkExternalBufferPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalBufferPropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalBufferPropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalBufferPropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalBufferPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalBufferPropertiesKHR |
create()
Returns a new
VkExternalBufferPropertiesKHR instance allocated with BufferUtils. |
static VkExternalBufferPropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkExternalBufferPropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkExternalBufferPropertiesKHR |
create(long address)
Returns a new
VkExternalBufferPropertiesKHR instance for the specified memory address. |
static VkExternalBufferPropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkExternalBufferPropertiesKHR.Buffer instance at the specified memory. |
static VkExternalBufferPropertiesKHR |
createSafe(long address)
|
static VkExternalBufferPropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkExternalBufferPropertiesKHR |
malloc()
Returns a new
VkExternalBufferPropertiesKHR instance allocated with memAlloc. |
static VkExternalBufferPropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkExternalBufferPropertiesKHR.Buffer instance allocated with memAlloc. |
static VkExternalBufferPropertiesKHR |
mallocStack()
Returns a new
VkExternalBufferPropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkExternalBufferPropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkExternalBufferPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkExternalBufferPropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalBufferPropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkExternalBufferPropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalBufferPropertiesKHR instance allocated on the specified MemoryStack. |
VkExternalBufferPropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkExternalBufferPropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkExternalBufferPropertiesKHR |
set(VkExternalBufferPropertiesKHR src)
Copies the specified struct data to this struct.
|
VkExternalBufferPropertiesKHR |
sType(int value)
Sets the specified value to the
sType field. |
externalMemoryProperties, nexternalMemoryProperties, npNext, npNext, nsType, nsType, pNext, set, sizeof, sTypepublic VkExternalBufferPropertiesKHR(java.nio.ByteBuffer container)
VkExternalBufferPropertiesKHR 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.
public VkExternalBufferPropertiesKHR sType(int value)
sType field.sType in class VkExternalBufferPropertiespublic VkExternalBufferPropertiesKHR pNext(long value)
pNext field.pNext in class VkExternalBufferPropertiespublic VkExternalBufferPropertiesKHR set(int sType, long pNext)
set in class VkExternalBufferPropertiespublic VkExternalBufferPropertiesKHR set(VkExternalBufferPropertiesKHR src)
src - the source structpublic static VkExternalBufferPropertiesKHR malloc()
VkExternalBufferPropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkExternalBufferPropertiesKHR calloc()
VkExternalBufferPropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkExternalBufferPropertiesKHR create()
VkExternalBufferPropertiesKHR instance allocated with BufferUtils.public static VkExternalBufferPropertiesKHR create(long address)
VkExternalBufferPropertiesKHR instance for the specified memory address.@Nullable public static VkExternalBufferPropertiesKHR createSafe(long address)
public static VkExternalBufferPropertiesKHR.Buffer malloc(int capacity)
VkExternalBufferPropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalBufferPropertiesKHR.Buffer calloc(int capacity)
VkExternalBufferPropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalBufferPropertiesKHR.Buffer create(int capacity)
VkExternalBufferPropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExternalBufferPropertiesKHR.Buffer create(long address, int capacity)
VkExternalBufferPropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExternalBufferPropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkExternalBufferPropertiesKHR mallocStack()
VkExternalBufferPropertiesKHR instance allocated on the thread-local MemoryStack.public static VkExternalBufferPropertiesKHR callocStack()
VkExternalBufferPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExternalBufferPropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkExternalBufferPropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExternalBufferPropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkExternalBufferPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExternalBufferPropertiesKHR.Buffer mallocStack(int capacity)
VkExternalBufferPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExternalBufferPropertiesKHR.Buffer callocStack(int capacity)
VkExternalBufferPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExternalBufferPropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalBufferPropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExternalBufferPropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalBufferPropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.