Skip to main content

RenderTextureDescriptor(number width, number height)

Create a RenderTextureDescriptor with default values.

Parameters:

NameTypeDescription
widthnumberWidth of the RenderTexture in pixels.
heightnumberHeight of the RenderTexture in pixels.

Usage

---@type number
local width;

---@type number
local height;


local rendertexturedescriptor = RenderTextureDescriptor(width, height);