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

Metal Shading Language ファイル More...

#include <ShaderCommon.hpp>

Public Member Functions

SIV3D_NODISCARD_CXX20 MSL (String _entryPoint)
 
SIV3D_NODISCARD_CXX20 MSL (FilePath _path, String _entryPoint)
 
ShaderGroup operator| (const HLSL &hlsl) const
 
ShaderGroup operator| (const GLSL &glsl) const
 
ShaderGroup operator| (const ESSL &essl) const
 
ShaderGroup operator| (const WGSL &wgsl) const
 
 operator VertexShader () const
 
 operator PixelShader () const
 

Public Attributes

FilePath path
 
String entryPoint
 

Detailed Description

Metal Shading Language ファイル

Constructor & Destructor Documentation

◆ MSL() [1/2]

SIV3D_NODISCARD_CXX20 s3d::MSL::MSL ( String  _entryPoint)
explicit

◆ MSL() [2/2]

SIV3D_NODISCARD_CXX20 s3d::MSL::MSL ( FilePath  _path,
String  _entryPoint 
)

Member Function Documentation

◆ operator PixelShader()

s3d::MSL::operator PixelShader ( ) const

◆ operator VertexShader()

s3d::MSL::operator VertexShader ( ) const

◆ operator|() [1/4]

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

◆ operator|() [2/4]

ShaderGroup s3d::MSL::operator| ( const GLSL glsl) const

◆ operator|() [3/4]

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

◆ operator|() [4/4]

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

Member Data Documentation

◆ entryPoint

String s3d::MSL::entryPoint

◆ path

FilePath s3d::MSL::path

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