Saga3D API Documentation  1.0-RC4
SRenderPassState.h
Go to the documentation of this file.
1 #ifndef __SRENDER_PASS_STATE_H_INCLUDED__
2 #define __SRENDER_PASS_STATE_H_INCLUDED__
3 
4 #include "GraphicsConstants.h"
5 #include <glm/vec4.hpp>
6 #include <array>
7 
8 namespace saga
9 {
10 namespace video
11 {
12 
14 {
17 };
18 
20 {
22  glm::vec4 Values;
23 };
24 
26 {
28  float Value;
29 };
30 
32 {
34  std::uint8_t Value;
35 };
36 
38 {
40  : Colors({ E_ATTACHMENT_STATE::CLEAR , { 0.5f, 0.5f, 0.5f, 0.5f } }),
43  std::array<SColorAttachmentInitialState, MAX_COLOR_ATTACHMENTS> Colors;
46 };
47 
48 } // namespace scene
49 } // namespace saga
50 
51 #endif // __SRENDER_PASS_STATE_H_INCLUDED__
52 
saga::video::SDepthAttachmentInitialState::Value
float Value
Definition: SRenderPassState.h:28
saga::video::SStencilAttachmentInitialState::State
E_ATTACHMENT_STATE State
Definition: SRenderPassState.h:33
saga::video::SColorAttachmentInitialState::Values
glm::vec4 Values
Definition: SRenderPassState.h:22
saga::video::SRenderPassState::Stencil
SStencilAttachmentInitialState Stencil
Definition: SRenderPassState.h:45
saga::video::SRenderPassState::Depth
SDepthAttachmentInitialState Depth
Definition: SRenderPassState.h:44
saga::video::LOAD
@ LOAD
Definition: SRenderPassState.h:16
GraphicsConstants.h
saga::video::SStencilAttachmentInitialState
Definition: SRenderPassState.h:31
saga::video::E_ATTACHMENT_STATE
E_ATTACHMENT_STATE
Definition: SRenderPassState.h:13
saga::video::CLEAR
@ CLEAR
Definition: SRenderPassState.h:15
saga::video::SRenderPassState
Definition: SRenderPassState.h:37
saga::video::SColorAttachmentInitialState::State
E_ATTACHMENT_STATE State
Definition: SRenderPassState.h:21
saga::video::SRenderPassState::Colors
std::array< SColorAttachmentInitialState, MAX_COLOR_ATTACHMENTS > Colors
Definition: SRenderPassState.h:43
saga::video::SColorAttachmentInitialState
Definition: SRenderPassState.h:19
saga::video::SStencilAttachmentInitialState::Value
std::uint8_t Value
Definition: SRenderPassState.h:34
saga
Definition: aabbox3d.h:11
saga::video::SDepthAttachmentInitialState
Definition: SRenderPassState.h:25
saga::video::SRenderPassState::SRenderPassState
SRenderPassState()
Definition: SRenderPassState.h:39
saga::video::SDepthAttachmentInitialState::State
E_ATTACHMENT_STATE State
Definition: SRenderPassState.h:27