![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
ピクセルシェーダ More...
#include <PixelShader.hpp>
Inherits s3d::AssetHandle< PixelShader >.
Inherited by s3d::PixelShaderAsset.
Public Member Functions | |
SIV3D_NODISCARD_CXX20 | PixelShader () |
virtual | ~PixelShader () |
const Blob & | getBinary () const noexcept |
void | swap (PixelShader &other) noexcept |
![]() | |
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 | |
![]() | |
using | AssetIDWrapperType = AssetIDWrapper< AssetHandle > |
アセット ID ラッパー型 More... | |
using | IDType = typename AssetIDWrapperType::IDType |
アセット ID 型 More... | |
![]() | |
std::shared_ptr< AssetIDWrapperType > | m_handle |
ピクセルシェーダ
SIV3D_NODISCARD_CXX20 s3d::PixelShader::PixelShader | ( | ) |
|
virtual |
|
static |
|
noexcept |
|
static |
|
static |
|
static |
|
noexcept |
|
static |