Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D_RESOURCE_RETURN_TYPE enumeration

Values that identify the return type of a resource.

Syntax


typedef enum D3D_RESOURCE_RETURN_TYPE { 
  D3D_RETURN_TYPE_UNORM        = 1,
  D3D_RETURN_TYPE_SNORM        = 2,
  D3D_RETURN_TYPE_SINT         = 3,
  D3D_RETURN_TYPE_UINT         = 4,
  D3D_RETURN_TYPE_FLOAT        = 5,
  D3D_RETURN_TYPE_MIXED        = 6,
  D3D_RETURN_TYPE_DOUBLE       = 7,
  D3D_RETURN_TYPE_CONTINUED    = 8,
  D3D10_RETURN_TYPE_UNORM      = D3D_RETURN_TYPE_UNORM,
  D3D10_RETURN_TYPE_SNORM      = D3D_RETURN_TYPE_SNORM,
  D3D10_RETURN_TYPE_SINT       = D3D_RETURN_TYPE_SINT,
  D3D10_RETURN_TYPE_UINT       = D3D_RETURN_TYPE_UINT,
  D3D10_RETURN_TYPE_FLOAT      = D3D_RETURN_TYPE_FLOAT,
  D3D10_RETURN_TYPE_MIXED      = D3D_RETURN_TYPE_MIXED,
  D3D11_RETURN_TYPE_UNORM      = D3D_RETURN_TYPE_UNORM,
  D3D11_RETURN_TYPE_SNORM      = D3D_RETURN_TYPE_SNORM,
  D3D11_RETURN_TYPE_SINT       = D3D_RETURN_TYPE_SINT,
  D3D11_RETURN_TYPE_UINT       = D3D_RETURN_TYPE_UINT,
  D3D11_RETURN_TYPE_FLOAT      = D3D_RETURN_TYPE_FLOAT,
  D3D11_RETURN_TYPE_MIXED      = D3D_RETURN_TYPE_MIXED,
  D3D11_RETURN_TYPE_DOUBLE     = D3D_RETURN_TYPE_DOUBLE,
  D3D11_RETURN_TYPE_CONTINUED  = D3D_RETURN_TYPE_CONTINUED
} D3D_RESOURCE_RETURN_TYPE;

Constants

D3D_RETURN_TYPE_UNORM

Return type is an unsigned integer value normalized to a value between 0 and 1.

D3D_RETURN_TYPE_SNORM

Return type is a signed integer value normalized to a value between -1 and 1.

D3D_RETURN_TYPE_SINT

Return type is a signed integer.

D3D_RETURN_TYPE_UINT

Return type is an unsigned integer.

D3D_RETURN_TYPE_FLOAT

Return type is a floating-point number.

D3D_RETURN_TYPE_MIXED

Return type is unknown.

D3D_RETURN_TYPE_DOUBLE

Return type is a double-precision value.

D3D_RETURN_TYPE_CONTINUED

Return type is a multiple-dword type, such as a double or uint64, and the component is continued from the previous component that was declared. The first component represents the lower bits.

D3D10_RETURN_TYPE_UNORM

Unsigned integer value normalized to a value between 0 and 1.

D3D10_RETURN_TYPE_SNORM

Signed integer value normalized to a value between -1 and 1.

D3D10_RETURN_TYPE_SINT

Signed integer.

D3D10_RETURN_TYPE_UINT

Unsigned integer.

D3D10_RETURN_TYPE_FLOAT

Floating-point number.

D3D10_RETURN_TYPE_MIXED

Return type is unknown.

D3D11_RETURN_TYPE_UNORM

Return type is an unsigned integer value normalized to a value between 0 and 1.

D3D11_RETURN_TYPE_SNORM

Return type is a signed integer value normalized to a value between -1 and 1.

D3D11_RETURN_TYPE_SINT

Return type is a signed integer.

D3D11_RETURN_TYPE_UINT

Return type is an unsigned integer.

D3D11_RETURN_TYPE_FLOAT

Return type is a floating-point number.

D3D11_RETURN_TYPE_MIXED

Return type is unknown.

D3D11_RETURN_TYPE_DOUBLE

Return type is a double-precision value.

D3D11_RETURN_TYPE_CONTINUED

Return type is a multiple-dword type, such as a double or uint64, and the component is continued from the previous component that was declared. The first component represents the lower bits.

Remarks

A resource return type is specified in the ReturnType member of the D3D11_SHADER_INPUT_BIND_DESC structure.

Requirements

Header

D3DCommon.h

See also

Common Version Enumerations

 

 

Show:
© 2017 Microsoft