Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Classes | Namespaces | Functions
texture.h File Reference
#include <vector>
#include "engine/asset/asset.h"

Go to the source code of this file.

Classes

struct  cqsp::asset::TextureLoadingOptions
 
class  cqsp::asset::Texture
 

Namespaces

namespace  cqsp
 When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to find out how to add a resource to the game.
 
namespace  cqsp::asset
 

Functions

unsigned int cqsp::asset::CreateTexture (unsigned char *data, int width, int height, int components, const TextureLoadingOptions &options)
 
void cqsp::asset::CreateTexture (Texture &texture, unsigned char *data, int width, int height, int components, const TextureLoadingOptions &options=TextureLoadingOptions())
 
void cqsp::asset::LoadCubemapData (Texture &texture, std::vector< unsigned char * > &faces, int width, int height, int components, TextureLoadingOptions &options)
 
bool cqsp::asset::SaveImage (const char *path, int width, int height, int components, const unsigned char *data, bool flip=true)