using UnityEngine;
using System.Collections;
public class ExampleClass : MonoBehaviour
{
public RenderTexture rt;
void Start()
{
rt = new RenderTexture(256, 256, 16, RenderTextureFormat.ARGB32);
rt.Create();
}
}
unity动态生成render texture
最新推荐文章于 2023-07-27 11:50:57 发布