MCPcopy Create free account
hub / github.com/TheRealMJP/DXRPathTracer / BuildDesc

Method BuildDesc

SampleFramework12/v1.02/Graphics/DXRHelper.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void StateObjectBuilder::BuildDesc(D3D12_STATE_OBJECT_TYPE type, D3D12_STATE_OBJECT_DESC& desc)
52{
53 desc.Type = type;
54 desc.NumSubobjects = uint32(NumSubObjects);
55 desc.pSubobjects = NumSubObjects ? SubObjects.Data() : nullptr;
56}
57
58ID3D12StateObject* StateObjectBuilder::CreateStateObject(D3D12_STATE_OBJECT_TYPE type)
59{

Callers

nothing calls this directly

Calls 1

DataMethod · 0.45

Tested by

no test coverage detected