OGRE  13.4
Object-Oriented Graphics Rendering Engine
OgreVulkanPrerequisites.h File Reference
#include "OgrePrerequisites.h"
#include "OgreLogManager.h"
#include "OgrePixelFormat.h"
#include <volk.h>

Namespaces

 Ogre
 
 Ogre::SubmissionType
 

Macros

#define _OgreVulkanExport
 
#define OGRE_ASSERT_HIGH(x)   OgreAssert((x), "high")
 
#define OGRE_ASSERT_LOW(x)   OgreAssert((x), "low")
 
#define OGRE_ASSERT_MEDIUM(x)   OgreAssert((x), "medium")
 
#define OGRE_VK_CHECK(vkcall)
 

Typedefs

template<typename T >
using Ogre::FastArray = std::vector< T >
 
typedef PixelFormat Ogre::PixelFormatGpu
 
typedef Texture Ogre::TextureGpu
 

Enumerations

enum  Ogre::SubmissionType::SubmissionType { Ogre::SubmissionType::FlushOnly , Ogre::SubmissionType::NewFrameIdx , Ogre::SubmissionType::EndFrameAndSwap }
 

Functions

size_t Ogre::alignToNextMultiple (size_t offset, size_t alignment)
 Aligns the input 'offset' to the next multiple of 'alignment'. More...
 

Macro Definition Documentation

◆ OGRE_ASSERT_HIGH

#define OGRE_ASSERT_HIGH (   x)    OgreAssert((x), "high")

◆ OGRE_ASSERT_MEDIUM

#define OGRE_ASSERT_MEDIUM (   x)    OgreAssert((x), "medium")

◆ OGRE_ASSERT_LOW

#define OGRE_ASSERT_LOW (   x)    OgreAssert((x), "low")

◆ OGRE_VK_CHECK

#define OGRE_VK_CHECK (   vkcall)
Value:
{ \
VkResult result = vkcall; \
if (result != VK_SUCCESS) \
{ \
String vkfunc = #vkcall; \
vkfunc = vkfunc.substr(0, vkfunc.find('(')); \
OGRE_EXCEPT(Exception::ERR_RENDERINGAPI_ERROR, vkfunc + " failed with " + vkResultToString(result)); \
} \
}
String vkResultToString(VkResult result)

◆ _OgreVulkanExport

#define _OgreVulkanExport