OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::ScopedRenderTarget2D Class Reference

2D 描画レンダーターゲット設定スコープオブジェクト More...

#include <ScopedRenderTarget2D.hpp>

Inherits s3d::Uncopyable.

Public Member Functions

SIV3D_NODISCARD_CXX20 ScopedRenderTarget2D ()=default
 デフォルトコンストラクタ More...
 
SIV3D_NODISCARD_CXX20 ScopedRenderTarget2D (const Optional< RenderTexture > &rt)
 2D 描画レンダーターゲット設定スコープオブジェクトを作成します。 More...
 
SIV3D_NODISCARD_CXX20 ScopedRenderTarget2D (ScopedRenderTarget2D &&other) noexcept
 ムーブコンストラクタ More...
 
 ~ScopedRenderTarget2D ()
 デストラクタ More...
 

Detailed Description

2D 描画レンダーターゲット設定スコープオブジェクト

Remarks
このオブジェクトが存在するスコープでは、2D 描画のレンダーターゲットとして、デフォルトのシーンではなく指定したレンダーテクスチャが使用されます。

Constructor & Destructor Documentation

◆ ScopedRenderTarget2D() [1/3]

SIV3D_NODISCARD_CXX20 s3d::ScopedRenderTarget2D::ScopedRenderTarget2D ( )
default

デフォルトコンストラクタ

◆ ScopedRenderTarget2D() [2/3]

SIV3D_NODISCARD_CXX20 s3d::ScopedRenderTarget2D::ScopedRenderTarget2D ( const Optional< RenderTexture > &  rt)
explicit

2D 描画レンダーターゲット設定スコープオブジェクトを作成します。

Parameters
rtレンダーターゲットとして使用するテクスチャ。none の場合はデフォルトのシーンを使用

◆ ScopedRenderTarget2D() [3/3]

SIV3D_NODISCARD_CXX20 s3d::ScopedRenderTarget2D::ScopedRenderTarget2D ( ScopedRenderTarget2D &&  other)
noexcept

ムーブコンストラクタ

Parameters
other別の 2D 描画レンダーターゲット設定スコープオブジェクト

◆ ~ScopedRenderTarget2D()

s3d::ScopedRenderTarget2D::~ScopedRenderTarget2D ( )

デストラクタ


The documentation for this class was generated from the following file: