MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetState

Method SetState

Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp:1413–1420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1411}
1412
1413void GPUContextVulkan::SetState(GPUPipelineState* state)
1414{
1415 if (_currentState != state)
1416 {
1417 _currentState = static_cast<GPUPipelineStateVulkan*>(state);
1418 _psDirtyFlag = true;
1419 }
1420}
1421
1422void GPUContextVulkan::ResetState()
1423{

Callers 15

RenderLUTMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMotionVectorsMethod · 0.45
RenderDebugMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderLightsMethod · 0.45
RenderRadialLightMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected