Graphics Reference
In-Depth Information
Figure 2.3. The D3D11_RENDER_TARGET_VIEW_DESC structure.
circumstances, this allows the format of the resource to be determined at runtime by the
format supplied in the resource view being used. This can be helpful for certain applica-
tions, such as video format conversion. This requires that the resource be created with a
format that is compatible with the desired view format specified in this structure.
The second variable, ViewDimension, indicates which type of resource will be bound
with this resource view. The selection of this variable determines which of the unioned
structures will be used to create the resource view. This is how the device knows which
version of the unioned structures to interpret, which allows the same creation function and
input data structure to be used for all of the various resource types, while still keeping the
Search WWH ::




Custom Search