Class InstancedRenderMeshBatchGroup | Hybrid Renderer | 0.4.2-preview.16
docs.unity3d.com
    Show / Hide Table of Contents

    Class InstancedRenderMeshBatchGroup

    Inheritance
    Object
    InstancedRenderMeshBatchGroup
    Namespace: Unity.Rendering
    Syntax
    public class InstancedRenderMeshBatchGroup

    Constructors

    InstancedRenderMeshBatchGroup(EntityManager, ComponentSystemBase, EntityQuery)

    Declaration
    public InstancedRenderMeshBatchGroup(EntityManager entityManager, ComponentSystemBase componentSystem, EntityQuery cullingJobDependencyGroup)
    Parameters
    Type Name Description
    EntityManager entityManager
    ComponentSystemBase componentSystem
    EntityQuery cullingJobDependencyGroup

    Fields

    LastUpdatedOrderVersion

    Declaration
    public int LastUpdatedOrderVersion
    Field Value
    Type Description
    Int32

    Methods

    AddBatch(FrozenRenderSceneTag, Int32, Int32, NativeArray<ArchetypeChunk>, NativeArray<Int32>, Int32, Int32, Boolean, EditorRenderData)

    Declaration
    public void AddBatch(FrozenRenderSceneTag tag, int rendererSharedComponentIndex, int batchInstanceCount, NativeArray<ArchetypeChunk> chunks, NativeArray<int> sortedChunkIndices, int startSortedIndex, int chunkCount, bool flippedWinding, EditorRenderData data)
    Parameters
    Type Name Description
    FrozenRenderSceneTag tag
    Int32 rendererSharedComponentIndex
    Int32 batchInstanceCount
    NativeArray<ArchetypeChunk> chunks
    NativeArray<Int32> sortedChunkIndices
    Int32 startSortedIndex
    Int32 chunkCount
    Boolean flippedWinding
    EditorRenderData data

    AllocLocalId()

    Declaration
    public int AllocLocalId()
    Returns
    Type Description
    Int32

    BeginBatchGroup()

    Declaration
    public void BeginBatchGroup()

    Clear()

    Declaration
    public void Clear()

    CompleteJobs()

    Declaration
    public void CompleteJobs()

    Dispose()

    Declaration
    public void Dispose()

    EndBatchGroup(FrozenRenderSceneTag, NativeArray<ArchetypeChunk>, NativeArray<Int32>)

    Declaration
    public void EndBatchGroup(FrozenRenderSceneTag tag, NativeArray<ArchetypeChunk> chunks, NativeArray<int> sortedChunkIndices)
    Parameters
    Type Name Description
    FrozenRenderSceneTag tag
    NativeArray<ArchetypeChunk> chunks
    NativeArray<Int32> sortedChunkIndices

    FreeLocalId(Int32)

    Declaration
    public void FreeLocalId(int id)
    Parameters
    Type Name Description
    Int32 id

    OnPerformCulling(BatchRendererGroup, BatchCullingContext)

    Declaration
    public JobHandle OnPerformCulling(BatchRendererGroup rendererGroup, BatchCullingContext cullingContext)
    Parameters
    Type Name Description
    BatchRendererGroup rendererGroup
    BatchCullingContext cullingContext
    Returns
    Type Description
    JobHandle

    RemoveTag(FrozenRenderSceneTag)

    Declaration
    public void RemoveTag(FrozenRenderSceneTag tag)
    Parameters
    Type Name Description
    FrozenRenderSceneTag tag

    ResetLod()

    Declaration
    public void ResetLod()
    In This Article
    • Constructors
      • InstancedRenderMeshBatchGroup(EntityManager, ComponentSystemBase, EntityQuery)
    • Fields
      • LastUpdatedOrderVersion
    • Methods
      • AddBatch(FrozenRenderSceneTag, Int32, Int32, NativeArray<ArchetypeChunk>, NativeArray<Int32>, Int32, Int32, Boolean, EditorRenderData)
      • AllocLocalId()
      • BeginBatchGroup()
      • Clear()
      • CompleteJobs()
      • Dispose()
      • EndBatchGroup(FrozenRenderSceneTag, NativeArray<ArchetypeChunk>, NativeArray<Int32>)
      • FreeLocalId(Int32)
      • OnPerformCulling(BatchRendererGroup, BatchCullingContext)
      • RemoveTag(FrozenRenderSceneTag)
      • ResetLod()
    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