asset.party
key api Reference event History person Log In
home
Api Reference
Sandbox
RenderTarget
From(Texture,Texture)
classRenderTarget
Constructorsnote_add RenderTarget()
Propertiesdata_object ColorTargetdata_object DepthTargetdata_object Heightdata_object Width
Methodspush_pin From( color, depth ) push_pin GetTemporary( width, height, colorFormat, depthFormat, msaa, numMips ) push_pin GetTemporary( sizeFactor, colorFormat, depthFormat, msaa, numMips ) push_pin GetTemporary( width, height, colorFormat, depthFormat, msaa ) push_pin GetTemporary( sizeFactor, colorFormat, depthFormat, msaa ) integration_instructions Dispose() integration_instructions ToString()
From
Sandbox.Engine
static RenderTarget From( Texture color, Texture depth = null, )

Summary

Create a render target from these textures

Parameters

Texture color,
Texture depth = null,

Return Value

RenderTarget output
s&box stuff Blog Forum Discord Twitter
dev resources Wiki Bug Report Feature Request