FCT
载入中...
搜索中...
未找到
VertexBuffer.h
浏览该文件的文档.
1#pragma once
2#include "./Context.h"
3#include "./VertexFactory.h"
4
5namespace FCT {
6 class Context;
7 /*
8 class VertexBuffer : public IPipelineResource {
9 public:
10 PipelineResourceType getType() const override;
11 virtual ~VertexBuffer() = default;
12
13 virtual void bind() = 0;
14 virtual void unbind() = 0;
15 virtual bool create(Context* context) = 0;
16 virtual void updata() = 0;
17
18 virtual VertexArray* getVertexArray() const = 0;
19 virtual size_t getVertexCount() const = 0;
20 virtual const VertexFactory* getFactory() const = 0;
21 };*/
22
23} // namespace FCT