![]() |
OGRE
2.1.0unstable
Object-Oriented Graphics Rendering Engine
|
#include <OgrePixelFormat.h>
Public Member Functions | |
virtual const char * | getPixelFormatType (PixelFormat pixelFormat) const =0 |
Converts a PixelFormat into its equivalent layout for image variables (GLSL) or its equivalent for D3D11/12 variables (HLSL). More... | |
|
pure virtual |
Converts a PixelFormat into its equivalent layout for image variables (GLSL) or its equivalent for D3D11/12 variables (HLSL).
Used mostly with UAVs.
pixelFormat | Pixel format to convert. |
Implemented in Ogre::NULLPixelFormatToShaderType, Ogre::D3D11PixelFormatToShaderType, Ogre::GL3PlusPixelFormatToShaderType, and Ogre::MetalPixelFormatToShaderType.