---
UID: NE:directml.DML_PADDING_MODE
title: DML_PADDING_MODE
description: Defines constants that specify a mode for the DirectML pad operator (as described by the DML_PADDING_OPERATOR_DESC structure).
old-location: direct3d12\dml_padding_mode.htm
tech.root: direct3d12
ms.assetid: 634BED62-0566-44ED-A908-4839B61401F1
ms.date: 12/5/2018
ms.keywords: DML_PADDING_MODE, DML_PADDING_MODE enumeration, DML_PADDING_MODE_CONSTANT, DML_PADDING_MODE_EDGE, DML_PADDING_MODE_REFLECTION, direct3d12.dml_padding_mode, directml/DML_PADDING_MODE, directml/DML_PADDING_MODE_CONSTANT, directml/DML_PADDING_MODE_EDGE, directml/DML_PADDING_MODE_REFLECTION
f1_keywords:
- directml/DML_PADDING_MODE
dev_langs:
- c++
req.header: directml.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- HeaderDef
api_location:
- DirectML.h
api_name:
- DML_PADDING_MODE
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# DML_PADDING_MODE enumeration


## -description






Defines constants that specify a mode  for the DirectML pad operator (as described by the [DML_PADDING_OPERATOR_DESC](/windows/desktop/api/directml/ns-directml-dml_padding_operator_desc) structure).


## -enum-fields




### -field DML_PADDING_MODE_CONSTANT

Indicates padding with a constant.


### -field DML_PADDING_MODE_EDGE

Indicates edge mode for padding.


### -field DML_PADDING_MODE_REFLECTION

Indicates reflection mode for padding.


## -see-also




[DML_PADDING_OPERATOR_DESC](/windows/desktop/api/directml/ns-directml-dml_padding_operator_desc)
 

 

