Function gpa::api_types::GpaToDxgiFormat

Function Documentation

int gpa::api_types::GpaToDxgiFormat(Format gpaFormat)

Gets an int with the DXGI_FORMAT value that corrsponds to a given Format

NOTE : If the GPA Framework is built without DXGI_FORMAT support this function will always return 0.

Parameters

gpaFormat -- [in] The Format to get the corresponding DXGI_FORMAT for

Returns

A int with the DXGI_FORMAT value for the given Format