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

ピクセルシェーダ More...

#include <PixelShader.hpp>

Inherits s3d::AssetHandle< PixelShader >.

Inherited by s3d::PixelShaderAsset.

Public Member Functions

SIV3D_NODISCARD_CXX20 PixelShader ()
 
virtual ~PixelShader ()
 
const BlobgetBinary () const noexcept
 
void swap (PixelShader &other) noexcept
 
- Public Member Functions inherited from s3d::AssetHandle< PixelShader >
SIV3D_NODISCARD_CXX20 AssetHandle ()
 
SIV3D_NODISCARD_CXX20 AssetHandle (std::shared_ptr< AssetIDWrapperType > &&id)
 
IDType id () const noexcept
 アセットの内部管理 ID を返します。 More...
 
bool isEmpty () const noexcept
 アセットが空であるかを返します。 More...
 
 operator bool () const noexcept
 アセットが空でないかを返します。 More...
 
bool operator== (const AssetHandle &other) const noexcept
 2 つのアセットが同じオブジェクトであるかを返します。 More...
 
bool operator!= (const AssetHandle &other) const noexcept
 2 つのアセットが異なるオブジェクトであるかを返します。 More...
 
void release ()
 このハンドルが管理するアセットを解放します。 More...
 

Static Public Member Functions

static PixelShader HLSL (FilePathView path, StringView entryPoint=U"PS")
 
static PixelShader GLSL (FilePathView path, const Array< ConstantBufferBinding > &bindings)
 
static PixelShader MSL (StringView entryPoint, FilePathView path={})
 
static PixelShader ESSL (FilePathView path, const Array< ConstantBufferBinding > &bindings)
 
static PixelShader WGSL (FilePathView path, const Array< ConstantBufferBinding > &bindings)
 

Additional Inherited Members

- Public Types inherited from s3d::AssetHandle< PixelShader >
using AssetIDWrapperType = AssetIDWrapper< AssetHandle >
 アセット ID ラッパー型 More...
 
using IDType = typename AssetIDWrapperType::IDType
 アセット ID 型 More...
 
- Protected Attributes inherited from s3d::AssetHandle< PixelShader >
std::shared_ptr< AssetIDWrapperTypem_handle
 

Detailed Description

ピクセルシェーダ

Constructor & Destructor Documentation

◆ PixelShader()

SIV3D_NODISCARD_CXX20 s3d::PixelShader::PixelShader ( )

◆ ~PixelShader()

virtual s3d::PixelShader::~PixelShader ( )
virtual

Member Function Documentation

◆ ESSL()

static PixelShader s3d::PixelShader::ESSL ( FilePathView  path,
const Array< ConstantBufferBinding > &  bindings 
)
static

◆ getBinary()

const Blob& s3d::PixelShader::getBinary ( ) const
noexcept

◆ GLSL()

static PixelShader s3d::PixelShader::GLSL ( FilePathView  path,
const Array< ConstantBufferBinding > &  bindings 
)
static

◆ HLSL()

static PixelShader s3d::PixelShader::HLSL ( FilePathView  path,
StringView  entryPoint = U"PS" 
)
static

◆ MSL()

static PixelShader s3d::PixelShader::MSL ( StringView  entryPoint,
FilePathView  path = {} 
)
static

◆ swap()

void s3d::PixelShader::swap ( PixelShader other)
noexcept

◆ WGSL()

static PixelShader s3d::PixelShader::WGSL ( FilePathView  path,
const Array< ConstantBufferBinding > &  bindings 
)
static

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