DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
DekiEditor::TexData Struct Reference

A loaded TEX file. More...

#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/TextureData.h>

Public Member Functions

int GetBytesPerPixel () const
std::string GetFormatName () const
bool HasAlpha () const
bool HasTransparency () const
bool IsValid () const

Public Attributes

TexHeader header
std::vector< uint8_t > pixelData

Detailed Description

A loaded TEX file.

Member Function Documentation

◆ GetBytesPerPixel()

int DekiEditor::TexData::GetBytesPerPixel ( ) const
inline

◆ GetFormatName()

std::string DekiEditor::TexData::GetFormatName ( ) const
inline

◆ HasAlpha()

bool DekiEditor::TexData::HasAlpha ( ) const
inline

◆ HasTransparency()

bool DekiEditor::TexData::HasTransparency ( ) const
inline

◆ IsValid()

bool DekiEditor::TexData::IsValid ( ) const
inline

Member Data Documentation

◆ header

TexHeader DekiEditor::TexData::header

◆ pixelData

std::vector<uint8_t> DekiEditor::TexData::pixelData

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