OGRE 14.2
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
OgreVulkanPrerequisites.h File Reference
#include "OgrePrerequisites.h"
#include "OgreLogManager.h"
#include "OgrePixelFormat.h"
#include "OgreVulkanExports.h"
#include <volk.h>

Namespaces

namespace  Ogre
 
namespace  Ogre::SubmissionType
 

Macros

#define OGRE_ASSERT_HIGH(x)
 
#define OGRE_ASSERT_LOW(x)
 
#define OGRE_ASSERT_MEDIUM(x)
 
#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'.
 

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)
Value:
OgreAssert((x), "high")
#define OgreAssert(expr, mesg)
Checks a condition at runtime and throws exception/ aborts if it fails.
Definition OgreException.h:63

◆ OGRE_ASSERT_MEDIUM

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

◆ OGRE_ASSERT_LOW

#define OGRE_ASSERT_LOW ( x)
Value:
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)); \
} \
}