|
Rendu
A lightweight rendering engine for experimentations
|
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. | |
Current rendering pass information.
| bool GPUState::RenderPass::isEquivalent | ( | const RenderPass & | other | ) | const |
Test if this attachment info is equivalent to another.
| other | the info to compare to |