diff options
author | Robert Bragg <robert@linux.intel.com> | 2010-10-12 12:34:27 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2010-11-03 18:04:00 +0000 |
commit | 296d14e94625b95304092d0b66d1d37871f58b71 (patch) | |
tree | 88cd43a14d17b1d404fc140e653991c2e0533648 /cogl/cogl-vertex-array-private.h | |
parent | 4d990a93a8ee0dfcbb16d91d944f7c096f55b9f8 (diff) | |
download | cogl-296d14e94625b95304092d0b66d1d37871f58b71.tar.gz |
cogl: Adds experimental CoglVertexArray type
This adds a new CoglVertexArray object which is a subclass of CoglBuffer
used to hold vertex attributes. A later commit will add a
CoglVertexAttribute API which will be used to describe the attributes
inside a CoglVertexArray.
Diffstat (limited to 'cogl/cogl-vertex-array-private.h')
-rw-r--r-- | cogl/cogl-vertex-array-private.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cogl/cogl-vertex-array-private.h b/cogl/cogl-vertex-array-private.h new file mode 100644 index 00000000..f24c7dec --- /dev/null +++ b/cogl/cogl-vertex-array-private.h @@ -0,0 +1,39 @@ +/* + * Cogl + * + * An object oriented GL/GLES Abstraction/Utility Layer + * + * Copyright (C) 2010 Intel Corporation. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see + * <http://www.gnu.org/licenses/>. + * + * + * + * Authors: + * Robert Bragg <robert@linux.intel.com> + */ + +#ifndef __COGL_VERTEX_ARRAY_PRIVATE_H +#define __COGL_VERTEX_ARRAY_PRIVATE_H + +#include "cogl-buffer-private.h" + +struct _CoglVertexArray +{ + CoglBuffer _parent; +}; + +#endif /* __COGL_VERTEX_ARRAY_PRIVATE_H */ + |