You.i Engine
CYIGNMAbstractBufferObject Class Reference

Detailed Description

An abstract class for common Gnm buffer functionality.

#include <renderer/YiGNMAbstractBufferObject.h>

Inheritance diagram for CYIGNMAbstractBufferObject:

Public Member Functions

 CYIGNMAbstractBufferObject (int32_t handle)
 
virtual ~CYIGNMAbstractBufferObject ()
 
virtual void SetTarget (uint32_t target)
 
uint32_t GetTarget () const
 
virtual uint32_t GetHandle ()
 
- 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
 
uint32_t m_target
 
- 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

◆ CYIGNMAbstractBufferObject()

CYIGNMAbstractBufferObject::CYIGNMAbstractBufferObject ( int32_t  handle)

◆ ~CYIGNMAbstractBufferObject()

virtual CYIGNMAbstractBufferObject::~CYIGNMAbstractBufferObject ( )
virtual

Member Function Documentation

◆ GetHandle()

virtual uint32_t CYIGNMAbstractBufferObject::GetHandle ( )
virtual

◆ GetTarget()

uint32_t CYIGNMAbstractBufferObject::GetTarget ( ) const

◆ SetTarget()

virtual void CYIGNMAbstractBufferObject::SetTarget ( uint32_t  target)
virtual

Member Data Documentation

◆ m_handle

uint32_t CYIGNMAbstractBufferObject::m_handle
protected

◆ m_target

uint32_t CYIGNMAbstractBufferObject::m_target
protected

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