Header menu logo Mibo

IRenderTargetPool Type

Render target pool interface for efficient render target reuse.

Instance members

Instance member Description

this.Acquire

Full Usage: this.Acquire

Parameters:
Returns: RenderTarget2D A RenderTarget2D matching the specification.
Modifiers: abstract

Acquire a render target matching the specification. Returns an existing pooled RT if available, or creates a new one.

arg0 : RenderTargetSpec
Returns: RenderTarget2D

A RenderTarget2D matching the specification.

this.ReleaseAll

Full Usage: this.ReleaseAll

Modifiers: abstract

Release all currently-acquired render targets back to the pool. Should be called once per frame to recycle targets for reuse.

Type something to start searching.