Loading...
Searching...
No Matches
HgiMultiSampleState Struct Reference

Properties to configure multi sampling. More...

#include <graphicsPipeline.h>

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.

Member Data Documentation

◆ alphaToCoverageEnable

bool alphaToCoverageEnable

Definition at line 141 of file graphicsPipeline.h.

◆ alphaToOneEnable

bool alphaToOneEnable

Definition at line 142 of file graphicsPipeline.h.

◆ multiSampleEnable

bool multiSampleEnable

Definition at line 140 of file graphicsPipeline.h.

◆ sampleCount

HgiSampleCount sampleCount

Definition at line 143 of file graphicsPipeline.h.


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