public:
HRESULT D3DAPI GetDefaultMSAAParametersX(
const DXGI_SAMPLE_DESC *pDesc,
D3D12XBOX_MSAA_SAMPLE_LOCATIONS *pSampleLocations,
D3D12XBOX_MSAA_CENTROID_PRIORITIES *pCentroidPriorities,
D3D12XBOX_MSAA_PARAMETERS *pMSAAParameters
)
pDesc
Type: DXGI_SAMPLE_DESC *
[in] A pointer to a DXGI sample description structure that specifies the intended quality and number of samples. Based on this sample count and quality information, appropriate defaults will be placed in pSampleLocations, pCentroidProperties, and pMSAAParameters (if a non-null address is passed in to those parameters) when the function returns.
pSampleLocations
Type: D3D12XBOX_MSAA_SAMPLE_LOCATIONS *
[in, out, optional] A pointer to an MSAA sample locations structure where default MSAA sample locations based on the information in pDesc will be placed. Pass in null to indicate that MSAA sample location defaults are not wanted.
pCentroidPriorities
Type: D3D12XBOX_MSAA_CENTROID_PRIORITIES *
[in, out, optional] A pointer to an MSAA centroid properties structure where default MSAA centroid properties based on the information in pDesc will be placed. Pass in null to indicate that MSAA centroid property defaults are not wanted.
pMSAAParameters
Type: D3D12XBOX_MSAA_PARAMETERS *
[in, out, optional] A pointer to an MSAA parameters structure where default MSAA parameters based on the information in pDesc will be placed. Pass in null to indicate that MSAA property defaults are not wanted.
Type: HRESULT D3DAPI
One of the Direct3D 12 return codes.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.