Function gpa::api_types::GpaToDxgiAspect

Function Documentation

uint32_t gpa::api_types::GpaToDxgiAspect(TextureAspectFlags gpaAspect)

Gets an int with the plane index value that corrsponds to a given texture aspect.

Parameters

gpaAspect -- [in] The texture aspect to get the corresponding plane index for

Returns

A texture plane index, or UINT32_MAX if the aspect is invalid for DX