Render Target

From LuaSTG Wiki
Jump to navigation Jump to search
Basic Information
基本信息
基本情報
Name
名称
名前
Render Target
Type
类别
タイプ
Graphics
Applicable Version
适用版本
適用バージョン
LuaSTGPlus, LuaSTGExPlus, LuaSTG-x
Render target allows you to render a scene to a buffer (texture) instead of default buffer. It can be used for post-processing.
  • A render target will always be the same size as game resolution.
  • Note that a render target can be both input and output of rendering. Do input and output at the same time may cause error and the engine dose not check that.
渲染目标允许用户渲染场景到一个缓冲区(纹理)而非默认缓冲区。可用于后处理。
  • 渲染目标的尺寸总是与游戏分辨率相同。
  • 渲染目标既可以作为渲染输入也可以作为渲染输出。同时用作输入和输出可能导致错误,引擎并未对此进行检查。
Render target allows you to render a scene to a buffer (texture) instead of default buffer. It can be used for post-processing.
  • A render target will always be the same size as game resolution.
  • Note that a render target can be both input and output of rendering. Do input and output at the same time may cause error and the engine dose not check that.

See also[edit | edit source]

Wikipedia