Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUState::RenderPass Struct Reference

Current rendering pass information. More...

#include <GPUTypes.hpp>

Public Member Functions

 RenderPass ()
 Constructor.
 
bool isEquivalent (const RenderPass &other) const
 

Public Attributes

std::array< Layout, 4 > colors = {Layout::NONE, Layout::NONE, Layout::NONE, Layout::NONE}
 The color textures (could go up to 8)
 
Layout depthStencil = Layout::NONE
 The depth stencil texture if it exists.
 
uint mipStart = 0
 First mip to be used in the current render pass.
 
uint mipCount = 1
 Number of mips used in the current render pass.
 
uint layerStart = 0
 First layer to be used in the current render pass.
 
uint layerCount = 1
 Number of layers used in the current render pass.
 

Detailed Description

Current rendering pass information.

Member Function Documentation

◆ isEquivalent()

bool GPUState::RenderPass::isEquivalent ( const RenderPass other) const

Test if this attachment info is equivalent to another.

Parameters
otherthe info to compare to
Returns
true if they are equivalent

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