SRM  v0.11.0-1
Simple Rendering Manager
SRMGLFormat Struct Reference

Structure representing a mapping between DRM and OpenGL buffer formats. More...

#include <SRMFormat.h>

Data Fields

UInt32 drmFormat
 
GLint glInternalFormat
 
GLint glFormat
 
GLint glType
 
UInt8 hasAlpha
 

Detailed Description

Structure representing a mapping between DRM and OpenGL buffer formats.

Field Documentation

◆ drmFormat

UInt32 SRMGLFormat::drmFormat

DRM buffer format code.

◆ glInternalFormat

GLint SRMGLFormat::glInternalFormat

OpenGL internal texture format.

◆ glFormat

GLint SRMGLFormat::glFormat

OpenGL texture format.

◆ glType

GLint SRMGLFormat::glType

OpenGL texture pixel type.

◆ hasAlpha

UInt8 SRMGLFormat::hasAlpha

Flag indicating whether the format has an alpha channel.