Go to the documentation of this file.
28 #ifndef __D3D11MAPPINGS_H__
29 #define __D3D11MAPPINGS_H__
108 static D3D11_USAGE
_getUsage(
int mUsage);
TextureAddressingMode
Texture addressing modes - default is TAM_WRAP.
@ D3D_FUSAGE_MAG
mag filter
static UINT _getTextureBindFlags(DXGI_FORMAT format, bool isdynamic)
static TextureType _getTexType(D3D11_SRV_DIMENSION type)
static PixelFormat _getPF(DXGI_FORMAT d3dPF)
utility method, convert D3D11 pixel format to Ogre pixel format
static D3D11_USAGE _getUsage(HardwareBuffer::Usage mUsage)
@ D3D_FUSAGE_MIP
mip filter
static PixelFormat _getClosestSupportedPF(PixelFormat ogrePF)
utility method, find closest Ogre pixel format that D3D11 can support
LayerBlendType
Type of texture blend mode.
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents.
eD3DFilterUsage
enum identifying D3D11 filter usage type
VertexElementType
Vertex element type, used to identify the base types of the vertex contents.
StencilOperation
Enum describing the various actions which can be taken on the stencil buffer.
SceneBlendFactor
Blending factors for manually blending objects with the scene.
@ D3D_FUSAGE_MIN
min filter
PixelFormat
The pixel format used for images, textures, and render surfaces.
static UINT _getAccessFlags(HardwareBuffer::Usage mUsage)
FilterOptions
Filtering options for textures / mipmaps.
CullingMode
Hardware culling modes based on vertex winding.
Class representing colour.
static D3D11_TEXTURE_ADDRESS_MODE get(TextureUnitState::TextureAddressingMode tam)
return a D3D11 equivalent for a Ogre ShadeOptions value
Usage
Enums describing buffer usage; not mutually exclusive.
static size_t _getSizeInBytes(PixelFormat pf, size_t xcount=1, size_t ycount=1)
static DXGI_FORMAT getFormat(HardwareIndexBuffer::IndexType itype)
TextureType
Enum identifying the texture type.
LockOptions
Locking options.
static UINT getByteWidth(HardwareIndexBuffer::IndexType itype)
static UINT _getTextureMiscFlags(UINT bindflags, TextureType textype, bool isdynamic)
PolygonMode
The polygon mode to use when rasterising.
static bool _isDynamic(HardwareBuffer::Usage mUsage)
SceneBlendOperation
Blending operations controls how objects are blended into the scene.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15