Skip to content
Snippets Groups Projects
Select Git revision
  • 3167f1acb8496d9db8875c60a008993f7c87143b
  • master default protected
  • developement_1 protected
  • Version_1.2.4
  • Version_1.2.3
  • Version_1.2.2
  • Version_1.2.1
  • Version_1.2.0
  • Version_1.0.1
  • Version_1.0.0
  • Version_0.1.0
  • Version_0.0.6
  • Version_0.0.5
  • Version_0.0.4
  • Version_0.0.3
  • Version_0.0.2
  • Version_0.0.1
17 results

Texture.h

Blame
  • user avatar
    Anakin authored
    b6ef34f9
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Texture.h 386 B
    #pragma once
    #include <vector>
    
    
    class TextureTGA
    {
    public:
    	TextureTGA(const char* filePath);
    	~TextureTGA();
    
    private:
    	std::vector<std::uint8_t>* vui8Pixels;
    	std::uint32_t ui32BpP;
    	std::uint32_t ui32Width;
    	std::uint32_t ui32Height;
    
    public:
    	std::vector<std::uint8_t>* getData() const;
    	bool hasAlpha() const;
    	std::uint32_t getWidth() const;
    	std::uint32_t getHeight() const;
    };