Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getMemoryWin32HandleNV :: forall io. MonadIO io => Device -> DeviceMemory -> ExternalMemoryHandleTypeFlagsNV -> io HANDLE
- data ImportMemoryWin32HandleInfoNV = ImportMemoryWin32HandleInfoNV {}
- data ExportMemoryWin32HandleInfoNV = ExportMemoryWin32HandleInfoNV {}
- type NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION = 1
- pattern NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION :: forall a. Integral a => a
- type NV_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME = "VK_NV_external_memory_win32"
- pattern NV_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- type HANDLE = Ptr ()
- type DWORD = Word32
- data SECURITY_ATTRIBUTES
- newtype ExternalMemoryHandleTypeFlagBitsNV where
- ExternalMemoryHandleTypeFlagBitsNV Flags
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV
- type ExternalMemoryHandleTypeFlagsNV = ExternalMemoryHandleTypeFlagBitsNV
Documentation
getMemoryWin32HandleNV Source #
:: forall io. MonadIO io | |
=> Device |
|
-> DeviceMemory |
|
-> ExternalMemoryHandleTypeFlagsNV |
|
-> io HANDLE |
vkGetMemoryWin32HandleNV - retrieve Win32 handle to a device memory object
Return Codes
See Also
data ImportMemoryWin32HandleInfoNV Source #
VkImportMemoryWin32HandleInfoNV - import Win32 memory created on the same physical device
Description
If handleType
is 0
, this structure is ignored by consumers of the
MemoryAllocateInfo
structure it is chained from.
Valid Usage (Implicit)
See Also
ImportMemoryWin32HandleInfoNV | |
|
Instances
data ExportMemoryWin32HandleInfoNV Source #
VkExportMemoryWin32HandleInfoNV - specify security attributes and access rights for Win32 memory handles
Description
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
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV
- If
pAttributes
is notNULL
,pAttributes
must be a valid pointer to a validSECURITY_ATTRIBUTES
value
See Also
ExportMemoryWin32HandleInfoNV | |
|
Instances
type NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION = 1 Source #
pattern NV_EXTERNAL_MEMORY_WIN32_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME = "VK_NV_external_memory_win32" Source #
pattern NV_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
data SECURITY_ATTRIBUTES Source #
newtype ExternalMemoryHandleTypeFlagBitsNV Source #
VkExternalMemoryHandleTypeFlagBitsNV - Bitmask specifying external memory handle types
See Also
pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|
pattern EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV :: ExternalMemoryHandleTypeFlagBitsNV |
|