DML_BINDING_TYPE enumeration (directml.h)

Defines constants that specify the nature of the resource(s) referred to by a binding description (a DML_BINDING_DESC structure).

Syntax

typedef enum DML_BINDING_TYPE {
  DML_BINDING_TYPE_NONE,
  DML_BINDING_TYPE_BUFFER,
  DML_BINDING_TYPE_BUFFER_ARRAY
} ;

Constants

 
DML_BINDING_TYPE_NONE
Indicates that no resources are to be bound.
DML_BINDING_TYPE_BUFFER
Specifies a binding that binds a single buffer to the binding table. The corresponding binding desc type is DML_BUFFER_BINDING.
DML_BINDING_TYPE_BUFFER_ARRAY
Specifies a binding that binds an array of buffers to the binding table. The corresponding binding desc type is DML_BUFFER_ARRAY_BINDING.

Requirements

Requirement Value
Header directml.h

See also

Binding in DirectML, DML_BINDING_DESC