Class RenderGraphBuilder | Project Tiny Rendering | 0.28.0-preview.40
docs.unity3d.com
    Show / Hide Table of Contents

    Class RenderGraphBuilder

    Inheritance
    Object
    RenderGraphBuilder
    Namespace: Unity.Tiny.Rendering
    Syntax
    public class RenderGraphBuilder : SystemBase

    Methods

    AddBlitter(Entity, Entity)

    Declaration
    public void AddBlitter(Entity eSourceNode, Entity eTargetNode)
    Parameters
    Type Name Description
    Entity eSourceNode
    Entity eTargetNode

    AddRenderToShadowMapForNode(Entity, Int32)

    Declaration
    public void AddRenderToShadowMapForNode(Entity eNode, int size)
    Parameters
    Type Name Description
    Entity eNode
    Int32 size

    AddRenderToTextureForNode(Entity, Int32, Int32, Boolean, Boolean)

    Declaration
    public void AddRenderToTextureForNode(Entity eNode, int w, int h, bool color, bool depth)
    Parameters
    Type Name Description
    Entity eNode
    Int32 w
    Int32 h
    Boolean color
    Boolean depth

    ComputeAutoScaleSize(Int32, Int32, Int32, out Int32, out Int32)

    Declaration
    public static void ComputeAutoScaleSize(int targetW, int targetH, int maxSize, out int bufferW, out int bufferH)
    Parameters
    Type Name Description
    Int32 targetW
    Int32 targetH
    Int32 maxSize
    Int32 bufferW
    Int32 bufferH

    CreateAllPasses(Int32, Int32, Entity, Entity)

    Declaration
    public void CreateAllPasses(int w, int h, Entity eCam, Entity eNode)
    Parameters
    Type Name Description
    Int32 w
    Int32 h
    Entity eCam
    Entity eNode

    CreateFrontBufferRenderNode(Int32, Int32)

    Declaration
    public Entity CreateFrontBufferRenderNode(int w, int h)
    Parameters
    Type Name Description
    Int32 w
    Int32 h
    Returns
    Type Description
    Entity

    CreateNodeEntity()

    Declaration
    protected Entity CreateNodeEntity()
    Returns
    Type Description
    Entity

    CreateRenderNodeFromCamera(Entity, Int32, Int32, Boolean)

    Declaration
    public Entity CreateRenderNodeFromCamera(Entity eCam, int w, int h, bool primary)
    Parameters
    Type Name Description
    Entity eCam
    Int32 w
    Int32 h
    Boolean primary
    Returns
    Type Description
    Entity

    CreateScreenToWorldChain(RenderPassType, ScreenToWorldId)

    Declaration
    protected Entity CreateScreenToWorldChain(RenderPassType rpt, ScreenToWorldId id)
    Parameters
    Type Name Description
    RenderPassType rpt
    ScreenToWorldId id
    Returns
    Type Description
    Entity

    FindNodeColorOutput(Entity)

    Declaration
    public Entity FindNodeColorOutput(Entity eNode)
    Parameters
    Type Name Description
    Entity eNode
    Returns
    Type Description
    Entity

    FindNodeWithComponent<T>()

    Declaration
    public Entity FindNodeWithComponent<T>()
    Returns
    Type Description
    Entity
    Type Parameters
    Name Description
    T

    FindPassOnNode(Entity, RenderPassType)

    Declaration
    public Entity FindPassOnNode(Entity node, RenderPassType pt)
    Parameters
    Type Name Description
    Entity node
    RenderPassType pt
    Returns
    Type Description
    Entity

    ForceRebuildRenderGraph()

    Declaration
    public void ForceRebuildRenderGraph()

    LinkNodes(Entity, Entity)

    Declaration
    public void LinkNodes(Entity eThisNode, Entity eDependsOnThis)
    Parameters
    Type Name Description
    Entity eThisNode
    Entity eDependsOnThis

    OnUpdate()

    Declaration
    protected override void OnUpdate()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023