![]() |
OGRE 2.2.5
Object-Oriented Graphics Rendering Engine
|
#include <OgreNULLRenderSystem.h>
Public Member Functions | |
virtual const char * | getDataType (PixelFormatGpu pixelFormat, uint32 textureType, bool isMsaa, ResourceAccess::ResourceAccess access) const |
virtual const char * | getPixelFormatType (PixelFormatGpu pixelFormat) const |
Converts a PixelFormat into its equivalent layout for image variables (GLSL) or its equivalent for D3D11/12 variables (HLSL). | |
|
inlinevirtual |
pixelFormat | |
textureType | See TextureTypes::TextureTypes |
isMsaa | |
access | Texture access. Use ResourceAccess::Undefined for requesting sampling mode |
Implements Ogre::PixelFormatToShaderType.
|
inlinevirtual |
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. |
Implements Ogre::PixelFormatToShaderType.