Custom Render Textures are an extension to Render Textures, enabling you to render directly to the Texture using a Shader.
Custom Render Textures are an extension to Render Textures allowing you easily to update the texture with a Shader and then use it in a regular Material. This is useful for implementing all kinds of complex simulations, for instance: water caustics, ripple simulations for rain effects, or splatting liquids against a wall. Also provided is a scripting and Shader framework to help with more complicated configurations like partial or multi-pass updates, and varying update frequency.
| cubemapFaceMask | Bitfield that allows to enable or disable update on each of the cubemap faces. Order from least significant bit is +X, -X, +Y, -Y, +Z, -Z. |
| doubleBuffered | If true, the Custom Render Texture is double buffered so that you can access it during its own update. otherwise the Custom Render Texture will be not be double buffered. |
| initializationColor | Color with which the Custom Render Texture is initialized. This parameter will be ignored if an initializationMaterial is set. |
| initializationMaterial | Material with which the Custom Render Texture is initialized. Initialization texture and color are ignored if this parameter is set. |
| initializationMode | Specify how the texture should be initialized. |
| initializationSource | Specify if the texture should be initialized with a Texture and a Color or a Material. |
| initializationTexture | Texture with which the Custom Render Texture is initialized (multiplied by the initialization color). This parameter will be ignored if an initializationMaterial is set. |
| material | Material with which the content of the Custom Render Texture is updated. |
| shaderPass | Shader Pass used to update the Custom Render Texture. |
| updateMode | Specify how the texture should be updated. |
| updateZoneSpace | Space in which the update zones are expressed (Normalized or Pixel space). |
| wrapUpdateZones | If true, Update zones will wrap around the border of the Custom Render Texture. Otherwise, Update zones will be clamped at the border of the Custom Render Texture. |
| CustomRenderTexture | Create a new Custom Render Texture. |
| ClearUpdateZones | Clear all Update Zones. |
| GetUpdateZones | Returns the list of Update Zones. |
| Initialize | Triggers an initialization of the Custom Render Texture. |
| SetUpdateZones | Setup the list of Update Zones for the Custom Render Texture. |
| Update | Triggers the update of the Custom Render Texture. |
| active | Currently active render texture. |
| currentTextureMemory | The amount of memory currently being used by textures. |
| desiredTextureMemory | This amount of texture memory would be used before the texture streaming budget is applied. |
| nonStreamingTextureCount | Number of non-streaming textures. |
| nonStreamingTextureMemory | Total amount of memory being used by non-streaming textures. |
| streamingMipmapUploadCount | How many times has a texture been uploaded due to texture mipmap streaming. |
| streamingRendererCount | Number of renderers registered with the texture streaming system. |
| streamingTextureCount | Number of streaming textures. |
| streamingTextureDiscardUnusedMips | Force the streaming texture system to discard all unused mipmaps immediately, rather than caching them until the texture memory budget is exceeded. |
| streamingTextureForceLoadAll | Force streaming textures to load all mipmap levels. |
| streamingTextureLoadingCount | Number of streaming textures with mipmaps currently loading. |
| streamingTexturePendingLoadCount | Number of streaming textures with outstanding mipmaps to be loaded. |
| targetTextureMemory | The amount of memory used by textures after the mipmap streaming and budget are applied and loading is complete. |