コード例 #1
0
ファイル: ShaderData.cs プロジェクト: kumpera/PixelMagic
 public void SetOutputTexture(int idx, Texture tex)
 {
     outTex [idx] = tex;
 }
コード例 #2
0
ファイル: Interpreter.cs プロジェクト: kumpera/PixelMagic
 internal void WriteColor(int colorReg, int i, int j, Texture outtex)
 {
     outtex.WriteColor (i, j, colorOut [colorReg]);
 }
コード例 #3
0
ファイル: Texture.cs プロジェクト: kangaroo/PixelMagic
 public Sampler(Texture tex)
 {
     this.tex = tex;
 }