Skip to content

Instantly share code, notes, and snippets.

@johnseabird
johnseabird / Usage.cs
Created August 30, 2024 17:08 — forked from ArieLeo/Usage.cs
DrawMeshInstancedIndirect with ShaderGraph and URP
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
class Render : MonoBehaviour
{
struct DrawData
{
public Vector3 Pos;
public Quaternion Rot;