Enki  1.9
Public Member Functions | Public Attributes | List of all members
Enki::World::GroundTexture Struct Reference

2-D Texture for ground More...

#include <PhysicalEngine.h>

Public Member Functions

 GroundTexture ()
 build an empty texture
 
 GroundTexture (unsigned width, unsigned height, const uint32_t *data)
 build a texture from an existing pointer
 

Public Attributes

unsigned width
 the width of the ground texture, if any
 
unsigned height
 the height of the ground texture, if any
 
std::vector< uint32_t > data
 the date of the ground texture, organised as scanlines of pixels in ARGB (0xAARRGGBB in little endian); empty if there is no ground texture
 

Detailed Description

2-D Texture for ground


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