> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# holoscan::build_native_buffer_capability

> Build a NativeBufferCapability from the current device info and policy.

```cpp showLineNumbers={false}
nvidia::gxf::NativeBufferCapability holoscan::build_native_buffer_capability(
    const std::string &host_id,
    const std::string &gpu_device_uuid,
    bool cuda_ipc_supported,
    nvidia::gxf::NativeBufferPolicy policy
)
```

Build a NativeBufferCapability from the current device info and policy.

Returns a capability with cuda\_ipc protocol if supported, or an empty capability if policy is disabled or CUDA IPC is not available.