# DX10View_UploadTextureCube DirectX 10 Callback Reference

        RTSHADER_API HRESULT DX10View_UploadTextureCube
        (
            XSI_RTS_Texture*                in_pImage,
            ID3D10Texture2D**               out_pTCube,
            ID3D10ShaderResourceView**      out_pTView
        );

Uploads an `ID3D10Texture2D` cube to the DirectX 10 device.

Parameters:

  | in_pImage | Texture information coming from Softimage to be uploaded to DX10

Return values:

  | out_pTCube | 2D texture interface to the newly uploaded texture that will be used to manipulate the DX10 texture
  | out_pTView | Shader resource interface to the newly uploaded texture that will be used to manipulate the texture as a shader resource

See also:
  tagDX10ViewGlobals, DirectX10 Callbacks, Execute Callback Reference

Since:
  7.0