Renders.CreateRenderTargetTextureEx(string, number, number, number = RT_SIZE_DEFAULT, number = MATERIAL_RT_DEPTH_SHARED, number = TEXTUREFLAGS_CLAMPS | TEXTUREFLAGS_CLAMPT, number = 0, number = IMAGE_FORMAT_RGBA8888)
client
Arguments
- name string
- width number
- height number
- Optional sizeMode number RT_SIZE_DEFAULT
- Optional depthMode number MATERIAL_RT_DEPTH_SHARED
- Optional textureFlags number TEXTUREFLAGS_CLAMPS | TEXTUREFLAGS_CLAMPT
- Optional renderTargetFlags number 0
- Optional imageFormat number IMAGE_FORMAT_RGBA8888
Returns
- Texture The created render target texture.
Examples
Renders.CreateRenderTargetTextureEx – Create a new render target texture.