ngfx::GraphicsContext::RenderPassConfig

Public Functions

Name
bool operator==(const RenderPassConfig & rhs) const
uint32_t numColorAttachments() const

Public Attributes

Name
std::vector< AttachmentDescription > colorAttachmentDescriptions
std::optional< AttachmentDescription > depthStencilAttachmentDescription
bool enableDepthStencilResolve
uint32_t numSamples

Public Functions Documentation

function operator==

inline bool operator==(
    const RenderPassConfig & rhs
) const

function numColorAttachments

inline uint32_t numColorAttachments() const

Public Attributes Documentation

variable colorAttachmentDescriptions

std::vector< AttachmentDescription > colorAttachmentDescriptions;

variable depthStencilAttachmentDescription

std::optional< AttachmentDescription > depthStencilAttachmentDescription;

variable enableDepthStencilResolve

bool enableDepthStencilResolve = false;

variable numSamples

uint32_t numSamples = 1;

Updated on 3 April 2021 at 20:21:51 PDT