start 380 project5
changes to 380 project 4 changes to 350 project 2 Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
1 parent
40ac78074b
commit
39ee821f54
174 files changed
+13356
-80
No files matched your search
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "..\GkDefinitions.h"
|
||||
|
||||
#include "GkImage.h"
|
||||
#include "..\Base\GkBase.h"
|
||||
|
||||
class GKDLLCLASS GkTexture :
|
||||
public GkBase
|
||||
{
|
||||
public:
|
||||
static bool powerOfTwo;
|
||||
|
||||
unsigned int handle;
|
||||
|
||||
int width, height,
|
||||
textureWidth, textureHeight;
|
||||
|
||||
GkTexture::GkTexture(void);
|
||||
GkTexture::~GkTexture(void);
|
||||
|
||||
void GkTexture::LoadFromImage(GkImage* image);
|
||||
void GkTexture::LoadFromImage(GkImage* image, int x, int y, int width, int height);
|
||||
void GkTexture::LoadFromFile(char* fileName);
|
||||
|
||||
static int GkTexture::GetPowerOfTwo(int value);
|
||||
};
|
||||
Reference in new issue
Block a user