Base class for defining the properties of a Surface necessary to be interoperable with different APIs. More...
#include <Surface.h>
Public Member Functions | |
virtual | ~SurfaceConstraints () |
virtual SurfaceChannelOrder | getChannelOrder (bool alpha) const |
virtual int32_t | getRowBytes (int requestedWidth, const SurfaceChannelOrder &sco, int elementSize) const |
Base class for defining the properties of a Surface necessary to be interoperable with different APIs.
|
virtual |
|
virtual |
Reimplemented in cinder::dx::SurfaceConstraintsGLTexture, and cinder::gl::SurfaceConstraintsGLTexture.
|
virtual |
Reimplemented in cinder::dx::SurfaceConstraintsGLTexture, and cinder::gl::SurfaceConstraintsGLTexture.