using UnityEngine;
using System.Collections;
public class ExampleClass : MonoBehaviour {
public RenderTexture rt;
void Start() {
rt = new RenderTexture(256, 256, 16, RenderTextureFormat.ARGB32);
rt.Create();
}
}
using UnityEngine;
using System.Collections;
public class ExampleClass : MonoBehaviour {
public RenderTexture rt;
void Start() {
rt = new RenderTexture(256, 256, 16, RenderTextureFormat.ARGB32);
rt.Create();
}
}