#ifndef LIBANGLE_VERTEXATTRIBUTE_H_
#define LIBANGLE_VERTEXATTRIBUTE_H_
#include "libANGLE/Buffer.h"
#include "libANGLE/angletypes.h"
#include "libANGLE/renderer/Format.h"
namespace gl
{
class VertexArray;
class VertexBinding final : angle::NonCopyable
{ … };
struct VertexAttribute final : private angle::NonCopyable
{ … };
ANGLE_INLINE size_t ComputeVertexAttributeTypeSize(const VertexAttribute &attrib)
{ … }
size_t ComputeVertexAttributeStride(const VertexAttribute &attrib, const VertexBinding &binding);
GLintptr ComputeVertexAttributeOffset(const VertexAttribute &attrib, const VertexBinding &binding);
size_t ComputeVertexBindingElementCount(GLuint divisor, size_t drawCount, size_t instanceCount);
struct VertexAttribCurrentValueData
{ … };
bool operator==(const VertexAttribCurrentValueData &a, const VertexAttribCurrentValueData &b);
bool operator!=(const VertexAttribCurrentValueData &a, const VertexAttribCurrentValueData &b);
}
#include "VertexAttribute.inc"
#endif