X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpixelformat.h;fp=source%2Fcore%2Fpixelformat.h;h=c180451403dc2af7e9f8c640a7c8384b04eb85e7;hb=190a7e11237351f6b730c28f7b16f183e8adc69c;hp=71a8bd4c3de6c98994e618d3a382be4b9dbc1791;hpb=be6ffe96ecb4707599fe1a6f620c348760213d46;p=libs%2Fgl.git diff --git a/source/core/pixelformat.h b/source/core/pixelformat.h index 71a8bd4c..c1804514 100644 --- a/source/core/pixelformat.h +++ b/source/core/pixelformat.h @@ -9,8 +9,9 @@ namespace Msp { namespace GL { /** -Identifies the components of a pixel, without type information. The values -are bitfields laid as follows: +Identifies the components of a pixel, without type information. + +The values are bitfields laid as follows: _grs dccc │││ │ └╴Number of components @@ -20,7 +21,7 @@ _grs dccc └───────╴Grayscale flag This information is presented for internal documentation purposes only; it is -inadvisable for programs to rely on it. +inadvisable for applications to rely on it. */ enum PixelComponents { @@ -37,8 +38,9 @@ enum PixelComponents }; /** -Identifies a pixel format, with components and type. The values are bitfields -laid as follows: +Identifies a pixel format, with components and type. + +The values are bitfields laid as follows: tnfg ssss cccc cccc ││││ │ └╴Components (see PixelComponents) @@ -49,7 +51,7 @@ tnfg ssss cccc cccc └──────────────────╴sRGB flag This information is presented for internal documentation purposes only; it is -inadvisable for programs to rely on it. +inadvisable for applications to rely on it. */ enum PixelFormat {