@nativescript-community/ui-massifmaps
    Preparing search index...

    Interface PostProcessEffectOptions

    A full-screen fragment shader the renderer runs on the finished frame.

    The SDK provides the mechanism - an offscreen colour buffer, optionally the packed terrain depth, and named float/colour parameters - and the application provides the look, as a shader string. Install one with map.setPostProcessEffect(effect), and map.setPostProcessEffect(null) to take it off again.

    The shader always sees uColorTex, uInvScreenSize, uProjInvScale and uFar; uTerrainDepthTex only exists when terrainDepthRequired is set.

    interface PostProcessEffectOptions {
        fragmentShader: string;
        name: string;
    }
    Index

    Properties

    Properties

    fragmentShader: string

    the fragment shader source, void main(void) and all

    name: string

    identifies the effect to the renderer; a new name forces a shader rebuild