|
static UINT | _getAccessFlags (TextureUsage usage) |
|
static UINT | _getAccessFlags (v1::HardwareBuffer::Usage usage) |
|
static PixelFormat | _getClosestSupportedPF (PixelFormat ogrePF) |
| utility method, find closest Ogre pixel format that D3D11 can support
|
|
static DXGI_FORMAT | _getGammaFormat (DXGI_FORMAT format, bool appendSRGB) |
| utility method, optionally maps plain format to _SRGB counterparts
|
|
static PixelFormat | _getPF (DXGI_FORMAT d3dPF) |
| utility method, convert D3D11 pixel format to Ogre pixel format
|
|
static DXGI_FORMAT | _getPF (PixelFormat ogrePF) |
| utility method, convert Ogre pixel format to D3D11 pixel format
|
|
static UINT | _getTextureBindFlags (DXGI_FORMAT format, TextureUsage usage) |
|
static UINT | _getTextureMiscFlags (UINT bindflags, TextureType textype, TextureUsage usage) |
|
static TextureType | _getTexType (D3D11_SRV_DIMENSION type) |
|
static D3D11_USAGE | _getUsage (TextureUsage usage) |
|
static D3D11_USAGE | _getUsage (v1::HardwareBuffer::Usage usage) |
|
static bool | _isDynamic (TextureUsage usage) |
|
static bool | _isDynamic (v1::HardwareBuffer::Usage usage) |
|
static D3D11_COMPARISON_FUNC | get (CompareFunction cf) |
| return a D3D11 equivalent for a Ogre CompareFunction value
|
|
static void | get (const ColourValue &inColour, float *outColour) |
| Get dx11 color.
|
|
static D3D11_FILTER | get (const FilterOptions minification, const FilterOptions magnification, const FilterOptions mips, const bool comparison=false) |
| return a D3D11 state type for Ogre FilterOption min/mag/mip values
|
|
static D3D11_CULL_MODE | get (CullingMode cm, bool flip=false) |
| return a D3D11 equivalent for a Ogre CillingMode value
|
|
static VertexElementSemantic | get (LPCSTR sem) |
|
static D3D11_FILL_MODE | get (PolygonMode level) |
| return a D3D11 equivalent for a Ogre PolygonMode value
|
|
static D3D11_BLEND | get (SceneBlendFactor sbf, bool forAlpha) |
| return a D3D11 equivalent for a Ogre SceneBlendFactor value
|
|
static D3D11_BLEND_OP | get (SceneBlendOperation sbo) |
| return a D3D11 equivalent for a Ogre SceneBlendOperation value
|
|
static D3D11_STENCIL_OP | get (StencilOperation op, bool invert=false) |
| return a D3D11 equivalent for a Ogre StencilOperation value
|
|
static D3D11_TEXTURE_ADDRESS_MODE | get (TextureAddressingMode tam) |
| return a D3D11 equivalent for a Ogre TextureAddressingMode value
|
|
static D3D11_MAP | get (v1::HardwareBuffer::LockOptions options, v1::HardwareBuffer::Usage usage) |
| Get lock options.
|
|
static LPCSTR | get (VertexElementSemantic sem) |
| Get vertex semantic.
|
|
static DXGI_FORMAT | get (VertexElementType vType) |
| Get vertex data type.
|
|
static DXGI_FORMAT | getFormat (v1::HardwareIndexBuffer::IndexType itype) |
| Get index type.
|
|
static PixelBox | getPixelBoxWithMapping (D3D11_BOX extents, DXGI_FORMAT pixelFormat, const D3D11_MAPPED_SUBRESOURCE &mapping) |
| utility method, generates Ogre PixelBox using usual parameters and dataPtr/rowPitch/slicePitch from D3D11_MAPPED_SUBRESOURCE
|
|
static void | setPixelBoxMapping (PixelBox &box, const D3D11_MAPPED_SUBRESOURCE &mapping) |
| utility method, applies dataPtr/rowPitch/slicePitch from D3D11_MAPPED_SUBRESOURCE to Ogre PixelBox
|
|