> ## 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_SHADER_BYTECODE

> 셰이더 데이터를 설명합니다. (D3D12_SHADER_BYTECODE)

셰이더 데이터를 설명합니다.

## 구문

```cpp theme={null}
typedef struct D3D12_SHADER_BYTECODE
{
    const void  pShaderBytecode;
    SIZE_T BytecodeLength;
} D3D12_SHADER_BYTECODE
```

### 멤버

*pShaderBytecode*\
형식: const void \*

셰이더 데이터가 포함된 메모리 블록에 대한 포인터입니다.

*BytecodeLength*\
형식: SIZE\_T

**pShaderBytecode** 멤버가 가리키는 셰이더 데이터의 크기(바이트)입니다.

## 설명

[D3D12\_GRAPHICS\_PIPELINE\_STATE\_DESC](/reference/graphics/d3d12_x/structs/d3d12_graphics_pipeline_state_desc) 및 [D3D12\_COMPUTE\_PIPELINE\_STATE\_DESC](/reference/graphics/d3d12/structs/d3d12_compute_pipeline_state_desc_public) 개체에는 다양한 셰이더 유형을 설명하는 **D3D12\_SHADER\_BYTECODE** 구조체가 포함되어 있습니다.

FXC/DXC에서 셰이더를 로드할 때 이것은 디스크에서 로드된 대로의 전체 컴파일된 blob일 수 있습니다.

## 요구 사항

**헤더:** d3d12\_xs.h 또는 d3d12\_x.h\
**라이브러리:** d3d12\_xs.lib 또는 d3d12\_x.lib\
**지원 플랫폼**: XBOX Series 콘솔 및 XBOX One 제품군

## 함께 보기

[CD3DX12\_SHADER\_BYTECODE](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-shader-bytecode)

[핵심 구조체](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)
