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

> Describe los datos del sombreador. (D3D12_SHADER_BYTECODE)

Describe los datos del sombreador.

## Sintaxis

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

### Miembros

*pShaderBytecode*\
Tipo: const void \*

Un puntero a un bloque de memoria que contiene los datos del sombreador.

*BytecodeLength*\
Tipo: SIZE\_T

El tamaño, en bytes, de los datos del sombreador a los que apunta el miembro **pShaderBytecode**.

## Comentarios

Los objetos [D3D12\_GRAPHICS\_PIPELINE\_STATE\_DESC](/reference/graphics/d3d12_x/structs/d3d12_graphics_pipeline_state_desc) y [D3D12\_COMPUTE\_PIPELINE\_STATE\_DESC](/reference/graphics/d3d12/structs/d3d12_compute_pipeline_state_desc_public) contienen estructuras **D3D12\_SHADER\_BYTECODE** que describen varios tipos de sombreadores.

Al cargar un sombreador desde FXC/DXC, esto puede ser el blob compilado completo tal como se carga desde el disco.

## Requisitos

**Encabezado:** d3d12\_xs.h o d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib o d3d12\_x.lib\
**Plataformas compatibles**: consolas XBOX Series y familia XBOX One

## Consulte también

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

[Estructuras principales](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [D3D12_COMPUTE_PIPELINE_STATE_DESC](/es/reference/graphics/d3d12/structs/d3d12_compute_pipeline_state_desc_public.md)
- [D3D12_DXIL_LIBRARY_DESC (consolas XBOX Series)](/es/reference/graphics/d3d12/structs/d3d12_dxil_library_desc_public.md)
- [D3D12_SHADER_VISIBILITY](/es/reference/graphics/d3d12/enums/d3d12_shader_visibility_public.md)
- [D3D12_SHADER_COMPONENT_MAPPING](/es/reference/graphics/d3d12/enums/d3d12_shader_component_mapping_public.md)
- [D3D12_SHADER_CACHE_FLAGS](/es/reference/graphics/d3d12/enums/d3d12_shader_cache_flags_public.md)
