HatchitGraphics
Public Member Functions | Protected Attributes | Friends | List of all members
Hatchit::Graphics::TextureBase Class Reference
Inheritance diagram for Hatchit::Graphics::TextureBase:
Hatchit::Graphics::DX::D3D12Texture Hatchit::Graphics::Vulkan::VKTexture

Public Member Functions

uint32_t GetWidth () const
 Gets the width of the texture. More...
 
uint32_t GetHeight () const
 Gets the height of the texture. More...
 

Protected Attributes

const BYTE * m_data
 
uint32_t m_width
 
uint32_t m_height
 
uint32_t m_bpp
 
uint32_t m_channels
 
uint32_t m_mipLevels
 

Friends

class Texture
 

Member Function Documentation

uint32_t Hatchit::Graphics::TextureBase::GetHeight ( ) const

Gets the height of the texture.

Returns
Returns the texture height as a uint32_t
uint32_t Hatchit::Graphics::TextureBase::GetWidth ( ) const

Gets the width of the texture.

Returns
Returns the texture width as a uint32_t

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