26 lines
517 B
C++
26 lines
517 B
C++
/*
|
|
# ______ ____ ___
|
|
# | \/ ____| |___|
|
|
# | | | \ | |
|
|
#-----------------------------------------------------------------------
|
|
# Copyright 2020, tyra - https://github.com/h4570/tyra
|
|
# Licenced under Apache License 2.0
|
|
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
|
|
*/
|
|
|
|
#ifndef _TYRA_TEXTURE_USAGE_
|
|
#define _TYRA_TEXTURE_USAGE_
|
|
|
|
#include <tamtypes.h>
|
|
|
|
struct TextureLink
|
|
{
|
|
/**
|
|
* For 3D: Mesh material id.
|
|
* For 2D: Sprite id.
|
|
*/
|
|
u32 id;
|
|
};
|
|
|
|
#endif
|