changed resource creation to take this ptr instead of context ptr. Removed
context arg from Material::CreateUntracked.