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

頂点シェーダ More...

#include <VertexShader.hpp>

Inherits s3d::AssetHandle< VertexShader >.

Inherited by s3d::VertexShaderAsset.

Public Member Functions

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 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
 

Detailed Description

頂点シェーダ

Constructor & Destructor Documentation

◆ VertexShader()

SIV3D_NODISCARD_CXX20 s3d::VertexShader::VertexShader ( )

◆ ~VertexShader()

virtual s3d::VertexShader::~VertexShader ( )
virtual

Member Function Documentation

◆ ESSL()

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

◆ getBinary()

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

◆ GLSL()

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

◆ HLSL()

static VertexShader s3d::VertexShader::HLSL ( FilePathView  path,
StringView  entryPoint = U"VS" 
)
static

◆ MSL()

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

◆ swap()

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

◆ WGSL()

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

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