OGRE  1.12.12
Object-Oriented Graphics Rendering Engine
Ogre::MetalMappings Class Reference

#include <OgreMetalMappings.h>

Static Public Member Functions

static MTLVertexFormat dataTypeToVertexFormat (MTLDataType dataType)
 
static MTLBlendFactor get (SceneBlendFactor op)
 
static MTLBlendOperation get (SceneBlendOperation op)
 
static MTLStencilOperation get (StencilOperation op)
 
static MTLCompareFunction get (CompareFunction cmp)
 
static MTLVertexFormat get (VertexElementType vertexElemType)
 
static MTLSamplerMinMagFilter get (FilterOptions filter)
 
static MTLSamplerAddressMode get (TextureAddressingMode mode)
 
static GpuConstantType get (MTLDataType dataType)
 
static void getDepthStencilFormat (MetalDevice *device, PixelFormat pf, MTLPixelFormat &outDepth, MTLPixelFormat &outStencil)
 Can throw if PixelFormat is not depth. More...
 
static MTLSamplerMipFilter getMipFilter (FilterOptions filter)
 
static MTLPixelFormat getPixelFormat (PixelFormat pf, bool isGamma)
 

Member Function Documentation

static MTLPixelFormat Ogre::MetalMappings::getPixelFormat ( PixelFormat  pf,
bool  isGamma 
)
static
static void Ogre::MetalMappings::getDepthStencilFormat ( MetalDevice device,
PixelFormat  pf,
MTLPixelFormat &  outDepth,
MTLPixelFormat &  outStencil 
)
static

Can throw if PixelFormat is not depth.

static MTLBlendFactor Ogre::MetalMappings::get ( SceneBlendFactor  op)
static
static MTLBlendOperation Ogre::MetalMappings::get ( SceneBlendOperation  op)
static
static MTLStencilOperation Ogre::MetalMappings::get ( StencilOperation  op)
static
static MTLCompareFunction Ogre::MetalMappings::get ( CompareFunction  cmp)
static
static MTLVertexFormat Ogre::MetalMappings::get ( VertexElementType  vertexElemType)
static
static MTLSamplerMinMagFilter Ogre::MetalMappings::get ( FilterOptions  filter)
static
static MTLSamplerMipFilter Ogre::MetalMappings::getMipFilter ( FilterOptions  filter)
static
static MTLSamplerAddressMode Ogre::MetalMappings::get ( TextureAddressingMode  mode)
static
static MTLVertexFormat Ogre::MetalMappings::dataTypeToVertexFormat ( MTLDataType  dataType)
static
static GpuConstantType Ogre::MetalMappings::get ( MTLDataType  dataType)
static

The documentation for this class was generated from the following file: