> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_PROTECTED_RESOURCE_SESSION_DESC

> D3D12_PROTECTED_RESOURCE_SESSION_DESC (Direct3D 12 on XBOX) — Describes flags for a protected resource session, per adapter.

Describes flags for a protected resource session, per adapter.

## Syntax

```cpp theme={null}
typedef struct D3D12_PROTECTED_RESOURCE_SESSION_DESC
{
    UINT NodeMask;
    D3D12_PROTECTED_RESOURCE_SESSION_FLAGS Flags;
} D3D12_PROTECTED_RESOURCE_SESSION_DESC
```

### Members

*NodeMask*\
Type: UINT

The node mask. For single GPU operation, set this to zero. If there are multiple GPU nodes, then set a bit to identify the node (the device's physical adapter) to which the protected session applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.

*Flags*\
Type: D3D12\_PROTECTED\_RESOURCE\_SESSION\_FLAGS

Specifies the supported crypto sessions options.

## Remarks

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also


## Related topics

- [ID3D12ProtectedResourceSession::GetDesc](/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession/methods/id3d12protectedresourcesession_getdesc_public.md)
- [CreateProtectedResourceSession (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12device4/methods/id3d12device4_createprotectedresourcesession_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_DESC1](/reference/graphics/d3d12/structs/d3d12_protected_resource_session_desc1_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_FLAGS](/reference/graphics/d3d12/enums/d3d12_protected_resource_session_flags_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS](/reference/graphics/d3d12/enums/d3d12_protected_resource_session_support_flags_public.md)
