00001 00002 // Copyright Florian Winter 2010 - 2010. 00003 // Distributed under the Boost Software License, Version 1.0. 00004 // (See accompanying file LICENSE_1_0.txt or copy at 00005 // http://www.boost.org/LICENSE_1_0.txt) 00006 00013 #ifndef TK11_SHADER_HPP 00014 #define TK11_SHADER_HPP 00015 00016 #include "d3d.hpp" 00017 00018 namespace tk11 { 00019 00021 00035 ID3D10Blob_ptr load_compiled_shader(const char* file_name); 00036 00038 00055 ID3D11VertexShader_ptr create_vertex_shader(ID3D11Device_ptr device, ID3D10Blob_ptr code); 00056 00058 00075 ID3D11PixelShader_ptr create_pixel_shader(ID3D11Device_ptr device, ID3D10Blob_ptr code); 00076 00077 } 00078 00079 #endif