MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / ~GraphicsStateObject

Method ~GraphicsStateObject

Source/Falcor/Core/API/GraphicsStateObject.cpp:229–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227ref<DepthStencilState> GraphicsStateObject::spDefaultDepthStencilState;
228
229GraphicsStateObject::~GraphicsStateObject()
230{
231 mpDevice->releaseResource(mGfxPipelineState);
232 mpDevice->releaseResource(mpGFXRenderPassLayout);
233}
234
235GraphicsStateObject::GraphicsStateObject(ref<Device> pDevice, const GraphicsStateObjectDesc& desc) : mpDevice(pDevice), mDesc(desc)
236{

Callers

nothing calls this directly

Calls 1

releaseResourceMethod · 0.80

Tested by

no test coverage detected