func (resource *WorkspaceResource) textureEntity(project *core.Project, textureID int) (entity model.Texture) {
	entity.ID = fmt.Sprintf("%d", textureID)
	entity.Href = "/projects/" + project.Name() + "/textures/" + entity.ID
	entity.Properties = project.Textures().Properties(textureID)
	for _, size := range model.TextureSizes() {
		entity.Images = append(entity.Images, model.Link{Rel: string(size), Href: entity.Href + "/" + string(size)})
	}

	return
}