Struct SceneEnvMap.EnvMapVisibility128 ​
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
128-bit bitmask tracking which environment maps are visible to a node.
csharp
public struct SceneEnvMap.EnvMapVisibility128Methods ​
GetFirstShaderIndex() ​
Returns the array index of the lowest env map set here, or zero when empty. Since
is assigned in indoor priority order, that is the highestpriority probe the node sees, which is what the legacy per batch cube map path binds. Ties resolve arbitrarily.
csharp
public readonly uint GetFirstShaderIndex()Returns ​
GetVisibleShaderIndices() ​
Returns an enumeration of shader indices for all env maps currently marked visible in this bitmask.
csharp
public readonly IEnumerable<int> GetVisibleShaderIndices()Returns ​
Store(List<SceneEnvMap>) ​
Sets the bits for each env map's in this bitmask and returns the result.
csharp
public SceneEnvMap.EnvMapVisibility128 Store(List<SceneEnvMap> envMaps)Parameters ​
envMaps List<SceneEnvMap>
Returns ​
SceneEnvMap.EnvMapVisibility128
ToTuple() ​
Returns the four 32-bit buckets of this bitmask as a value tuple.
csharp
public readonly (uint, uint, uint, uint) ToTuple()
