RenderTexture(RenderTextureDescriptor desc)
Parameters:
Name | Type | Description |
---|---|---|
desc | RenderTextureDescriptor | Create the RenderTexture with the settings in the RenderTextureDescriptor. |
Usage
---@type RenderTextureDescriptor
local desc;
local rendertexture = RenderTexture(desc);