You.i Engine
IYIBufferFactory Class Referenceabstract

Detailed Description

Factory for the creation of Vertex and Index buffers.

#include <graphics/YiBufferFactory.h>

Public Member Functions

virtual ~IYIBufferFactory ()
 
virtual std::shared_ptr< IYIGPUObjectCreateBuffer (CYIAssetBufferObjectData::BufferType bufferType, CYIAssetBufferObjectData::BufferUsage bufferUsage=CYIAssetBufferObjectData::BufferUsage::Static)=0
 

Constructor & Destructor Documentation

◆ ~IYIBufferFactory()

virtual IYIBufferFactory::~IYIBufferFactory ( )
inlinevirtual

Member Function Documentation

◆ CreateBuffer()

virtual std::shared_ptr<IYIGPUObject> IYIBufferFactory::CreateBuffer ( CYIAssetBufferObjectData::BufferType  bufferType,
CYIAssetBufferObjectData::BufferUsage  bufferUsage = CYIAssetBufferObjectData::BufferUsage::Static 
)
pure virtual

Creates a platform-specific hardware buffer


The documentation for this class was generated from the following file: