---
title: texelDataWithBottomLeftOrigin()
framework: modelio
role: symbol
role_heading: Instance Method
path: modelio/mdltexture/texeldatawithbottomleftorigin()
---

# texelDataWithBottomLeftOrigin()

Returns the texture’s image data, organized such that its first pixel represents the bottom-left corner of the image.

## Declaration

```swift
func texelDataWithBottomLeftOrigin() -> Data?
```

## Return Value

Return Value The texture’s image data, or nil if data is not available.

## Discussion

Discussion If the texture was initialized with image data in top-left-origin format, the first call to this method creates and caches image data in bottom-left-origin format. This method returns nil if the texture was not initialized with image data and is not a MDLTexture subclass capable of loading or generating its own data.

## See Also

### Accessing Texture Data

- [texelDataWithTopLeftOrigin()](modelio/mdltexture/texeldatawithtopleftorigin().md)
- [texelDataWithTopLeftOrigin(atMipLevel:create:)](modelio/mdltexture/texeldatawithtopleftorigin(atmiplevel:create:).md)
- [texelDataWithBottomLeftOrigin(atMipLevel:create:)](modelio/mdltexture/texeldatawithbottomleftorigin(atmiplevel:create:).md)
