ofDocsdocumentation gl ofGLUtils (functions)

ofGLUtils (functions)


ofDisableGLDebugLog( )

void ofDisableGLDebugLog()

ofEnableGLDebugLog( )

void ofEnableGLDebugLog()

ofGLCheckExtension( ... )

bool ofGLCheckExtension(string searchName)

ofGLSLVersionFromGL( ... )

string ofGLSLVersionFromGL(int major, int minor)

ofGLSupportsNPOTTextures( )

bool ofGLSupportsNPOTTextures()

ofGetBytesPerChannelFromGLType( ... )

int ofGetBytesPerChannelFromGLType(int glType)

ofGetGLFormatFromInternal( ... )

int ofGetGLFormatFromInternal(int gInternalFormat)

ofGetGLFormatFromPixelFormat( ... )

int ofGetGLFormatFromPixelFormat(ofPixelFormat pixelFormat)

ofGetGLInternalFormat( ... )

int ofGetGLInternalFormat(const ofPixels &pixels)

ofGetGLInternalFormat( ... )

int ofGetGLInternalFormat(const ofShortPixels &pixels)

ofGetGLInternalFormat( ... )

int ofGetGLInternalFormat(const ofFloatPixels &pixels)

ofGetGLInternalFormatFromPixelFormat( ... )

int ofGetGLInternalFormatFromPixelFormat(ofPixelFormat pixelFormat)

ofGetGLInternalFormatName( ... )

string ofGetGLInternalFormatName(int glInternalFormat)

ofGetGLPolyMode( ... )

GLuint ofGetGLPolyMode(ofPolyRenderMode m)

ofGetGLPrimitiveMode( ... )

GLuint ofGetGLPrimitiveMode(ofPrimitiveMode mode)

ofGetGLType( ... )

int ofGetGLType(const ofPixels &pixels)

ofGetGLType( ... )

int ofGetGLType(const ofShortPixels &pixels)

ofGetGLType( ... )

int ofGetGLType(const ofFloatPixels &pixels)

ofGetGLTypeFromInternal( ... )

int ofGetGLTypeFromInternal(int glInternalFormat)

ofGetImageTypeFromGLType( ... )

ofImageType ofGetImageTypeFromGLType(int glType)

ofGetNumChannelsFromGLFormat( ... )

int ofGetNumChannelsFromGLFormat(int glFormat)

ofGetOFPolyMode( ... )

ofPolyRenderMode ofGetOFPolyMode(GLuint m)

ofGetOFPrimitiveMode( ... )

ofPrimitiveMode ofGetOFPrimitiveMode(GLuint mode)

ofIsGLProgrammableRenderer( )

bool ofIsGLProgrammableRenderer()

ofSetPixelStoreiAlignment( ... )

void ofSetPixelStoreiAlignment(GLenum panme, int stride)

ofSetPixelStoreiAlignment( ... )

void ofSetPixelStoreiAlignment(GLenum pname, int w, int bpc, int numChannels)