gstgl.glformat

Module for [GLFormat] enum namespace

struct GLFormat

Types 1

structGLFormat

Namespace for [GLFormat] enum

Methods
bool isSupported(gstgl.glcontext.GLContext context, gstgl.types.GLFormat format) static nothrow
uint nComponents(gstgl.types.GLFormat glFormat) static nothrow
void typeFromSizedGlFormat(gstgl.types.GLFormat format, out gstgl.types.GLFormat unsizedFormat, out uint glType) static nothrowGet the unsized format and type from format for usage in glReadPixels, glTex{Sub}Image*, glTexImage* and similar functions.
uint typeNBytes(uint format, uint type) static nothrow