![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Represents a low-level GL texture, encapsulates all properties initialization. More...
#include <Texture.h>


Public Member Functions | |
| ~CTexture () override | |
| IDevice * | GetDevice () 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 |
| GLuint | GetHandle () const |
| 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 IDevice * | GetDevice ()=0 |
| T * | As () |
Private Member Functions | |
| CTexture () | |
Static Private Member Functions | |
| static std::unique_ptr< CTexture > | Create (CDevice *device, const char *name, const Type type, const uint32_t usage, const Format format, const uint32_t width, const uint32_t height, const Sampler::Desc &defaultSamplerDesc, const uint32_t MIPLevelCount, const uint32_t sampleCount) |
Private Attributes | |
| CDevice * | m_Device = nullptr |
| GLuint | m_Handle = 0 |
| 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 } |
Represents a low-level GL texture, encapsulates all properties initialization.
|
override |
|
privatedefault |
|
staticprivate |
|
overridevirtual |
Implements Renderer::Backend::IDeviceObject< ITexture >.
|
inlineoverridevirtual |
Implements Renderer::Backend::ITexture.
|
inline |
|
inlineoverridevirtual |
Implements Renderer::Backend::ITexture.
|
inlineoverridevirtual |
Implements Renderer::Backend::ITexture.
|
inlineoverridevirtual |
Implements Renderer::Backend::ITexture.
|
inlineoverridevirtual |
Implements Renderer::Backend::ITexture.
|
inlineoverridevirtual |
Implements Renderer::Backend::ITexture.
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |