docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.XR.CompositionLayers.Extensions

    Classes

    ColorScaleBiasExtension

    Subclass of CompositionLayerExtension to support color scaling and biasing for the CompositionLayer instance on the same game object.

    Support for this component is up the the instance of ILayerProvider currently assigned to the CompositionLayerManager.

    If this extension is not added to a layer game object, it is expected that the provider will assume no color scale/bias is to be applied.

    HDRTonemappingExtension

    Subclass of CompositionLayerExtension to support color scaling and biasing for the CompositionLayer instance on the same game object.

    Support for this component is up the the instance of ILayerProvider currently assigned to the CompositionLayerManager.

    If this extension is not added to a layer game object, it is expected that the provider will assume no color scale/bias is to be applied.

    TexturesExtension

    Subclass of CompositionLayerExtension to support defining textures, and the rects for rendering those textures for a CompositionLayer instance on the same game object.

    Source rect is used to define the rectangle within the source texture that the layer provider should use when reading texture information for the layer.

    Destination rect is used to define the rectangle within the source texture that the layer provider should use when writing texture information for the layer.

    Support for this component is up the the instance of ILayerProvider currently assigned to the CompositionLayerManager.

    If this extension is not added to a layer game object, it is expected that the provider will provide the necessary textures in some other way. This may occur in cases such as the rendering of protected content.

    Enums

    TexturesExtension.SourceTextureEnum

    Source Texture enumeration.

    TexturesExtension.TargetEyeEnum

    Target eye enumeration.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)