![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
頂点シェーダ More...
#include <VertexShader.hpp>
Inherits s3d::AssetHandle< VertexShader >.
Inherited by s3d::VertexShaderAsset.
Public Member Functions | |
SIV3D_NODISCARD_CXX20 | VertexShader () |
virtual | ~VertexShader () |
const Blob & | getBinary () const noexcept |
void | swap (VertexShader &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 VertexShader | HLSL (FilePathView path, StringView entryPoint=U"VS") |
static VertexShader | GLSL (FilePathView path, const Array< ConstantBufferBinding > &bindings) |
static VertexShader | MSL (StringView entryPoint, FilePathView path={}) |
static VertexShader | ESSL (FilePathView path, const Array< ConstantBufferBinding > &bindings) |
static VertexShader | 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::VertexShader::VertexShader | ( | ) |
|
virtual |
|
static |
|
noexcept |
|
static |
|
static |
|
static |
|
noexcept |
|
static |