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
最新推荐文章于 2024-09-26 08:01:47 发布
关键词由CSDN通过智能技术生成