HgiMultiSampleState Struct Reference

Properties to configure multi sampling. More...

Public Attributes

bool multiSampleEnable
 
bool alphaToCoverageEnable
 
bool alphaToOneEnable
 
HgiSampleCount sampleCount
 

Detailed Description

Properties to configure multi sampling.

  • multiSampleEnable: When enabled and sampleCount and attachments match and allow for it, use multi-sampling.
  • alphaToCoverageEnable: Fragment's color.a determines coverage (screen door transparency).
  • alphaToOneEnable: Fragment's color.a is replaced by the maximum representable alpha value for fixed-point color attachments, or by 1.0 for floating-point attachments.
  • sampleCount: The number of samples for each fragment. Must match attachments

Definition at line 135 of file graphicsPipeline.h.


The documentation for this struct was generated from the following file: