API ReferenceSandbox
public sealed class Sandbox.RenderTextureAsset : Sandbox.GameResource
Asset that owns a GPU render target texture which can be shared across runtime systems.
Constructors
Showing 1 constructors
public RenderTextureAsset()
No results match this filter.
Properties
Showing 4 properties
public Color Sandbox.RenderTextureAsset.ClearColor { get; set; }
Optional clear colour applied when the texture is (re)created.
public Sandbox.ImageFormat Sandbox.RenderTextureAsset.Format { get; set; }
Color format used when building the render target. Unsupported formats fall back to RGBA8888.
public Vector2Int Sandbox.RenderTextureAsset.Size { get; set; }
Resolution of the render target in pixels.
public Sandbox.Texture Sandbox.RenderTextureAsset.Texture { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.RenderTextureAsset |