Saga3D API Documentation
1.0-RC4
SRasterizerState.h
Go to the documentation of this file.
1
#ifndef __SRASTERIZER_STATE_H_INCLUDED__
2
#define __SRASTERIZER_STATE_H_INCLUDED__
3
4
#include "
ECullMode.h
"
5
#include "
EFrontFaceMode.h
"
6
7
namespace
saga
8
{
9
namespace
video
10
{
11
struct
SRasterizerState
12
{
13
E_CULL_MODE
CullMode
=
E_CULL_MODE::BACK_FACE
;
14
E_FRONT_FACE_MODE
FrontFaceMode
=
E_FRONT_FACE_MODE::COUNTER_CLOCKWISE
;
15
bool
DepthClamp
=
false
;
16
float
DepthBias
= 0.f;
17
float
DepthBiasClamp
= 0.f;
18
float
DepthBiasSlope
= 0.f;
19
int
SampleCount
;
20
};
21
22
}
// namespace scene
23
}
// namespace saga
24
25
#endif // __SRASTERIZER_STATE_H_INCLUDED__
26
saga::video::SRasterizerState::DepthBiasSlope
float DepthBiasSlope
Definition:
SRasterizerState.h:18
saga::video::SRasterizerState::SampleCount
int SampleCount
Definition:
SRasterizerState.h:19
saga::video::BACK_FACE
@ BACK_FACE
Definition:
ECullMode.h:12
saga::video::COUNTER_CLOCKWISE
@ COUNTER_CLOCKWISE
Definition:
EFrontFaceMode.h:12
saga::video::SRasterizerState::CullMode
E_CULL_MODE CullMode
Definition:
SRasterizerState.h:13
ECullMode.h
saga::video::SRasterizerState::FrontFaceMode
E_FRONT_FACE_MODE FrontFaceMode
Definition:
SRasterizerState.h:14
saga::video::SRasterizerState
Definition:
SRasterizerState.h:11
saga::video::SRasterizerState::DepthClamp
bool DepthClamp
Definition:
SRasterizerState.h:15
saga::video::SRasterizerState::DepthBiasClamp
float DepthBiasClamp
Definition:
SRasterizerState.h:17
saga::video::E_CULL_MODE
E_CULL_MODE
Definition:
ECullMode.h:9
saga::video::SRasterizerState::DepthBias
float DepthBias
Definition:
SRasterizerState.h:16
saga::video::E_FRONT_FACE_MODE
E_FRONT_FACE_MODE
Definition:
EFrontFaceMode.h:9
saga
Definition:
aabbox3d.h:11
EFrontFaceMode.h
library
include
SRasterizerState.h
Generated by
1.8.17