http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gameprogrammer] CG and D3D - unbinding shader programs


  • To: gameprogrammer@freelists.org
  • Subject: [gameprogrammer] CG and D3D - unbinding shader programs
  • From: "Alan Wolfe" <alan.wolfe@gmail.com>
  • Date: Sun, 27 Jan 2008 12:52:46 -0800
  • Delivered-to: list1@pendleton.com
  • Delivered-to: gameprogrammer@freelists.org
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=skBAEpmJdDOtagTrHUw5xZrpT5BILAvHeQghymEvqCQ=; b=I2Pm6cebzuImFDq1gy+d5QB36ndMf8fumW+cy8+5qmq+ISNcChyRBY525j89Nm4gmJGONRbxsSa71MIhWZem/zlIrqUnMIbDuqt1tMma2eKAZ5F6MGcgpaYIttvJJvu5wIiNEAiFxOgpot+yVtwAa7Y1vM+Q7NxodqPGIt0LuNQ=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tpr7cSjIzQiN2R5w583vb4jHPo2sseAR+sD3iZOdB9zq0GAgMY0SQD5SFd7o7SINX4yDPqD3tR2FIY+za4Ur6xxuFg/IzzIiUp09GOx2Rm2HCRJNCGi8YFlKnhXNkakaw7mTUqDDMP9Lj0uiOakhHvlpEirDYrf8+XeGaGd/zSI=
  • List-archive: <http://www.freelists.org/archives/gameprogrammer>
  • List-help: <mailto:ecartis@freelists.org?Subject=help>
  • List-id: gameprogrammer <gameprogrammer.freelists.org>
  • List-owner: <mailto:bob@pendleton.com>
  • List-post: <mailto:gameprogrammer@freelists.org>
  • List-software: Ecartis version 1.0.0
  • List-subscribe: <gameprogrammer-request@freelists.org?Subject=subscribe>
  • List-unsubscribe: <gameprogrammer-request@freelists.org?Subject=unsubscribe>
  • Reply-to: gameprogrammer@freelists.org
  • Sender: gameprogrammer-bounce@freelists.org

Hey does anyone know how to unbind a shader program once you've bound
it using cgD3D9BindProgram?

I couldnt find an unbind, and I tried passing null to that function
but it didn't like that.

Basically I just want to use the fixed pipeline 99% of the time but
use a shader program here and there.

Is there a good way to do that?

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html