public class VkExportMemoryWin32HandleInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, or if pAttributes is set to NULL, default security descriptor values will be used, and child processes created by the application will not inherit the handle, as described in the MSDN documentation for "Synchronization Object Security and Access Rights"1. Further, if the structure is not present, the access rights will be
DXGI_SHARED_RESOURCE_READ | DXGI_SHARED_RESOURCE_WRITE
sType must be STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NVpAttributes is not NULL, pAttributes must be a valid pointer to a valid SECURITY_ATTRIBUTES valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.pAttributes – a pointer to a Windows SECURITY_ATTRIBUTES structure specifying security attributes of the handle.dwAccess – a DWORD specifying access rights of the handle.
struct VkExportMemoryWin32HandleInfoNV {
VkStructureType sType;
void const * pNext;
SECURITY_ATTRIBUTES const * pAttributes;
DWORD dwAccess;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExportMemoryWin32HandleInfoNV.Buffer
An array of
VkExportMemoryWin32HandleInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DWACCESS
The struct member offsets.
|
static int |
PATTRIBUTES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkExportMemoryWin32HandleInfoNV(java.nio.ByteBuffer container)
Creates a
VkExportMemoryWin32HandleInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExportMemoryWin32HandleInfoNV |
calloc()
Returns a new
VkExportMemoryWin32HandleInfoNV instance allocated with memCalloc. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated with memCalloc. |
static VkExportMemoryWin32HandleInfoNV |
callocStack()
Returns a new
VkExportMemoryWin32HandleInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExportMemoryWin32HandleInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryWin32HandleInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExportMemoryWin32HandleInfoNV |
create()
Returns a new
VkExportMemoryWin32HandleInfoNV instance allocated with BufferUtils. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
create(int capacity)
Returns a new
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated with BufferUtils. |
static VkExportMemoryWin32HandleInfoNV |
create(long address)
Returns a new
VkExportMemoryWin32HandleInfoNV instance for the specified memory address. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkExportMemoryWin32HandleInfoNV.Buffer instance at the specified memory. |
static VkExportMemoryWin32HandleInfoNV |
createSafe(long address)
|
static VkExportMemoryWin32HandleInfoNV.Buffer |
createSafe(long address,
int capacity)
|
int |
dwAccess()
Returns the value of the
dwAccess field. |
VkExportMemoryWin32HandleInfoNV |
dwAccess(int value)
Sets the specified value to the
dwAccess field. |
static VkExportMemoryWin32HandleInfoNV |
malloc()
Returns a new
VkExportMemoryWin32HandleInfoNV instance allocated with memAlloc. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated with memAlloc. |
static VkExportMemoryWin32HandleInfoNV |
mallocStack()
Returns a new
VkExportMemoryWin32HandleInfoNV instance allocated on the thread-local MemoryStack. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkExportMemoryWin32HandleInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkExportMemoryWin32HandleInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryWin32HandleInfoNV instance allocated on the specified MemoryStack. |
static int |
ndwAccess(long struct)
Unsafe version of
dwAccess(). |
static void |
ndwAccess(long struct,
int value)
Unsafe version of
dwAccess. |
static org.lwjgl.system.windows.SECURITY_ATTRIBUTES |
npAttributes(long struct)
Unsafe version of
pAttributes(). |
static void |
npAttributes(long struct,
org.lwjgl.system.windows.SECURITY_ATTRIBUTES value)
Unsafe version of
pAttributes. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
org.lwjgl.system.windows.SECURITY_ATTRIBUTES |
pAttributes()
Returns a
SECURITY_ATTRIBUTES view of the struct pointed to by the pAttributes field. |
VkExportMemoryWin32HandleInfoNV |
pAttributes(org.lwjgl.system.windows.SECURITY_ATTRIBUTES value)
Sets the address of the specified
SECURITY_ATTRIBUTES to the pAttributes field. |
long |
pNext()
Returns the value of the
pNext field. |
VkExportMemoryWin32HandleInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkExportMemoryWin32HandleInfoNV |
set(int sType,
long pNext,
org.lwjgl.system.windows.SECURITY_ATTRIBUTES pAttributes,
int dwAccess)
Initializes this struct with the specified values.
|
VkExportMemoryWin32HandleInfoNV |
set(VkExportMemoryWin32HandleInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkExportMemoryWin32HandleInfoNV |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int PATTRIBUTES
public static final int DWACCESS
public VkExportMemoryWin32HandleInfoNV(java.nio.ByteBuffer container)
VkExportMemoryWin32HandleInfoNV 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 int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.@Nullable public org.lwjgl.system.windows.SECURITY_ATTRIBUTES pAttributes()
SECURITY_ATTRIBUTES view of the struct pointed to by the pAttributes field.public int dwAccess()
dwAccess field.public VkExportMemoryWin32HandleInfoNV sType(int value)
sType field.public VkExportMemoryWin32HandleInfoNV pNext(long value)
pNext field.public VkExportMemoryWin32HandleInfoNV pAttributes(@Nullable org.lwjgl.system.windows.SECURITY_ATTRIBUTES value)
SECURITY_ATTRIBUTES to the pAttributes field.public VkExportMemoryWin32HandleInfoNV dwAccess(int value)
dwAccess field.public VkExportMemoryWin32HandleInfoNV set(int sType, long pNext, @Nullable org.lwjgl.system.windows.SECURITY_ATTRIBUTES pAttributes, int dwAccess)
public VkExportMemoryWin32HandleInfoNV set(VkExportMemoryWin32HandleInfoNV src)
src - the source structpublic static VkExportMemoryWin32HandleInfoNV malloc()
VkExportMemoryWin32HandleInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkExportMemoryWin32HandleInfoNV calloc()
VkExportMemoryWin32HandleInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkExportMemoryWin32HandleInfoNV create()
VkExportMemoryWin32HandleInfoNV instance allocated with BufferUtils.public static VkExportMemoryWin32HandleInfoNV create(long address)
VkExportMemoryWin32HandleInfoNV instance for the specified memory address.@Nullable public static VkExportMemoryWin32HandleInfoNV createSafe(long address)
public static VkExportMemoryWin32HandleInfoNV.Buffer malloc(int capacity)
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExportMemoryWin32HandleInfoNV.Buffer calloc(int capacity)
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExportMemoryWin32HandleInfoNV.Buffer create(int capacity)
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExportMemoryWin32HandleInfoNV.Buffer create(long address, int capacity)
VkExportMemoryWin32HandleInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExportMemoryWin32HandleInfoNV.Buffer createSafe(long address, int capacity)
public static VkExportMemoryWin32HandleInfoNV mallocStack()
VkExportMemoryWin32HandleInfoNV instance allocated on the thread-local MemoryStack.public static VkExportMemoryWin32HandleInfoNV callocStack()
VkExportMemoryWin32HandleInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExportMemoryWin32HandleInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkExportMemoryWin32HandleInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExportMemoryWin32HandleInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkExportMemoryWin32HandleInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExportMemoryWin32HandleInfoNV.Buffer mallocStack(int capacity)
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExportMemoryWin32HandleInfoNV.Buffer callocStack(int capacity)
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExportMemoryWin32HandleInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExportMemoryWin32HandleInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExportMemoryWin32HandleInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().@Nullable public static org.lwjgl.system.windows.SECURITY_ATTRIBUTES npAttributes(long struct)
pAttributes().public static int ndwAccess(long struct)
dwAccess().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void npAttributes(long struct,
@Nullable
org.lwjgl.system.windows.SECURITY_ATTRIBUTES value)
pAttributes.public static void ndwAccess(long struct,
int value)
dwAccess.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.