IsCreated()
Is the render texture actually created?
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool IsCreated()
Returns
Type | Description |
|---|---|
| bool |
Remarks
RenderTexture constructor does not actually create the hardware texture; by default the texture is created the first time it is set RenderTexture.active. returns true if the hardware resources for this render are created.
IsCreatedAdditional Resources: RenderTexture.Create, RenderTexture.Release functions.