first commit
This commit is contained in:
29
include/engine/gpu/gpu_texture.h
Normal file
29
include/engine/gpu/gpu_texture.h
Normal file
@ -0,0 +1,29 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __NGPUTEXTURE__
|
||||
#define __NGPUTEXTURE__
|
||||
|
||||
|
||||
#include "core/render_data.h"
|
||||
|
||||
|
||||
namespace GS {
|
||||
namespace GPU {
|
||||
class Renderer;
|
||||
|
||||
/// GPU Texture
|
||||
struct Texture : public Render::Texture
|
||||
{
|
||||
Renderer &renderer;
|
||||
Texture(Renderer &r, const char *name = 0) : Render::Texture(name), renderer(r) {}
|
||||
};
|
||||
|
||||
} // GPU
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __NGPUTEXTURE__
|
||||
Reference in New Issue
Block a user