\hypertarget{class_test_frame_work_1_1_opengl_driver}{
\section{TestFrameWork::OpenglDriver Class Reference}
\label{class_test_frame_work_1_1_opengl_driver}\index{TestFrameWork::OpenglDriver@{TestFrameWork::OpenglDriver}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a83c54610704fb591bac5e496a5975e09}{
{\bfseries OpenglDriver} (OpenglVersion version, HDC canvasContext, size\_\-t width, size\_\-t height, int depth, int samples)}
\label{class_test_frame_work_1_1_opengl_driver_a83c54610704fb591bac5e496a5975e09}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_ad6a60c590164ac7cc91df28ef2f46b62}{
void {\bfseries BeginFrame} (void)}
\label{class_test_frame_work_1_1_opengl_driver_ad6a60c590164ac7cc91df28ef2f46b62}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a4eb4f8d567a240efb0407edc6809bcd7}{
void {\bfseries EndFrame} (void)}
\label{class_test_frame_work_1_1_opengl_driver_a4eb4f8d567a240efb0407edc6809bcd7}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_ae4cd04da085c55278c0dc95da82b56a7}{
size\_\-t {\bfseries CreateVertexBuffer} (Vertices vertices, size\_\-t verticesCount)}
\label{class_test_frame_work_1_1_opengl_driver_ae4cd04da085c55278c0dc95da82b56a7}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a5d2cd63a14d734fb867172be911b0d48}{
size\_\-t {\bfseries CreateIndexBuffer} (Indices32 indices, size\_\-t indicesCount)}
\label{class_test_frame_work_1_1_opengl_driver_a5d2cd63a14d734fb867172be911b0d48}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a8e66ff78f6378381ee29bb55e6e55537}{
OpenglProgramWeakPtr {\bfseries CreateProgram} (const std::vector$<$ \hyperlink{struct_test_frame_work_1_1_shader_file_desc}{ShaderFileDesc} $>$ \&shaders)}
\label{class_test_frame_work_1_1_opengl_driver_a8e66ff78f6378381ee29bb55e6e55537}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a4edee2bc5aaaa409b506acc1d2ecd923}{
OpenglTextureWeakPtr {\bfseries CreateTexture} (TextureData data, OpenglTextureFormat format, size\_\-t width, OpenglTextureFilter filter, OpenglTextureEdgeValue edge)}
\label{class_test_frame_work_1_1_opengl_driver_a4edee2bc5aaaa409b506acc1d2ecd923}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a484082995fea3db7af5023f812d1f3dd}{
OpenglTextureWeakPtr {\bfseries CreateTexture} (TextureData data, OpenglTextureFormat format, size\_\-t width, size\_\-t height, OpenglTextureFilter filter, OpenglTextureEdgeValue edge)}
\label{class_test_frame_work_1_1_opengl_driver_a484082995fea3db7af5023f812d1f3dd}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a6a6c9f88f6f0db17a97c8c0f02ff04b1}{
OpenglTextureWeakPtr {\bfseries CreateTexture} (TextureData data, OpenglTextureFormat format, size\_\-t width, size\_\-t height, size\_\-t depth, OpenglTextureFilter filter, OpenglTextureEdgeValue edge)}
\label{class_test_frame_work_1_1_opengl_driver_a6a6c9f88f6f0db17a97c8c0f02ff04b1}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_af84ba9a6c6ea407b12e6e5f00c00fa68}{
void {\bfseries SetProgram} (OpenglProgramWeakPtr program)}
\label{class_test_frame_work_1_1_opengl_driver_af84ba9a6c6ea407b12e6e5f00c00fa68}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a01fde08701a068b9ddf3b03eae75285d}{
void {\bfseries SetTexture} (OpenglTextureWeakPtr texture, int textureUnit)}
\label{class_test_frame_work_1_1_opengl_driver_a01fde08701a068b9ddf3b03eae75285d}

\item 
void \hyperlink{class_test_frame_work_1_1_opengl_driver_a9069df1aea303e84e1eba5672822ee59}{DrawIndexedPrimitive} (OpenglPrimitive primitive, size\_\-t vertexBufferId, size\_\-t indexBufferId, size\_\-t primitivesCount=1)
\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a54b82795f1c0092f29e56b7cf3fdfdfb}{
void {\bfseries GetMaximumTextureSize} (OpenglTextureFormat format, size\_\-t \&width, size\_\-t \&height)}
\label{class_test_frame_work_1_1_opengl_driver_a54b82795f1c0092f29e56b7cf3fdfdfb}

\item 
\hypertarget{class_test_frame_work_1_1_opengl_driver_a238e008b5c748935e4630dc47915c8b4}{
void {\bfseries Draw2DString} (const std::string \&s, size\_\-t x, size\_\-t y, const \hyperlink{class_test_frame_work_1_1_vector3}{Vector3} \&color)}
\label{class_test_frame_work_1_1_opengl_driver_a238e008b5c748935e4630dc47915c8b4}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{class_test_frame_work_1_1_opengl_driver_a9069df1aea303e84e1eba5672822ee59}{
\index{TestFrameWork::OpenglDriver@{TestFrameWork::OpenglDriver}!DrawIndexedPrimitive@{DrawIndexedPrimitive}}
\index{DrawIndexedPrimitive@{DrawIndexedPrimitive}!TestFrameWork::OpenglDriver@{TestFrameWork::OpenglDriver}}
\subsubsection[{DrawIndexedPrimitive}]{\setlength{\rightskip}{0pt plus 5cm}void OpenglDriver::DrawIndexedPrimitive (OpenglPrimitive {\em primitive}, \/  size\_\-t {\em vertexBufferId}, \/  size\_\-t {\em indexBufferId}, \/  size\_\-t {\em primitivesCount} = {\ttfamily 1})}}
\label{class_test_frame_work_1_1_opengl_driver_a9069df1aea303e84e1eba5672822ee59}


TODO: Fixed index type to 32bits 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
src/TaskBasedFlockSim/OpenglDriver.h\item 
src/TaskBasedFlockSim/OpenglDriver.cpp\end{DoxyCompactItemize}
