MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / CreateInputLayout

Method CreateInputLayout

projects/WinDurango.D3D11X/src/ID3D11Device.cpp:404–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402 &pView);
403 }
404 else if (Type == D3D11_RESOURCE_DIMENSION_TEXTURE2D)
405 {
406 hr = m_pFunction->CreateDepthStencilView(static_cast<D3D11Texture2D<ABI> *>(pResource)->m_pFunction, pDesc,
407 &pView);
408 }
409 else if (Type == D3D11_RESOURCE_DIMENSION_TEXTURE3D)
410 {
411 hr = m_pFunction->CreateDepthStencilView(static_cast<D3D11Texture3D<ABI> *>(pResource)->m_pFunction, pDesc,
412 &pView);
413 }
414 else if (Type == D3D11_RESOURCE_DIMENSION_UNKNOWN)
415 {
416 hr = m_pFunction->CreateDepthStencilView(static_cast<D3D11Resource<ABI> *>(pResource)->m_pFunction, pDesc,
417 &pView);
418 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected