SceneLayerType EffectsOpaque

robot_2Generated
code_blocksInput

Description

The EffectsOpaque field is a member of the SceneLayerType enumeration in the Sandbox API. It represents a layer type used for rendering opaque effects on a 1/4 texture. This is typically used in scenarios where effects need to be rendered with full opacity, ensuring that they are not see-through and are rendered in a specific layer order.

Usage

Use the EffectsOpaque field when you need to specify that a particular effect should be rendered as an opaque layer. This is useful in graphics programming within the Sandbox environment where different rendering passes are required for various visual effects.

Example

// Example of using SceneLayerType.EffectsOpaque

public void RenderEffect()
{
    SceneLayerType layerType = SceneLayerType.EffectsOpaque;
    // Use layerType in rendering logic
    // This ensures the effect is rendered as an opaque layer
}