• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2Texture2D      MyTexture : register(t0);
3
4//----------------------------------------------------------------------------------------
5void TexFunc(in const Texture2D t2D, out float3 RGB)
6{
7    RGB = 0;
8}
9
10//-----------------------------------------------------------------------------------
11void main()
12{
13    float3 final_RGB;
14
15    TexFunc(MyTexture, final_RGB);
16}
17