Untitled Game engine no.5  1.0
Static Public Member Functions | List of all members
Engine::TextureSheet Struct Reference

#include <TextureSheet.hpp>

Static Public Member Functions

static std::vector< Ref< TextureLookup > > loadSheet (const std::string &path, int inputWidth, int inputHeight)
 

Detailed Description

Library for loading a sheet of images into memory

Member Function Documentation

◆ loadSheet()

static std::vector<Ref<TextureLookup> > Engine::TextureSheet::loadSheet ( const std::string &  path,
int  inputWidth,
int  inputHeight 
)
inlinestatic

From a system path and a standard width and size generate a list of Texture references and texture coordinates.

Parameters
pathsystem path
inputWidthwidth of an individual sub-image
inputHeightheight of an individual sub-image @retrun a list of Texture data

The documentation for this struct was generated from the following file: