| 1995 | return t ? t->m_MipMapCount : 0; |
| 1996 | } |
| 1997 | TextureType GetTextureType(HContext context, HTexture texture) |
| 1998 | { |
| 1999 | GraphicsContext* gc = (GraphicsContext*)context; |
| 2000 | DM_MUTEX_OPTIONAL_SCOPED_LOCK(gc->m_AssetHandleContainerMutex); |
| 2001 | const Texture* t = GetAssetFromContainer<Texture>(gc->m_AssetHandleContainer, texture); |
| 2002 | return t ? t->m_Type : TEXTURE_TYPE_2D; |
| 2003 | } |
| 2004 | uint32_t GetTextureStatusFlags(HContext context, HTexture texture) |
| 2005 | { |
| 2006 | GraphicsContext* gc = (GraphicsContext*)context; |
no outgoing calls