OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::MetalMappings Class Reference

#include <OgreMetalMappings.h>

Static Public Member Functions

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

Member Function Documentation

◆ getPixelFormat()

MTLPixelFormat Ogre::MetalMappings::getPixelFormat ( PixelFormat pf,
bool isGamma )
static

◆ getDepthStencilFormat()

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

Can throw if PixelFormat is not depth.

◆ get() [1/8]

MTLBlendFactor Ogre::MetalMappings::get ( SceneBlendFactor op)
static

◆ get() [2/8]

MTLBlendOperation Ogre::MetalMappings::get ( SceneBlendOperation op)
static

◆ get() [3/8]

MTLStencilOperation Ogre::MetalMappings::get ( StencilOperation op)
static

◆ get() [4/8]

MTLCompareFunction Ogre::MetalMappings::get ( CompareFunction cmp)
static

◆ get() [5/8]

MTLVertexFormat Ogre::MetalMappings::get ( VertexElementType vertexElemType)
static

◆ get() [6/8]

MTLSamplerMinMagFilter Ogre::MetalMappings::get ( FilterOptions filter)
static

◆ getMipFilter()

MTLSamplerMipFilter Ogre::MetalMappings::getMipFilter ( FilterOptions filter)
static

◆ get() [7/8]

MTLSamplerAddressMode Ogre::MetalMappings::get ( TextureAddressingMode mode)
static

◆ dataTypeToVertexFormat()

MTLVertexFormat Ogre::MetalMappings::dataTypeToVertexFormat ( MTLDataType dataType)
static

◆ get() [8/8]

GpuConstantType Ogre::MetalMappings::get ( MTLDataType dataType)
static

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