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

Namespaces

 Ogre
 
 Ogre::SubmissionType
 

Macros

#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)
 
#define VMA_NOT_NULL
 
#define VMA_NULLABLE
 
#define VMA_STATIC_VULKAN_FUNCTIONS   0
 

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

◆ VMA_NULLABLE

#define VMA_NULLABLE

◆ VMA_NOT_NULL

#define VMA_NOT_NULL

◆ VMA_STATIC_VULKAN_FUNCTIONS

#define VMA_STATIC_VULKAN_FUNCTIONS   0

◆ 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)