Nebula
Loading...
Searching...
No Matches
graphicscontext.h File Reference
#include "core/refcounted.h"
#include "timing/time.h"
#include "ids/id.h"
#include "ids/idallocator.h"
#include "ids/idgenerationpool.h"
#include "util/stringatom.h"
#include "util/arraystack.h"
#include "graphicsentity.h"
#include "coregraphics/window.h"

Go to the source code of this file.

Classes

struct  Graphics::GraphicsContextFunctionBundle
 
struct  Graphics::ContextEntityId
 
struct  Graphics::GraphicsContextState
 A graphics context is a resource which holds a contextual representation for a graphics entity. More...
 
class  Graphics::GraphicsContext
 

Namespaces

namespace  Graphics
 Implements the shader server used by Vulkan.
 

Macros

#define __DeclarePluginContext()
 
#define __DeclareContext()
 
#define __ImplementPluginContext(ctx)
 
#define __ImplementContext(ctx, idAllocator)
 
#define __CreatePluginContext()
 
#define __CreateContext()
 

Macro Definition Documentation

◆ __CreateContext

#define __CreateContext ( )
Value:
__state.Defragment = Defragment;
#define __CreatePluginContext()
Definition graphicscontext.h:98

◆ __CreatePluginContext

#define __CreatePluginContext ( )
Value:
__state.Alloc = Alloc; \
__state.Dealloc = Dealloc;

◆ __DeclareContext

#define __DeclareContext ( )
Value:
static void Defragment();
#define __DeclarePluginContext()
Definition graphicscontext.h:29

◆ __DeclarePluginContext

#define __DeclarePluginContext ( )
Value:
private:\
public:\
static void RegisterEntity(const Graphics::GraphicsEntityId id);\
static void DeregisterEntity(const Graphics::GraphicsEntityId id);\
static bool IsEntityRegistered(const Graphics::GraphicsEntityId id);\
static void Destroy(); \
static Graphics::ContextEntityId GetContextId(const Graphics::GraphicsEntityId id); \
static const Graphics::ContextEntityId& GetContextIdRef(const Graphics::GraphicsEntityId id); \
static void BeginBulkRegister(); \
static void EndBulkRegister(); \
private:
Definition graphicscontext.h:133
Definition graphicscontext.h:114
A graphics context is a resource which holds a contextual representation for a graphics entity.
Definition graphicscontext.h:136
The graphics entity is only an Id, to which we can attach GraphicsContexts.
Definition graphicsentity.h:16

◆ __ImplementContext

#define __ImplementContext ( ctx,
idAllocator )
Value:
void ctx::Defragment()\
{\
Graphics::GraphicsContext::InternalDefragment(idAllocator, std::forward<Graphics::GraphicsContextState>(__state));\
}
#define __ImplementPluginContext(ctx)
Definition graphicscontext.h:49

◆ __ImplementPluginContext

#define __ImplementPluginContext ( ctx)