Represents the current graphics render state of the Engine.Device.
More...
|
FillMode | FillMode [get, set] |
| Controls how vertexes are filled (normal, wireframe, dotted) More...
|
|
Cull | CullMode [get, set] |
| The current culling mode used for rendering More...
|
|
ZBufferMode | ZBufferMode [get, set] |
| Controls how the ZBuffer works More...
|
|
bool | FfpLighting [get, set] |
| Controls whether fixed-function pipeline lighting is used at the moment instead of SurfaceShaders More...
|
|
bool | Fog [get, set] |
| Shall a linear fog effect be applied? More...
|
|
Color | FogColor [get, set] |
| The color of the fog More...
|
|
float | FogStart [get, set] |
| The distance at which the linear fog shall start More...
|
|
float | FogEnd [get, set] |
| The distance at which the linear fog shall have obscured everything More...
|
|
int | AlphaBlend [get, set] |
| The level of transparency from 0 (solid) to 255 (invisible), AlphaChannel, BinaryAlphaChannel or AdditivBlending More...
|
|
Matrix | WorldTransform [get, set] |
| The currently active world transformation matrix More...
|
|
Matrix | ViewTransform [get, set] |
| The currently active view transformation matrix More...
|
|
Matrix | ProjectionTransform [get, set] |
| The currently active projection transformation matrix More...
|
|
Plane | UserClipPlane [get, set] |
| The currently active user clip plane; default Plane for none More...
|
|
Represents the current graphics render state of the Engine.Device.
◆ SetTexture()
Sets the currently active texture for the first texture stage.
- Parameters
-
texture | The object providing the texture. |
Corresponds to calling SlimDX.Direct3D9.Device.SetTexture with the texture stage parameter set to 0.
◆ SetVertexBuffer()
void OmegaEngine.EngineState.SetVertexBuffer |
( |
VertexBuffer |
buffer | ) |
|
|
inline |
Sets a VertexBuffer with a fixed-function vertex format as the current active stream source.
- Parameters
-
buffer | The VertexBuffer with a fixed-function vertex format. |
◆ AdditivBlending
const int OmegaEngine.EngineState.AdditivBlending = 257 |
Value for AlphaBlend to apply additive blending (use color map)
◆ AlphaChannel
const int OmegaEngine.EngineState.AlphaChannel = 256 |
Value for AlphaBlend to use alpha channel for transparency (augmented with alpha testing)
◆ BinaryAlphaChannel
const int OmegaEngine.EngineState.BinaryAlphaChannel = -256 |
Value for AlphaBlend to use alpha channel for binary alpha testing
◆ Invisible
const int OmegaEngine.EngineState.Invisible = 255 |
Value for AlphaBlend to make something completley transparent (i.e., invisible)
◆ Opaque
const int OmegaEngine.EngineState.Opaque = 0 |
◆ AlphaBlend
int OmegaEngine.EngineState.AlphaBlend |
|
getset |
◆ CullMode
Cull OmegaEngine.EngineState.CullMode |
|
getset |
The current culling mode used for rendering
◆ FfpLighting
bool OmegaEngine.EngineState.FfpLighting |
|
getset |
Controls whether fixed-function pipeline lighting is used at the moment instead of SurfaceShaders
◆ FillMode
FillMode OmegaEngine.EngineState.FillMode |
|
getset |
Controls how vertexes are filled (normal, wireframe, dotted)
◆ Fog
bool OmegaEngine.EngineState.Fog |
|
getset |
Shall a linear fog effect be applied?
◆ FogColor
Color OmegaEngine.EngineState.FogColor |
|
getset |
◆ FogEnd
float OmegaEngine.EngineState.FogEnd |
|
getset |
The distance at which the linear fog shall have obscured everything
◆ FogStart
float OmegaEngine.EngineState.FogStart |
|
getset |
The distance at which the linear fog shall start
◆ ProjectionTransform
Matrix OmegaEngine.EngineState.ProjectionTransform |
|
getset |
The currently active projection transformation matrix
◆ UserClipPlane
Plane OmegaEngine.EngineState.UserClipPlane |
|
getset |
The currently active user clip plane; default Plane for none
When rendering without SurfaceShaders the clip plane must be in world space. When rendering with SurfaceShaders it must be in camera space.
◆ ViewTransform
Matrix OmegaEngine.EngineState.ViewTransform |
|
getset |
The currently active view transformation matrix
◆ WorldTransform
Matrix OmegaEngine.EngineState.WorldTransform |
|
getset |
The currently active world transformation matrix
◆ ZBufferMode
Controls how the ZBuffer works
The documentation for this class was generated from the following file:
- OmegaEngine/EngineState.cs