Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::IBuffer Class Referenceabstract

#include <IBuffer.h>

Inheritance diagram for Renderer::Backend::IBuffer:
Collaboration diagram for Renderer::Backend::IBuffer:

Classes

struct  Usage
 

Public Types

enum class  Type { VERTEX , INDEX , UPLOAD , UNIFORM }
 

Public Member Functions

virtual Type GetType () const =0
 
virtual uint32_t GetSize () const =0
 
virtual uint32_t GetUsage () const =0
 
bool IsDynamic () const
 
- Public Member Functions inherited from Renderer::Backend::IDeviceObject< IBuffer >
virtual ~IDeviceObject ()
 
virtual IDeviceGetDevice ()=0
 
TAs ()
 

Member Enumeration Documentation

◆ Type

Enumerator
VERTEX 
INDEX 
UPLOAD 
UNIFORM 

Member Function Documentation

◆ GetSize()

virtual uint32_t Renderer::Backend::IBuffer::GetSize ( ) const
pure virtual

◆ GetType()

virtual Type Renderer::Backend::IBuffer::GetType ( ) const
pure virtual

◆ GetUsage()

virtual uint32_t Renderer::Backend::IBuffer::GetUsage ( ) const
pure virtual

◆ IsDynamic()

bool Renderer::Backend::IBuffer::IsDynamic ( ) const
inline

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