Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Creating a renderer with the BatchRendererGroup API in URP

A section that explains how to use BRG to create a simple custom renderer.
Read time 1 minuteLast updated a month ago

This section of the documentation explains how to use BatchRendererGroup (BRG) to create a renderer.

Topic

Description

Initialize a BatchRendererGroup objectExplains how to initialize a BatchRendererGroup object with a minimal OnPerformCulling callback.
Register meshes and materialsExplains how to register meshes and materials so you can use them in a renderer.
Create batchesExplains how to create batches of instance data that describe what to render.
Create draw commandsExplains how to create draw commands and complete your simple renderer.