|  | /* | 
|  | * Copyright 2010 Rico Schüller | 
|  | * | 
|  | * This library is free software; you can redistribute it and/or | 
|  | * modify it under the terms of the GNU Lesser General Public | 
|  | * License as published by the Free Software Foundation; either | 
|  | * version 2.1 of the License, or (at your option) any later version. | 
|  | * | 
|  | * This library is distributed in the hope that it will be useful, | 
|  | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
|  | * Lesser General Public License for more details. | 
|  | * | 
|  | * You should have received a copy of the GNU Lesser General Public | 
|  | * License along with this library; if not, write to the Free Software | 
|  | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | 
|  | */ | 
|  |  | 
|  | import "oaidl.idl"; | 
|  | import "ocidl.idl"; | 
|  | import "dxgi.idl"; | 
|  | import "d3dcommon.idl"; | 
|  |  | 
|  | cpp_quote("#include <d3d10_1.h>") | 
|  | cpp_quote("#ifndef D3D11_IGNORE_SDK_LAYERS") | 
|  | cpp_quote("/* FIXME: # include <d3d11sdklayers.h> */") | 
|  | cpp_quote("#endif") | 
|  | cpp_quote("#include <d3d10misc.h>") | 
|  | cpp_quote("#include <d3d10shader.h>") | 
|  | cpp_quote("#include <d3d10effect.h>") | 
|  | cpp_quote("#include <d3d10_1shader.h>") | 
|  |  | 
|  |  | 
|  | typedef D3D_SRV_DIMENSION D3D11_SRV_DIMENSION; | 
|  |  | 
|  | typedef D3D_PRIMITIVE D3D11_PRIMITIVE; | 
|  |  | 
|  | typedef D3D_PRIMITIVE_TOPOLOGY D3D11_PRIMITIVE_TOPOLOGY; |