KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Karma::MesaDecalData Struct Reference

A data structure for holding information about Mesa texture. For instance, file and folder icons of Content Browser. More...

#include <KarmaGuiOpenGLHandler.h>

Public Attributes

GLuint DecalRef
 An array in which the generated texture names, for decals, are stored.
 
KGTextureID DecalID
 A typecasted version of DecalRef The DecalID is used in KarmaGui::ImageButton.
 
int width
 2D width of the decal
 
int height
 2D height of the decal
 

Detailed Description

A data structure for holding information about Mesa texture. For instance, file and folder icons of Content Browser.

Similar to KarmaGui_ImplVulkan_Image_TextureData in KarmaGuiVulkanHandler.

Since
Karma 1.0.0

Member Data Documentation

◆ DecalID

KGTextureID Karma::MesaDecalData::DecalID

A typecasted version of DecalRef The DecalID is used in KarmaGui::ImageButton.

Note
Different from DecalRef because used differently
Since
Karma 1.0.0

◆ DecalRef

GLuint Karma::MesaDecalData::DecalRef

An array in which the generated texture names, for decals, are stored.

See also
https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGenTextures.xhtml
Since
Karma 1.0.0

◆ height

int Karma::MesaDecalData::height

2D height of the decal

Since
Karma 1.0.0

◆ width

int Karma::MesaDecalData::width

2D width of the decal

Since
Karma 1.0.0

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