|
CeresEngine 0.2.0
A game development framework
|
Multi-sampling descriptor structure. More...
#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
Public Member Functions | |
| UInt32 | getSampleCount () const noexcept |
| Returns the sample count for the state of this multi-sampling descriptor. | |
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| bool | enabled = false |
| Specifies whether multi-sampling is enabled or disabled. | |
| UInt32 | samples = 1 |
| Number of samples used for multi-sampling. | |
| UInt32 | sampleMask = ~0u |
Specifies the bitmask for sample coverage. By default 0xFFFFFFFF. | |
Multi-sampling descriptor structure.
|
inlinenoexcept |
Returns the sample count for the state of this multi-sampling descriptor.
max{1, samples} if multi-sampling is enabled, otherwise 1.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
Specifies whether multi-sampling is enabled or disabled.
By default disabled.
| UInt32 CeresEngine::GPUMultiSamplingDescriptor::sampleMask = ~0u |
Specifies the bitmask for sample coverage. By default 0xFFFFFFFF.
| UInt32 CeresEngine::GPUMultiSamplingDescriptor::samples = 1 |
Number of samples used for multi-sampling.
By default 1.
ImageDescriptor::samples.