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

#include <VertexShaderAsset.hpp>

Inherits s3d::VertexShader.

Public Member Functions

SIV3D_NODISCARD_CXX20 VertexShaderAsset (AssetNameView name)
 
- Public Member Functions inherited from s3d::VertexShader
SIV3D_NODISCARD_CXX20 VertexShader ()
 
virtual ~VertexShader ()
 
const BlobgetBinary () const noexcept
 
void swap (VertexShader &other) noexcept
 
- Public Member Functions inherited from s3d::AssetHandle< VertexShader >
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 bool Register (AssetNameView name, FilePathView path, StringView entryPoint, const Array< ConstantBufferBinding > &bindings)
 
static bool Register (AssetNameView name, const s3d::HLSL &hlsl)
 
static bool Register (AssetNameView name, const s3d::GLSL &glsl)
 
static bool Register (AssetNameView name, const s3d::MSL &msl)
 
static bool Register (AssetNameView name, const s3d::ESSL &essl)
 
static bool Register (AssetNameView name, const s3d::WGSL &wgsl)
 
static bool Register (AssetNameView name, const ShaderGroup &shaderGroup)
 
static bool Register (AssetNameView name, std::unique_ptr< VertexShaderAssetData > &&data)
 
static bool Register (const AssetNameAndTags &nameAndTags, FilePathView path, StringView entryPoint, const Array< ConstantBufferBinding > &bindings)
 
static bool Register (const AssetNameAndTags &nameAndTags, const s3d::HLSL &hlsl)
 
static bool Register (const AssetNameAndTags &nameAndTags, const s3d::GLSL &glsl)
 
static bool Register (const AssetNameAndTags &nameAndTags, const s3d::MSL &msl)
 
static bool Register (const AssetNameAndTags &nameAndTags, const s3d::ESSL &essl)
 
static bool Register (const AssetNameAndTags &nameAndTags, const s3d::WGSL &wgsl)
 
static bool Register (const AssetNameAndTags &nameAndTags, const ShaderGroup &shaderGroup)
 
static bool IsRegistered (AssetNameView name)
 
static bool Load (AssetNameView name)
 
static bool IsReady (AssetNameView name)
 
static void Release (AssetNameView name)
 
static void ReleaseAll ()
 
static void Unregister (AssetNameView name)
 
static void UnregisterAll ()
 
static HashTable< AssetName, AssetInfoEnumerate ()
 
- Static Public Member Functions inherited from s3d::VertexShader
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

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

Constructor & Destructor Documentation

◆ VertexShaderAsset()

SIV3D_NODISCARD_CXX20 s3d::VertexShaderAsset::VertexShaderAsset ( AssetNameView  name)
explicit

Member Function Documentation

◆ Enumerate()

static HashTable<AssetName, AssetInfo> s3d::VertexShaderAsset::Enumerate ( )
static

◆ IsReady()

static bool s3d::VertexShaderAsset::IsReady ( AssetNameView  name)
static

◆ IsRegistered()

static bool s3d::VertexShaderAsset::IsRegistered ( AssetNameView  name)
static

◆ Load()

static bool s3d::VertexShaderAsset::Load ( AssetNameView  name)
static

◆ Register() [1/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
const s3d::ESSL essl 
)
static

◆ Register() [2/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
const s3d::GLSL glsl 
)
static

◆ Register() [3/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
const s3d::HLSL hlsl 
)
static

◆ Register() [4/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
const s3d::MSL msl 
)
static

◆ Register() [5/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
const s3d::WGSL wgsl 
)
static

◆ Register() [6/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
const ShaderGroup shaderGroup 
)
static

◆ Register() [7/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
FilePathView  path,
StringView  entryPoint,
const Array< ConstantBufferBinding > &  bindings 
)
static

◆ Register() [8/15]

static bool s3d::VertexShaderAsset::Register ( AssetNameView  name,
std::unique_ptr< VertexShaderAssetData > &&  data 
)
static

◆ Register() [9/15]

static bool s3d::VertexShaderAsset::Register ( const AssetNameAndTags nameAndTags,
const s3d::ESSL essl 
)
static

◆ Register() [10/15]

static bool s3d::VertexShaderAsset::Register ( const AssetNameAndTags nameAndTags,
const s3d::GLSL glsl 
)
static

◆ Register() [11/15]

static bool s3d::VertexShaderAsset::Register ( const AssetNameAndTags nameAndTags,
const s3d::HLSL hlsl 
)
static

◆ Register() [12/15]

static bool s3d::VertexShaderAsset::Register ( const AssetNameAndTags nameAndTags,
const s3d::MSL msl 
)
static

◆ Register() [13/15]

static bool s3d::VertexShaderAsset::Register ( const AssetNameAndTags nameAndTags,
const s3d::WGSL wgsl 
)
static

◆ Register() [14/15]

static bool s3d::VertexShaderAsset::Register ( const AssetNameAndTags nameAndTags,
const ShaderGroup shaderGroup 
)
static

◆ Register() [15/15]

static bool s3d::VertexShaderAsset::Register ( const AssetNameAndTags nameAndTags,
FilePathView  path,
StringView  entryPoint,
const Array< ConstantBufferBinding > &  bindings 
)
static

◆ Release()

static void s3d::VertexShaderAsset::Release ( AssetNameView  name)
static

◆ ReleaseAll()

static void s3d::VertexShaderAsset::ReleaseAll ( )
static

◆ Unregister()

static void s3d::VertexShaderAsset::Unregister ( AssetNameView  name)
static

◆ UnregisterAll()

static void s3d::VertexShaderAsset::UnregisterAll ( )
static

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