- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
31 lines
424 B
Markdown
31 lines
424 B
Markdown
# D3D12Shader::GetBytecode
|
|
|
|
## 函数签名
|
|
|
|
```cpp
|
|
const void* GetBytecode() const
|
|
```
|
|
|
|
## 中文描述
|
|
|
|
获取着色器字节码数据指针。
|
|
|
|
## 返回值
|
|
|
|
`const void*` - 字节码数据指针
|
|
|
|
## 复杂度
|
|
|
|
O(1)
|
|
|
|
## 示例
|
|
|
|
```cpp
|
|
const void* bytecode = shader->GetBytecode();
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [D3D12Shader](shader.md) - 类总览
|
|
- [D3D12Shader::GetBytecodeSize](get-bytecode-size.md) - 获取字节码大小
|