RenderTextureDescriptor(number width, number height)
Create a RenderTextureDescriptor with default values.
Parameters:
Name | Type | Description |
---|---|---|
width | number | Width of the RenderTexture in pixels. |
height | number | Height of the RenderTexture in pixels. |
Usage
---@type number
local width;
---@type number
local height;
local rendertexturedescriptor = RenderTextureDescriptor(width, height);