SDEngine
Game Engine
Loading...
Searching...
No Matches
sd::ShaderCompiler Class Reference

#include <ShaderCompiler.hpp>

Public Member Functions

 ShaderCompiler ()
 
bool compile_shader (const std::string &source, std::vector< uint32_t > &output, const std::string &profile) const
 

Private Attributes

CComPtr< IDxcUtilsdxc_utils
 
CComPtr< IDxcCompiler3dxc_compiler
 

Constructor & Destructor Documentation

◆ ShaderCompiler()

sd::ShaderCompiler::ShaderCompiler ( )
inline

Member Function Documentation

◆ compile_shader()

bool sd::ShaderCompiler::compile_shader ( const std::string &  source,
std::vector< uint32_t > &  output,
const std::string &  profile 
) const
inline

Member Data Documentation

◆ dxc_compiler

CComPtr<IDxcCompiler3> sd::ShaderCompiler::dxc_compiler
private

◆ dxc_utils

CComPtr<IDxcUtils> sd::ShaderCompiler::dxc_utils
private

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