Contents

TextureResource.Semantic.scalar

Use the texture to store a single value in each pixel.

Declaration

case scalar

Discussion

Properties that specify a semantic of scalar use the texture to store a single floating point value in each pixel. If the texture’s source is an RGB image, the property uses only the red channel value.

See Also

Specifying intended use