Raito 0.1
Loading...
Searching...
No Matches
Raito::Assets::Texture Struct Referencefinal

#include <Texture.h>

Collaboration diagram for Raito::Assets::Texture:

Classes

struct  TextureData
 

Public Member Functions

 Texture (u32 width, u32 height, u32 nComponents, ubyte *data, TextureType type)
 
 ~Texture ()
 

Public Attributes

u32 Id = 0
 
struct Raito::Assets::Texture::TextureData RenderData
 
u32 Width = 0
 
u32 Height = 0
 
u32 ComponentsNum = 0
 
TextureType Type {}
 

Constructor & Destructor Documentation

◆ Texture()

Raito::Assets::Texture::Texture ( u32 width,
u32 height,
u32 nComponents,
ubyte * data,
TextureType type )

◆ ~Texture()

Raito::Assets::Texture::~Texture ( )

Member Data Documentation

◆ ComponentsNum

u32 Raito::Assets::Texture::ComponentsNum = 0

◆ Height

u32 Raito::Assets::Texture::Height = 0

◆ Id

u32 Raito::Assets::Texture::Id = 0

◆ RenderData

struct Raito::Assets::Texture::TextureData Raito::Assets::Texture::RenderData

◆ Type

TextureType Raito::Assets::Texture::Type {}

◆ Width

u32 Raito::Assets::Texture::Width = 0

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