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

HLSL ファイル More...

#include <ShaderCommon.hpp>

Public Member Functions

SIV3D_NODISCARD_CXX20 HLSL (FilePath _path)
 
SIV3D_NODISCARD_CXX20 HLSL (FilePath _path, String _entryPoint)
 
ShaderGroup operator| (const GLSL &glsl) const
 
ShaderGroup operator| (const MSL &msl) 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

HLSL ファイル

Constructor & Destructor Documentation

◆ HLSL() [1/2]

SIV3D_NODISCARD_CXX20 s3d::HLSL::HLSL ( FilePath  _path)
explicit

◆ HLSL() [2/2]

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

Member Function Documentation

◆ operator PixelShader()

s3d::HLSL::operator PixelShader ( ) const

◆ operator VertexShader()

s3d::HLSL::operator VertexShader ( ) const

◆ operator|() [1/4]

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

◆ operator|() [2/4]

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

◆ operator|() [3/4]

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

◆ operator|() [4/4]

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

Member Data Documentation

◆ entryPoint

String s3d::HLSL::entryPoint

◆ path

FilePath s3d::HLSL::path

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