\hypertarget{a07452}{}\section{A\+CG\+:\+:G\+L\+State Class Reference}
\label{a07452}\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}


{\ttfamily \#include $<$A\+C\+G/\+Scenegraph/\+G\+L\+State.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_ace458973a1e27e1551ac70e962825e2d}\label{a07452_ace458973a1e27e1551ac70e962825e2d}} 
\hyperlink{a07452_ace458973a1e27e1551ac70e962825e2d}{G\+L\+State} (bool \+\_\+update\+GL=true, bool \+\_\+compatibility\+Profile=true)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a126bae8a65d1fc62de208029c26d2036}\label{a07452_a126bae8a65d1fc62de208029c26d2036}} 
\hyperlink{a07452_a126bae8a65d1fc62de208029c26d2036}{$\sim$\+G\+L\+State} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a107dd55534a1f5eadd5354ef9086f6f0}\label{a07452_a107dd55534a1f5eadd5354ef9086f6f0}} 
void \hyperlink{a07452_a107dd55534a1f5eadd5354ef9086f6f0}{make\+Current} ()
\begin{DoxyCompactList}\small\item\em does nothing \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac24c86867100b1945b51fef276c5d59a}\label{a07452_ac24c86867100b1945b51fef276c5d59a}} 
void \hyperlink{a07452_ac24c86867100b1945b51fef276c5d59a}{initialize} ()
\begin{DoxyCompactList}\small\item\em initialize all state variables (called by constructor) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_acc9747e3e72e1905191aa4219e3271b6}\label{a07452_acc9747e3e72e1905191aa4219e3271b6}} 
bool \hyperlink{a07452_acc9747e3e72e1905191aa4219e3271b6}{update\+GL} () const
\begin{DoxyCompactList}\small\item\em should GL matrices be updated after each matrix operation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a700d4659dced6596d791c49b592620c4}\label{a07452_a700d4659dced6596d791c49b592620c4}} 
void \hyperlink{a07452_a700d4659dced6596d791c49b592620c4}{set\+\_\+update\+GL} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em should GL matrices be updated after each matrix operation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aabfbb66a5b909089f2c5659cda13ff11}\label{a07452_aabfbb66a5b909089f2c5659cda13ff11}} 
unsigned int \hyperlink{a07452_aabfbb66a5b909089f2c5659cda13ff11}{ms\+Since\+Last\+Redraw} () const
\begin{DoxyCompactList}\small\item\em time passed since last redraw in milliseconds \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a01d352eddfcb3e09c6ea487378ebdab1}\label{a07452_a01d352eddfcb3e09c6ea487378ebdab1}} 
void \hyperlink{a07452_a01d352eddfcb3e09c6ea487378ebdab1}{set\+\_\+ms\+Since\+Last\+Redraw} (unsigned int \+\_\+ms)
\begin{DoxyCompactList}\small\item\em set time passed since last redraw in milliseconds \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a321063c2105070c631af32742f189fca}\label{a07452_a321063c2105070c631af32742f189fca}} 
void \hyperlink{a07452_a321063c2105070c631af32742f189fca}{set\+State} ()
\begin{DoxyCompactList}\small\item\em set the whole stored gl state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af0c792bccdd3727be745ada47187c69a}\label{a07452_af0c792bccdd3727be745ada47187c69a}} 
void \hyperlink{a07452_af0c792bccdd3727be745ada47187c69a}{clear\+Buffers} ()
\begin{DoxyCompactList}\small\item\em clear buffers viewport rectangle \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aeb87017301f1b601667d5165758fcc6b}\label{a07452_aeb87017301f1b601667d5165758fcc6b}} 
const G\+Lenum \& \hyperlink{a07452_aeb87017301f1b601667d5165758fcc6b}{depth\+Func} () const
\begin{DoxyCompactList}\small\item\em get gl\+Depth\+Func() that is supposed to be active \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1b6471723ad1da30a952837b4c5828cd}\label{a07452_a1b6471723ad1da30a952837b4c5828cd}} 
void \hyperlink{a07452_a1b6471723ad1da30a952837b4c5828cd}{set\+\_\+depth\+Func} (const G\+Lenum \&\+\_\+depth\+\_\+func)
\begin{DoxyCompactList}\small\item\em Call gl\+Depth\+Func() to actually change the depth comparison function, and store the new value in this \hyperlink{a07452}{G\+L\+State}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9ad41bf5c43a1103057b50e625bc3fb7}\label{a07452_a9ad41bf5c43a1103057b50e625bc3fb7}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07452_a9ad41bf5c43a1103057b50e625bc3fb7}{project} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+point) const
\begin{DoxyCompactList}\small\item\em project point in world coordinates to window coordinates \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a96e491cbe317c6622546175e26e534ce}\label{a07452_a96e491cbe317c6622546175e26e534ce}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07452_a96e491cbe317c6622546175e26e534ce}{unproject} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+win\+Point) const
\begin{DoxyCompactList}\small\item\em unproject point in window coordinates \+\_\+win\+Point to world coordinates \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9b169ec60dbab7a728e86f37238d381a}\label{a07452_a9b169ec60dbab7a728e86f37238d381a}} 
void \hyperlink{a07452_a9b169ec60dbab7a728e86f37238d381a}{set\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+col)
\begin{DoxyCompactList}\small\item\em set color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab26bc0e97d0964cefe161b66f7785614}\label{a07452_ab26bc0e97d0964cefe161b66f7785614}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07452_ab26bc0e97d0964cefe161b66f7785614}{color} ()
\begin{DoxyCompactList}\small\item\em set color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a8e7eed0c5686f9161810f9de413b1f21}\label{a07452_a8e7eed0c5686f9161810f9de413b1f21}} 
void \hyperlink{a07452_a8e7eed0c5686f9161810f9de413b1f21}{set\+\_\+clear\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+col)
\begin{DoxyCompactList}\small\item\em set background color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a0f6d0b8d6699941440dc0607bd845d1b}\label{a07452_a0f6d0b8d6699941440dc0607bd845d1b}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07452_a0f6d0b8d6699941440dc0607bd845d1b}{clear\+\_\+color} () const
\begin{DoxyCompactList}\small\item\em get background color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_acf3b056bd9e9f24f11cf4eb9529d2dbd}\label{a07452_acf3b056bd9e9f24f11cf4eb9529d2dbd}} 
void \hyperlink{a07452_acf3b056bd9e9f24f11cf4eb9529d2dbd}{set\+\_\+base\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+col)
\begin{DoxyCompactList}\small\item\em set base color (used when lighting is off) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ade07cc7c5decc2f3bfe888f72e466753}\label{a07452_ade07cc7c5decc2f3bfe888f72e466753}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07452_ade07cc7c5decc2f3bfe888f72e466753}{base\+\_\+color} () const
\begin{DoxyCompactList}\small\item\em get base color (used when lighting is off) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a146f85984b4065a388ab3cb01b555634}\label{a07452_a146f85984b4065a388ab3cb01b555634}} 
void \hyperlink{a07452_a146f85984b4065a388ab3cb01b555634}{set\+\_\+ambient\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+col)
\begin{DoxyCompactList}\small\item\em set ambient color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2490f4c7e03664b61a7d1223291f9181}\label{a07452_a2490f4c7e03664b61a7d1223291f9181}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07452_a2490f4c7e03664b61a7d1223291f9181}{ambient\+\_\+color} () const
\begin{DoxyCompactList}\small\item\em get ambient color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afa04964fa17bbdeece7224cdd576223c}\label{a07452_afa04964fa17bbdeece7224cdd576223c}} 
void \hyperlink{a07452_afa04964fa17bbdeece7224cdd576223c}{set\+\_\+diffuse\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+col)
\begin{DoxyCompactList}\small\item\em set diffuse color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af6f22bae165fb9bd5628053c21a00567}\label{a07452_af6f22bae165fb9bd5628053c21a00567}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07452_af6f22bae165fb9bd5628053c21a00567}{diffuse\+\_\+color} () const
\begin{DoxyCompactList}\small\item\em get diffuse color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a04992fe6c1dff974e446bb92a5ec3fe1}\label{a07452_a04992fe6c1dff974e446bb92a5ec3fe1}} 
void \hyperlink{a07452_a04992fe6c1dff974e446bb92a5ec3fe1}{set\+\_\+specular\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+col)
\begin{DoxyCompactList}\small\item\em set specular color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a71b467e5143a9166c0588779db86de5b}\label{a07452_a71b467e5143a9166c0588779db86de5b}} 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07452_a71b467e5143a9166c0588779db86de5b}{specular\+\_\+color} () const
\begin{DoxyCompactList}\small\item\em get specular color \end{DoxyCompactList}\item 
void \hyperlink{a07452_a84e7be38254190b7f57be5c129a16381}{set\+\_\+overlay\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+col)
\begin{DoxyCompactList}\small\item\em set overlay color \end{DoxyCompactList}\item 
const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \& \hyperlink{a07452_a8ad58504dae240ab2f4939c1bdabe8bd}{overlay\+\_\+color} () const
\begin{DoxyCompactList}\small\item\em Get overlay color. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a8f1ed30ac61fd2ab0f31da301e61f9fd}\label{a07452_a8f1ed30ac61fd2ab0f31da301e61f9fd}} 
void \hyperlink{a07452_a8f1ed30ac61fd2ab0f31da301e61f9fd}{set\+\_\+shininess} (float \+\_\+shininess)
\begin{DoxyCompactList}\small\item\em set specular shininess (must be in \mbox{[}0, 128\mbox{]}) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afb47c8ded33937a3dbbe6c8a6c53762b}\label{a07452_afb47c8ded33937a3dbbe6c8a6c53762b}} 
float \hyperlink{a07452_afb47c8ded33937a3dbbe6c8a6c53762b}{shininess} () const
\begin{DoxyCompactList}\small\item\em get specular shininess (must be in \mbox{[}0, 128\mbox{]}) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab05d4e2514546ef812d38fe770714992}\label{a07452_ab05d4e2514546ef812d38fe770714992}} 
void \hyperlink{a07452_ab05d4e2514546ef812d38fe770714992}{set\+\_\+point\+\_\+size} (float \+\_\+f)
\begin{DoxyCompactList}\small\item\em set point size \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afc13bd0d506ed341c133c9ba23226218}\label{a07452_afc13bd0d506ed341c133c9ba23226218}} 
float \hyperlink{a07452_afc13bd0d506ed341c133c9ba23226218}{point\+\_\+size} () const
\begin{DoxyCompactList}\small\item\em get point size \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aac7bc72e56d4bf8de9aa06e0562c7770}\label{a07452_aac7bc72e56d4bf8de9aa06e0562c7770}} 
void \hyperlink{a07452_aac7bc72e56d4bf8de9aa06e0562c7770}{set\+\_\+line\+\_\+width} (float \+\_\+f)
\begin{DoxyCompactList}\small\item\em set line width \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad63330307782b1bb410a0cb7efddc020}\label{a07452_ad63330307782b1bb410a0cb7efddc020}} 
float \hyperlink{a07452_ad63330307782b1bb410a0cb7efddc020}{line\+\_\+width} () const
\begin{DoxyCompactList}\small\item\em get line width \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6a8728f8df703fecfa0e95abfb46e309}\label{a07452_a6a8728f8df703fecfa0e95abfb46e309}} 
void \hyperlink{a07452_a6a8728f8df703fecfa0e95abfb46e309}{set\+\_\+blending} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em set whether transparent or solid objects should be drawn \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a8c4132e2daf77b230ec04989e08f0b76}\label{a07452_a8c4132e2daf77b230ec04989e08f0b76}} 
bool \hyperlink{a07452_a8c4132e2daf77b230ec04989e08f0b76}{blending} ()
\begin{DoxyCompactList}\small\item\em get whether transparenet or solid objects should be drawn \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1d6e645672f6b477376e7cc049c43aa7}\label{a07452_a1d6e645672f6b477376e7cc049c43aa7}} 
void \hyperlink{a07452_a1d6e645672f6b477376e7cc049c43aa7}{set\+\_\+twosided\+\_\+lighting} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em set whether transparent or solid objects should be drawn \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aca5c6a29a08af2967c9c01411289f563}\label{a07452_aca5c6a29a08af2967c9c01411289f563}} 
bool \hyperlink{a07452_aca5c6a29a08af2967c9c01411289f563}{twosided\+\_\+lighting} ()
\begin{DoxyCompactList}\small\item\em get whether transparenet or solid objects should be drawn \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2c16cf18a9db96c09e781fad657382ed}\label{a07452_a2c16cf18a9db96c09e781fad657382ed}} 
void \hyperlink{a07452_a2c16cf18a9db96c09e781fad657382ed}{set\+\_\+multisampling} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em Enable or disable multisampling. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad3bf2570331ff4a43882c191a4420e67}\label{a07452_ad3bf2570331ff4a43882c191a4420e67}} 
bool \hyperlink{a07452_ad3bf2570331ff4a43882c191a4420e67}{multisampling} ()
\begin{DoxyCompactList}\small\item\em Get current multisampling state. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ae85a22f2cd376097ec18b6c80c86e45a}\label{a07452_ae85a22f2cd376097ec18b6c80c86e45a}} 
void \hyperlink{a07452_ae85a22f2cd376097ec18b6c80c86e45a}{allow\+\_\+multisampling} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em Disable multisampling globally. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a941d15d9da3d23a3c3366779905b2a88}\label{a07452_a941d15d9da3d23a3c3366779905b2a88}} 
bool \hyperlink{a07452_a941d15d9da3d23a3c3366779905b2a88}{multisampling\+\_\+allowed} ()
\begin{DoxyCompactList}\small\item\em Check if Multisampling is globally disabled. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a16398a0b7e509c7a58088e443447693f}\label{a07452_a16398a0b7e509c7a58088e443447693f}} 
int \hyperlink{a07452_a16398a0b7e509c7a58088e443447693f}{max\+\_\+texture\+\_\+units} () const
\begin{DoxyCompactList}\small\item\em Get max number of available texture units. \end{DoxyCompactList}\item 
void \hyperlink{a07452_a5a1b9ecf681fdd6d6eb69b0f99558f30}{allow\+\_\+mipmapping} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em Allow mipmapping globally. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af8033f25dc9c42eb222966936cba982e}\label{a07452_af8033f25dc9c42eb222966936cba982e}} 
bool \hyperlink{a07452_af8033f25dc9c42eb222966936cba982e}{mipmapping\+\_\+allowed} () const
\begin{DoxyCompactList}\small\item\em Get current global mipmapping state. \end{DoxyCompactList}\item 
void \hyperlink{a07452_a2375be5d55867c4e4927d2826c19b6a1}{pick\+\_\+init} (bool \+\_\+color)
\begin{DoxyCompactList}\small\item\em initialize name/color picking stack (like gl\+Init\+Names()) \end{DoxyCompactList}\item 
bool \hyperlink{a07452_a6ff5834820607f4e6df24a5b6832c318}{pick\+\_\+set\+\_\+maximum} (size\+\_\+t \+\_\+idx)
\begin{DoxyCompactList}\small\item\em Set the maximal number of primitives/components of your object. \end{DoxyCompactList}\item 
void \hyperlink{a07452_a6789ea865312620cf1d6e0dd7c88a7ae}{pick\+\_\+set\+\_\+name} (size\+\_\+t \+\_\+idx)
\begin{DoxyCompactList}\small\item\em sets the current name/color (like gl\+Load\+Name(\+\_\+idx)) \end{DoxyCompactList}\item 
\hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{Vec4uc} \hyperlink{a07452_a3410c413909a5efddb6a0301ac732640}{pick\+\_\+get\+\_\+name\+\_\+color} (size\+\_\+t \+\_\+idx)
\item 
\mbox{\Hypertarget{a07452_a142fcae1813b93fb0e38aeafbdb3e1e3}\label{a07452_a142fcae1813b93fb0e38aeafbdb3e1e3}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a07452_a142fcae1813b93fb0e38aeafbdb3e1e3}{pick\+\_\+get\+\_\+name\+\_\+color\+\_\+norm} (unsigned int \+\_\+idx)
\begin{DoxyCompactList}\small\item\em same as pick\+\_\+get\+\_\+name\+\_\+color, but the resulting color channels are normalized in \mbox{[}0.\+0, 1.\+0\mbox{]} range \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afb340b77d34cd81fcd823bcf89f0c82c}\label{a07452_afb340b77d34cd81fcd823bcf89f0c82c}} 
void \hyperlink{a07452_afb340b77d34cd81fcd823bcf89f0c82c}{pick\+\_\+push\+\_\+name} (size\+\_\+t \+\_\+idx)
\begin{DoxyCompactList}\small\item\em creates a new name the stack (like gl\+Push\+Name()) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a7af1eef65fde6489287a83407b38296b}\label{a07452_a7af1eef65fde6489287a83407b38296b}} 
void \hyperlink{a07452_a7af1eef65fde6489287a83407b38296b}{pick\+\_\+pop\+\_\+name} ()
\begin{DoxyCompactList}\small\item\em pops the current name from the stack (like gl\+Pop\+Name()) \end{DoxyCompactList}\item 
std\+::vector$<$ size\+\_\+t $>$ \hyperlink{a07452_aee6b511ccb2f5958c9ff8d766d9f074f}{pick\+\_\+color\+\_\+to\+\_\+stack} (\hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{Vec4uc} \+\_\+rgba) const
\item 
\mbox{\Hypertarget{a07452_a7f9eadccd9ed8ec3330e060f1aefb807}\label{a07452_a7f9eadccd9ed8ec3330e060f1aefb807}} 
size\+\_\+t \hyperlink{a07452_a7f9eadccd9ed8ec3330e060f1aefb807}{pick\+\_\+free\+\_\+indicies} () const
\begin{DoxyCompactList}\small\item\em returns the number of still available colors during color picking \end{DoxyCompactList}\item 
bool \hyperlink{a07452_a345faf409b18f4dc500ab75df730a81e}{pick\+\_\+error} () const
\item 
size\+\_\+t \hyperlink{a07452_abe294bde05e14889758cf2c6bca9bf75}{pick\+\_\+current\+\_\+index} () const
\begin{DoxyCompactList}\small\item\em Returns the current color picking index (can be used for caching) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a5767acffcba7b938a3fc8e52592ccb02}\label{a07452_a5767acffcba7b938a3fc8e52592ccb02}} 
bool \hyperlink{a07452_a5767acffcba7b938a3fc8e52592ccb02}{color\+\_\+picking} () const
\begin{DoxyCompactList}\small\item\em Is color picking active? \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}\textbf{ set GL projection matrix}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a82a431d496755fcc65820745eb6e3bb2}\label{a07452_a82a431d496755fcc65820745eb6e3bb2}} 
void \hyperlink{a07452_a82a431d496755fcc65820745eb6e3bb2}{reset\+\_\+projection} ()
\begin{DoxyCompactList}\small\item\em reset projection matrix (load identity) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a5d8214863811ee156abdaf9df8f31846}\label{a07452_a5d8214863811ee156abdaf9df8f31846}} 
void \hyperlink{a07452_a5d8214863811ee156abdaf9df8f31846}{set\+\_\+projection} (const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+m)
\begin{DoxyCompactList}\small\item\em set projection \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a200408a42ef97054790eab0d3c3a8df5}\label{a07452_a200408a42ef97054790eab0d3c3a8df5}} 
void \hyperlink{a07452_a200408a42ef97054790eab0d3c3a8df5}{set\+\_\+projection} (const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+m, const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+inv\+\_\+m)
\begin{DoxyCompactList}\small\item\em set projection and provide inverse projection matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a08390169069e7858fe43fef89d84f902}\label{a07452_a08390169069e7858fe43fef89d84f902}} 
void \hyperlink{a07452_a08390169069e7858fe43fef89d84f902}{ortho} (double \+\_\+left, double \+\_\+right, double \+\_\+bottom, double \+\_\+top, double \+\_\+near\+\_\+plane, double \+\_\+far\+\_\+plane)
\begin{DoxyCompactList}\small\item\em orthographic projection \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab619f8427a9584339bd95cf463ccee40}\label{a07452_ab619f8427a9584339bd95cf463ccee40}} 
void \hyperlink{a07452_ab619f8427a9584339bd95cf463ccee40}{frustum} (double \+\_\+left, double \+\_\+right, double \+\_\+bottom, double \+\_\+top, double \+\_\+near\+\_\+plane, double \+\_\+far\+\_\+plane)
\begin{DoxyCompactList}\small\item\em perspective projection \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a82dbb4c5e545ae07dfd16037b90e3c48}\label{a07452_a82dbb4c5e545ae07dfd16037b90e3c48}} 
void \hyperlink{a07452_a82dbb4c5e545ae07dfd16037b90e3c48}{perspective} (double \+\_\+fovY, double \+\_\+aspect, double \+\_\+near\+\_\+plane, double \+\_\+far\+\_\+plane)
\begin{DoxyCompactList}\small\item\em perspective projection \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afdc02b183ba2570eba5cd4c60e472a1a}\label{a07452_afdc02b183ba2570eba5cd4c60e472a1a}} 
void \hyperlink{a07452_afdc02b183ba2570eba5cd4c60e472a1a}{viewport} (int \+\_\+left, int \+\_\+bottom, int \+\_\+width, int \+\_\+height, int \+\_\+glwidth=0, int \+\_\+glheight=0)
\begin{DoxyCompactList}\small\item\em set viewport (lower left corner, width, height, glcontext width, height) \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ set GL modelview matrix}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a654c4df9030de92a5b787221383d3e07}\label{a07452_a654c4df9030de92a5b787221383d3e07}} 
void \hyperlink{a07452_a654c4df9030de92a5b787221383d3e07}{reset\+\_\+modelview} ()
\begin{DoxyCompactList}\small\item\em reset modelview matrix (load identity) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a910522e2a2b544f08fa9b88cff71bdc8}\label{a07452_a910522e2a2b544f08fa9b88cff71bdc8}} 
void \hyperlink{a07452_a910522e2a2b544f08fa9b88cff71bdc8}{set\+\_\+modelview} (const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+m)
\begin{DoxyCompactList}\small\item\em set modelview \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa1e08e45f427bc327c3afee29c4f83b0}\label{a07452_aa1e08e45f427bc327c3afee29c4f83b0}} 
void \hyperlink{a07452_aa1e08e45f427bc327c3afee29c4f83b0}{set\+\_\+modelview} (const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+m, const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+inv\+\_\+m)
\begin{DoxyCompactList}\small\item\em set modelview and provide inverse modelview matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a318753bd0d82a8e5642517984d0578cc}\label{a07452_a318753bd0d82a8e5642517984d0578cc}} 
void \hyperlink{a07452_a318753bd0d82a8e5642517984d0578cc}{look\+At} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+eye, const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+center, const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+up)
\begin{DoxyCompactList}\small\item\em set camera by look\+At \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a81002bad6d1c22e5b4ab3748fc9526fa}\label{a07452_a81002bad6d1c22e5b4ab3748fc9526fa}} 
void \hyperlink{a07452_a81002bad6d1c22e5b4ab3748fc9526fa}{translate} (double \+\_\+x, double \+\_\+y, double \+\_\+z, \hyperlink{a06176_adda93d34c3eb7b2c524b28f383009a7c}{Multiply\+From} \+\_\+mult\+\_\+from=M\+U\+L\+T\+\_\+\+F\+R\+O\+M\+\_\+\+R\+I\+G\+HT)
\begin{DoxyCompactList}\small\item\em translate by (\+\_\+x, \+\_\+y, \+\_\+z) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a37e03b40bf36b5859ca491300c4ea5b6}\label{a07452_a37e03b40bf36b5859ca491300c4ea5b6}} 
void \hyperlink{a07452_a37e03b40bf36b5859ca491300c4ea5b6}{translate} (\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \+\_\+vector, \hyperlink{a06176_adda93d34c3eb7b2c524b28f383009a7c}{Multiply\+From} \+\_\+mult\+\_\+from=M\+U\+L\+T\+\_\+\+F\+R\+O\+M\+\_\+\+R\+I\+G\+HT)
\begin{DoxyCompactList}\small\item\em translate by \+\_\+vector \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_abd658deea8e246a32b9e7111185b2c87}\label{a07452_abd658deea8e246a32b9e7111185b2c87}} 
void \hyperlink{a07452_abd658deea8e246a32b9e7111185b2c87}{rotate} (double \+\_\+angle, double \+\_\+x, double \+\_\+y, double \+\_\+z, \hyperlink{a06176_adda93d34c3eb7b2c524b28f383009a7c}{Multiply\+From} \+\_\+mult\+\_\+from=M\+U\+L\+T\+\_\+\+F\+R\+O\+M\+\_\+\+R\+I\+G\+HT)
\begin{DoxyCompactList}\small\item\em rotate around axis (\+\_\+x, \+\_\+y, \+\_\+z) by \+\_\+angle \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a7a01303e981b5d3185f028408a5706a6}\label{a07452_a7a01303e981b5d3185f028408a5706a6}} 
void \hyperlink{a07452_a7a01303e981b5d3185f028408a5706a6}{scale} (double \+\_\+s)
\begin{DoxyCompactList}\small\item\em scale by (\+\_\+s, \+\_\+s, \+\_\+s) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a77b3daf9352e98000f6b3b45f756190e}\label{a07452_a77b3daf9352e98000f6b3b45f756190e}} 
void \hyperlink{a07452_a77b3daf9352e98000f6b3b45f756190e}{scale} (double \+\_\+s, \hyperlink{a06176_adda93d34c3eb7b2c524b28f383009a7c}{Multiply\+From})
\begin{DoxyCompactList}\small\item\em scale by (\+\_\+s, \+\_\+s, \+\_\+s) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1f74c0aad1ec5529e2e324b8cd53ba88}\label{a07452_a1f74c0aad1ec5529e2e324b8cd53ba88}} 
void \hyperlink{a07452_a1f74c0aad1ec5529e2e324b8cd53ba88}{scale} (double \+\_\+sx, double \+\_\+sy, double \+\_\+sz, \hyperlink{a06176_adda93d34c3eb7b2c524b28f383009a7c}{Multiply\+From} \+\_\+mult\+\_\+from=M\+U\+L\+T\+\_\+\+F\+R\+O\+M\+\_\+\+R\+I\+G\+HT)
\begin{DoxyCompactList}\small\item\em scale by (\+\_\+sx, \+\_\+sy, \+\_\+sz) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9d7900157c764ad0c453de093c92e765}\label{a07452_a9d7900157c764ad0c453de093c92e765}} 
void \hyperlink{a07452_a9d7900157c764ad0c453de093c92e765}{mult\+\_\+matrix} (const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+m, const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+inv\+\_\+m, \hyperlink{a06176_adda93d34c3eb7b2c524b28f383009a7c}{Multiply\+From} \+\_\+mult\+\_\+from=M\+U\+L\+T\+\_\+\+F\+R\+O\+M\+\_\+\+R\+I\+G\+HT)
\begin{DoxyCompactList}\small\item\em multiply by a given transformation matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a5ed90302429282128bff0694e290a80a}\label{a07452_a5ed90302429282128bff0694e290a80a}} 
void \hyperlink{a07452_a5ed90302429282128bff0694e290a80a}{push\+\_\+projection\+\_\+matrix} ()
\begin{DoxyCompactList}\small\item\em push projection matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a536c0e48989580a619260d02727a45b1}\label{a07452_a536c0e48989580a619260d02727a45b1}} 
void \hyperlink{a07452_a536c0e48989580a619260d02727a45b1}{pop\+\_\+projection\+\_\+matrix} ()
\begin{DoxyCompactList}\small\item\em pop projection matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af5b686a27a5007dfddd2b5e231e675fc}\label{a07452_af5b686a27a5007dfddd2b5e231e675fc}} 
void \hyperlink{a07452_af5b686a27a5007dfddd2b5e231e675fc}{push\+\_\+modelview\+\_\+matrix} ()
\begin{DoxyCompactList}\small\item\em push modelview matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a14809880833fd79c32b544ae6674ba6d}\label{a07452_a14809880833fd79c32b544ae6674ba6d}} 
void \hyperlink{a07452_a14809880833fd79c32b544ae6674ba6d}{pop\+\_\+modelview\+\_\+matrix} ()
\begin{DoxyCompactList}\small\item\em pop modelview matrix \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ get GL states, matrices and projection details}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_aab265c0620aa649bd5a53f3a276de2a8}\label{a07452_aab265c0620aa649bd5a53f3a276de2a8}} 
const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \& \hyperlink{a07452_aab265c0620aa649bd5a53f3a276de2a8}{projection} () const
\begin{DoxyCompactList}\small\item\em get projection matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac03a9564a4fbbb10394cae64811afd96}\label{a07452_ac03a9564a4fbbb10394cae64811afd96}} 
const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \& \hyperlink{a07452_ac03a9564a4fbbb10394cae64811afd96}{modelview} () const
\begin{DoxyCompactList}\small\item\em get modelview matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a56456874fc606165c65d95560b637e25}\label{a07452_a56456874fc606165c65d95560b637e25}} 
const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \& \hyperlink{a07452_a56456874fc606165c65d95560b637e25}{viewport} () const
\begin{DoxyCompactList}\small\item\em get viewport matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aba58486f91c4a4c99e11ffedae360891}\label{a07452_aba58486f91c4a4c99e11ffedae360891}} 
\hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \hyperlink{a07452_aba58486f91c4a4c99e11ffedae360891}{forward\+\_\+projection} () const
\begin{DoxyCompactList}\small\item\em get forward projection matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2b2daded0764789773ee1ecfcd8a7768}\label{a07452_a2b2daded0764789773ee1ecfcd8a7768}} 
const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \& \hyperlink{a07452_a2b2daded0764789773ee1ecfcd8a7768}{inverse\+\_\+projection} () const
\begin{DoxyCompactList}\small\item\em get inverse projection matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab7eb526e9c1c693d541445b2f18335cb}\label{a07452_ab7eb526e9c1c693d541445b2f18335cb}} 
const \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \& \hyperlink{a07452_ab7eb526e9c1c693d541445b2f18335cb}{inverse\+\_\+modelview} () const
\begin{DoxyCompactList}\small\item\em get inverse modelview matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac694a463384833568dc616819d4129ea}\label{a07452_ac694a463384833568dc616819d4129ea}} 
void \hyperlink{a07452_ac694a463384833568dc616819d4129ea}{get\+\_\+viewport} (int \&\+\_\+left, int \&\+\_\+bottom, int \&\+\_\+width, int \&\+\_\+height) const
\begin{DoxyCompactList}\small\item\em get viewport \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a5b697408cf540743200a1c874a7fbf87}\label{a07452_a5b697408cf540743200a1c874a7fbf87}} 
int \hyperlink{a07452_a5b697408cf540743200a1c874a7fbf87}{viewport\+\_\+width} () const
\begin{DoxyCompactList}\small\item\em get viewport width \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac414f6fee6537a736c91056e57d7ef87}\label{a07452_ac414f6fee6537a736c91056e57d7ef87}} 
int \hyperlink{a07452_ac414f6fee6537a736c91056e57d7ef87}{viewport\+\_\+height} () const
\begin{DoxyCompactList}\small\item\em get viewport height \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1d3b85dbc5230337c689fdc422238349}\label{a07452_a1d3b85dbc5230337c689fdc422238349}} 
int \hyperlink{a07452_a1d3b85dbc5230337c689fdc422238349}{context\+\_\+width} () const
\begin{DoxyCompactList}\small\item\em get gl context width \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a556c63e6653eb09f9e3699879ec726bf}\label{a07452_a556c63e6653eb09f9e3699879ec726bf}} 
int \hyperlink{a07452_a556c63e6653eb09f9e3699879ec726bf}{context\+\_\+height} () const
\begin{DoxyCompactList}\small\item\em get gl context height \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac8a02abd6166d019dc0625b5ce1eb758}\label{a07452_ac8a02abd6166d019dc0625b5ce1eb758}} 
double \hyperlink{a07452_ac8a02abd6166d019dc0625b5ce1eb758}{near\+\_\+plane} () const
\begin{DoxyCompactList}\small\item\em get near clipping distance \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a365fd2bbadbdb78c3c13c001ef4793f4}\label{a07452_a365fd2bbadbdb78c3c13c001ef4793f4}} 
double \hyperlink{a07452_a365fd2bbadbdb78c3c13c001ef4793f4}{far\+\_\+plane} () const
\begin{DoxyCompactList}\small\item\em get far clipping distance \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab75c59e34e08456443116d5bca59eb50}\label{a07452_ab75c59e34e08456443116d5bca59eb50}} 
double \hyperlink{a07452_ab75c59e34e08456443116d5bca59eb50}{fovy} () const
\begin{DoxyCompactList}\small\item\em get field of view in y direction \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_adbc9a1671ff2cddbf10b84d1661246f3}\label{a07452_adbc9a1671ff2cddbf10b84d1661246f3}} 
double \hyperlink{a07452_adbc9a1671ff2cddbf10b84d1661246f3}{aspect} () const
\begin{DoxyCompactList}\small\item\em get aspect ratio \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a22aa475154c20bfefb56fc02cbf376bd}\label{a07452_a22aa475154c20bfefb56fc02cbf376bd}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07452_a22aa475154c20bfefb56fc02cbf376bd}{eye} () const
\begin{DoxyCompactList}\small\item\em get eye point \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a67d8a846ccdc44c15291818917590528}\label{a07452_a67d8a846ccdc44c15291818917590528}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07452_a67d8a846ccdc44c15291818917590528}{viewing\+\_\+direction} () const
\begin{DoxyCompactList}\small\item\em get viewing ray \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a066bea9fccb4e4502114f8798e56710d}\label{a07452_a066bea9fccb4e4502114f8798e56710d}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07452_a066bea9fccb4e4502114f8798e56710d}{viewing\+\_\+direction} (int \+\_\+x, int \+\_\+y) const
\begin{DoxyCompactList}\small\item\em get viewing ray through pixel (\+\_\+x,\+\_\+y) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac2c137d83c7e22652c4f3a4ad55eccd7}\label{a07452_ac2c137d83c7e22652c4f3a4ad55eccd7}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07452_ac2c137d83c7e22652c4f3a4ad55eccd7}{up} () const
\begin{DoxyCompactList}\small\item\em get up-\/vector w.\+r.\+t. camera coordinates \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2ec2855ff50358dbb77fc7fe1f48b166}\label{a07452_a2ec2855ff50358dbb77fc7fe1f48b166}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07452_a2ec2855ff50358dbb77fc7fe1f48b166}{right} () const
\begin{DoxyCompactList}\small\item\em get right-\/vector w.\+r.\+t. camera coordinates \end{DoxyCompactList}\item 
void \hyperlink{a07452_a7ec09895b418924ae9da4fed840553c6}{viewing\+\_\+ray} (int \+\_\+x, int \+\_\+y, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+origin, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+direction) const
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a63cf1855bf7ffac5dcf99691b4cd36dd}\label{a07452_a63cf1855bf7ffac5dcf99691b4cd36dd}} 
static void \hyperlink{a07452_a63cf1855bf7ffac5dcf99691b4cd36dd}{sync\+From\+GL} ()
\begin{DoxyCompactList}\small\item\em synchronize this class with the Open\+GL state machine \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a0d48802732680743047be6719cd65746}\label{a07452_a0d48802732680743047be6719cd65746}} 
static void \hyperlink{a07452_a0d48802732680743047be6719cd65746}{depth\+Func} (G\+Lenum \+\_\+depth\+Func)
\begin{DoxyCompactList}\small\item\em replaces gl\+Depth\+Func, supports locking (called in set\+\_\+depth\+Func too) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a43ca2fd4c5262a81bb1be9d89b2e0951}\label{a07452_a43ca2fd4c5262a81bb1be9d89b2e0951}} 
static void {\bfseries lock\+Depth\+Func} ()
\item 
\mbox{\Hypertarget{a07452_a4fa0d2c8c9df6ad4260bced9e296082d}\label{a07452_a4fa0d2c8c9df6ad4260bced9e296082d}} 
static void {\bfseries unlock\+Depth\+Func} ()
\item 
\mbox{\Hypertarget{a07452_a2864dd0e684f7b6a495d092a48ba1359}\label{a07452_a2864dd0e684f7b6a495d092a48ba1359}} 
static bool {\bfseries is\+Depth\+Func\+Locked} ()
\end{DoxyCompactItemize}
\begin{Indent}\textbf{ gl\+Enable / gl\+Disable functionality}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a3cc4123645d6dadb2a2708c5664e4177}\label{a07452_a3cc4123645d6dadb2a2708c5664e4177}} 
static void \hyperlink{a07452_a3cc4123645d6dadb2a2708c5664e4177}{enable} (G\+Lenum \+\_\+cap, bool \+\_\+warn\+Removed=true)
\begin{DoxyCompactList}\small\item\em replaces gl\+Enable, but supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aac458107aa5ecde36c73910be7d4ed8d}\label{a07452_aac458107aa5ecde36c73910be7d4ed8d}} 
static void \hyperlink{a07452_aac458107aa5ecde36c73910be7d4ed8d}{disable} (G\+Lenum \+\_\+cap, bool \+\_\+warn\+Removed=true)
\begin{DoxyCompactList}\small\item\em replaces gl\+Disable, but supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afdccccf17ce24a66e228a89861eee753}\label{a07452_afdccccf17ce24a66e228a89861eee753}} 
static void \hyperlink{a07452_afdccccf17ce24a66e228a89861eee753}{lock\+State} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em locks a specific cap state, such that \hyperlink{a07452_a3cc4123645d6dadb2a2708c5664e4177}{enable()} or \hyperlink{a07452_aac458107aa5ecde36c73910be7d4ed8d}{disable()} has no effect \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a135c10d5aeaa4ca94d4309bd216f8a94}\label{a07452_a135c10d5aeaa4ca94d4309bd216f8a94}} 
static void \hyperlink{a07452_a135c10d5aeaa4ca94d4309bd216f8a94}{unlock\+State} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em unlocks a specific cap state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a39ac1ed77f0e88fcabd1084bca025fce}\label{a07452_a39ac1ed77f0e88fcabd1084bca025fce}} 
static bool \hyperlink{a07452_a39ac1ed77f0e88fcabd1084bca025fce}{is\+State\+Locked} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em returns true, if a cap state is locked \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ae1e64292d249528af14902c31e08cbe0}\label{a07452_ae1e64292d249528af14902c31e08cbe0}} 
static bool \hyperlink{a07452_ae1e64292d249528af14902c31e08cbe0}{is\+State\+Enabled} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em returns true, if a cpa state is enabled \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a5b0a9b3320299173eac5b442dd8619a6}\label{a07452_a5b0a9b3320299173eac5b442dd8619a6}} 
static void \hyperlink{a07452_a5b0a9b3320299173eac5b442dd8619a6}{enable\+Client\+State} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em replaces gl\+Enable\+Client\+State, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a09756d76f53f52672b9f4f95bd2fa9ce}\label{a07452_a09756d76f53f52672b9f4f95bd2fa9ce}} 
static void \hyperlink{a07452_a09756d76f53f52672b9f4f95bd2fa9ce}{disable\+Client\+State} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em replaces gl\+Disable\+Client\+State, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_affb2e1da63b9e755bf491da782d964a4}\label{a07452_affb2e1da63b9e755bf491da782d964a4}} 
static void \hyperlink{a07452_affb2e1da63b9e755bf491da782d964a4}{lock\+Client\+State} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em locks a client state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a7c5890ba8567407d9cbd6bfce9ecc0bd}\label{a07452_a7c5890ba8567407d9cbd6bfce9ecc0bd}} 
static void \hyperlink{a07452_a7c5890ba8567407d9cbd6bfce9ecc0bd}{unlock\+Client\+State} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em unlocks a client state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a74817e4f112fa6f8efd487547bc6843b}\label{a07452_a74817e4f112fa6f8efd487547bc6843b}} 
static bool \hyperlink{a07452_a74817e4f112fa6f8efd487547bc6843b}{is\+Client\+State\+Enabled} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em returns true, if a client state is enabled \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa2f83639f94eb94e90bdc10a9e8737fc}\label{a07452_aa2f83639f94eb94e90bdc10a9e8737fc}} 
static bool \hyperlink{a07452_aa2f83639f94eb94e90bdc10a9e8737fc}{is\+Client\+State\+Locked} (G\+Lenum \+\_\+cap)
\begin{DoxyCompactList}\small\item\em returns true, if a client state is locked \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9270e5af917bbddd42603c9d864186d6}\label{a07452_a9270e5af917bbddd42603c9d864186d6}} 
static void \hyperlink{a07452_a9270e5af917bbddd42603c9d864186d6}{blend\+Func} (G\+Lenum \+\_\+sfactor, G\+Lenum \+\_\+dfactor)
\begin{DoxyCompactList}\small\item\em replaces gl\+Blend\+Func, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6f3801e5eb73be51119352e338293ecd}\label{a07452_a6f3801e5eb73be51119352e338293ecd}} 
static void \hyperlink{a07452_a6f3801e5eb73be51119352e338293ecd}{get\+Blend\+Func} (G\+Lenum $\ast$\+\_\+sfactor, G\+Lenum $\ast$\+\_\+dfactor)
\begin{DoxyCompactList}\small\item\em get blend function, null-\/ptr safe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab4caa75550b776c66b9c006ab236719f}\label{a07452_ab4caa75550b776c66b9c006ab236719f}} 
static void \hyperlink{a07452_ab4caa75550b776c66b9c006ab236719f}{lock\+Blend\+Func} ()
\begin{DoxyCompactList}\small\item\em lock blend func \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a99dc5ed4623c99d1ddb61fced53842e3}\label{a07452_a99dc5ed4623c99d1ddb61fced53842e3}} 
static void \hyperlink{a07452_a99dc5ed4623c99d1ddb61fced53842e3}{unlock\+Blend\+Func} ()
\begin{DoxyCompactList}\small\item\em unlock blend func \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac22a7bd0f51700ecf943c5c3ffb831cb}\label{a07452_ac22a7bd0f51700ecf943c5c3ffb831cb}} 
static bool \hyperlink{a07452_ac22a7bd0f51700ecf943c5c3ffb831cb}{is\+Blend\+Func\+Locked} ()
\begin{DoxyCompactList}\small\item\em get blend func locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_adf8b65a60f92f9710fc1492c66e260d9}\label{a07452_adf8b65a60f92f9710fc1492c66e260d9}} 
static void \hyperlink{a07452_adf8b65a60f92f9710fc1492c66e260d9}{blend\+Func\+Separate} (G\+Lenum \+\_\+src\+R\+GB, G\+Lenum \+\_\+dst\+R\+GB, G\+Lenum \+\_\+src\+Alpha, G\+Lenum \+\_\+dst\+Alpha)
\begin{DoxyCompactList}\small\item\em replaces gl\+Blend\+Func\+Separate, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afcab75deb36fea6a427a9fa07d6da703}\label{a07452_afcab75deb36fea6a427a9fa07d6da703}} 
static void \hyperlink{a07452_afcab75deb36fea6a427a9fa07d6da703}{get\+Blend\+Func\+Separate} (G\+Lenum $\ast$\+\_\+src\+R\+GB, G\+Lenum $\ast$\+\_\+dst\+R\+GB, G\+Lenum $\ast$\+\_\+src\+Alpha, G\+Lenum $\ast$\+\_\+dst\+Alpha)
\begin{DoxyCompactList}\small\item\em get blend function, null-\/ptr safe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6e8cc3b85c08e1836c92d4d64759f9c7}\label{a07452_a6e8cc3b85c08e1836c92d4d64759f9c7}} 
static void \hyperlink{a07452_a6e8cc3b85c08e1836c92d4d64759f9c7}{lock\+Blend\+Func\+Separate} (bool \+\_\+rgb=true, bool \+\_\+alpha=true)
\begin{DoxyCompactList}\small\item\em lock blend func \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a61643a4bb11811beb50c2a747e47da78}\label{a07452_a61643a4bb11811beb50c2a747e47da78}} 
static void \hyperlink{a07452_a61643a4bb11811beb50c2a747e47da78}{unlock\+Blend\+Func\+Separate} ()
\begin{DoxyCompactList}\small\item\em unlock blend func \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af05df59ea740383b8c3f3da63eb01d17}\label{a07452_af05df59ea740383b8c3f3da63eb01d17}} 
static bool \hyperlink{a07452_af05df59ea740383b8c3f3da63eb01d17}{is\+Blend\+Func\+Separate\+Locked} ()
\begin{DoxyCompactList}\small\item\em get blend func locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac697033b194dec351d5162dfaf1abdc1}\label{a07452_ac697033b194dec351d5162dfaf1abdc1}} 
static bool \hyperlink{a07452_ac697033b194dec351d5162dfaf1abdc1}{is\+Blend\+Func\+Separate\+Color\+Locked} ()
\begin{DoxyCompactList}\small\item\em replaces gl\+Enable, but supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aec202ca44ef5612b0c24e0ddc8282055}\label{a07452_aec202ca44ef5612b0c24e0ddc8282055}} 
static bool \hyperlink{a07452_aec202ca44ef5612b0c24e0ddc8282055}{is\+Blend\+Func\+Separate\+Alpha\+Locked} ()
\begin{DoxyCompactList}\small\item\em replaces gl\+Enable, but supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a8f38ac713083777c43832c8c67ef8134}\label{a07452_a8f38ac713083777c43832c8c67ef8134}} 
static void \hyperlink{a07452_a8f38ac713083777c43832c8c67ef8134}{blend\+Equation} (G\+Lenum \+\_\+mode)
\begin{DoxyCompactList}\small\item\em replaces gl\+Blend\+Equation, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac5b8d085827c7ce450b1680c4076b54c}\label{a07452_ac5b8d085827c7ce450b1680c4076b54c}} 
static G\+Lenum \hyperlink{a07452_ac5b8d085827c7ce450b1680c4076b54c}{get\+Blend\+Equation} ()
\begin{DoxyCompactList}\small\item\em get blend equation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a663447e83a0d742ab4dc8e8162c371a8}\label{a07452_a663447e83a0d742ab4dc8e8162c371a8}} 
static void \hyperlink{a07452_a663447e83a0d742ab4dc8e8162c371a8}{lock\+Blend\+Equation} ()
\begin{DoxyCompactList}\small\item\em lock blend equation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af0ca4c2ac564c197b1cf968eb81aeef7}\label{a07452_af0ca4c2ac564c197b1cf968eb81aeef7}} 
static void \hyperlink{a07452_af0ca4c2ac564c197b1cf968eb81aeef7}{unlock\+Blend\+Equation} ()
\begin{DoxyCompactList}\small\item\em unlock blend equation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a7d3c92cf518d5e547a6e7a179e4eb815}\label{a07452_a7d3c92cf518d5e547a6e7a179e4eb815}} 
static bool \hyperlink{a07452_a7d3c92cf518d5e547a6e7a179e4eb815}{is\+Blend\+Equation\+Locked} ()
\begin{DoxyCompactList}\small\item\em get blend equation locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6d3ba525c81158d4d4d5b47e4c886091}\label{a07452_a6d3ba525c81158d4d4d5b47e4c886091}} 
static void \hyperlink{a07452_a6d3ba525c81158d4d4d5b47e4c886091}{blend\+Color} (G\+Lclampf \+\_\+red, G\+Lclampf \+\_\+green, G\+Lclampf \+\_\+blue, G\+Lclampf \+\_\+alpha)
\begin{DoxyCompactList}\small\item\em replaces gl\+Blend\+Color, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa14c9039c1320b87122ce6994d5818ff}\label{a07452_aa14c9039c1320b87122ce6994d5818ff}} 
static void \hyperlink{a07452_aa14c9039c1320b87122ce6994d5818ff}{get\+Blend\+Color} (G\+Lclampf $\ast$\+\_\+col)
\begin{DoxyCompactList}\small\item\em get blend color, not null-\/ptr safe, 4 element color output\+: R\+G\+BA \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a95130cf7d2159bc6e877e849fb1ea37d}\label{a07452_a95130cf7d2159bc6e877e849fb1ea37d}} 
static void \hyperlink{a07452_a95130cf7d2159bc6e877e849fb1ea37d}{lock\+Blend\+Color} ()
\begin{DoxyCompactList}\small\item\em lock blend color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a4e2b9783c165651d4000a73c95289869}\label{a07452_a4e2b9783c165651d4000a73c95289869}} 
static void \hyperlink{a07452_a4e2b9783c165651d4000a73c95289869}{unlock\+Blend\+Color} ()
\begin{DoxyCompactList}\small\item\em unlock blend color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_add651f74fe620e99d3af793c5bcb427e}\label{a07452_add651f74fe620e99d3af793c5bcb427e}} 
static bool \hyperlink{a07452_add651f74fe620e99d3af793c5bcb427e}{is\+Blend\+Color\+Locked} ()
\begin{DoxyCompactList}\small\item\em get blend color locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a99a00cc1990d00e90ec30c69bce1ed1f}\label{a07452_a99a00cc1990d00e90ec30c69bce1ed1f}} 
static void \hyperlink{a07452_a99a00cc1990d00e90ec30c69bce1ed1f}{alpha\+Func} (G\+Lenum \+\_\+func, G\+Lclampf \+\_\+ref)
\begin{DoxyCompactList}\small\item\em replaces gl\+Alpha\+Func, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1f9d2eeda821a2368b25deaedf05e52f}\label{a07452_a1f9d2eeda821a2368b25deaedf05e52f}} 
static void \hyperlink{a07452_a1f9d2eeda821a2368b25deaedf05e52f}{get\+Alpha\+Func} (G\+Lenum $\ast$\+\_\+func, G\+Lclampf $\ast$\+\_\+ref)
\begin{DoxyCompactList}\small\item\em get alpha function, null-\/ptr safe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a8bd127c020d5e77e1033c74383d8bb5f}\label{a07452_a8bd127c020d5e77e1033c74383d8bb5f}} 
static void \hyperlink{a07452_a8bd127c020d5e77e1033c74383d8bb5f}{lock\+Alpha\+Func} ()
\begin{DoxyCompactList}\small\item\em lock alpha func \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_adcd8d074dd13e4bc3cdaf5a623558bb6}\label{a07452_adcd8d074dd13e4bc3cdaf5a623558bb6}} 
static void \hyperlink{a07452_adcd8d074dd13e4bc3cdaf5a623558bb6}{unlock\+Alpha\+Func} ()
\begin{DoxyCompactList}\small\item\em unlock alpha func \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9879cef23da7944eabee707415baed78}\label{a07452_a9879cef23da7944eabee707415baed78}} 
static bool \hyperlink{a07452_a9879cef23da7944eabee707415baed78}{is\+Alpha\+Func\+Locked} ()
\begin{DoxyCompactList}\small\item\em get alpha func locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad79f7b82d0d7e5b92c3c98b0d84da7f1}\label{a07452_ad79f7b82d0d7e5b92c3c98b0d84da7f1}} 
static void \hyperlink{a07452_ad79f7b82d0d7e5b92c3c98b0d84da7f1}{shade\+Model} (G\+Lenum \+\_\+mode)
\begin{DoxyCompactList}\small\item\em replaces gl\+Shade\+Model, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a214efedbf9a06b29873e6b4371e4bfa4}\label{a07452_a214efedbf9a06b29873e6b4371e4bfa4}} 
static G\+Lenum \hyperlink{a07452_a214efedbf9a06b29873e6b4371e4bfa4}{get\+Shade\+Model} ()
\begin{DoxyCompactList}\small\item\em get current shade model \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac56901dfcfb84527c45c8e97d53355b4}\label{a07452_ac56901dfcfb84527c45c8e97d53355b4}} 
static void \hyperlink{a07452_ac56901dfcfb84527c45c8e97d53355b4}{lock\+Shade\+Model} ()
\begin{DoxyCompactList}\small\item\em lock shade model \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a4793038f102a84955a4d04eb8684367c}\label{a07452_a4793038f102a84955a4d04eb8684367c}} 
static void \hyperlink{a07452_a4793038f102a84955a4d04eb8684367c}{unlock\+Shade\+Model} ()
\begin{DoxyCompactList}\small\item\em unlock shade model \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad1363e6fd8cf988911bc58f080d52a0f}\label{a07452_ad1363e6fd8cf988911bc58f080d52a0f}} 
static bool \hyperlink{a07452_ad1363e6fd8cf988911bc58f080d52a0f}{is\+Shade\+Model\+Locked} ()
\begin{DoxyCompactList}\small\item\em get shade model locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2220beb47533f235cb14306153ddfd15}\label{a07452_a2220beb47533f235cb14306153ddfd15}} 
static void \hyperlink{a07452_a2220beb47533f235cb14306153ddfd15}{cull\+Face} (G\+Lenum \+\_\+mode)
\begin{DoxyCompactList}\small\item\em replaces gl\+Cull\+Face, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac724a125c8486e23183f84bc83406492}\label{a07452_ac724a125c8486e23183f84bc83406492}} 
static G\+Lenum \hyperlink{a07452_ac724a125c8486e23183f84bc83406492}{get\+Cull\+Face} ()
\begin{DoxyCompactList}\small\item\em get current cull face \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a4e3a027b1cd3beb3944969f674a4082a}\label{a07452_a4e3a027b1cd3beb3944969f674a4082a}} 
static void \hyperlink{a07452_a4e3a027b1cd3beb3944969f674a4082a}{lock\+Cull\+Face} ()
\begin{DoxyCompactList}\small\item\em lock cull face \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a95dcf0745d7fea40ba32807dfb90a79a}\label{a07452_a95dcf0745d7fea40ba32807dfb90a79a}} 
static void \hyperlink{a07452_a95dcf0745d7fea40ba32807dfb90a79a}{unlock\+Cull\+Face} ()
\begin{DoxyCompactList}\small\item\em unlock cull face \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a81dcd55b67f870a05ef8e3751b555e95}\label{a07452_a81dcd55b67f870a05ef8e3751b555e95}} 
static bool \hyperlink{a07452_a81dcd55b67f870a05ef8e3751b555e95}{is\+Cull\+Face\+Locked} ()
\begin{DoxyCompactList}\small\item\em get cull face locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa2b548f0bd7bddf503751c2bf3ae0030}\label{a07452_aa2b548f0bd7bddf503751c2bf3ae0030}} 
static void \hyperlink{a07452_aa2b548f0bd7bddf503751c2bf3ae0030}{depth\+Range} (G\+Lclampd \+\_\+z\+Near, G\+Lclampd \+\_\+z\+Far)
\begin{DoxyCompactList}\small\item\em replaces gl\+Depth\+Range, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6b8ca0fe470936756cdd33f917e58a39}\label{a07452_a6b8ca0fe470936756cdd33f917e58a39}} 
static void \hyperlink{a07452_a6b8ca0fe470936756cdd33f917e58a39}{get\+Depth\+Range} (G\+Lclampd $\ast$\+\_\+z\+Near\+Out, G\+Lclampd $\ast$\+\_\+z\+Far\+Out)
\begin{DoxyCompactList}\small\item\em get current depth range \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2cb79d5199333910111db55c964aefca}\label{a07452_a2cb79d5199333910111db55c964aefca}} 
static void \hyperlink{a07452_a2cb79d5199333910111db55c964aefca}{lock\+Depth\+Range} ()
\begin{DoxyCompactList}\small\item\em lock depth range \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab46f431d5d4ab76b09aad600fc484412}\label{a07452_ab46f431d5d4ab76b09aad600fc484412}} 
static void \hyperlink{a07452_ab46f431d5d4ab76b09aad600fc484412}{unlock\+Depth\+Range} ()
\begin{DoxyCompactList}\small\item\em unlock depth range \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aca3507356f34cc204a1562290522724c}\label{a07452_aca3507356f34cc204a1562290522724c}} 
static bool \hyperlink{a07452_aca3507356f34cc204a1562290522724c}{is\+Depth\+Range\+Locked} ()
\begin{DoxyCompactList}\small\item\em get depth range locking state \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ GL vertex pointers}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a2f6806f89c6cce539dd119d32ebc1962}\label{a07452_a2f6806f89c6cce539dd119d32ebc1962}} 
static void \hyperlink{a07452_a2f6806f89c6cce539dd119d32ebc1962}{vertex\+Pointer} (G\+Lint \+\_\+size, G\+Lenum \+\_\+type, G\+Lsizei \+\_\+stride, const G\+Lvoid $\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em replaces gl\+Vertex\+Pointer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ab8070424236bf79b4009f61177bf260c}\label{a07452_ab8070424236bf79b4009f61177bf260c}} 
static void \hyperlink{a07452_ab8070424236bf79b4009f61177bf260c}{get\+Vertex\+Pointer} (G\+Lint $\ast$\+\_\+size, G\+Lenum $\ast$\+\_\+type, G\+Lsizei $\ast$\+\_\+stride, const G\+Lvoid $\ast$$\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em get vertex pointer, null-\/ptr safe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a831e49b95e4270e4018e196748f7e3e8}\label{a07452_a831e49b95e4270e4018e196748f7e3e8}} 
static void \hyperlink{a07452_a831e49b95e4270e4018e196748f7e3e8}{vertex\+Pointer} (const \hyperlink{a06176_a8b858737aebd55e312149cf208a0b3f3}{Vec2f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Vertex\+Pointer for Vec2f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aef958d14789330509b7f21cc9a83ab25}\label{a07452_aef958d14789330509b7f21cc9a83ab25}} 
static void \hyperlink{a07452_aef958d14789330509b7f21cc9a83ab25}{vertex\+Pointer} (const \hyperlink{a06176_abdbb3513d29b2c3cc161185bc8a2e6da}{Vec2d} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Vertex\+Pointer for Vec2d. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a103790cbad22866145e6bd645113fc01}\label{a07452_a103790cbad22866145e6bd645113fc01}} 
static void \hyperlink{a07452_a103790cbad22866145e6bd645113fc01}{vertex\+Pointer} (const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Vertex\+Pointer for Vec3f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa8e917bbebd36e853a40011ae898c56e}\label{a07452_aa8e917bbebd36e853a40011ae898c56e}} 
static void \hyperlink{a07452_aa8e917bbebd36e853a40011ae898c56e}{vertex\+Pointer} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Vertex\+Pointer for Vec3d. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a0a8fb9e00fb9e5d11921d5c721a51c3b}\label{a07452_a0a8fb9e00fb9e5d11921d5c721a51c3b}} 
static void \hyperlink{a07452_a0a8fb9e00fb9e5d11921d5c721a51c3b}{vertex\+Pointer} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Vertex\+Pointer for Vec4f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a56badb539751d9f83098969d052adb1d}\label{a07452_a56badb539751d9f83098969d052adb1d}} 
static void \hyperlink{a07452_a56badb539751d9f83098969d052adb1d}{vertex\+Pointer} (const \hyperlink{a06176_a2ba4d05b21aa0247255d38e770bcc255}{Vec4d} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Vertex\+Pointer for Vec4d. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a3680afb9f7ba7fefb250d77d496d678e}\label{a07452_a3680afb9f7ba7fefb250d77d496d678e}} 
static void \hyperlink{a07452_a3680afb9f7ba7fefb250d77d496d678e}{lock\+Vertex\+Pointer} ()
\begin{DoxyCompactList}\small\item\em lock vertex pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa61b797cc505af548b772b21a31ff76b}\label{a07452_aa61b797cc505af548b772b21a31ff76b}} 
static void \hyperlink{a07452_aa61b797cc505af548b772b21a31ff76b}{unlock\+Vertex\+Pointer} ()
\begin{DoxyCompactList}\small\item\em unlock vertex pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af9ecc68b2b6718702188c50fe2dc809d}\label{a07452_af9ecc68b2b6718702188c50fe2dc809d}} 
static bool \hyperlink{a07452_af9ecc68b2b6718702188c50fe2dc809d}{is\+Vertex\+Pointer\+Locked} ()
\begin{DoxyCompactList}\small\item\em get vertex pointer lock state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a472fa0c97d1c10c5d4ed6ba7386f8ab6}\label{a07452_a472fa0c97d1c10c5d4ed6ba7386f8ab6}} 
static void \hyperlink{a07452_a472fa0c97d1c10c5d4ed6ba7386f8ab6}{normal\+Pointer} (G\+Lenum \+\_\+type, G\+Lsizei \+\_\+stride, const G\+Lvoid $\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em replaces gl\+Normal\+Pointer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a5c4c059464f1041c6d5838f815f9e46c}\label{a07452_a5c4c059464f1041c6d5838f815f9e46c}} 
static void \hyperlink{a07452_a5c4c059464f1041c6d5838f815f9e46c}{get\+Normal\+Pointer} (G\+Lenum $\ast$\+\_\+type, G\+Lsizei $\ast$\+\_\+stride, const G\+Lvoid $\ast$$\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em get normal pointer, null-\/ptr safe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1e9745feba4ddc505270687d131b374b}\label{a07452_a1e9745feba4ddc505270687d131b374b}} 
static void \hyperlink{a07452_a1e9745feba4ddc505270687d131b374b}{normal\+Pointer} (const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Normal\+Pointer for Vec3f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a8bd939edbc685d7861ea1864f1be1bb8}\label{a07452_a8bd939edbc685d7861ea1864f1be1bb8}} 
static void \hyperlink{a07452_a8bd939edbc685d7861ea1864f1be1bb8}{normal\+Pointer} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Normal\+Pointer for Vec3d. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aca19f82baa9fc08016d1a5cf569ae380}\label{a07452_aca19f82baa9fc08016d1a5cf569ae380}} 
static void \hyperlink{a07452_aca19f82baa9fc08016d1a5cf569ae380}{lock\+Normal\+Pointer} ()
\begin{DoxyCompactList}\small\item\em lock normal pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2047cecd61e450c85761a5ea9752b73b}\label{a07452_a2047cecd61e450c85761a5ea9752b73b}} 
static void \hyperlink{a07452_a2047cecd61e450c85761a5ea9752b73b}{unlock\+Normal\+Pointer} ()
\begin{DoxyCompactList}\small\item\em unlock normal pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a959f0fdc0377f77936c67e71ef7649da}\label{a07452_a959f0fdc0377f77936c67e71ef7649da}} 
static bool \hyperlink{a07452_a959f0fdc0377f77936c67e71ef7649da}{is\+Normal\+Pointer\+Locked} ()
\begin{DoxyCompactList}\small\item\em get normal pointer lock state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a0e32472bcfbe69ad1a7832571ff5bea0}\label{a07452_a0e32472bcfbe69ad1a7832571ff5bea0}} 
static void \hyperlink{a07452_a0e32472bcfbe69ad1a7832571ff5bea0}{color\+Pointer} (G\+Lint \+\_\+size, G\+Lenum \+\_\+type, G\+Lsizei \+\_\+stride, const G\+Lvoid $\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em replaces gl\+Color\+Pointer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac7c8156e11e6f7815a3b97df8f77343b}\label{a07452_ac7c8156e11e6f7815a3b97df8f77343b}} 
static void \hyperlink{a07452_ac7c8156e11e6f7815a3b97df8f77343b}{get\+Color\+Pointer} (G\+Lint $\ast$\+\_\+size, G\+Lenum $\ast$\+\_\+type, G\+Lsizei $\ast$\+\_\+stride, const G\+Lvoid $\ast$$\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em get color pointer, null-\/ptr safe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a91711060185ca0a79e53d0f0bee9b230}\label{a07452_a91711060185ca0a79e53d0f0bee9b230}} 
static void \hyperlink{a07452_a91711060185ca0a79e53d0f0bee9b230}{color\+Pointer} (const \hyperlink{a06176_a9334e4037c813f1a3d41719ee499dedc}{Vec3uc} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Color\+Pointer for Vec3uc. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a634c83eed0a3b4d78898434640ba27b6}\label{a07452_a634c83eed0a3b4d78898434640ba27b6}} 
static void \hyperlink{a07452_a634c83eed0a3b4d78898434640ba27b6}{color\+Pointer} (const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Color\+Pointer for Vec3f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a45e1e2af8a9bd6484f650fd4491af713}\label{a07452_a45e1e2af8a9bd6484f650fd4491af713}} 
static void \hyperlink{a07452_a45e1e2af8a9bd6484f650fd4491af713}{color\+Pointer} (const \hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{Vec4uc} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Color\+Pointer for Vec4uc. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad61fbd29d985136b4cc282a14a32c7fb}\label{a07452_ad61fbd29d985136b4cc282a14a32c7fb}} 
static void \hyperlink{a07452_ad61fbd29d985136b4cc282a14a32c7fb}{color\+Pointer} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Color\+Pointer for Vec4f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6a39ada6928fa7885365e88a611f4544}\label{a07452_a6a39ada6928fa7885365e88a611f4544}} 
static void \hyperlink{a07452_a6a39ada6928fa7885365e88a611f4544}{lock\+Color\+Pointer} ()
\begin{DoxyCompactList}\small\item\em lock color pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9c2c43793733949424df65cd96f2075e}\label{a07452_a9c2c43793733949424df65cd96f2075e}} 
static void \hyperlink{a07452_a9c2c43793733949424df65cd96f2075e}{unlock\+Color\+Pointer} ()
\begin{DoxyCompactList}\small\item\em unlock vertex pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad01bfa3899c25ae36998433f08a57169}\label{a07452_ad01bfa3899c25ae36998433f08a57169}} 
static bool \hyperlink{a07452_ad01bfa3899c25ae36998433f08a57169}{is\+Color\+Pointer\+Locked} ()
\begin{DoxyCompactList}\small\item\em get vertex pointer lock state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aac01e6e215cd925ff429985d74f9d88f}\label{a07452_aac01e6e215cd925ff429985d74f9d88f}} 
static void \hyperlink{a07452_aac01e6e215cd925ff429985d74f9d88f}{texcoord\+Pointer} (G\+Lint \+\_\+size, G\+Lenum \+\_\+type, G\+Lsizei \+\_\+stride, const G\+Lvoid $\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em replaces gl\+Texcoord\+Pointer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ae3ee9f76ca6675f46aaa4e258cc6164d}\label{a07452_ae3ee9f76ca6675f46aaa4e258cc6164d}} 
static void \hyperlink{a07452_ae3ee9f76ca6675f46aaa4e258cc6164d}{get\+Texcoord\+Pointer} (G\+Lint $\ast$\+\_\+size, G\+Lenum $\ast$\+\_\+type, G\+Lsizei $\ast$\+\_\+stride, const G\+Lvoid $\ast$$\ast$\+\_\+pointer)
\begin{DoxyCompactList}\small\item\em get color pointer, null-\/ptr safe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af79d9f44011fa405f6428caccb51f400}\label{a07452_af79d9f44011fa405f6428caccb51f400}} 
static void \hyperlink{a07452_af79d9f44011fa405f6428caccb51f400}{texcoord\+Pointer} (const float $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for float. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a7c6ec4caf371d798aaa209d16268e14f}\label{a07452_a7c6ec4caf371d798aaa209d16268e14f}} 
static void \hyperlink{a07452_a7c6ec4caf371d798aaa209d16268e14f}{texcoord\+Pointer} (const double $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for double. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a7410182d39c64a411071cd5f1f027736}\label{a07452_a7410182d39c64a411071cd5f1f027736}} 
static void \hyperlink{a07452_a7410182d39c64a411071cd5f1f027736}{texcoord\+Pointer} (const \hyperlink{a06176_a8b858737aebd55e312149cf208a0b3f3}{Vec2f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for Vec2f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a833cde1a237bcf216d981597c82f96bb}\label{a07452_a833cde1a237bcf216d981597c82f96bb}} 
static void \hyperlink{a07452_a833cde1a237bcf216d981597c82f96bb}{texcoord\+Pointer} (const \hyperlink{a06176_abdbb3513d29b2c3cc161185bc8a2e6da}{Vec2d} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for Vec2d. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a909afbd9714f3326fd1f24069de55f1d}\label{a07452_a909afbd9714f3326fd1f24069de55f1d}} 
static void \hyperlink{a07452_a909afbd9714f3326fd1f24069de55f1d}{texcoord\+Pointer} (const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for Vec3f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a571bf95a7a8ba7540ff9f5f01219577e}\label{a07452_a571bf95a7a8ba7540ff9f5f01219577e}} 
static void \hyperlink{a07452_a571bf95a7a8ba7540ff9f5f01219577e}{texcoord\+Pointer} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for Vec3d. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a678eb873d207934978ed6a25c75adfb6}\label{a07452_a678eb873d207934978ed6a25c75adfb6}} 
static void \hyperlink{a07452_a678eb873d207934978ed6a25c75adfb6}{texcoord\+Pointer} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for Vec4f. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a4120ed54b12dbf5960b1255eb40a1c5d}\label{a07452_a4120ed54b12dbf5960b1255eb40a1c5d}} 
static void \hyperlink{a07452_a4120ed54b12dbf5960b1255eb40a1c5d}{texcoord\+Pointer} (const \hyperlink{a06176_a2ba4d05b21aa0247255d38e770bcc255}{Vec4d} $\ast$\+\_\+p)
\begin{DoxyCompactList}\small\item\em Wrapper\+: gl\+Texcoord\+Pointer for Vec4d. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a464dabaea8953e2ae9b9e0f4a03a5ae1}\label{a07452_a464dabaea8953e2ae9b9e0f4a03a5ae1}} 
static void \hyperlink{a07452_a464dabaea8953e2ae9b9e0f4a03a5ae1}{set\+Tex\+Gen\+Mode} (G\+Lenum \+\_\+coord, G\+Lenum \+\_\+name, G\+Lint \+\_\+param)
\begin{DoxyCompactList}\small\item\em replaces gl\+Vertex\+Pointer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad4f246fa9c1970148d6a13eff271543b}\label{a07452_ad4f246fa9c1970148d6a13eff271543b}} 
static void \hyperlink{a07452_ad4f246fa9c1970148d6a13eff271543b}{get\+Tex\+Gen\+Mode} (G\+Lenum \+\_\+coord, G\+Lenum \+\_\+name, G\+Lint $\ast$\+\_\+param)
\begin{DoxyCompactList}\small\item\em replaces gl\+Vertex\+Pointer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a4a0786c0916a24d2c4729687f4c6c758}\label{a07452_a4a0786c0916a24d2c4729687f4c6c758}} 
static void \hyperlink{a07452_a4a0786c0916a24d2c4729687f4c6c758}{lock\+Texcoord\+Pointer} ()
\begin{DoxyCompactList}\small\item\em lock color pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a50ed9fc622f694c93340cba7e2c18705}\label{a07452_a50ed9fc622f694c93340cba7e2c18705}} 
static void \hyperlink{a07452_a50ed9fc622f694c93340cba7e2c18705}{unlock\+Texcoord\+Pointer} ()
\begin{DoxyCompactList}\small\item\em unlock vertex pointer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1b3509ed61da659d117de97ad61c0785}\label{a07452_a1b3509ed61da659d117de97ad61c0785}} 
static bool \hyperlink{a07452_a1b3509ed61da659d117de97ad61c0785}{is\+Texcoord\+Pointer\+Locked} ()
\begin{DoxyCompactList}\small\item\em get vertex pointer lock state \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ GL buffer binding}\par
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{a07452_a8456dc0dd72d0107968ce4e27ce96886}{gen\+Buffers\+A\+RB} (G\+Lsizei n, G\+Luint $\ast$buffers)
\item 
static void \hyperlink{a07452_ab89ef328f1f41342eb690f7115daff63}{gen\+Buffers} (G\+Lsizei n, G\+Luint $\ast$buffers)
\item 
static void \hyperlink{a07452_aa2cf42e7c890f7b4b25091c1fd4e9e04}{buffer\+Data\+A\+RB} (G\+Lenum target, G\+Lsizeiptr\+A\+RB size, const G\+Lvoid $\ast$data, G\+Lenum usage)
\item 
static void \hyperlink{a07452_acd9c48e5c6be8082fb1811aa8b0e529f}{buffer\+Data} (G\+Lenum target, G\+Lsizeiptr size, const G\+Lvoid $\ast$data, G\+Lenum usage)
\item 
static G\+Lvoid $\ast$ \hyperlink{a07452_aef8da8d73972accbc64a9aa31019c3ec}{map\+Buffer} (G\+Lenum target, G\+Lenum access)
\item 
static G\+Lboolean \hyperlink{a07452_a1f2b5fc880f7854ba66de161351f19ba}{unmap\+Buffer} (G\+Lenum target)
\item 
static void \hyperlink{a07452_ad1db7c62b93309b27b45a10e2e3e5e73}{delete\+Buffers} (G\+Lsizei n, const G\+Luint $\ast$buffers)
\item 
\mbox{\Hypertarget{a07452_af3bc9c30f097aa61240602e4c827415d}\label{a07452_af3bc9c30f097aa61240602e4c827415d}} 
static void \hyperlink{a07452_af3bc9c30f097aa61240602e4c827415d}{bind\+Buffer} (G\+Lenum \+\_\+target, G\+Luint \+\_\+buffer)
\begin{DoxyCompactList}\small\item\em replaces gl\+Bind\+Buffer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a3cea763a40bcc18ba1dc319c733a8b93}\label{a07452_a3cea763a40bcc18ba1dc319c733a8b93}} 
static void \hyperlink{a07452_a3cea763a40bcc18ba1dc319c733a8b93}{bind\+Buffer\+A\+RB} (G\+Lenum \+\_\+target, G\+Luint \+\_\+buffer)
\begin{DoxyCompactList}\small\item\em same function as bind\+Buffer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6d75be5bdca2e697f7a11fd1670e41ea}\label{a07452_a6d75be5bdca2e697f7a11fd1670e41ea}} 
static void \hyperlink{a07452_a6d75be5bdca2e697f7a11fd1670e41ea}{lock\+Buffer\+Target} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em lock buffer target \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9f96360ae7717f7d37f82a8d093e4229}\label{a07452_a9f96360ae7717f7d37f82a8d093e4229}} 
static void \hyperlink{a07452_a9f96360ae7717f7d37f82a8d093e4229}{unlock\+Buffer\+Target} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em unlock buffer target \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a902285e01f57d58172ab1ad154bb5c89}\label{a07452_a902285e01f57d58172ab1ad154bb5c89}} 
static bool \hyperlink{a07452_a902285e01f57d58172ab1ad154bb5c89}{is\+Buffer\+Target\+Locked} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em get buffer target locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a8283cdc969eb7d5f4b406cb3fedd5dfc}\label{a07452_a8283cdc969eb7d5f4b406cb3fedd5dfc}} 
static G\+Luint \hyperlink{a07452_a8283cdc969eb7d5f4b406cb3fedd5dfc}{get\+Bound\+Buf} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em get currently bound buffer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aec69ae4a8b5205233c2ec31933cb53dc}\label{a07452_aec69ae4a8b5205233c2ec31933cb53dc}} 
static void \hyperlink{a07452_aec69ae4a8b5205233c2ec31933cb53dc}{draw\+Buffer} (G\+Lenum \+\_\+mode)
\begin{DoxyCompactList}\small\item\em replaces gl\+Draw\+Buffer, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6eac88931abced56f1ff0026cbe28da1}\label{a07452_a6eac88931abced56f1ff0026cbe28da1}} 
static void \hyperlink{a07452_a6eac88931abced56f1ff0026cbe28da1}{draw\+Buffers} (G\+Lsizei \+\_\+n, const G\+Lenum $\ast$\+\_\+bufs)
\begin{DoxyCompactList}\small\item\em replaces gl\+Draw\+Buffers, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a0d57fe7d7a51beb50bb6a1e1fef312d9}\label{a07452_a0d57fe7d7a51beb50bb6a1e1fef312d9}} 
static void \hyperlink{a07452_a0d57fe7d7a51beb50bb6a1e1fef312d9}{lock\+Draw\+Buffer} ()
\begin{DoxyCompactList}\small\item\em lock draw buffer state, applies to draw\+Buffer and draw\+Buffers \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa391f7b05da43dfd9bbffe13c3c967c6}\label{a07452_aa391f7b05da43dfd9bbffe13c3c967c6}} 
static void \hyperlink{a07452_aa391f7b05da43dfd9bbffe13c3c967c6}{unlock\+Draw\+Buffer} ()
\begin{DoxyCompactList}\small\item\em unlock draw buffer state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af6c0fb609a37c8cb713eed69e44ba492}\label{a07452_af6c0fb609a37c8cb713eed69e44ba492}} 
static bool \hyperlink{a07452_af6c0fb609a37c8cb713eed69e44ba492}{is\+Draw\+Buffer\+Locked} ()
\begin{DoxyCompactList}\small\item\em get draw buffer lock state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_afc02df6c77dbb26bca28db611ba104ad}\label{a07452_afc02df6c77dbb26bca28db611ba104ad}} 
static void \hyperlink{a07452_afc02df6c77dbb26bca28db611ba104ad}{bind\+Framebuffer} (G\+Lenum \+\_\+target, G\+Luint \+\_\+framebuffer)
\begin{DoxyCompactList}\small\item\em replaces gl\+Bind\+Framebuffer, supports locking \end{DoxyCompactList}\item 
static G\+Luint \hyperlink{a07452_ae8e56e5e228b4ced0bb76fb81ba51789}{get\+Framebuffer\+Draw} ()
\begin{DoxyCompactList}\small\item\em get current draw framebuffer of a target \end{DoxyCompactList}\item 
static G\+Luint \hyperlink{a07452_a2ca3ffb670ca9d18f7abe758225feaef}{get\+Framebuffer\+Read} ()
\begin{DoxyCompactList}\small\item\em get current read framebuffer of a target \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af7b760067f58b363cb0faa1a4665ce53}\label{a07452_af7b760067f58b363cb0faa1a4665ce53}} 
static void \hyperlink{a07452_af7b760067f58b363cb0faa1a4665ce53}{lock\+Framebuffer} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em lock a framebuffer target \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a6890ebed2ceb3da823899a057945c16e}\label{a07452_a6890ebed2ceb3da823899a057945c16e}} 
static void \hyperlink{a07452_a6890ebed2ceb3da823899a057945c16e}{unlock\+Framebuffer} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em unlock a framebuffer target \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad2a4846e7deeca04032f0c4eb00e6434}\label{a07452_ad2a4846e7deeca04032f0c4eb00e6434}} 
static bool \hyperlink{a07452_ad2a4846e7deeca04032f0c4eb00e6434}{is\+Framebuffer\+Locked} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em get framebuffer target lock state \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ GL shader program binding}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a584aa1d5b47c73fd80b69561ff0cc40c}\label{a07452_a584aa1d5b47c73fd80b69561ff0cc40c}} 
static void \hyperlink{a07452_a584aa1d5b47c73fd80b69561ff0cc40c}{use\+Program} (G\+Luint \+\_\+program)
\begin{DoxyCompactList}\small\item\em replaces gl\+Use\+Program, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ad676a4a7bd2a9f86cb8f2379abce4b1c}\label{a07452_ad676a4a7bd2a9f86cb8f2379abce4b1c}} 
static G\+Luint \hyperlink{a07452_ad676a4a7bd2a9f86cb8f2379abce4b1c}{get\+Program} ()
\begin{DoxyCompactList}\small\item\em get bound program \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a1829317230fbcb647ee4e43a7877998b}\label{a07452_a1829317230fbcb647ee4e43a7877998b}} 
static void \hyperlink{a07452_a1829317230fbcb647ee4e43a7877998b}{lock\+Program} ()
\begin{DoxyCompactList}\small\item\em lock the program \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ae0cd91a1c1d783373248da2191c71018}\label{a07452_ae0cd91a1c1d783373248da2191c71018}} 
static void \hyperlink{a07452_ae0cd91a1c1d783373248da2191c71018}{unlock\+Program} ()
\begin{DoxyCompactList}\small\item\em unlock the program \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a66f7071ed22bd0238371d8ce137f9014}\label{a07452_a66f7071ed22bd0238371d8ce137f9014}} 
static bool \hyperlink{a07452_a66f7071ed22bd0238371d8ce137f9014}{is\+Program\+Locked} ()
\begin{DoxyCompactList}\small\item\em get program locking state \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ GL texture binding}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a99038fef7b214e931ad5c35b985ba3bc}\label{a07452_a99038fef7b214e931ad5c35b985ba3bc}} 
static void \hyperlink{a07452_a99038fef7b214e931ad5c35b985ba3bc}{active\+Texture} (G\+Lenum \+\_\+texunit)
\begin{DoxyCompactList}\small\item\em replaces gl\+Active\+Texture, no locking support \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a2d53d81a01029eee7f0a1f3eb238ce80}\label{a07452_a2d53d81a01029eee7f0a1f3eb238ce80}} 
static void \hyperlink{a07452_a2d53d81a01029eee7f0a1f3eb238ce80}{active\+Texture\+A\+RB} (G\+Lenum \+\_\+texunit)
\begin{DoxyCompactList}\small\item\em same functiona as active\+Texture \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a44f87b48855370e26a1095c7b5434a94}\label{a07452_a44f87b48855370e26a1095c7b5434a94}} 
static G\+Lenum \hyperlink{a07452_a44f87b48855370e26a1095c7b5434a94}{get\+Active\+Texture} ()
\begin{DoxyCompactList}\small\item\em get active GL texture \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a89d63fb5543d60345e3a562471f32b3e}\label{a07452_a89d63fb5543d60345e3a562471f32b3e}} 
static int \hyperlink{a07452_a89d63fb5543d60345e3a562471f32b3e}{get\+Active\+Texture\+Index} ()
\begin{DoxyCompactList}\small\item\em get active texture as zero based index \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a417f6bc43c066ca1fc1d770eb7cff2e0}\label{a07452_a417f6bc43c066ca1fc1d770eb7cff2e0}} 
static void \hyperlink{a07452_a417f6bc43c066ca1fc1d770eb7cff2e0}{bind\+Texture} (G\+Lenum \+\_\+target, G\+Luint \+\_\+buffer)
\begin{DoxyCompactList}\small\item\em replaces gl\+Bind\+Texture, supports locking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a3d815f8ce80d14330e56f9ac1cdcd90d}\label{a07452_a3d815f8ce80d14330e56f9ac1cdcd90d}} 
static void \hyperlink{a07452_a3d815f8ce80d14330e56f9ac1cdcd90d}{lock\+Texture\+Stage} ()
\begin{DoxyCompactList}\small\item\em locks the current texture stage (set by set\+Active\+Texture) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aea5c6344f0786abdcd42fcb6f52cf733}\label{a07452_aea5c6344f0786abdcd42fcb6f52cf733}} 
static void \hyperlink{a07452_aea5c6344f0786abdcd42fcb6f52cf733}{unlock\+Texture\+Stage} ()
\begin{DoxyCompactList}\small\item\em unlocks the current texture target \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_ac8e23218d5d89ec80aa742dfcc5d0698}\label{a07452_ac8e23218d5d89ec80aa742dfcc5d0698}} 
static bool \hyperlink{a07452_ac8e23218d5d89ec80aa742dfcc5d0698}{is\+Texture\+Target\+Locked} ()
\begin{DoxyCompactList}\small\item\em get texture target locking state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa22609a423b333c9baec0d398c93e3eb}\label{a07452_aa22609a423b333c9baec0d398c93e3eb}} 
static G\+Luint \hyperlink{a07452_aa22609a423b333c9baec0d398c93e3eb}{get\+Bound\+Texture\+Buffer} ()
\begin{DoxyCompactList}\small\item\em get bound texture \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af44f0c60fa520221ecc7ba6e09b346cd}\label{a07452_af44f0c60fa520221ecc7ba6e09b346cd}} 
static G\+Lenum \hyperlink{a07452_af44f0c60fa520221ecc7ba6e09b346cd}{get\+Bound\+Texture\+Target} ()
\begin{DoxyCompactList}\small\item\em get bound texture target \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a23df6035ae1f9d240608178659b6d5d7}\label{a07452_a23df6035ae1f9d240608178659b6d5d7}} 
static const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a07452_a23df6035ae1f9d240608178659b6d5d7}{default\+\_\+clear\+\_\+color}
\begin{DoxyCompactList}\small\item\em default value for clear color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa7e12d515d39fe918b1719ad6dfd6d33}\label{a07452_aa7e12d515d39fe918b1719ad6dfd6d33}} 
static const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a07452_aa7e12d515d39fe918b1719ad6dfd6d33}{default\+\_\+base\+\_\+color}
\begin{DoxyCompactList}\small\item\em default value for base color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a3090c5abe5845e7dfa7c4712859ff9a0}\label{a07452_a3090c5abe5845e7dfa7c4712859ff9a0}} 
static const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a07452_a3090c5abe5845e7dfa7c4712859ff9a0}{default\+\_\+ambient\+\_\+color}
\begin{DoxyCompactList}\small\item\em default value for ambient color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a9bec0609fb65f2c7308cd79b107eea3a}\label{a07452_a9bec0609fb65f2c7308cd79b107eea3a}} 
static const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a07452_a9bec0609fb65f2c7308cd79b107eea3a}{default\+\_\+diffuse\+\_\+color}
\begin{DoxyCompactList}\small\item\em default value for diffuse color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a87d71144761ff7cd601c58e5b421d04a}\label{a07452_a87d71144761ff7cd601c58e5b421d04a}} 
static const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a07452_a87d71144761ff7cd601c58e5b421d04a}{default\+\_\+specular\+\_\+color}
\begin{DoxyCompactList}\small\item\em default value for specular color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aa53128c92d9465c3c70e29e9660f4022}\label{a07452_aa53128c92d9465c3c70e29e9660f4022}} 
static const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \hyperlink{a07452_aa53128c92d9465c3c70e29e9660f4022}{default\+\_\+overlay\+\_\+color}
\begin{DoxyCompactList}\small\item\em default value for overlay color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a3fd6e8830f3043d3633797402b684d85}\label{a07452_a3fd6e8830f3043d3633797402b684d85}} 
static const float \hyperlink{a07452_a3fd6e8830f3043d3633797402b684d85}{default\+\_\+shininess}
\begin{DoxyCompactList}\small\item\em default value for shininess \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_aa4fbb3de78ca7856f94c47b622af8af2}\label{a07452_aa4fbb3de78ca7856f94c47b622af8af2}} 
static int \hyperlink{a07452_aa4fbb3de78ca7856f94c47b622af8af2}{get\+Buffer\+Target\+Index} (G\+Lenum \+\_\+target)
\begin{DoxyCompactList}\small\item\em bijective map from G\+Lenum buffer\+\_\+target to \mbox{[}0..3\mbox{]}, -\/1 if unsupported \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_a18d923624c24b5e9c454012da41c8314}\label{a07452_a18d923624c24b5e9c454012da41c8314}} 
std\+::stack$<$ \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} $>$ {\bfseries stack\+\_\+projection\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a424d2c5bc5cbafa3355884c0e35a78fc}\label{a07452_a424d2c5bc5cbafa3355884c0e35a78fc}} 
std\+::stack$<$ \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} $>$ {\bfseries stack\+\_\+modelview\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a0dc2d0d9998b83296da004df8268855e}\label{a07452_a0dc2d0d9998b83296da004df8268855e}} 
std\+::stack$<$ \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} $>$ {\bfseries stack\+\_\+inverse\+\_\+projection\+\_\+}
\item 
\mbox{\Hypertarget{a07452_aff6417196089a541a70657b95bb8f320}\label{a07452_aff6417196089a541a70657b95bb8f320}} 
std\+::stack$<$ \hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} $>$ {\bfseries stack\+\_\+inverse\+\_\+modelview\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a0a336a52eed84a78c8e299687bdf1a16}\label{a07452_a0a336a52eed84a78c8e299687bdf1a16}} 
\hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} {\bfseries projection\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a82fd5125b71b60392e751ca685ef15d8}\label{a07452_a82fd5125b71b60392e751ca685ef15d8}} 
\hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} {\bfseries inverse\+\_\+projection\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a9b15e926e02b128c24a0dbf0f7210b48}\label{a07452_a9b15e926e02b128c24a0dbf0f7210b48}} 
\hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} {\bfseries modelview\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a245ad86fd74446adf34c749abcaac7b3}\label{a07452_a245ad86fd74446adf34c749abcaac7b3}} 
\hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} {\bfseries inverse\+\_\+modelview\+\_\+}
\item 
\mbox{\Hypertarget{a07452_aec62279296eae4283ee96e8bb72f2707}\label{a07452_aec62279296eae4283ee96e8bb72f2707}} 
\hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} {\bfseries window2viewport\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a1fec5d1ab81566ee1ab53c341f1fa997}\label{a07452_a1fec5d1ab81566ee1ab53c341f1fa997}} 
\hyperlink{a06176_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} {\bfseries inverse\+\_\+window2viewport\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a12f2f26ed9267c281625b24b08c39324}\label{a07452_a12f2f26ed9267c281625b24b08c39324}} 
int {\bfseries left\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a57b2efb5c515a725f6cc70e9da3c4fe3}\label{a07452_a57b2efb5c515a725f6cc70e9da3c4fe3}} 
int {\bfseries bottom\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a1736bd707aa074caf074b1aabb97afaa}\label{a07452_a1736bd707aa074caf074b1aabb97afaa}} 
int {\bfseries width\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a8f7a461c8dd10b53c6b185e49ea32f37}\label{a07452_a8f7a461c8dd10b53c6b185e49ea32f37}} 
int {\bfseries height\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a6b4067ba57a66933e61f7d6f15724111}\label{a07452_a6b4067ba57a66933e61f7d6f15724111}} 
int {\bfseries glwidth\+\_\+}
\item 
\mbox{\Hypertarget{a07452_afc7db872132511165e3a6e7d6908b117}\label{a07452_afc7db872132511165e3a6e7d6908b117}} 
int {\bfseries glheight\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a0debcffd988920adbd58b4380ca90984}\label{a07452_a0debcffd988920adbd58b4380ca90984}} 
double {\bfseries near\+\_\+plane\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a83ef4b41052778e7db5d0337a72fbaca}\label{a07452_a83ef4b41052778e7db5d0337a72fbaca}} 
double {\bfseries far\+\_\+plane\+\_\+}
\item 
\mbox{\Hypertarget{a07452_aa31fcf59332bafd348e162983aa7dbfd}\label{a07452_aa31fcf59332bafd348e162983aa7dbfd}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries clear\+\_\+color\+\_\+}
\item 
\mbox{\Hypertarget{a07452_aa514bdd7dfb84d6e8e79a4b8a3cbbc09}\label{a07452_aa514bdd7dfb84d6e8e79a4b8a3cbbc09}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries color\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a649a463f7af2a6024ed630440e8f6810}\label{a07452_a649a463f7af2a6024ed630440e8f6810}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries base\+\_\+color\+\_\+}
\item 
\mbox{\Hypertarget{a07452_ab545cc6bec7822a6aa7524ac2e342a3a}\label{a07452_ab545cc6bec7822a6aa7524ac2e342a3a}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries ambient\+\_\+color\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a7a1ef41a919b14cc9de0a110b2c3674c}\label{a07452_a7a1ef41a919b14cc9de0a110b2c3674c}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries diffuse\+\_\+color\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a554562221d399668986fd373850ab72c}\label{a07452_a554562221d399668986fd373850ab72c}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries specular\+\_\+color\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a5c9946c0d8ee28f7daff074465e2dffc}\label{a07452_a5c9946c0d8ee28f7daff074465e2dffc}} 
\hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} {\bfseries overlay\+\_\+color\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a8b507835aa3c74a13cb39c1924bd6a6d}\label{a07452_a8b507835aa3c74a13cb39c1924bd6a6d}} 
float {\bfseries shininess\+\_\+}
\item 
\mbox{\Hypertarget{a07452_ae936dbb9544655974675bc8db3d90557}\label{a07452_ae936dbb9544655974675bc8db3d90557}} 
float {\bfseries point\+\_\+size\+\_\+}
\item 
\mbox{\Hypertarget{a07452_aabe06072cf4d0885fc2399050d546b31}\label{a07452_aabe06072cf4d0885fc2399050d546b31}} 
float {\bfseries line\+\_\+width\+\_\+}
\item 
\mbox{\Hypertarget{a07452_ab8b32530222b048f2ed859392262b028}\label{a07452_ab8b32530222b048f2ed859392262b028}} 
bool {\bfseries twosided\+\_\+lighting\+\_\+}
\item 
\mbox{\Hypertarget{a07452_af4be5f2fd2b8d0aa7491decee308ed49}\label{a07452_af4be5f2fd2b8d0aa7491decee308ed49}} 
bool {\bfseries multisampling\+\_\+}
\item 
\mbox{\Hypertarget{a07452_ae52369f4dd5b6c9fd0abcfa420bf0b87}\label{a07452_ae52369f4dd5b6c9fd0abcfa420bf0b87}} 
bool {\bfseries allow\+\_\+multisampling\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a3b4ff4f2326273f1ae153aa5eb70fde2}\label{a07452_a3b4ff4f2326273f1ae153aa5eb70fde2}} 
bool {\bfseries mipmapping\+\_\+}
\item 
\mbox{\Hypertarget{a07452_ab258d28b888afa7ce905b8984e6c6c56}\label{a07452_ab258d28b888afa7ce905b8984e6c6c56}} 
bool {\bfseries update\+G\+L\+\_\+}
\item 
\mbox{\Hypertarget{a07452_ab56cccb8146fd3b35b3d52335a39d319}\label{a07452_ab56cccb8146fd3b35b3d52335a39d319}} 
bool {\bfseries blending\+\_\+}
\item 
\mbox{\Hypertarget{a07452_af40e1af8336216ee0c5dc84f90c305f6}\label{a07452_af40e1af8336216ee0c5dc84f90c305f6}} 
unsigned int {\bfseries ms\+Since\+Last\+Redraw\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a1ef469240f99461779b276493ec53f69}\label{a07452_a1ef469240f99461779b276493ec53f69}} 
\hyperlink{a07272}{Color\+Stack} {\bfseries color\+Stack\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a15d4c62823c42c152f94ab400e2880d2}\label{a07452_a15d4c62823c42c152f94ab400e2880d2}} 
bool {\bfseries color\+Picking\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_ab6b42822163bb96c426107027af19fdb}\label{a07452_ab6b42822163bb96c426107027af19fdb}} 
static int {\bfseries num\+\_\+texture\+\_\+units\+\_\+} = 0
\item 
\mbox{\Hypertarget{a07452_af5f9579bc7214726cb0e33fc111cb157}\label{a07452_af5f9579bc7214726cb0e33fc111cb157}} 
static bool {\bfseries depth\+Func\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a7d7632041a5dd6c89dfd6c96ce4e2d19}\label{a07452_a7d7632041a5dd6c89dfd6c96ce4e2d19}} 
static std\+::deque$<$ \hyperlink{a07440}{G\+L\+State\+Context} $>$ {\bfseries state\+Stack\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a710c7ee3372b54a487e85aaf18665d96}\label{a07452_a710c7ee3372b54a487e85aaf18665d96}} 
static G\+Lenum {\bfseries gl\+State\+Caps} \mbox{[}95\mbox{]}
\item 
\mbox{\Hypertarget{a07452_afa1bc6ec7213dcd0d1e56cc087bb032b}\label{a07452_afa1bc6ec7213dcd0d1e56cc087bb032b}} 
static std\+::bitset$<$ 0x\+F\+F\+F\+F+1 $>$ {\bfseries gl\+State\+Lock\+\_\+}
\item 
\mbox{\Hypertarget{a07452_ac032361b35d7336ec9beba8653404b68}\label{a07452_ac032361b35d7336ec9beba8653404b68}} 
static bool {\bfseries blend\+Func\+Separate\+Lock\+\_\+} \mbox{[}2\mbox{]} = \{ false \}
\item 
\mbox{\Hypertarget{a07452_a2d5bf967ee351bf453dc219106f3140e}\label{a07452_a2d5bf967ee351bf453dc219106f3140e}} 
static bool {\bfseries blend\+Equation\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a6ae2436a9fc7d75d5345ac84fb2cfe86}\label{a07452_a6ae2436a9fc7d75d5345ac84fb2cfe86}} 
static bool {\bfseries blend\+Color\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a163077563ed26ee27e88839d7f610a79}\label{a07452_a163077563ed26ee27e88839d7f610a79}} 
static bool {\bfseries alpha\+Func\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a1f02c2a2a1243e2cadb88753d727c24e}\label{a07452_a1f02c2a2a1243e2cadb88753d727c24e}} 
static bool {\bfseries depth\+Range\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a3f4bf09c7fed30d55a27e8145ebd4c21}\label{a07452_a3f4bf09c7fed30d55a27e8145ebd4c21}} 
static int {\bfseries gl\+Buffer\+Target\+Lock\+\_\+} \mbox{[}4\mbox{]} = \{0\}
\item 
\mbox{\Hypertarget{a07452_ac5a1c89f5ccfb6564fe730c7a9abff15}\label{a07452_ac5a1c89f5ccfb6564fe730c7a9abff15}} 
static int {\bfseries gl\+Texture\+Stage\+Lock\+\_\+} \mbox{[}16\mbox{]} = \{0\}
\item 
\mbox{\Hypertarget{a07452_a0a5277402e152233b0fc46ee5cd14dcc}\label{a07452_a0a5277402e152233b0fc46ee5cd14dcc}} 
static bool {\bfseries shade\+Model\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a774745b542303960dc10fa242beae307}\label{a07452_a774745b542303960dc10fa242beae307}} 
static bool {\bfseries cull\+Face\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a60d0246e4721cdd8d518eafeafe99364}\label{a07452_a60d0246e4721cdd8d518eafeafe99364}} 
static bool {\bfseries vertex\+Pointer\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a7cdd04611e4fede481cb5e8ebbae6159}\label{a07452_a7cdd04611e4fede481cb5e8ebbae6159}} 
static bool {\bfseries normal\+Pointer\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a1688c4846e61a123c91873de50d33608}\label{a07452_a1688c4846e61a123c91873de50d33608}} 
static bool {\bfseries texcoord\+Pointer\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a7252cc6897df857c4f955accff2f43d4}\label{a07452_a7252cc6897df857c4f955accff2f43d4}} 
static bool {\bfseries color\+Pointer\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a324005b15e7629e4d951cff7d655e19b}\label{a07452_a324005b15e7629e4d951cff7d655e19b}} 
static bool {\bfseries draw\+Buffer\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a259c84e7e9a16dd6048aa277a57fa2fc}\label{a07452_a259c84e7e9a16dd6048aa277a57fa2fc}} 
static bool {\bfseries framebuffer\+Lock\+\_\+} \mbox{[}2\mbox{]} = \{false\}
\item 
\mbox{\Hypertarget{a07452_a83a43883cae28d9298f46ac12fcbee9b}\label{a07452_a83a43883cae28d9298f46ac12fcbee9b}} 
static bool {\bfseries program\+Lock\+\_\+} = false
\item 
\mbox{\Hypertarget{a07452_a1a7494a87f91d4cd6d1a2ad6e568e9cf}\label{a07452_a1a7494a87f91d4cd6d1a2ad6e568e9cf}} 
static int {\bfseries max\+Texture\+Coords\+\_\+} = 0
\item 
\mbox{\Hypertarget{a07452_a5a17b84db440ff3ffa48479c76ed9582}\label{a07452_a5a17b84db440ff3ffa48479c76ed9582}} 
static int {\bfseries max\+Combined\+Texture\+Image\+Units\+\_\+} = 0
\item 
\mbox{\Hypertarget{a07452_aa578cc2d38b7e8e6446c1877e95f84fe}\label{a07452_aa578cc2d38b7e8e6446c1877e95f84fe}} 
static int {\bfseries max\+Draw\+Buffers\+\_\+} = 0
\end{DoxyCompactItemize}
\subsection*{Profile setter}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07452_ab756f4ff3bc1f46a88de356ee2939cd7}\label{a07452_ab756f4ff3bc1f46a88de356ee2939cd7}} 
bool {\bfseries compatibility\+Profile\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a4958817b6b426961e5a7d65e9ed2832d}\label{a07452_a4958817b6b426961e5a7d65e9ed2832d}} 
void {\bfseries set\+Compatibility\+Profile} (bool \+\_\+compatibility)
\item 
\mbox{\Hypertarget{a07452_a147f272928d1ed95e56e41f516e7bc29}\label{a07452_a147f272928d1ed95e56e41f516e7bc29}} 
bool {\bfseries compatibility\+Profile} () const
\end{DoxyCompactItemize}
\subsection*{Render pass controls}
\begin{DoxyCompactItemize}
\item 
unsigned int \hyperlink{a07452_af5f8c51d7c934f3957b58d5ac4def123}{render\+\_\+pass\+\_\+}
\item 
unsigned int \hyperlink{a07452_af3d157c3c150974695d135c1dd8651cc}{max\+\_\+render\+\_\+passes\+\_\+}
\item 
\mbox{\Hypertarget{a07452_a6c6eb9953072780d07d5b5a541827b68}\label{a07452_a6c6eb9953072780d07d5b5a541827b68}} 
unsigned int \hyperlink{a07452_a6c6eb9953072780d07d5b5a541827b68}{render\+\_\+pass} () const
\begin{DoxyCompactList}\small\item\em get current render pass counter \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_aea044123df44f6f09d843d745dfad250}\label{a07452_aea044123df44f6f09d843d745dfad250}} 
void \hyperlink{a07452_aea044123df44f6f09d843d745dfad250}{reset\+\_\+render\+\_\+pass} ()
\begin{DoxyCompactList}\small\item\em reset render pass counter \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_af47266874e869edf180cc6501bae4cf0}\label{a07452_af47266874e869edf180cc6501bae4cf0}} 
void \hyperlink{a07452_af47266874e869edf180cc6501bae4cf0}{next\+\_\+render\+\_\+pass} ()
\begin{DoxyCompactList}\small\item\em increment render pass counter \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a5eba47cb0b3e25c783dfd0247fc6203e}\label{a07452_a5eba47cb0b3e25c783dfd0247fc6203e}} 
unsigned int \hyperlink{a07452_a5eba47cb0b3e25c783dfd0247fc6203e}{max\+\_\+render\+\_\+passes} () const
\begin{DoxyCompactList}\small\item\em get maximum number of render passes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07452_a832488ef67b1ae775574338c6005c0e5}\label{a07452_a832488ef67b1ae775574338c6005c0e5}} 
void \hyperlink{a07452_a832488ef67b1ae775574338c6005c0e5}{set\+\_\+max\+\_\+render\+\_\+passes} (const unsigned int \+\_\+max)
\begin{DoxyCompactList}\small\item\em set maximum number of render passes \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Scene Infos}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \hyperlink{a07452_acc5184e3c279146f106bddca26350138}{bb\+\_\+min\+\_\+}
\item 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \hyperlink{a07452_a9a16f7f5c36a40bdddb6a9ce0240173b}{bb\+\_\+max\+\_\+}
\item 
void \hyperlink{a07452_a9939a2272f4da449b9d4c970f74a9e64}{set\+\_\+bounding\+\_\+box} (\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \+\_\+min, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \+\_\+max)
\item 
void \hyperlink{a07452_a70bcbf3b0609268b570a723dea71f069}{get\+\_\+bounding\+\_\+box} (\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+min, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+max)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class stores all relevant Open\+GL states and can therefore provide some nice and efficient functions like projecting, unprojecting, eye point or viewing direction.

\begin{DoxyNote}{Note}
This class needs an Open\+GL context. This is currently given in a Q\+G\+L\+Context.
\end{DoxyNote}
\hypertarget{a07884_pMatrix}{}\subsection{The projection matrix}\label{a07884_pMatrix}
The \hyperlink{a07452}{G\+L\+State} class stores its own projection matrix which is of type \hyperlink{a07608}{G\+L\+MatrixT}. Creating a viewing frustum of a perspective projection will result in the following projection matrix\+:



Where n is the orthogonal distance from the viewing plane (near plane) to the eye position, f is the orthogonal distance from the back clipping plane (far plane) to the eye position, l, r, t, b are scalars indicating the left, right, top and bottom coordinates of the viewing plane (so in fact we have a rectangle between the points (b,l) and (t,r)) and phi is the opening angle (field of view), also see figure 1.

 Some useful values that can directly be computed out of the projection matrix\+:

 

Definition at line 213 of file G\+L\+State.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07452_a5a1b9ecf681fdd6d6eb69b0f99558f30}\label{a07452_a5a1b9ecf681fdd6d6eb69b0f99558f30}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!allow\+\_\+mipmapping@{allow\+\_\+mipmapping}}
\index{allow\+\_\+mipmapping@{allow\+\_\+mipmapping}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{allow\+\_\+mipmapping()}{allow\_mipmapping()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::allow\+\_\+mipmapping (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Allow mipmapping globally. 

Note\+: This actually does not change the opengl state since mipmapping is turned on/off via texture parameters To change the behaviour see in Texture\+Node 

Definition at line 1068 of file G\+L\+State.\+hh.

\mbox{\Hypertarget{a07452_acd9c48e5c6be8082fb1811aa8b0e529f}\label{a07452_acd9c48e5c6be8082fb1811aa8b0e529f}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!buffer\+Data@{buffer\+Data}}
\index{buffer\+Data@{buffer\+Data}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{buffer\+Data()}{bufferData()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::buffer\+Data (\begin{DoxyParamCaption}\item[{G\+Lenum}]{target,  }\item[{G\+Lsizeiptr}]{size,  }\item[{const G\+Lvoid $\ast$}]{data,  }\item[{G\+Lenum}]{usage }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Simple wrapper around gl\+Buffer\+Data. Useful where glew cannot be included. 

Definition at line 2184 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_aa2cf42e7c890f7b4b25091c1fd4e9e04}\label{a07452_aa2cf42e7c890f7b4b25091c1fd4e9e04}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!buffer\+Data\+A\+RB@{buffer\+Data\+A\+RB}}
\index{buffer\+Data\+A\+RB@{buffer\+Data\+A\+RB}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{buffer\+Data\+A\+R\+B()}{bufferDataARB()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::buffer\+Data\+A\+RB (\begin{DoxyParamCaption}\item[{G\+Lenum}]{target,  }\item[{G\+Lsizeiptr\+A\+RB}]{size,  }\item[{const G\+Lvoid $\ast$}]{data,  }\item[{G\+Lenum}]{usage }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Simple wrapper around gl\+Buffer\+Data. Useful where glew cannot be included. 

Definition at line 2179 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_ad1db7c62b93309b27b45a10e2e3e5e73}\label{a07452_ad1db7c62b93309b27b45a10e2e3e5e73}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!delete\+Buffers@{delete\+Buffers}}
\index{delete\+Buffers@{delete\+Buffers}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{delete\+Buffers()}{deleteBuffers()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::delete\+Buffers (\begin{DoxyParamCaption}\item[{G\+Lsizei}]{n,  }\item[{const G\+Luint $\ast$}]{buffers }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Simple wrapper around gl\+Delete\+Buffers. Useful where glew cannot be included. 

Definition at line 2189 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_ab89ef328f1f41342eb690f7115daff63}\label{a07452_ab89ef328f1f41342eb690f7115daff63}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!gen\+Buffers@{gen\+Buffers}}
\index{gen\+Buffers@{gen\+Buffers}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{gen\+Buffers()}{genBuffers()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::gen\+Buffers (\begin{DoxyParamCaption}\item[{G\+Lsizei}]{n,  }\item[{G\+Luint $\ast$}]{buffers }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Simple wrapper around gl\+Gen\+Buffers. Useful where glew cannot be included. 

Definition at line 2175 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a8456dc0dd72d0107968ce4e27ce96886}\label{a07452_a8456dc0dd72d0107968ce4e27ce96886}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!gen\+Buffers\+A\+RB@{gen\+Buffers\+A\+RB}}
\index{gen\+Buffers\+A\+RB@{gen\+Buffers\+A\+RB}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{gen\+Buffers\+A\+R\+B()}{genBuffersARB()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::gen\+Buffers\+A\+RB (\begin{DoxyParamCaption}\item[{G\+Lsizei}]{n,  }\item[{G\+Luint $\ast$}]{buffers }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Simple wrapper around gl\+Gen\+Buffers. Useful where glew cannot be included. 

Definition at line 2171 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a70bcbf3b0609268b570a723dea71f069}\label{a07452_a70bcbf3b0609268b570a723dea71f069}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!get\+\_\+bounding\+\_\+box@{get\+\_\+bounding\+\_\+box}}
\index{get\+\_\+bounding\+\_\+box@{get\+\_\+bounding\+\_\+box}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{get\+\_\+bounding\+\_\+box()}{get\_bounding\_box()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::get\+\_\+bounding\+\_\+box (\begin{DoxyParamCaption}\item[{\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&}]{\+\_\+min,  }\item[{\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&}]{\+\_\+max }\end{DoxyParamCaption})}

Get the current bounding box of the scene. This has to be set before traversal happens in the viewer by using set\+\_\+bounding\+\_\+box 

Definition at line 813 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_ae8e56e5e228b4ced0bb76fb81ba51789}\label{a07452_ae8e56e5e228b4ced0bb76fb81ba51789}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!get\+Framebuffer\+Draw@{get\+Framebuffer\+Draw}}
\index{get\+Framebuffer\+Draw@{get\+Framebuffer\+Draw}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{get\+Framebuffer\+Draw()}{getFramebufferDraw()}}
{\footnotesize\ttfamily G\+Luint A\+C\+G\+::\+G\+L\+State\+::get\+Framebuffer\+Draw (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



get current draw framebuffer of a target 

get current framebuffer of a target 

Definition at line 2074 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a2ca3ffb670ca9d18f7abe758225feaef}\label{a07452_a2ca3ffb670ca9d18f7abe758225feaef}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!get\+Framebuffer\+Read@{get\+Framebuffer\+Read}}
\index{get\+Framebuffer\+Read@{get\+Framebuffer\+Read}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{get\+Framebuffer\+Read()}{getFramebufferRead()}}
{\footnotesize\ttfamily G\+Luint A\+C\+G\+::\+G\+L\+State\+::get\+Framebuffer\+Read (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



get current read framebuffer of a target 

get current framebuffer of a target 

Definition at line 2082 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_aef8da8d73972accbc64a9aa31019c3ec}\label{a07452_aef8da8d73972accbc64a9aa31019c3ec}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!map\+Buffer@{map\+Buffer}}
\index{map\+Buffer@{map\+Buffer}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{map\+Buffer()}{mapBuffer()}}
{\footnotesize\ttfamily G\+Lvoid $\ast$ A\+C\+G\+::\+G\+L\+State\+::map\+Buffer (\begin{DoxyParamCaption}\item[{G\+Lenum}]{target,  }\item[{G\+Lenum}]{access }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Simple wrapper around gl\+Map\+Buffer. Useful where glew cannot be included. 

Definition at line 2193 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a8ad58504dae240ab2f4939c1bdabe8bd}\label{a07452_a8ad58504dae240ab2f4939c1bdabe8bd}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!overlay\+\_\+color@{overlay\+\_\+color}}
\index{overlay\+\_\+color@{overlay\+\_\+color}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{overlay\+\_\+color()}{overlay\_color()}}
{\footnotesize\ttfamily const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f}\& A\+C\+G\+::\+G\+L\+State\+::overlay\+\_\+color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get overlay color. 

This color does not set an opengl state but can be used to store an additional color for a wireframe. 

Definition at line 955 of file G\+L\+State.\+hh.

\mbox{\Hypertarget{a07452_aee6b511ccb2f5958c9ff8d766d9f074f}\label{a07452_aee6b511ccb2f5958c9ff8d766d9f074f}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!pick\+\_\+color\+\_\+to\+\_\+stack@{pick\+\_\+color\+\_\+to\+\_\+stack}}
\index{pick\+\_\+color\+\_\+to\+\_\+stack@{pick\+\_\+color\+\_\+to\+\_\+stack}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{pick\+\_\+color\+\_\+to\+\_\+stack()}{pick\_color\_to\_stack()}}
{\footnotesize\ttfamily std\+::vector$<$ size\+\_\+t $>$ A\+C\+G\+::\+G\+L\+State\+::pick\+\_\+color\+\_\+to\+\_\+stack (\begin{DoxyParamCaption}\item[{\hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{Vec4uc}}]{\+\_\+rgba }\end{DoxyParamCaption}) const}

converts the given color to index values on the stack (only used in color picking) This can be compared to the results of the selection buffer results 

Definition at line 1104 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_abe294bde05e14889758cf2c6bca9bf75}\label{a07452_abe294bde05e14889758cf2c6bca9bf75}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!pick\+\_\+current\+\_\+index@{pick\+\_\+current\+\_\+index}}
\index{pick\+\_\+current\+\_\+index@{pick\+\_\+current\+\_\+index}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{pick\+\_\+current\+\_\+index()}{pick\_current\_index()}}
{\footnotesize\ttfamily size\+\_\+t A\+C\+G\+::\+G\+L\+State\+::pick\+\_\+current\+\_\+index (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns the current color picking index (can be used for caching) 

Is this value equal to a value used in a previous picking run, then the same colors will be used. In this case a previously calculated color array/display list can be reused.

This is basically the name of the whole object ( which would be the same as the name of the first component of the object), not the name of the primitives/components in the object! 

Definition at line 1131 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a345faf409b18f4dc500ab75df730a81e}\label{a07452_a345faf409b18f4dc500ab75df730a81e}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!pick\+\_\+error@{pick\+\_\+error}}
\index{pick\+\_\+error@{pick\+\_\+error}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{pick\+\_\+error()}{pick\_error()}}
{\footnotesize\ttfamily bool A\+C\+G\+::\+G\+L\+State\+::pick\+\_\+error (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Did an error occur during picking (only used in color picking) Mostly to small color depth or wrong handling of pick\+\_\+set\+\_\+maximum 

Definition at line 1122 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a3410c413909a5efddb6a0301ac732640}\label{a07452_a3410c413909a5efddb6a0301ac732640}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!pick\+\_\+get\+\_\+name\+\_\+color@{pick\+\_\+get\+\_\+name\+\_\+color}}
\index{pick\+\_\+get\+\_\+name\+\_\+color@{pick\+\_\+get\+\_\+name\+\_\+color}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{pick\+\_\+get\+\_\+name\+\_\+color()}{pick\_get\_name\_color()}}
{\footnotesize\ttfamily \hyperlink{a06176_adb89a8d57b6d179ad535c0880a8b616e}{Vec4uc} A\+C\+G\+::\+G\+L\+State\+::pick\+\_\+get\+\_\+name\+\_\+color (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{\+\_\+idx }\end{DoxyParamCaption})}

returns the color that will be used for index \+\_\+idx during color picking if this index will be set with pick\+\_\+set\+\_\+name. This can be used to generate color arrays instead of using direct gl calls for each primitive 

Definition at line 1068 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a2375be5d55867c4e4927d2826c19b6a1}\label{a07452_a2375be5d55867c4e4927d2826c19b6a1}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!pick\+\_\+init@{pick\+\_\+init}}
\index{pick\+\_\+init@{pick\+\_\+init}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{pick\+\_\+init()}{pick\_init()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::pick\+\_\+init (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+color }\end{DoxyParamCaption})}



initialize name/color picking stack (like gl\+Init\+Names()) 

Follows the Open\+GL selection buffer implementation (Open\+GL Red Book Chapter 13) \href{http://www.glprogramming.com/red/chapter13.html}{\tt http\+://www.\+glprogramming.\+com/red/chapter13.\+html}

Color picking is another method to realize picking. This functions replace the original Open\+GL functions, to allow the handling of selection buffer picking and color based picking with the same code. 

Definition at line 1043 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a6ff5834820607f4e6df24a5b6832c318}\label{a07452_a6ff5834820607f4e6df24a5b6832c318}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!pick\+\_\+set\+\_\+maximum@{pick\+\_\+set\+\_\+maximum}}
\index{pick\+\_\+set\+\_\+maximum@{pick\+\_\+set\+\_\+maximum}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{pick\+\_\+set\+\_\+maximum()}{pick\_set\_maximum()}}
{\footnotesize\ttfamily bool A\+C\+G\+::\+G\+L\+State\+::pick\+\_\+set\+\_\+maximum (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{\+\_\+idx }\end{DoxyParamCaption})}



Set the maximal number of primitives/components of your object. 

Sets the maximum used name index at current stack position (only used in color picking) A restriction inside the color picking implementation forces to set the maximum used number for the following pick\+\_\+set\+\_\+name calls between the two pick\+\_\+push\+\_\+name/pick\+\_\+pop\+\_\+name calls.

If you create picking for your nodes, the values set with pick\+\_\+set\+\_\+name have to be between zero and this value. 

Definition at line 1051 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a6789ea865312620cf1d6e0dd7c88a7ae}\label{a07452_a6789ea865312620cf1d6e0dd7c88a7ae}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!pick\+\_\+set\+\_\+name@{pick\+\_\+set\+\_\+name}}
\index{pick\+\_\+set\+\_\+name@{pick\+\_\+set\+\_\+name}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{pick\+\_\+set\+\_\+name()}{pick\_set\_name()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::pick\+\_\+set\+\_\+name (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{\+\_\+idx }\end{DoxyParamCaption})}



sets the current name/color (like gl\+Load\+Name(\+\_\+idx)) 

This will be the index of the primitive/component in the object. If you create picking for your nodes, the values set here will be returned as the target index. So if your object has three parts, you call pick\+\_\+set\+\_\+name(0), than render the first component and then pick\+\_\+set\+\_\+name(1), ...

If you perform the picking and click on the second component, the returned index will be 1 as set in the node. 

Definition at line 1061 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a9939a2272f4da449b9d4c970f74a9e64}\label{a07452_a9939a2272f4da449b9d4c970f74a9e64}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!set\+\_\+bounding\+\_\+box@{set\+\_\+bounding\+\_\+box}}
\index{set\+\_\+bounding\+\_\+box@{set\+\_\+bounding\+\_\+box}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{set\+\_\+bounding\+\_\+box()}{set\_bounding\_box()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::set\+\_\+bounding\+\_\+box (\begin{DoxyParamCaption}\item[{\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d}}]{\+\_\+min,  }\item[{\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d}}]{\+\_\+max }\end{DoxyParamCaption})}

Provide scene Information about the boundingbox via this function It is not computed by the state itself!! 

Definition at line 806 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a84e7be38254190b7f57be5c129a16381}\label{a07452_a84e7be38254190b7f57be5c129a16381}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!set\+\_\+overlay\+\_\+color@{set\+\_\+overlay\+\_\+color}}
\index{set\+\_\+overlay\+\_\+color@{set\+\_\+overlay\+\_\+color}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{set\+\_\+overlay\+\_\+color()}{set\_overlay\_color()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::set\+\_\+overlay\+\_\+color (\begin{DoxyParamCaption}\item[{const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&}]{\+\_\+col }\end{DoxyParamCaption})}



set overlay color 

This color does not set an opengl state but can be used to store an additional color for a wireframe 

Definition at line 752 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a1f2b5fc880f7854ba66de161351f19ba}\label{a07452_a1f2b5fc880f7854ba66de161351f19ba}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!unmap\+Buffer@{unmap\+Buffer}}
\index{unmap\+Buffer@{unmap\+Buffer}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{unmap\+Buffer()}{unmapBuffer()}}
{\footnotesize\ttfamily G\+Lboolean A\+C\+G\+::\+G\+L\+State\+::unmap\+Buffer (\begin{DoxyParamCaption}\item[{G\+Lenum}]{target }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Simple wrapper around gl\+Unmap\+Buffer. Useful where glew cannot be included. 

Definition at line 2198 of file G\+L\+State.\+cc.

\mbox{\Hypertarget{a07452_a7ec09895b418924ae9da4fed840553c6}\label{a07452_a7ec09895b418924ae9da4fed840553c6}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!viewing\+\_\+ray@{viewing\+\_\+ray}}
\index{viewing\+\_\+ray@{viewing\+\_\+ray}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{viewing\+\_\+ray()}{viewing\_ray()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+G\+L\+State\+::viewing\+\_\+ray (\begin{DoxyParamCaption}\item[{int}]{\+\_\+x,  }\item[{int}]{\+\_\+y,  }\item[{\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&}]{\+\_\+origin,  }\item[{\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&}]{\+\_\+direction }\end{DoxyParamCaption}) const}

get viewing ray (\+\_\+orgin \& \+\_\+direction) through pixel (\+\_\+x,\+\_\+y). \+\_\+direction will be nornalized. 

Definition at line 930 of file G\+L\+State.\+cc.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{a07452_a9a16f7f5c36a40bdddb6a9ce0240173b}\label{a07452_a9a16f7f5c36a40bdddb6a9ce0240173b}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!bb\+\_\+max\+\_\+@{bb\+\_\+max\+\_\+}}
\index{bb\+\_\+max\+\_\+@{bb\+\_\+max\+\_\+}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{bb\+\_\+max\+\_\+}{bb\_max\_}}
{\footnotesize\ttfamily \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} A\+C\+G\+::\+G\+L\+State\+::bb\+\_\+max\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

Provide scene Information about the boundingbox via this function It is not computed by the state itself!! 

Definition at line 1025 of file G\+L\+State.\+hh.

\mbox{\Hypertarget{a07452_acc5184e3c279146f106bddca26350138}\label{a07452_acc5184e3c279146f106bddca26350138}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!bb\+\_\+min\+\_\+@{bb\+\_\+min\+\_\+}}
\index{bb\+\_\+min\+\_\+@{bb\+\_\+min\+\_\+}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{bb\+\_\+min\+\_\+}{bb\_min\_}}
{\footnotesize\ttfamily \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} A\+C\+G\+::\+G\+L\+State\+::bb\+\_\+min\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

Provide scene Information about the boundingbox via this function It is not computed by the state itself!! 

Definition at line 1025 of file G\+L\+State.\+hh.

\mbox{\Hypertarget{a07452_af3d157c3c150974695d135c1dd8651cc}\label{a07452_af3d157c3c150974695d135c1dd8651cc}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!max\+\_\+render\+\_\+passes\+\_\+@{max\+\_\+render\+\_\+passes\+\_\+}}
\index{max\+\_\+render\+\_\+passes\+\_\+@{max\+\_\+render\+\_\+passes\+\_\+}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{max\+\_\+render\+\_\+passes\+\_\+}{max\_render\_passes\_}}
{\footnotesize\ttfamily unsigned int A\+C\+G\+::\+G\+L\+State\+::max\+\_\+render\+\_\+passes\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

holds the maximum render pass number this has to be set externally 

Definition at line 1005 of file G\+L\+State.\+hh.

\mbox{\Hypertarget{a07452_af5f8c51d7c934f3957b58d5ac4def123}\label{a07452_af5f8c51d7c934f3957b58d5ac4def123}} 
\index{A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}!render\+\_\+pass\+\_\+@{render\+\_\+pass\+\_\+}}
\index{render\+\_\+pass\+\_\+@{render\+\_\+pass\+\_\+}!A\+C\+G\+::\+G\+L\+State@{A\+C\+G\+::\+G\+L\+State}}
\subsubsection{\texorpdfstring{render\+\_\+pass\+\_\+}{render\_pass\_}}
{\footnotesize\ttfamily unsigned int A\+C\+G\+::\+G\+L\+State\+::render\+\_\+pass\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

holds the current render pass number (1-\/indexed) this has to be set externally 

Definition at line 1001 of file G\+L\+State.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/G\+L\+State.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/G\+L\+State.\+cc\end{DoxyCompactItemize}
