Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::Dummy::CTexture Class Reference

#include <Texture.h>

Inheritance diagram for Renderer::Backend::Dummy::CTexture:
Collaboration diagram for Renderer::Backend::Dummy::CTexture:

Public Member Functions

 ~CTexture () override
 
IDeviceGetDevice () override
 
Type GetType () const override
 
uint32_t GetUsage () const override
 
Format GetFormat () const override
 
uint32_t GetWidth () const override
 
uint32_t GetHeight () const override
 
uint32_t GetMIPLevelCount () const override
 
virtual Type GetType () const =0
 
virtual uint32_t GetUsage () const =0
 
virtual Format GetFormat () const =0
 
virtual uint32_t GetWidth () const =0
 
virtual uint32_t GetHeight () const =0
 
virtual uint32_t GetMIPLevelCount () const =0
 
- Public Member Functions inherited from Renderer::Backend::IDeviceObject< ITexture >
virtual ~IDeviceObject ()
 
virtual IDeviceGetDevice ()=0
 
TAs ()
 

Private Member Functions

 CTexture ()
 

Static Private Member Functions

static std::unique_ptr< ITextureCreate (CDevice *device, const Type type, const uint32_t usage, const Format format, const uint32_t width, const uint32_t height, const uint32_t MIPLevelCount)
 

Private Attributes

CDevicem_Device = nullptr
 
Type m_Type = Type::TEXTURE_2D
 
uint32_t m_Usage = 0
 
Format m_Format = Format::UNDEFINED
 
uint32_t m_Width = 0
 
uint32_t m_Height = 0
 
uint32_t m_MIPLevelCount = 0
 

Friends

class CDevice
 

Additional Inherited Members

- Public Types inherited from Renderer::Backend::ITexture
enum class  Type { TEXTURE_2D , TEXTURE_2D_MULTISAMPLE , TEXTURE_CUBE }
 

Constructor & Destructor Documentation

◆ ~CTexture()

CTexture::~CTexture ( )
overridedefault

◆ CTexture()

CTexture::CTexture ( )
privatedefault

Member Function Documentation

◆ Create()

std::unique_ptr< ITexture > CTexture::Create ( CDevice device,
const Type  type,
const uint32_t  usage,
const Format  format,
const uint32_t  width,
const uint32_t  height,
const uint32_t  MIPLevelCount 
)
staticprivate

◆ GetDevice()

IDevice * CTexture::GetDevice ( )
overridevirtual

◆ GetFormat()

Format Renderer::Backend::Dummy::CTexture::GetFormat ( ) const
inlineoverridevirtual

◆ GetHeight()

uint32_t Renderer::Backend::Dummy::CTexture::GetHeight ( ) const
inlineoverridevirtual

◆ GetMIPLevelCount()

uint32_t Renderer::Backend::Dummy::CTexture::GetMIPLevelCount ( ) const
inlineoverridevirtual

◆ GetType()

Type Renderer::Backend::Dummy::CTexture::GetType ( ) const
inlineoverridevirtual

◆ GetUsage()

uint32_t Renderer::Backend::Dummy::CTexture::GetUsage ( ) const
inlineoverridevirtual

◆ GetWidth()

uint32_t Renderer::Backend::Dummy::CTexture::GetWidth ( ) const
inlineoverridevirtual

Friends And Related Function Documentation

◆ CDevice

friend class CDevice
friend

Member Data Documentation

◆ m_Device

CDevice* Renderer::Backend::Dummy::CTexture::m_Device = nullptr
private

◆ m_Format

Format Renderer::Backend::Dummy::CTexture::m_Format = Format::UNDEFINED
private

◆ m_Height

uint32_t Renderer::Backend::Dummy::CTexture::m_Height = 0
private

◆ m_MIPLevelCount

uint32_t Renderer::Backend::Dummy::CTexture::m_MIPLevelCount = 0
private

◆ m_Type

Type Renderer::Backend::Dummy::CTexture::m_Type = Type::TEXTURE_2D
private

◆ m_Usage

uint32_t Renderer::Backend::Dummy::CTexture::m_Usage = 0
private

◆ m_Width

uint32_t Renderer::Backend::Dummy::CTexture::m_Width = 0
private

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