RenderTarget

Description

abstract class Tinman.Engine.Rendering.RenderTarget

Abstract base class for IRenderTarget implementations.

Public / Methods

Translate​Format


[Pure]
public static method TranslateFormat → (1)

format in : RenderTargetFormat

The render target format.

returns → TextureFormat

The texture format.

Translates the given render target format into a texture format.

Public / Attributes

Formats


public static attribute Formats → (get)

value : RenderTargetFormat [ ]

The color/depth formats.

Returns an array of RenderTargetFormat values for the color and depth formats, in the order or their declaration.

Protected / Constructors

Render​Target


protected constructor RenderTarget → (2)

size in : Vec2I

The value for IRenderTarget.Size.

format in : RenderTargetFormat

The value for IRenderTarget.Format.

Creates a new instance of RenderTarget.