Introduces a macro to streamline logging, enhancing code readability and maintainability. The new macro replaces direct Logger calls with more concise and expressive `LOG_INFO`, `LOG_ERROR` etc. calls, reducing boilerplate code and improving consistency in logging practices across the engine.
27 lines
449 B
C++
27 lines
449 B
C++
#pragma once
|
|
#include <d3d11.h>
|
|
#include <DirectXMath.h>
|
|
#include <string>
|
|
#include "macro.h"
|
|
|
|
|
|
class master_shader
|
|
{
|
|
public :
|
|
|
|
master_shader();
|
|
master_shader(const master_shader& other) = delete;
|
|
virtual ~master_shader();
|
|
|
|
virtual bool initialize(ID3D11Device* device, HWND hwnd) = 0;
|
|
|
|
|
|
protected:
|
|
wchar_t vs_filename_[128], ps_filename_[128];
|
|
|
|
wchar_t const* vs_name_ = L"";
|
|
wchar_t const* ps_name_ = L"";
|
|
|
|
|
|
};
|