v1.1.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
Sifteo::AssetConfigurationNode Struct Reference

One node in an AssetConfiguration list. More...

#include <sifteo/asset/loader.h>

Public Member Functions

unsigned compressedSize () const
 Get the compressed size of this asset group, in bytes.
 
AssetGroupgroup () const
 Return the AssetGroup referenced by this node.
 
unsigned numTiles () const
 Get the size of this asset group, in tiles.
 
AssetSlot slot () const
 Return the AssetSlot this node will be loaded into.
 
unsigned tileAllocation () const
 How many tiles will this group use up in its AssetSlot? More...
 
_SYSVolumeHandle volume () const
 Return the Volume handle referenced by this node.
 

Detailed Description

One node in an AssetConfiguration list.

This node makes a single request to load one group into one slot. A list of these nodes makes up an AssetConfiguration.

Member Function Documentation

unsigned Sifteo::AssetConfigurationNode::tileAllocation ( ) const
inline

How many tiles will this group use up in its AssetSlot?

This is numTiles(), rounded up to the nearest AssetSlot allocation unit.


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