Api DownsampleMethod
enum

DownsampleMethod

public sealed enum DownsampleMethod : Enum

Which method to use when downsampling a texture

Enum Values

Name Value Description
Box Uses a box filter to downsample the texture
GaussianBlur Uses a gaussian filter to downsample the texture
GaussianBorder Uses a gaussian filter to downsample the texture, applies border to not oversample edges
Max Downsamples the texture using a max operator filter ( brightest pixel )
Min Downsamples the texture using a min operator filter ( darkest pixel )
MinMax Downsamples the texture in red and green channels using a Min/Max filter ( darkest and brightest pixel )
Default
None
Assembly: Sandbox.Engine Declaring Type: Graphics Full Name: Sandbox.Graphics.DownsampleMethod