MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / setGlobalState

Method setGlobalState

Source/Falcor/Core/API/Resource.cpp:176–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void Resource::setGlobalState(State newState) const
177{
178 mState.isGlobal = true;
179 mState.global = newState;
180}
181
182void Resource::setSubresourceState(uint32_t arraySlice, uint32_t mipLevel, State newState) const
183{

Callers 3

subresourceBarriersMethod · 0.80
textureBarrierMethod · 0.80
bufferBarrierMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected