Struct DynamicStateScope ​
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Sets for its scope and restores the previous values on dispose.
csharp
public readonly ref struct DynamicStateScopeConstructors ​
DynamicStateScope(RenderStateTracker, scoped in DynamicState) ​
Sets state until the scope is disposed.
csharp
public DynamicStateScope(RenderStateTracker tracker, scoped in DynamicState state)Parameters ​
tracker RenderStateTracker
state DynamicState
Methods ​
Dispose() ​
Restores the previous dynamic state.
csharp
public void Dispose()
