Preparing search index...

    Enumeration TextureUsage

    Texture capabilities that can be queried for a TextureFormat with DeviceInfoSystem#isFormatSupported. The values are flags, so combine them with the bitwise OR operator to require several capabilities at once.

    Lens Scripting Version 375

    var usage = TextureUsage.Render | TextureUsage.Filter;
    print(global.deviceInfoSystem.isFormatSupported(TextureFormat.RGBA16Float, usage));
    Index

    Enumeration Members

    Enumeration Members

    Filter: number

    The format supports linear filtering when sampled.

    Lens Scripting Version 375

    Mipmap: number

    Mipmaps can be generated for the format.

    Lens Scripting Version 375

    Render: number

    The format can be used as a render target.

    Lens Scripting Version 375