---
title: parameterDataSizeAndAlign
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrasterizationratemap/parameterdatasizeandalign
---

# parameterDataSizeAndAlign

The size and alignment requirements to contain the coordinate transformation information in this rate map.

## Declaration

```swift
var parameterDataSizeAndAlign: MTLSizeAndAlign { get }
```

## Mentioned in

Scaling variable rasterization rate content

## Discussion

Discussion To convert coordinate values inside your shader, pass the rate map data into the shader in an MTLBuffer instance. The buffer location where you store the parameter information needs at least the size and alignment this property provides. You can convert between screen space and physical fragment space by binding the buffer to the shader with type rasterization_rate_map_data, then constructing rasterization_rate_map_decoder with the buffer data. For more details, see the “Variable Rasterization Rate” section of the Metal Shading Language Specification.

## See Also

### Obtaining coordinate transformation data

- [copyParameterData(buffer:offset:)](metal/mtlrasterizationratemap/copyparameterdata(buffer:offset:).md)
