Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Indicates return value type.
Note
For programming with Direct3D 10, this API has a type alias that begins D3D10_ instead of D3D_. These Direct3D 10 type aliases are defined in d3d10.h, d3d10misc.h, and d3d10shader.h.
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,
D3D10_RETURN_TYPE_SNORM,
D3D10_RETURN_TYPE_SINT,
D3D10_RETURN_TYPE_UINT,
D3D10_RETURN_TYPE_FLOAT,
D3D10_RETURN_TYPE_MIXED,
D3D11_RETURN_TYPE_UNORM,
D3D11_RETURN_TYPE_SNORM,
D3D11_RETURN_TYPE_SINT,
D3D11_RETURN_TYPE_UINT,
D3D11_RETURN_TYPE_FLOAT,
D3D11_RETURN_TYPE_MIXED,
D3D11_RETURN_TYPE_DOUBLE,
D3D11_RETURN_TYPE_CONTINUED
} ;
Constants
D3D_RETURN_TYPE_UNORMValue: 1 |
D3D_RETURN_TYPE_SNORMValue: 2 |
D3D_RETURN_TYPE_SINTValue: 3 |
D3D_RETURN_TYPE_UINTValue: 4 |
D3D_RETURN_TYPE_FLOATValue: 5 |
D3D_RETURN_TYPE_MIXEDValue: 6 |
D3D_RETURN_TYPE_DOUBLEValue: 7 |
D3D_RETURN_TYPE_CONTINUEDValue: 8 |
D3D10_RETURN_TYPE_UNORM |
D3D10_RETURN_TYPE_SNORM |
D3D10_RETURN_TYPE_SINT |
D3D10_RETURN_TYPE_UINT |
D3D10_RETURN_TYPE_FLOAT |
D3D10_RETURN_TYPE_MIXED |
D3D11_RETURN_TYPE_UNORMReturn type is UNORM. |
D3D11_RETURN_TYPE_SNORMReturn type is SNORM. |
D3D11_RETURN_TYPE_SINTReturn type is SINT. |
D3D11_RETURN_TYPE_UINTReturn type is UINT. |
D3D11_RETURN_TYPE_FLOATReturn type is FLOAT. |
D3D11_RETURN_TYPE_MIXEDReturn type is unknown. |
D3D11_RETURN_TYPE_DOUBLEReturn type is DOUBLE. |
D3D11_RETURN_TYPE_CONTINUEDReturn 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
The D3D11_RESOURCE_RETURN_TYPE enumeration is type defined in the D3D11shader.h header file as a D3D_RESOURCE_RETURN_TYPE enumeration, which is fully defined in the D3DCommon.h header file.
typedef D3D_RESOURCE_RETURN_TYPE D3D11_RESOURCE_RETURN_TYPE;
Requirements
| Requirement | Value |
|---|---|
| Header | d3dcommon.h |