74 lines
4.5 KiB
TeX

\doxysection{Enum.\+h}
\hypertarget{_enum_8h_source}{}\label{_enum_8h_source}\index{Include/OpenGL/Enum.h@{Include/OpenGL/Enum.h}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{//\ =====================================================================================================================}}
\DoxyCodeLine{00002\ \textcolor{comment}{//\ Copyright\ 2024\ Medusa\ Slockbower}}
\DoxyCodeLine{00003\ \textcolor{comment}{//\ Licensed\ under\ the\ Apache\ License,\ Version\ 2.0\ (the\ "{}License"{});}}
\DoxyCodeLine{00004\ \textcolor{comment}{//\ you\ may\ not\ use\ this\ file\ except\ in\ compliance\ with\ the\ License.}}
\DoxyCodeLine{00005\ \textcolor{comment}{//\ You\ may\ obtain\ a\ copy\ of\ the\ License\ at}}
\DoxyCodeLine{00006\ \textcolor{comment}{//}}
\DoxyCodeLine{00007\ \textcolor{comment}{//\ \ http://www.apache.org/licenses/LICENSE-\/2.0}}
\DoxyCodeLine{00008\ \textcolor{comment}{//}}
\DoxyCodeLine{00009\ \textcolor{comment}{//\ Unless\ required\ by\ applicable\ law\ or\ agreed\ to\ in\ writing,\ software}}
\DoxyCodeLine{00010\ \textcolor{comment}{//\ distributed\ under\ the\ License\ is\ distributed\ on\ an\ "{}AS\ IS"{}\ BASIS,}}
\DoxyCodeLine{00011\ \textcolor{comment}{//\ WITHOUT\ WARRANTIES\ OR\ CONDITIONS\ OF\ ANY\ KIND,\ either\ express\ or\ implied.}}
\DoxyCodeLine{00012\ \textcolor{comment}{//\ See\ the\ License\ for\ the\ specific\ language\ governing\ permissions\ and}}
\DoxyCodeLine{00013\ \textcolor{comment}{//\ limitations\ under\ the\ License.}}
\DoxyCodeLine{00014\ \textcolor{comment}{//\ =====================================================================================================================}}
\DoxyCodeLine{00015\ }
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#ifndef\ ENUM\_H}}
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#define\ ENUM\_H}}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#include\ <gl/glew.h>}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{keyword}{namespace\ }GLW}
\DoxyCodeLine{00022\ \{}
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keyword}{enum}\ Primitive\ :\ GLenum}
\DoxyCodeLine{00024\ \ \ \ \ \{}
\DoxyCodeLine{00025\ \ \ \ \ \ \ \ \ TRIANGLES\ =\ GL\_TRIANGLES}
\DoxyCodeLine{00026\ \ \ \ \ ,\ \ \ LINES\ =\ GL\_LINES}
\DoxyCodeLine{00027\ \ \ \ \ ,\ \ \ POINTS\ =\ GL\_POINTS}
\DoxyCodeLine{00028\ \ \ \ \ \};}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keyword}{enum}\ BufferType\ :\ GLenum}
\DoxyCodeLine{00031\ \ \ \ \ \{}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ AtomicCounter\ =\ GL\_ATOMIC\_COUNTER\_BUFFER}
\DoxyCodeLine{00033\ \ \ \ \ ,\ \ \ ElementArray\ =\ GL\_ELEMENT\_ARRAY\_BUFFER}
\DoxyCodeLine{00034\ \ \ \ \ ,\ \ \ IndirectCompute\ =\ GL\_DISPATCH\_INDIRECT\_BUFFER}
\DoxyCodeLine{00035\ \ \ \ \ ,\ \ \ IndirectDraw\ =\ GL\_DRAW\_INDIRECT\_BUFFER}
\DoxyCodeLine{00036\ \ \ \ \ ,\ \ \ PixelPack\ =\ GL\_PIXEL\_PACK\_BUFFER}
\DoxyCodeLine{00037\ \ \ \ \ ,\ \ \ PixelUnpack\ =\ GL\_PIXEL\_UNPACK\_BUFFER}
\DoxyCodeLine{00038\ \ \ \ \ ,\ \ \ ShaderStorage\ =\ GL\_SHADER\_STORAGE\_BUFFER}
\DoxyCodeLine{00039\ \ \ \ \ ,\ \ \ TransformFeedback\ =\ GL\_TRANSFORM\_FEEDBACK}
\DoxyCodeLine{00040\ \ \ \ \ ,\ \ \ Uniform\ =\ GL\_UNIFORM\_BUFFER}
\DoxyCodeLine{00041\ \ \ \ \ ,\ \ \ VertexArray\ =\ GL\_ARRAY\_BUFFER}
\DoxyCodeLine{00042\ \ \ \ \ \};}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keyword}{enum}\ BufferUsage\ :\ GLenum}
\DoxyCodeLine{00045\ \ \ \ \ \{}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ STATIC\ \ \ \ \ =\ GL\_NONE}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00054\ \ \ \ \ ,\ \ \ READ\ \ \ \ \ \ \ =\ GL\_MAP\_READ\_BIT}
\DoxyCodeLine{00055\ \ \ \ \ ,\ \ \ WRITE\ \ \ \ \ \ =\ GL\_MAP\_WRITE\_BIT}
\DoxyCodeLine{00056\ \ \ \ \ ,\ \ \ READ\_WRITE\ =\ READ\ |\ WRITE}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00061\ \ \ \ \ ,\ \ \ DYNAMIC\ =\ GL\_DYNAMIC\_STORAGE\_BIT}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00066\ \ \ \ \ ,\ \ \ PERSISTENT\ =\ GL\_MAP\_PERSISTENT\_BIT}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00071\ \ \ \ \ ,\ \ \ COHERENT\ =\ GL\_MAP\_PERSISTENT\_BIT\ |\ PERSISTENT}
\DoxyCodeLine{00072\ \ \ \ \ \};}
\DoxyCodeLine{00073\ }
\DoxyCodeLine{00074\ \ \ \ \ \textcolor{keyword}{enum}\ BufferStorage\ :\ GLenum}
\DoxyCodeLine{00075\ \ \ \ \ \{}
\DoxyCodeLine{00079\ \ \ \ \ \ \ \ \ GPU\ =\ GL\_NONE}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00084\ \ \ \ \ ,\ \ \ CPU\ =\ GL\_CLIENT\_STORAGE\_BIT}
\DoxyCodeLine{00085\ \ \ \ \ \};}
\DoxyCodeLine{00086\ \}}
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//ENUM\_H}}
\end{DoxyCode}