enum TextureProcessor : System.Enum

robot_2Generated
code_blocksInput

Description

The TextureProcessor enumeration in the Editor.ShaderGraph namespace provides a set of predefined constants that specify various texture processing operations. These operations can be used to modify textures in different ways, such as scaling, normalizing, or converting color spaces.

Members

Static Fields

Member NameSummary
NoneNo processing is applied to the texture.
Mod2XCenterModifies the texture by centering it and applying a 2x modulation.
NormalizeNormalsNormalizes the normals in the texture.
FillToPowerOfTwoFills the texture to the nearest power of two dimensions.
FillToMultipleOfFourFills the texture to dimensions that are a multiple of four.
ScaleToPowerOfTwoScales the texture to the nearest power of two dimensions.
HeightToNormalConverts a height map texture to a normal map.
InverseInverts the colors of the texture.
ConvertToYCoCgConverts the texture to the YCoCg color space.
DilateColorInTransparentPixelsDilates the color into transparent pixels in the texture.
EncodeRGBMEncodes the texture using the RGBM format.