Rumba C++ SDK
RenderTargets.h
Go to the documentation of this file.
1 # pragma once
2 # include <cstdint>
3 namespace maquina
4 {
5  struct RenderTargets {
6  RenderTargets() = default;
7  uint32_t color = 0;// color attachment, 4 float32 components
8  uint32_t neye = 0; // color attachment, 3 float32 components
9  uint32_t zeye = 0; // color attachment, 1 float32 component
10  uint32_t depth = 0;// depth attachment, 1 float32 component
11 
12  bool operator==( const RenderTargets& other ) const {
13  return color == other.color && neye == other.neye && zeye == other.zeye && depth == other.depth;
14  }
15  bool operator!=( const RenderTargets& other ) const {
16  return color != other.color || neye != other.neye || zeye != other.zeye || depth != other.depth;
17  }
18  };
19 }
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
bool operator!=(const RenderTargets &other) const
Definition: RenderTargets.h:15
uint32_t depth
Definition: RenderTargets.h:10
uint32_t neye
Definition: RenderTargets.h:8
Definition: RenderTargets.h:5
bool operator==(const RenderTargets &other) const
Definition: RenderTargets.h:12
uint32_t color
Definition: RenderTargets.h:7
uint32_t zeye
Definition: RenderTargets.h:9