Topic/drawable (#1052)
This commit is contained in:
committed by
Bart Louwers
parent
92ce58db86
commit
e7d32a613a
@@ -34,15 +34,16 @@ public:
|
||||
|
||||
std::size_t getStride() const;
|
||||
|
||||
const std::vector<std::uint8_t>& getRaw() const;
|
||||
const std::vector<std::uint8_t>& getRaw(platform::GLenum) const;
|
||||
|
||||
private:
|
||||
static int getSize(platform::GLenum glType);
|
||||
static int getStride(platform::GLenum glType);
|
||||
static const void* getPtr(const gfx::VertexAttribute::ElementType&, platform::GLenum glType);
|
||||
static bool get(const gfx::VertexAttribute::ElementType&, platform::GLenum glType, uint8_t* buffer);
|
||||
|
||||
private:
|
||||
platform::GLenum glType = 0;
|
||||
mutable platform::GLenum rawType = 0;
|
||||
bool normalized = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user