| 1953 | height = params ? params->m_Height : 0; |
| 1954 | } |
| 1955 | uint16_t GetTextureWidth(HContext context, HTexture texture) |
| 1956 | { |
| 1957 | GraphicsContext* gc = (GraphicsContext*)context; |
| 1958 | DM_MUTEX_OPTIONAL_SCOPED_LOCK(gc->m_AssetHandleContainerMutex); |
| 1959 | const Texture* t = GetAssetFromContainer<Texture>(gc->m_AssetHandleContainer, texture); |
| 1960 | return t ? t->m_Width : 0; |
| 1961 | } |
| 1962 | uint16_t GetTextureHeight(HContext context, HTexture texture) |
| 1963 | { |
| 1964 | GraphicsContext* gc = (GraphicsContext*)context; |
no outgoing calls