code: def TexturedSoftPhongShader(
      device: Device = "cpu",
      cameras: Optional[TensorProperties] = None,
      lights: Optional[TensorProperties] = None,
      materials: Optional[Materials] = None,
      blend_params: Optional[BlendParams] = None,
  ) -> SoftPhongShader:
      """
      TexturedSoftPhongShader class has been DEPRECATED. Use SoftPhongShader instead.
      Preserving TexturedSoftPhongShader as a function for backwards compatibility.
      """
      warnings.warn(
          """TexturedSoftPhongShader is now deprecated;
              use SoftPhongShader instead.""",
          PendingDeprecationWarning,
      )
      return SoftPhongShader(
          device=device,
          cameras=cameras,
          lights=lights,
          materials=materials,
          blend_params=blend_params,
      )
  
imports: import warnings
  from typing import Optional
  import torch
  import torch.nn
  from ...common.datatypes import Device
  from ...structures.meshes import Meshes
  from ..blending import BlendParams, hard_rgb_blend, sigmoid_alpha_blend, softmax_rgb_blend
  from ..lighting import PointLights
  from ..materials import Materials
  from ..splatter_blend import SplatterBlender
  from ..utils import TensorProperties
  from .rasterizer import Fragments
  from .shading import _phong_shading_with_pixels, flat_shading, gouraud_shading, phong_shading
label_desc: Use image node_id 1 for calling a global function with example usage: TexturedSoftPhongShader(device, cameras, lights, materials, blend_params) and returns: SoftPhongShader