public void RegisterTexture(string textureName, int width, int height, Format format, MyCatalogTextureType type) { m_textureKeysCatalog.Add(textureName, new MyTextureKeyIdentity() { Type = type, Key = new MyBorrowedTextureKey() { Width = width, Height = height, Format = format } }); }