\hypertarget{classACG_1_1GLPrimitive}{}\section{A\+CG\+:\+:G\+L\+Primitive Class Reference}
\label{classACG_1_1GLPrimitive}\index{A\+C\+G\+::\+G\+L\+Primitive@{A\+C\+G\+::\+G\+L\+Primitive}}
Inheritance diagram for A\+CG\+:\+:G\+L\+Primitive\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=11.000000cm]{classACG_1_1GLPrimitive}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a05bc75733ccb1b6a104fa6701200db4f}\label{classACG_1_1GLPrimitive_a05bc75733ccb1b6a104fa6701200db4f}} 
enum {\bfseries Normal\+Orientation} \{ {\bfseries O\+U\+T\+S\+I\+DE}, 
{\bfseries I\+N\+S\+I\+DE}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_aaedcf08299e71fd47ae8815d602eb027}\label{classACG_1_1GLPrimitive_aaedcf08299e71fd47ae8815d602eb027}} 
void {\bfseries draw\+\_\+primitive} ()
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a4eced12d755b74a58b33e0d47f7dff09}\label{classACG_1_1GLPrimitive_a4eced12d755b74a58b33e0d47f7dff09}} 
void {\bfseries draw\+\_\+primitive} (\hyperlink{classGLSL_1_1Program}{G\+L\+S\+L\+::\+Program} $\ast$\+\_\+program)
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_ae7fd76b470ac0f51db981ae4fce9fe2a}\label{classACG_1_1GLPrimitive_ae7fd76b470ac0f51db981ae4fce9fe2a}} 
void {\bfseries add\+To\+Renderer\+\_\+primitive} (class \hyperlink{classACG_1_1IRenderer}{I\+Renderer} $\ast$\+\_\+renderer, struct \hyperlink{structACG_1_1RenderObject}{Render\+Object} $\ast$\+\_\+ro)
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_ac0d4999f9f6c594140a0d7b2aeaa42ce}\label{classACG_1_1GLPrimitive_ac0d4999f9f6c594140a0d7b2aeaa42ce}} 
virtual int {\bfseries get\+Num\+Triangles} ()=0
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_abcb8c70bd69f75ffba60b9729460b735}\label{classACG_1_1GLPrimitive_abcb8c70bd69f75ffba60b9729460b735}} 
virtual int {\bfseries get\+Num\+Lines} ()
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_ace9a026adfa0f3f314db7e7c76f951d7}\label{classACG_1_1GLPrimitive_ace9a026adfa0f3f314db7e7c76f951d7}} 
unsigned int {\bfseries get\+V\+BO} ()
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a647a3432f3df58bac855aacb5f33346e}\label{classACG_1_1GLPrimitive_a647a3432f3df58bac855aacb5f33346e}} 
const \hyperlink{classACG_1_1VertexDeclaration}{Vertex\+Declaration} $\ast$ {\bfseries get\+Vertex\+Decl} () const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a87f02b8f2f963090c0a329cdf99fd5b7}\label{classACG_1_1GLPrimitive_a87f02b8f2f963090c0a329cdf99fd5b7}} 
virtual void {\bfseries update\+V\+BO} ()=0
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_aa0196cb6f3b3b6dbc5dfa1aa722b47fe}\label{classACG_1_1GLPrimitive_aa0196cb6f3b3b6dbc5dfa1aa722b47fe}} 
void {\bfseries add\+Triangle\+To\+V\+BO} (const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+p, const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+n, const \hyperlink{namespaceACG_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} $\ast$\+\_\+tex)
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a3e83e0400bf74506411cf95acf079e60}\label{classACG_1_1GLPrimitive_a3e83e0400bf74506411cf95acf079e60}} 
void {\bfseries add\+Line\+To\+V\+BO} (const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+p, const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+n, const \hyperlink{namespaceACG_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} $\ast$\+\_\+tex)
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a9a578c6a63c6b868fba266267a737deb}\label{classACG_1_1GLPrimitive_a9a578c6a63c6b868fba266267a737deb}} 
void {\bfseries bind\+V\+BO} ()
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_aa6c31658be203b08117fd413d074905a}\label{classACG_1_1GLPrimitive_aa6c31658be203b08117fd413d074905a}} 
bool {\bfseries check\+V\+BO} ()
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a2df2d95fc32bc5d3416ca07c4c151982}\label{classACG_1_1GLPrimitive_a2df2d95fc32bc5d3416ca07c4c151982}} 
void {\bfseries un\+Bind\+V\+BO} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a34a95bdec0b46e350fb2a26b4c61f4ed}\label{classACG_1_1GLPrimitive_a34a95bdec0b46e350fb2a26b4c61f4ed}} 
bool {\bfseries vbo\+Data\+Invalid\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a4468e144cfc794a62aa40cd2a456b109}\label{classACG_1_1GLPrimitive_a4468e144cfc794a62aa40cd2a456b109}} 
Normal\+Orientation {\bfseries normal\+Orientation\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a8066c2621038be080cb1e373800b6a48}\label{classACG_1_1GLPrimitive_a8066c2621038be080cb1e373800b6a48}} 
void {\bfseries update\+V\+B\+O\+Data} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_ad5f8acc8164760328327a7c1c261a403}\label{classACG_1_1GLPrimitive_ad5f8acc8164760328327a7c1c261a403}} 
int {\bfseries num\+Tris\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a7d46179b9f7052f5edf99d0b37dcaa2f}\label{classACG_1_1GLPrimitive_a7d46179b9f7052f5edf99d0b37dcaa2f}} 
int {\bfseries num\+Lines\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_ab51b5c19b37d953c5f80b458bb1abab9}\label{classACG_1_1GLPrimitive_ab51b5c19b37d953c5f80b458bb1abab9}} 
float $\ast$ {\bfseries vbo\+Data\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_ada4e2aea3cf651f9c87dadc2183b5ca5}\label{classACG_1_1GLPrimitive_ada4e2aea3cf651f9c87dadc2183b5ca5}} 
int {\bfseries cur\+Tri\+Ptr\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_ac87c3e7826466cdaf86d0a55b6a589c9}\label{classACG_1_1GLPrimitive_ac87c3e7826466cdaf86d0a55b6a589c9}} 
\hyperlink{classACG_1_1VertexDeclaration}{Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1GLPrimitive_a6440e84b7c344994a441c79f0e95ab36}\label{classACG_1_1GLPrimitive_a6440e84b7c344994a441c79f0e95ab36}} 
unsigned int {\bfseries vbo\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 72 of file G\+L\+Primitives.\+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\+Primitives.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/G\+L\+Primitives.\+cc\end{DoxyCompactItemize}
