SurfaceConstraints /

#include “cinder/Surface.h”

Base class for defining the properties of a Surface necessary to be interoperable with different APIs.


Public Member Functions

  • ~SurfaceConstraints ()
  • getChannelOrder (bool alpha) const
  • ptrdiff_t
    getRowBytes (int32_t requestedWidth, const SurfaceChannelOrder &sco, int elementSize) const