Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.02 KB

ns-d3d12-d3d12_shader_bytecode.md

File metadata and controls

75 lines (60 loc) · 2.02 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:d3d12.D3D12_SHADER_BYTECODE
D3D12_SHADER_BYTECODE (d3d12.h)
Describes shader data. (D3D12_SHADER_BYTECODE)
D3D12_SHADER_BYTECODE
D3D12_SHADER_BYTECODE structure
d3d12/D3D12_SHADER_BYTECODE
direct3d12.d3d12_shader_bytecode
direct3d12\d3d12_shader_bytecode.htm
direct3d12
E2195755-A0C2-4824-A2EB-553F7909847F
12/05/2018
D3D12_SHADER_BYTECODE, D3D12_SHADER_BYTECODE structure, d3d12/D3D12_SHADER_BYTECODE, direct3d12.d3d12_shader_bytecode
d3d12.h
Windows
Windows
D3D12_SHADER_BYTECODE
19H1
D3D12_SHADER_BYTECODE
d3d12/D3D12_SHADER_BYTECODE
c++
APIRef
kbSyntax
HeaderDef
D3D12.h
D3D12_SHADER_BYTECODE

D3D12_SHADER_BYTECODE structure

-description

Describes shader data.

-struct-fields

-field pShaderBytecode

A pointer to a memory block that contains the shader data.

-field BytecodeLength

The size, in bytes, of the shader data that the pShaderBytecode member points to.

-remarks

The D3D12_GRAPHICS_PIPELINE_STATE_DESC and D3D12_COMPUTE_PIPELINE_STATE_DESC objects contain D3D12_SHADER_BYTECODE structures that describe various shader types.

When loading a shader from FXC/DXC, this may be the entire compiled blob as is loaded from disk.

-see-also

CD3DX12_SHADER_BYTECODE

Core Structures