Saga3D API Documentation
1.0-RC4
SDepthStencilState.h
Go to the documentation of this file.
1
#ifndef __SDEPTH_STENCIL_STATE_H_INCLUDED__
2
#define __SDEPTH_STENCIL_STATE_H_INCLUDED__
3
4
#include "
ECompareFunc.h
"
5
6
namespace
saga
7
{
8
namespace
video
9
{
10
struct
SDepthStencilState
11
{
12
bool
Enabled
=
true
;
13
E_COMPARE_FUNC
DepthCompareFunc
=
E_COMPARE_FUNC::LESS_EQUAL
;
14
bool
DepthWriteEnabled
=
true
;
15
};
16
17
}
// namespace scene
18
}
// namespace saga
19
20
#endif // __SDEPTH_STENCIL_STATE_H_INCLUDED__
21
saga::video::LESS_EQUAL
@ LESS_EQUAL
<= test, default for e.g. depth test
Definition:
ECompareFunc.h:15
saga::video::SDepthStencilState::Enabled
bool Enabled
Definition:
SDepthStencilState.h:12
saga::video::SDepthStencilState
Definition:
SDepthStencilState.h:10
ECompareFunc.h
saga::video::SDepthStencilState::DepthWriteEnabled
bool DepthWriteEnabled
Definition:
SDepthStencilState.h:14
saga::video::E_COMPARE_FUNC
E_COMPARE_FUNC
Comparison function, e.g. for depth buffer test.
Definition:
ECompareFunc.h:10
saga::video::SDepthStencilState::DepthCompareFunc
E_COMPARE_FUNC DepthCompareFunc
Definition:
SDepthStencilState.h:13
saga
Definition:
aabbox3d.h:11
library
include
SDepthStencilState.h
Generated by
1.8.17