---
title: textureInternalFormat
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsopenglpixelbuffer/textureinternalformat
---

# textureInternalFormat

The internal format of the OpenGL pixel buffer’s texture.

## Declaration

```occ
@property (readonly) GLenum textureInternalFormat;
```

## Return Value

Return Value The texture format, which can be one of the following values: GL_RGB, GL_RGBA, or GL_DEPTH_COMPONENT.

## See Also

### Getting OpenGL Pixel Buffer Information

- [CGLPBufferObj](appkit/nsopenglpixelbuffer/cglpbufferobj.md)
- [pixelsHigh](appkit/nsopenglpixelbuffer/pixelshigh.md)
- [pixelsWide](appkit/nsopenglpixelbuffer/pixelswide.md)
- [textureMaxMipMapLevel](appkit/nsopenglpixelbuffer/texturemaxmipmaplevel.md)
- [textureTarget](appkit/nsopenglpixelbuffer/texturetarget.md)
