Back to index

nux  3.0.0
Namespaces | Defines | Functions
GLResourceManager.cpp File Reference
#include "GLResource.h"
#include "IOpenGLResource.h"
#include "GLResourceManager.h"
#include "GraphicsEngine.h"
#include "GLTextureResourceManager.h"
#include "GLVertexResourceManager.h"

Go to the source code of this file.

Namespaces

namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.

Defines

#define GET_UNIQUE_RESOURCE_INDEX   NUX_GLOBAL_OBJECT_INSTANCE(UniqueIndex)
#define NUX_DEFINE_RESOURCE_FACTORY_PAIR(SourceTypeName, ResourceTypeName)
#define NUX_DEFINE_RESOURCE_UPDATER(SourceTypeName)

Functions

 nux::NUX_IMPLEMENT_OBJECT_TYPE (ResourceData)
 nux::NUX_IMPLEMENT_OBJECT_TYPE (CachedResourceData)

Define Documentation

#define NUX_DEFINE_RESOURCE_FACTORY_PAIR (   SourceTypeName,
  ResourceTypeName 
)
Value:
static TGLResourceFactory<SourceTypeName, ResourceTypeName> Factory##SourceTypeName(&SourceTypeName::StaticObjectType); \
    GetResourceFactories().push_back(&Factory##SourceTypeName);
#define NUX_DEFINE_RESOURCE_UPDATER (   SourceTypeName)
Value:
static NResourceUpdater Updater##SourceTypeName(&SourceTypeName::StaticObjectType); \
    GetResourceUpdaters().push_back(&Updater##SourceTypeName);