MyGUI_IVertexBuffer.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_I_VERTEX_BUFFER_H_
#define MYGUI_I_VERTEX_BUFFER_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_VertexData.h"
namespace MyGUI
{
class MYGUI_EXPORT IVertexBuffer
{
public:
virtual ~IVertexBuffer() = default;
virtual void setVertexCount(size_t _value) = 0;
virtual size_t getVertexCount() const = 0;
virtual Vertex* lock() = 0;
virtual void unlock() = 0;
};
} // namespace MyGUI
#endif // MYGUI_I_VERTEX_BUFFER_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI_VertexData.h
MyGUI::IVertexBuffer
Definition MyGUI_IVertexBuffer.h:17
MyGUI::IVertexBuffer::setVertexCount
virtual void setVertexCount(size_t _value)=0
MyGUI::IVertexBuffer::getVertexCount
virtual size_t getVertexCount() const =0
MyGUI::IVertexBuffer::~IVertexBuffer
virtual ~IVertexBuffer()=default
MyGUI::IVertexBuffer::unlock
virtual void unlock()=0
MyGUI::IVertexBuffer::lock
virtual Vertex * lock()=0
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::Vertex
Definition MyGUI_VertexData.h:17