attribute [format]

Description

Specify the storage format of a read-write texture. Can only be used on a texture typed struct field or global parameter.

Signature

[format(format : String)]

Parameters

format : String

The storage format of the texture.

See also

Please refer to _Texture for a complete list of allowed format strings.