Interface IEngineShaderParameters
Interface for shader engine parameters.
Namespace: Evergine.Framework.Graphics.Effects
Assembly: Evergine.Framework.dll
Syntax
public interface IEngineShaderParameters
Properties
CameraAperture
Gets the camera aperture.
Declaration
float CameraAperture { get; }
Property Value
Type | Description |
---|---|
float |
CameraExposure
Gets the camera exposure.
Declaration
float CameraExposure { get; }
Property Value
Type | Description |
---|---|
float |
CameraFarPlane
Gets the far plane of the camera.
Declaration
float CameraFarPlane { get; }
Property Value
Type | Description |
---|---|
float |
CameraFocalDistance
Gets the camera focal distance (used with DoF).
Declaration
float CameraFocalDistance { get; }
Property Value
Type | Description |
---|---|
float |
CameraFocalLength
Gets the camera's focal length.
Declaration
float CameraFocalLength { get; }
Property Value
Type | Description |
---|---|
float |
CameraForward
Gets the forward component of the camera's orientation.
Declaration
Vector3 CameraForward { get; }
Property Value
Type | Description |
---|---|
Vector3 |
CameraJitter
Gets the current frame camera jitter.
Declaration
Vector2 CameraJitter { get; }
Property Value
Type | Description |
---|---|
Vector2 |
CameraNearPlane
Gets the near plane of the camera.
Declaration
float CameraNearPlane { get; }
Property Value
Type | Description |
---|---|
float |
CameraPosition
Gets the position of the current camera.
Declaration
Vector3 CameraPosition { get; }
Property Value
Type | Description |
---|---|
Vector3 |
CameraPreviousJitter
Gets the previous frame's camera jitter.
Declaration
Vector2 CameraPreviousJitter { get; }
Property Value
Type | Description |
---|---|
Vector2 |
CameraRight
Gets the correct component of the camera orientation.
Declaration
Vector3 CameraRight { get; }
Property Value
Type | Description |
---|---|
Vector3 |
CameraUp
Gets the upward component of the camera orientation.
Declaration
Vector3 CameraUp { get; }
Property Value
Type | Description |
---|---|
Vector3 |
DrawContextID
Gets the drawcontext ID.
Declaration
int DrawContextID { get; }
Property Value
Type | Description |
---|---|
int |
DrawContextViewIndex
Gets the view index of this draw context. A draw context can contain several views (cascade shadow, point light shadows, reflection probe, etc.).
Declaration
int DrawContextViewIndex { get; }
Property Value
Type | Description |
---|---|
int |
EV100
Gets the Exposure Value at ISO 100.
Declaration
float EV100 { get; }
Property Value
Type | Description |
---|---|
float |
Exposure
Gets the camera exposure.
Declaration
float Exposure { get; }
Property Value
Type | Description |
---|---|
float |
ForwardLightMask
Gets the lighting mask used in Forward passes.
Declaration
ulong ForwardLightMask { get; }
Property Value
Type | Description |
---|---|
ulong |
FrameID
Gets the Frame ID.
Declaration
long FrameID { get; }
Property Value
Type | Description |
---|---|
long |
IBLLuminance
Gets the IBL luminance.
Declaration
float IBLLuminance { get; }
Property Value
Type | Description |
---|---|
float |
IBLMipMapLevel
Gets the IBL texture mipmap level.
Declaration
uint IBLMipMapLevel { get; }
Property Value
Type | Description |
---|---|
uint |
IrradianceSHBufferSize
Gets the size of the irradiance spherical harmonics buffer.
Declaration
uint IrradianceSHBufferSize { get; }
Property Value
Type | Description |
---|---|
uint |
IrradianceSHPtr
Gets the irradiance spherical harmonics buffer pointer.
Declaration
nint IrradianceSHPtr { get; }
Property Value
Type | Description |
---|---|
nint |
LightBufferPtr
Gets the light buffer pointer.
Declaration
nint LightBufferPtr { get; }
Property Value
Type | Description |
---|---|
nint |
LightBufferSize
Gets the size of the light buffer.
Declaration
uint LightBufferSize { get; }
Property Value
Type | Description |
---|---|
uint |
LightCount
Gets the number of lights.
Declaration
uint LightCount { get; }
Property Value
Type | Description |
---|---|
uint |
MultiviewCount
Gets the number of eyes that will be rendered.
Declaration
int MultiviewCount { get; }
Property Value
Type | Description |
---|---|
int |
MultiviewPosition
Gets the stereo camera view.
Declaration
Vector4[] MultiviewPosition { get; }
Property Value
Type | Description |
---|---|
Vector4[] |
MultiviewProjection
Gets the stereo camera projection.
Declaration
Matrix4x4[] MultiviewProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4[] |
MultiviewView
Gets the stereo camera view.
Declaration
Matrix4x4[] MultiviewView { get; }
Property Value
Type | Description |
---|---|
Matrix4x4[] |
MultiviewViewProjection
Gets the projection of the stereo camera view.
Declaration
Matrix4x4[] MultiviewViewProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4[] |
MultiviewViewProjectionInverse
Gets the stereo camera's inverse view projection.
Declaration
Matrix4x4[] MultiviewViewProjectionInverse { get; }
Property Value
Type | Description |
---|---|
Matrix4x4[] |
PreWorld
Gets the pre-world value of the current render mesh.
Declaration
Matrix4x4 PreWorld { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
PreviousViewProjection
Gets the view projection value of the current camera from the previous frame.
Declaration
Matrix4x4 PreviousViewProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
Projection
Gets the projection value of the current camera.
Declaration
Matrix4x4 Projection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
ProjectionInverse
Gets the inverse projection value of the current camera.
Declaration
Matrix4x4 ProjectionInverse { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
ShadowViewProjectionBufferPtr
Gets the shadow view projection buffer pointer.
Declaration
nint ShadowViewProjectionBufferPtr { get; }
Property Value
Type | Description |
---|---|
nint |
ShadowViewProjectionBufferSize
Gets the size of the shadow view projection buffer.
Declaration
uint ShadowViewProjectionBufferSize { get; }
Property Value
Type | Description |
---|---|
uint |
SkyboxTransform
Gets the Skybox transform.
Declaration
Matrix4x4 SkyboxTransform { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
SunColor
Gets the color of the sun.
Declaration
Vector3 SunColor { get; }
Property Value
Type | Description |
---|---|
Vector3 |
SunDirection
Gets the direction of the sun.
Declaration
Vector3 SunDirection { get; }
Property Value
Type | Description |
---|---|
Vector3 |
SunIntensity
Gets the sunlight intensity.
Declaration
float SunIntensity { get; }
Property Value
Type | Description |
---|---|
float |
Time
Gets the elapsed time since the game started.
Declaration
float Time { get; }
Property Value
Type | Description |
---|---|
float |
UnjitteredProjection
Gets the unjittered projection value of the current camera.
Declaration
Matrix4x4 UnjitteredProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
UnjitteredViewProjection
Gets the non-jittered view projection value of the current camera.
Declaration
Matrix4x4 UnjitteredViewProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
UnjitteredWorldViewProjection
Gets the unjittered (TAA) world-view projection value of the current camera and mesh.
Declaration
Matrix4x4 UnjitteredWorldViewProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
View
Gets the view value from the current camera.
Declaration
Matrix4x4 View { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
ViewInverse
Gets the inverse view value of the current camera.
Declaration
Matrix4x4 ViewInverse { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
ViewProjection
Gets the view-projection value of the current camera.
Declaration
Matrix4x4 ViewProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
ViewProjectionInverse
Gets the inverse of the view projection value of the current camera.
Declaration
Matrix4x4 ViewProjectionInverse { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
World
Gets the world value of the current rendered mesh.
Declaration
Matrix4x4 World { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
WorldInverse
Gets the inverse world value of the current rendered mesh.
Declaration
Matrix4x4 WorldInverse { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
WorldInverseTranspose
Gets the world inverse transpose of the current mesh.
Declaration
Matrix4x4 WorldInverseTranspose { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
WorldViewProjection
Gets the world-view projection value of the current camera and mesh.
Declaration
Matrix4x4 WorldViewProjection { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
Methods
GetTexture(TextureSemantic, int)
Gets the texture semantic and texture index.
Declaration
Texture GetTexture(TextureInfo.TextureSemantic textureSemantic, int textureIndex)
Parameters
Type | Name | Description |
---|---|---|
TextureInfo.TextureSemantic | textureSemantic | The texture semantic. |
int | textureIndex | The texture index. |
Returns
Type | Description |
---|---|
Texture | The framebuffer texture. |