RenderTargetclass

Essentially wraps a couple of textures that we're going to render to. The color texture and the depth texture.

objectRenderTarget
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.RenderTarget

Methods4

Showing 4 methods

public virtual sealed void Dispose()PUBLICVIRTUAL

Stop using this texture, return it to the pool

Returns:void

Properties4

Showing 4 properties

public int Sandbox.RenderTarget.Height { get; set; }PUBLICGETSET

Height of the render target

Returns:int

public int Sandbox.RenderTarget.Width { get; set; }PUBLICGETSET

Width of the render target

Returns:int

On this page