Saga3D API Documentation  1.0-RC4
saga::video::SRenderPass Struct Reference

#include <SRenderPass.h>

Inheritance diagram for saga::video::SRenderPass:
saga::video::SGPUResource

Public Attributes

std::array< STexture::HandleType, MAX_COLOR_ATTACHMENTSColorAttachments = { NULL_GPU_RESOURCE_HANDLE }
 
STexture::HandleType DepthStencilAttachment
 
SRenderPassState State
 
bool UseDefaultAttachments = true
 
bool UpdateAttachments = false
 
bool DrawGeometry = true
 
bool ScissorTest = false
 
int AttachmentCount = 0
 
glm::ivec4 Scissor
 
glm::vec4 Viewport
 
- Public Attributes inherited from saga::video::SGPUResource
HandleType Handle
 

Additional Inherited Members

- Public Types inherited from saga::video::SGPUResource
using HandleType = std::uint32_t
 

Detailed Description

Definition at line 13 of file SRenderPass.h.

Member Data Documentation

◆ AttachmentCount

int saga::video::SRenderPass::AttachmentCount = 0

Definition at line 22 of file SRenderPass.h.

◆ ColorAttachments

std::array<STexture::HandleType, MAX_COLOR_ATTACHMENTS> saga::video::SRenderPass::ColorAttachments = { NULL_GPU_RESOURCE_HANDLE }

Definition at line 15 of file SRenderPass.h.

◆ DepthStencilAttachment

STexture::HandleType saga::video::SRenderPass::DepthStencilAttachment

Definition at line 16 of file SRenderPass.h.

◆ DrawGeometry

bool saga::video::SRenderPass::DrawGeometry = true

Definition at line 20 of file SRenderPass.h.

◆ Scissor

glm::ivec4 saga::video::SRenderPass::Scissor

Definition at line 23 of file SRenderPass.h.

◆ ScissorTest

bool saga::video::SRenderPass::ScissorTest = false

Definition at line 21 of file SRenderPass.h.

◆ State

SRenderPassState saga::video::SRenderPass::State

Definition at line 17 of file SRenderPass.h.

◆ UpdateAttachments

bool saga::video::SRenderPass::UpdateAttachments = false

Definition at line 19 of file SRenderPass.h.

◆ UseDefaultAttachments

bool saga::video::SRenderPass::UseDefaultAttachments = true

Definition at line 18 of file SRenderPass.h.

◆ Viewport

glm::vec4 saga::video::SRenderPass::Viewport

Definition at line 24 of file SRenderPass.h.


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