HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiMultiSampleState Struct Reference

#include <graphicsPipeline.h>

Public Member Functions

HGI_API HgiMultiSampleState ()
 

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.

Constructor & Destructor Documentation

HGI_API HgiMultiSampleState::HgiMultiSampleState ( )

Member Data Documentation

bool HgiMultiSampleState::alphaToCoverageEnable

Definition at line 141 of file graphicsPipeline.h.

bool HgiMultiSampleState::alphaToOneEnable

Definition at line 142 of file graphicsPipeline.h.

bool HgiMultiSampleState::multiSampleEnable

Definition at line 140 of file graphicsPipeline.h.

HgiSampleCount HgiMultiSampleState::sampleCount

Definition at line 143 of file graphicsPipeline.h.


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