You.i Engine
CYID3D11AbstractBufferObject Class Reference

Detailed Description

An abstract class for common Direct3D buffer functionality.

#include <renderer/YiD3D11AbstractBufferObject.h>

Inheritance diagram for CYID3D11AbstractBufferObject:

Public Member Functions

 CYID3D11AbstractBufferObject (int32_t handle)
 
virtual ~CYID3D11AbstractBufferObject ()
 
virtual uint32_t GetHandle ()
 
- Public Member Functions inherited from CYIBufferObject
 CYIBufferObject ()
 
virtual ~CYIBufferObject ()
 
virtual void * Map ()
 
virtual void Unmap (size_t size)
 
- Public Member Functions inherited from IYIGPUObject
 IYIGPUObject ()
 
virtual ~IYIGPUObject ()
 
virtual void Load (const std::shared_ptr< CYIAssetHardware > &pHWAsset)=0
 
virtual void Unload ()=0
 
Status GetStatus () const
 
virtual void Use () const =0
 
virtual void Generate ()=0
 
virtual void Free ()=0
 
virtual void InvalidateHandle ()=0
 

Protected Attributes

uint32_t m_handle
 
- Protected Attributes inherited from IYIGPUObject
Status m_status
 

Additional Inherited Members

- Public Types inherited from IYIGPUObject
enum  Status {
  Status::Invalid,
  Status::Unloaded,
  Status::LoadedFresh,
  Status::LoadedStale
}
 

Constructor & Destructor Documentation

◆ CYID3D11AbstractBufferObject()

CYID3D11AbstractBufferObject::CYID3D11AbstractBufferObject ( int32_t  handle)

◆ ~CYID3D11AbstractBufferObject()

virtual CYID3D11AbstractBufferObject::~CYID3D11AbstractBufferObject ( )
virtual

Member Function Documentation

◆ GetHandle()

virtual uint32_t CYID3D11AbstractBufferObject::GetHandle ( )
virtual

Member Data Documentation

◆ m_handle

uint32_t CYID3D11AbstractBufferObject::m_handle
protected

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