Api Sandbox RenderTextureAsset
class

RenderTextureAsset

public sealed class RenderTextureAsset : GameResource

Asset that owns a GPU render target texture which can be shared across runtime systems.

Constructors

RenderTextureAsset()

Properties

Name Type Description
Texture Texture
Size Vector2Int Resolution of the render target in pixels.
Format ImageFormat Color format used when building the render target. Unsupported formats fall back to RGBA8888.
ClearColor Color Optional clear colour applied when the texture is (re)created.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.RenderTextureAsset