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

2D 描画カスタムシェーダ設定スコープオブジェクト More...

#include <ScopedCustomShader2D.hpp>

Inherits s3d::Uncopyable.

Public Member Functions

SIV3D_NODISCARD_CXX20 ScopedCustomShader2D ()
 デフォルトコンストラクタ More...
 
SIV3D_NODISCARD_CXX20 ScopedCustomShader2D (const VertexShader &vs)
 2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。 More...
 
SIV3D_NODISCARD_CXX20 ScopedCustomShader2D (const PixelShader &ps)
 2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。 More...
 
SIV3D_NODISCARD_CXX20 ScopedCustomShader2D (const VertexShader &vs, const PixelShader &ps)
 2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。 More...
 
SIV3D_NODISCARD_CXX20 ScopedCustomShader2D (const PixelShader &ps, const VertexShader &vs)
 2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。 More...
 
SIV3D_NODISCARD_CXX20 ScopedCustomShader2D (ScopedCustomShader2D &&other) noexcept
 ムーブコンストラクタ More...
 
 ~ScopedCustomShader2D ()
 デストラクタ More...
 

Detailed Description

2D 描画カスタムシェーダ設定スコープオブジェクト

Remarks
このオブジェクトが存在するスコープでは、2D 描画時に、指定したカスタムシェーダが使用されます。

Constructor & Destructor Documentation

◆ ScopedCustomShader2D() [1/6]

SIV3D_NODISCARD_CXX20 s3d::ScopedCustomShader2D::ScopedCustomShader2D ( )

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

◆ ScopedCustomShader2D() [2/6]

SIV3D_NODISCARD_CXX20 s3d::ScopedCustomShader2D::ScopedCustomShader2D ( const VertexShader vs)
explicit

2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。

Parameters
vs設定するカスタム頂点シェーダ

◆ ScopedCustomShader2D() [3/6]

SIV3D_NODISCARD_CXX20 s3d::ScopedCustomShader2D::ScopedCustomShader2D ( const PixelShader ps)
explicit

2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。

Parameters
ps設定するカスタムピクセルシェーダ

◆ ScopedCustomShader2D() [4/6]

SIV3D_NODISCARD_CXX20 s3d::ScopedCustomShader2D::ScopedCustomShader2D ( const VertexShader vs,
const PixelShader ps 
)

2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。

Parameters
vs設定するカスタム頂点シェーダ
ps設定するカスタムピクセルシェーダ

◆ ScopedCustomShader2D() [5/6]

SIV3D_NODISCARD_CXX20 s3d::ScopedCustomShader2D::ScopedCustomShader2D ( const PixelShader ps,
const VertexShader vs 
)

2D 描画カスタムシェーダ設定スコープオブジェクトを作成します。

Parameters
ps設定するカスタムピクセルシェーダ
vs設定するカスタム頂点シェーダ

◆ ScopedCustomShader2D() [6/6]

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

ムーブコンストラクタ

Parameters
other別の2D 描画カスタムシェーダ設定スコープオブジェクト

◆ ~ScopedCustomShader2D()

s3d::ScopedCustomShader2D::~ScopedCustomShader2D ( )

デストラクタ


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