core.hpp

来自「用于GPU通用计算的编程语言BrookGPU 0.4」· HPP 代码 · 共 29 行

HPP
29
字号
// core.hpp#pragma once#include <assert.h>#include <windows.h>#include <d3d9.h>#include <d3dx9.h>#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <iostream>#include "core.hpp"#include "application.hpp"#include "window.hpp"#include "vertexshader.hpp"#include "pixelshader.hpp"#include "context.hpp"static inline void DX9Warn( const char* inFormat, ... ) {}static inline void DX9AssertResult( HRESULT inResult, const char* inMessage ){  if( !FAILED(inResult) ) return;  std::cerr << inMessage << std::endl;  abort();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?