menu_bookDocumentation
s&box PostProcessGroup: Post-process categories
PostProcessGroup Enum Documentation
PostProcessGroup is an enum that categorizes post-processing effects for organization in the spawn menu and asset browser. It is used by PostProcessResource to group similar effects together.
Type Signature
CSHARP
public enum PostProcessGroup
{
Effects,
Overlay,
Shaders,
Textures,
Misc
}Values
- Effects - General post-processing effects like color grading, bloom, or vignette.
- Overlay - Screen overlay effects like film grain, scanlines, or noise.
- Shaders - Custom shader-based post-processing effects.
- Textures - Texture-based effects like screen space reflections or ambient occlusion.
- Misc - Miscellaneous post-processing effects that don't fit other categories.
Usage
CSHARP
public class PostProcessResource : GameResource, IDefinitionResource
{
[Property]
public PostProcessGroup Group { get; set; } = PostProcessGroup.Misc;
}Notes
- Used by PostProcessResource for categorization in the asset browser
- Default value is Misc
- Helps organize post-processing effects in the spawn menu UI
- Categories are displayed as tabs or sections in the post-process selector
Was this helpful?