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 {

Constructor & Destructor Documentation

◆ CYIGNMAbstractBufferObject()

CYIGNMAbstractBufferObject::CYIGNMAbstractBufferObject ( int32_t  handle)

◆ ~CYIGNMAbstractBufferObject()

virtual CYIGNMAbstractBufferObject::~CYIGNMAbstractBufferObject ( )

Member Function Documentation

◆ GetHandle()

virtual uint32_t CYIGNMAbstractBufferObject::GetHandle ( )

◆ GetTarget()

uint32_t CYIGNMAbstractBufferObject::GetTarget ( ) const

◆ SetTarget()

virtual void CYIGNMAbstractBufferObject::SetTarget ( uint32_t  target)

Member Data Documentation

◆ m_handle

uint32_t CYIGNMAbstractBufferObject::m_handle

◆ m_target

uint32_t CYIGNMAbstractBufferObject::m_target

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