{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class EntitiesGraphicsSystem | Entities Graphics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EntitiesGraphicsSystem

    Renders all entities that contain both RenderMesh and LocalToWorld components.

    Inheritance
    object
    ComponentSystemBase
    SystemBase
    EntitiesGraphicsSystem
    Inherited Members
    SystemBase.CompleteDependency()
    SystemBase.Update()
    SystemBase.OnUpdate()
    SystemBase.HasBuffer<T>(Entity)
    SystemBase.GetComponentLookup<T>(bool)
    SystemBase.GetBufferLookup<T>(bool)
    SystemBase.GetEntityStorageInfoLookup()
    SystemBase.Dependency
    SystemBase.CheckedStateRef
    SystemBase.Entities
    SystemBase.Job
    ComponentSystemBase.OnCreate()
    ComponentSystemBase.OnStartRunning()
    ComponentSystemBase.OnStopRunning()
    ComponentSystemBase.OnDestroy()
    ComponentSystemBase.ShouldRunSystem()
    ComponentSystemBase.GetComponentTypeHandle<T>(bool)
    ComponentSystemBase.GetDynamicComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetBufferTypeHandle<T>(bool)
    ComponentSystemBase.GetSharedComponentTypeHandle<T>()
    ComponentSystemBase.GetDynamicSharedComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetEntityTypeHandle()
    ComponentSystemBase.RequireForUpdate(EntityQuery)
    ComponentSystemBase.RequireAnyForUpdate(params EntityQuery[])
    ComponentSystemBase.RequireAnyForUpdate(NativeArray<EntityQuery>)
    ComponentSystemBase.RequireForUpdate<T>()
    ComponentSystemBase.GetEntityQuery(params ComponentType[])
    ComponentSystemBase.GetEntityQuery(NativeArray<ComponentType>)
    ComponentSystemBase.GetEntityQuery(params EntityQueryDesc[])
    ComponentSystemBase.GetEntityQuery(in EntityQueryBuilder)
    ComponentSystemBase.Enabled
    ComponentSystemBase.EntityQueries
    ComponentSystemBase.GlobalSystemVersion
    ComponentSystemBase.LastSystemVersion
    ComponentSystemBase.EntityManager
    ComponentSystemBase.World
    ComponentSystemBase.SystemHandle
    ComponentSystemBase.WorldUpdateAllocator
    Namespace: Unity.Rendering
    Assembly: solution.dll
    Syntax
    [WorldSystemFilter(WorldSystemFilterFlags.Default|WorldSystemFilterFlags.Editor, WorldSystemFilterFlags.Default)]
    [UpdateInGroup(typeof(PresentationSystemGroup))]
    [UpdateAfter(typeof(UpdatePresentationSystemGroup))]
    [BurstCompile]
    public class EntitiesGraphicsSystem : SystemBase

    Properties

    Name Description
    EntitiesGraphicsEnabled

    Toggles the activation of EntitiesGraphicsSystem.

    MaxBytesPerBatch

    The maximum GPU buffer size (in bytes) that a batch can access.

    Methods

    Name Description
    GetMaterial(BatchMaterialID)

    Returns the Material that corresponds to the given registered material ID, or null if no such material exists.

    GetMesh(BatchMeshID)

    Returns the Mesh that corresponds to the given registered mesh ID, or null if no such mesh exists.

    RegisterMaterial(Material)

    Registers a material with the Entities Graphics System.

    RegisterMaterialPropertyType(Type, string, short)

    Registers a material property type with the given name.

    RegisterMaterialPropertyType<T>(string, short)

    A templated version of the material type registration method.

    RegisterMesh(Mesh)

    Registers a mesh with the Entities Graphics System.

    UnregisterMaterial(BatchMaterialID)

    Unregisters a material from the Entities Graphics System.

    UnregisterMesh(BatchMeshID)

    Unregisters a mesh from the Entities Graphics System.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)