Class ShadowContext | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ShadowContext

    Inheritance
    System.Object
    ShadowContextStorage
    ShadowContext
    ShadowManager.ShadowContextAccess
    Inherited Members
    ShadowContextStorage.RequestTex2DArraySlot()
    ShadowContextStorage.RequestTexCubeArraySlot()
    ShadowContextStorage.RequestSamplerSlot(SamplerState)
    ShadowContextStorage.RequestSamplerSlot(ComparisonSamplerState)
    ShadowContextStorage.SetTex2DArraySlot(UInt32, RenderTargetIdentifier)
    ShadowContextStorage.SetTexCubeArraySlot(UInt32, RenderTargetIdentifier)
    ShadowContextStorage.m_ShadowDatas
    ShadowContextStorage.m_Payloads
    ShadowContextStorage.m_Tex2DArray
    ShadowContextStorage.m_TexCubeArray
    ShadowContextStorage.m_CompSamplers
    ShadowContextStorage.m_Samplers
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    public class ShadowContext : ShadowContextStorage

    Constructors

    ShadowContext(ref ShadowContext.CtxtInit)

    Declaration
    public ShadowContext(ref ShadowContext.CtxtInit initializer)
    Parameters
    Type Name Description
    ShadowContext.CtxtInit initializer

    Methods

    BindResources(CommandBuffer, ComputeShader, Int32)

    Declaration
    public void BindResources(CommandBuffer cb, ComputeShader computeShader, int computeKernel)
    Parameters
    Type Name Description
    CommandBuffer cb
    ComputeShader computeShader
    System.Int32 computeKernel

    ClearData()

    Declaration
    public void ClearData()

    GetComparisonSamplerArrays(out ComparisonSamplerState[], out UInt32, out UInt32)

    Declaration
    public void GetComparisonSamplerArrays(out ComparisonSamplerState[] compSamplers, out uint offset, out uint count)
    Parameters
    Type Name Description
    ComparisonSamplerState[] compSamplers
    System.UInt32 offset
    System.UInt32 count

    GetPayloads(out ShadowPayload[], out UInt32, out UInt32)

    Declaration
    public void GetPayloads(out ShadowPayload[] payloads, out uint offset, out uint count)
    Parameters
    Type Name Description
    ShadowPayload[] payloads
    System.UInt32 offset
    System.UInt32 count

    GetSamplerArrays(out SamplerState[], out UInt32, out UInt32)

    Declaration
    public void GetSamplerArrays(out SamplerState[] samplerArrays, out uint offset, out uint count)
    Parameters
    Type Name Description
    SamplerState[] samplerArrays
    System.UInt32 offset
    System.UInt32 count

    GetShadowDatas(out ShadowData[], out UInt32, out UInt32)

    Declaration
    public void GetShadowDatas(out ShadowData[] shadowDatas, out uint offset, out uint count)
    Parameters
    Type Name Description
    ShadowData[] shadowDatas
    System.UInt32 offset
    System.UInt32 count

    GetTex2DArrays(out RenderTargetIdentifier[], out UInt32, out UInt32)

    Declaration
    public void GetTex2DArrays(out RenderTargetIdentifier[] tex2DArrays, out uint offset, out uint count)
    Parameters
    Type Name Description
    RenderTargetIdentifier[] tex2DArrays
    System.UInt32 offset
    System.UInt32 count

    GetTexCubeArrays(out RenderTargetIdentifier[], out UInt32, out UInt32)

    Declaration
    public void GetTexCubeArrays(out RenderTargetIdentifier[] texCubeArrays, out uint offset, out uint count)
    Parameters
    Type Name Description
    RenderTargetIdentifier[] texCubeArrays
    System.UInt32 offset
    System.UInt32 count

    SyncData()

    Declaration
    public void SyncData()
    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