> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D_INTERPOLATION_MODE

> Especifica o modo de interpolação, que afeta como os valores são calculados durante a rasterização.

Especifica o modo de interpolação, que afeta como os valores são calculados durante a rasterização.

## Sintaxe

```cpp theme={null}
typedef enum D3D_INTERPOLATION_MODE    
{  
    D3D_INTERPOLATION_UNDEFINED = 0,  
    D3D_INTERPOLATION_CONSTANT = 1,  
    D3D_INTERPOLATION_LINEAR = 2,  
    D3D_INTERPOLATION_LINEAR_CENTROID = 3,  
    D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE = 4,  
    D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID = 5,  
    D3D_INTERPOLATION_LINEAR_SAMPLE = 6,  
    D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE = 7  
} D3D_INTERPOLATION_MODE  
```

## Constantes

| Constante | Descrição |
| - | - |
| D3D\_INTERPOLATION\_UNDEFINED | O modo de interpolação é indefinido. |
| D3D\_INTERPOLATION\_CONSTANT | Não interpolar entre valores de registro. |
| D3D\_INTERPOLATION\_LINEAR | Interpolar linearmente entre valores de registro. |
| D3D\_INTERPOLATION\_LINEAR\_CENTROID | Interpolar linearmente entre valores de registro, mas com limitação ao centroide ao usar multiamostragem. |
| D3D\_INTERPOLATION\_LINEAR\_NOPERSPECTIVE | Interpolar linearmente entre valores de registro, mas sem correção de perspectiva. |
| D3D\_INTERPOLATION\_LINEAR\_NOPERSPECTIVE\_CENTROID | Interpolar linearmente entre valores de registro, mas sem correção de perspectiva e com limitação ao centroide ao usar multiamostragem. |
| D3D\_INTERPOLATION\_LINEAR\_SAMPLE | Interpolar linearmente entre valores de registro, mas com limitação à amostra ao usar multiamostragem. |
| D3D\_INTERPOLATION\_LINEAR\_NOPERSPECTIVE\_SAMPLE | Interpolar linearmente entre valores de registro, mas sem correção de perspectiva e com limitação à amostra ao usar multiamostragem. |

## Requisitos

**Cabeçalho:** d3d12shader\_x.h e d3d12video\_xs.h\
**Plataformas compatíveis**: consoles XBOX Series e família XBOX One

## Confira também

[d3d12shader\_x](/pt-BR/reference/graphics/d3d12shader_x/d3d12shader_x_members)


## Related topics

- [D3D_SHADER_MODEL](/pt-BR/reference/graphics/d3d12/enums/d3d_shader_model_public.md)
- [D3D12_CULL_MODE](/pt-BR/reference/graphics/d3d12/enums/d3d12_cull_mode_public.md)
- [D3D12_WRITEBUFFERIMMEDIATE_MODE](/pt-BR/reference/graphics/d3d12/enums/d3d12_writebufferimmediate_mode_public.md)
- [D3D12_FILL_MODE](/pt-BR/reference/graphics/d3d12/enums/d3d12_fill_mode_public.md)
- [D3D12_RESOLVE_MODE](/pt-BR/reference/graphics/d3d12/enums/d3d12_resolve_mode_public.md)
