Skip to content

Struct FBPixel

ClassList > FBPixel

Framebuffer pixel data structure.

  • #include <FrameBuffer.h>

Public Attributes

Type Name
float RGBA
Pixel color components.

Public Functions

Type Name
int GetID () const
Extracts integer ID from first component (for ID buffers).

Public Attributes Documentation

variable RGBA

Pixel color components.

float FBPixel::RGBA[4];


Public Functions Documentation

function GetID

Extracts integer ID from first component (for ID buffers).

inline int FBPixel::GetID () const

Returns:

Object ID stored in R channel



The documentation for this class was generated from the following file src/render/buffers/FrameBuffer.h