# Cinder

# cinder::gl::SurfaceConstraintsGLTexture Class Reference

`#include <Texture.h>`

Inherits cinder::SurfaceConstraints.

List of all members.

## Public Member Functions
virtual SurfaceChannelOrder | getChannelOrder (bool alpha) const
virtual int32_t | getRowBytes (int requestedWidth, const SurfaceChannelOrder &sco, int elementSize) const

## Member Function Documentation

virtual SurfaceChannelOrder cinder::gl::SurfaceConstraintsGLTexture::getChannelOrder | ( | bool | alpha | ) | const`[virtual]`

Reimplemented from cinder::SurfaceConstraints.

virtual int32_t cinder::gl::SurfaceConstraintsGLTexture::getRowBytes | ( | int | requestedWidth,
|  | const SurfaceChannelOrder & | sco,
|  | int | elementSize |
| ) |  |  | const`[virtual]`

Reimplemented from cinder::SurfaceConstraints.

The documentation for this class was generated from the following file:

- include/cinder/gl/Texture.h