---
title: MPSSVGFDefaultTextureAllocator
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpssvgfdefaulttextureallocator
---

# MPSSVGFDefaultTextureAllocator

## Declaration

```swift
class MPSSVGFDefaultTextureAllocator
```

## Topics

### Initializers

- [init(device:)](metalperformanceshaders/mpssvgfdefaulttextureallocator/init(device:).md)

### Instance Properties

- [allocatedTextureCount](metalperformanceshaders/mpssvgfdefaulttextureallocator/allocatedtexturecount.md)
- [device](metalperformanceshaders/mpssvgfdefaulttextureallocator/device.md)

### Instance Methods

- [reset()](metalperformanceshaders/mpssvgfdefaulttextureallocator/reset().md)
- [return(_:)](metalperformanceshaders/mpssvgfdefaulttextureallocator/return(_:).md)
- [texture(with:width:height:)](metalperformanceshaders/mpssvgfdefaulttextureallocator/texture(with:width:height:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MPSSVGFTextureAllocator](metalperformanceshaders/mpssvgftextureallocator.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
