\hypertarget{a01420}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:A\+C\+G\+:\+:Vertex\+Element Struct Reference}
\label{a01420}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element}}
}


Description of one vertex element.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a01420_a9861455dff76139e7daa2f5fcc640560}{set\+Byte\+Offset} (unsigned int \+\_\+offset)
\item 
unsigned int \hyperlink{a01420_a222ad79b0e33f6885d7d70f523765bd1}{get\+Byte\+Offset} () const 
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01420_aa8ede54bbc94671c2f42591cf1730dcd}{unsigned int \hyperlink{a01420_aa8ede54bbc94671c2f42591cf1730dcd}{type\+\_\+}}\label{a01420_aa8ede54bbc94671c2f42591cf1730dcd}

\begin{DoxyCompactList}\small\item\em G\+L\+\_\+\+F\+L\+O\+A\+T, G\+L\+\_\+\+U\+N\+S\+I\+G\+N\+E\+D\+\_\+\+B\+Y\+T\+E, G\+L\+\_\+\+I\+N\+T, ... \end{DoxyCompactList}\item 
\hypertarget{a01420_a3a52cf3abefe384c4347e8fca237b3ef}{unsigned int \hyperlink{a01420_a3a52cf3abefe384c4347e8fca237b3ef}{num\+Elements\+\_\+}}\label{a01420_a3a52cf3abefe384c4347e8fca237b3ef}

\begin{DoxyCompactList}\small\item\em how many elements of type\+\_\+ \end{DoxyCompactList}\item 
\hypertarget{a01420_a1695eab3d4627ccbd458a07626da79d8}{\hyperlink{a03336_a8e20f3e5c21bdb768c1740315eeb122a}{V\+E\+R\+T\+E\+X\+\_\+\+U\+S\+A\+G\+E} \hyperlink{a01420_a1695eab3d4627ccbd458a07626da79d8}{usage\+\_\+}}\label{a01420_a1695eab3d4627ccbd458a07626da79d8}

\begin{DoxyCompactList}\small\item\em position, normal, shader input .. \end{DoxyCompactList}\item 
\hypertarget{a01420_a2cb8ed8614d3aaf02b1da7e0a0ef323c}{const char $\ast$ \hyperlink{a01420_a2cb8ed8614d3aaf02b1da7e0a0ef323c}{shader\+Input\+Name\+\_\+}}\label{a01420_a2cb8ed8614d3aaf02b1da7e0a0ef323c}

\begin{DoxyCompactList}\small\item\em set shader input name, if usage\+\_\+ = V\+E\+R\+T\+E\+X\+\_\+\+U\+S\+A\+G\+E\+\_\+\+U\+S\+E\+R\+\_\+\+D\+E\+F\+I\+N\+E\+D otherwise this is set automatically, if usage\+\_\+ != V\+E\+R\+T\+E\+X\+\_\+\+U\+S\+A\+G\+E\+\_\+\+U\+S\+E\+R\+\_\+\+D\+E\+F\+I\+N\+E\+D \end{DoxyCompactList}\item 
\hypertarget{a01420_ab9eb6defafff2e2c669708f681352f9e}{const void $\ast$ \hyperlink{a01420_ab9eb6defafff2e2c669708f681352f9e}{pointer\+\_\+}}\label{a01420_ab9eb6defafff2e2c669708f681352f9e}

\begin{DoxyCompactList}\small\item\em Offset in bytes to the first occurrence of this element in vertex buffer; Or address to vertex data in system memory. \end{DoxyCompactList}\item 
\hypertarget{a01420_a692d7e57c62c528e9ed972365b42e2b5}{unsigned int \hyperlink{a01420_a692d7e57c62c528e9ed972365b42e2b5}{divisor\+\_\+}}\label{a01420_a692d7e57c62c528e9ed972365b42e2b5}

\begin{DoxyCompactList}\small\item\em For instanced rendering\+: Step rate describing how many instances are drawn before advancing to the next element. Must be 0 if this element is not per instance data. \end{DoxyCompactList}\item 
\hypertarget{a01420_afc943519df66d09d99ee27d94d038074}{unsigned int \hyperlink{a01420_afc943519df66d09d99ee27d94d038074}{vbo\+\_\+}}\label{a01420_afc943519df66d09d99ee27d94d038074}

\begin{DoxyCompactList}\small\item\em Explicit vbo source of this element, set to 0 if the buffer bound at the time of activating the declaration should be used instead. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Description of one vertex element. 



Definition at line 84 of file Mesh\+Node2\+T.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a01420_a222ad79b0e33f6885d7d70f523765bd1}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element}!get\+Byte\+Offset@{get\+Byte\+Offset}}
\index{get\+Byte\+Offset@{get\+Byte\+Offset}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element}}
\subsubsection[{get\+Byte\+Offset}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element\+::get\+Byte\+Offset (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{a01420_a222ad79b0e33f6885d7d70f523765bd1}
interpret pointer\+\_\+ as byte offset \hypertarget{a01420_a9861455dff76139e7daa2f5fcc640560}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element}!set\+Byte\+Offset@{set\+Byte\+Offset}}
\index{set\+Byte\+Offset@{set\+Byte\+Offset}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element}}
\subsubsection[{set\+Byte\+Offset}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Vertex\+Element\+::set\+Byte\+Offset (
\begin{DoxyParamCaption}
\item[{unsigned int}]{\+\_\+offset}
\end{DoxyParamCaption}
)}}\label{a01420_a9861455dff76139e7daa2f5fcc640560}
interpret pointer\+\_\+ as byte offset 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/Mesh\+Node2\+T.\+cc\end{DoxyCompactItemize}
