MCPcopy Create free account
hub / github.com/RenderKit/oidn / newNativeBuffer

Method newNativeBuffer

core/engine.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 Ref<Buffer> Engine::newNativeBuffer(void* handle)
43 {
44 throw Exception(Error::InvalidOperation,
45 "creating a shared buffer from a native handle is not supported by the device");
46 }
47
48 Ref<Buffer> Engine::newExternalBuffer(ExternalMemoryTypeFlags fdType,
49 int fd, size_t byteSize)

Callers 1

newNativeUserBufferMethod · 0.80

Calls 1

ExceptionFunction · 0.85

Tested by

no test coverage detected