gfxD3D11EnumTranslate.h
Engine/source/gfx/D3D11/gfxD3D11EnumTranslate.h
Namespaces:
namespace
Public Variables
D3D11_BLEND
GFXD3D11Blend [GFXBlend_COUNT]
D3D11_BLEND
GFXD3D11BlendAlpha [GFXBlend_COUNT]
D3D11_BLEND_OP
GFXD3D11BlendOp [GFXBlendOp_COUNT]
D3D11_COMPARISON_FUNC
GFXD3D11CmpFunc [GFXCmp_COUNT]
D3D11_CULL_MODE
GFXD3D11CullMode [GFXCull_COUNT]
DXGI_FORMAT
GFXD3D11DeclType [GFXDeclType_COUNT]
D3D11_FILL_MODE
GFXD3D11FillMode [GFXFill_COUNT]
D3D11_PRIMITIVE_TOPOLOGY
GFXD3D11PrimType [GFXPT_COUNT]
D3D11_STENCIL_OP
GFXD3D11StencilOp [GFXStencilOp_COUNT]
D3D11_TEXTURE_ADDRESS_MODE
GFXD3D11TextureAddress [GFXAddress_COUNT]
D3D11_FILTER
GFXD3D11TextureFilter [GFXTextureFilter_COUNT]
DXGI_FORMAT
GFXD3D11TextureFormat [GFXFormat_COUNT]
Detailed Description
Public Variables
D3D11_BLEND GFXD3D11Blend [GFXBlend_COUNT]
D3D11_BLEND GFXD3D11BlendAlpha [GFXBlend_COUNT]
D3D11_BLEND_OP GFXD3D11BlendOp [GFXBlendOp_COUNT]
D3D11_COMPARISON_FUNC GFXD3D11CmpFunc [GFXCmp_COUNT]
D3D11_CULL_MODE GFXD3D11CullMode [GFXCull_COUNT]
DXGI_FORMAT GFXD3D11DeclType [GFXDeclType_COUNT]
D3D11_FILL_MODE GFXD3D11FillMode [GFXFill_COUNT]
D3D11_PRIMITIVE_TOPOLOGY GFXD3D11PrimType [GFXPT_COUNT]
D3D11_STENCIL_OP GFXD3D11StencilOp [GFXStencilOp_COUNT]
D3D11_TEXTURE_ADDRESS_MODE GFXD3D11TextureAddress [GFXAddress_COUNT]
D3D11_FILTER GFXD3D11TextureFilter [GFXTextureFilter_COUNT]
DXGI_FORMAT GFXD3D11TextureFormat [GFXFormat_COUNT]
1 2//----------------------------------------------------------------------------- 3// Copyright (c) 2015 GarageGames, LLC 4// 5// Permission is hereby granted, free of charge, to any person obtaining a copy 6// of this software and associated documentation files (the "Software"), to 7// deal in the Software without restriction, including without limitation the 8// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 9// sell copies of the Software, and to permit persons to whom the Software is 10// furnished to do so, subject to the following conditions: 11// 12// The above copyright notice and this permission notice shall be included in 13// all copies or substantial portions of the Software. 14// 15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 21// IN THE SOFTWARE. 22//----------------------------------------------------------------------------- 23 24 25#ifndef _GFXD3D11ENUMTRANSLATE_H_ 26#define _GFXD3D11ENUMTRANSLATE_H_ 27 28#include "gfx/D3D11/gfxD3D11Shader.h" 29#include "gfx/gfxEnums.h" 30 31//------------------------------------------------------------------------------ 32 33namespace GFXD3D11EnumTranslate 34{ 35 void init(); 36}; 37 38//------------------------------------------------------------------------------ 39 40extern DXGI_FORMAT GFXD3D11TextureFormat[GFXFormat_COUNT]; 41extern D3D11_FILTER GFXD3D11TextureFilter[GFXTextureFilter_COUNT]; 42extern D3D11_BLEND GFXD3D11Blend[GFXBlend_COUNT]; 43extern D3D11_BLEND_OP GFXD3D11BlendOp[GFXBlendOp_COUNT]; 44extern D3D11_STENCIL_OP GFXD3D11StencilOp[GFXStencilOp_COUNT]; 45extern D3D11_COMPARISON_FUNC GFXD3D11CmpFunc[GFXCmp_COUNT]; 46extern D3D11_CULL_MODE GFXD3D11CullMode[GFXCull_COUNT]; 47extern D3D11_FILL_MODE GFXD3D11FillMode[GFXFill_COUNT]; 48extern D3D11_PRIMITIVE_TOPOLOGY GFXD3D11PrimType[GFXPT_COUNT]; 49extern D3D11_TEXTURE_ADDRESS_MODE GFXD3D11TextureAddress[GFXAddress_COUNT]; 50extern DXGI_FORMAT GFXD3D11DeclType[GFXDeclType_COUNT]; 51extern D3D11_BLEND GFXD3D11BlendAlpha[GFXBlend_COUNT]; //maps color->alpha 52#endif 53