Cgで使えるbuilt-in関数のリファレンス

Cgで使えるbuilt-in関数のリファレンス

The Cg Tutorial – Appendix E. Cg Standard Library Functions
http://developer.download.nvidia.com/CgTutorial/cg_tutorial_appendix_e.html

Cg-3.1_April2012_ReferenceManual.pdf
http://developer.download.nvidia.com/cg/Cg_3.1/Cg-3.1_April2012_ReferenceManual.pdf

UnityのShaderでも参考になるかなと思います。

Gentoo LinuxでGRUBのタイムアウトを設定

Gentoo LinuxでGRUBのタイムアウトをデフォルトの5秒から変更したい場合は、/etc/default/grubGRUB_TIMEOUT=5という部分を書き換えると良いようです。

# Boot the default entry this many seconds after the menu is displayed
GRUB_TIMEOUT=10
#GRUB_TIMEOUT_STYLE=menu

変更できたらgrub-mkconfigします。

# grub-mkconfig -o /boot/grub/grub.cfg

リンク

GRUB2 – Gentoo Wiki
https://wiki.gentoo.org/wiki/GRUB2