OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::WGSL Struct Reference

WebGPU Shading Language ファイル More...

#include <ShaderCommon.hpp>

Public Member Functions

SIV3D_NODISCARD_CXX20 WGSL (FilePath _path, Array< ConstantBufferBinding > _bindings)
 
ShaderGroup operator| (const HLSL &hlsl) const
 
ShaderGroup operator| (const GLSL &hlsl) const
 
ShaderGroup operator| (const MSL &msl) const
 
ShaderGroup operator| (const ESSL &essl) const
 
 operator VertexShader () const
 
 operator PixelShader () const
 

Public Attributes

FilePath path
 
Array< ConstantBufferBindingbindings
 

Detailed Description

WebGPU Shading Language ファイル

Constructor & Destructor Documentation

◆ WGSL()

SIV3D_NODISCARD_CXX20 s3d::WGSL::WGSL ( FilePath  _path,
Array< ConstantBufferBinding _bindings 
)

Member Function Documentation

◆ operator PixelShader()

s3d::WGSL::operator PixelShader ( ) const

◆ operator VertexShader()

s3d::WGSL::operator VertexShader ( ) const

◆ operator|() [1/4]

ShaderGroup s3d::WGSL::operator| ( const ESSL essl) const

◆ operator|() [2/4]

ShaderGroup s3d::WGSL::operator| ( const GLSL hlsl) const

◆ operator|() [3/4]

ShaderGroup s3d::WGSL::operator| ( const HLSL hlsl) const

◆ operator|() [4/4]

ShaderGroup s3d::WGSL::operator| ( const MSL msl) const

Member Data Documentation

◆ bindings

Array<ConstantBufferBinding> s3d::WGSL::bindings

◆ path

FilePath s3d::WGSL::path

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