421 B
421 B
D3D12ResourceView::CreateDepthStencilDesc
static D3D12_DEPTH_STENCIL_VIEW_DESC CreateDepthStencilDesc(
Format format,
D3D12_DSV_DIMENSION dimension);
作用
快速构造一个最小可用的 DSV desc。
当前实现行为
- 只填写
Format与ViewDimension。 - 其他联合体字段保持零初始化。