interface IRenderFeatureProvider (Niantic.ARDK.Rendering.IRenderFeatureProvider)

Overview

A component that supplies the renderer with additional information to render an ARFrame. More...

interface IRenderFeatureProvider {
    // properties

    ISet<string> Features;
    RenderTarget? Target;

    // events

    event ActiveFeaturesChanged();

    // methods

    void UpdateRenderState(Material material);
};

// direct descendants

class ARRenderFeatureProvider;

Detailed Documentation

A component that supplies the renderer with additional information to render an ARFrame.

Properties

ISet<string> Features

A set of all render features this provider may enable or disable.

RenderTarget? Target

The active render target of this provider.

Events

event ActiveFeaturesChanged()

Invoked when the provider reconfigured its active features.

Methods

void UpdateRenderState(Material material)

Updates the provided material with additional information this component is responsible of providing.