TextureFeature

Edit

These are the different ways Texture objects can be used. These are passed in to lovr.graphics.isFormatSupported to see which texture operations are supported by the GPU for a given format.

ValueDescription
sample The Texture can be sampled (e.g. used in a Material or sent to a texture2D variable in shaders).
render The Texture can used as a canvas in a Pass.
storage The Texture can be sent to a storage image variable in shaders (e.g. image2D).
blit The Texture can be used with Pass:blit and Pass:generateMipmaps.

See also