---
title: textureTarget()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qcplugininputimagesource/texturetarget()
---

# textureTarget()

Returns the texture target.

## Declaration

```swift
func textureTarget() -> GLenum
```

## Return Value

Return Value The texture target, either GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_EXT.

## See Also

### Getting Texture Information

- [texturePixelsWide()](quartz/qcplugininputimagesource/texturepixelswide().md)
- [texturePixelsHigh()](quartz/qcplugininputimagesource/texturepixelshigh().md)
- [textureName()](quartz/qcplugininputimagesource/texturename().md)
- [textureColorSpace()](quartz/qcplugininputimagesource/texturecolorspace().md)
- [textureFlipped()](quartz/qcplugininputimagesource/textureflipped().md)
- [textureMatrix()](quartz/qcplugininputimagesource/texturematrix().md)
