Class Constants
- Namespace
- SearchAThing.OpenGL.Core
- Assembly
- netcore-opengl-core.dll
public static class Constants
- Inheritance
-
Constants
- Inherited Members
Fields
ATTNAME_vFlags
Name of vertex shader attribute ( flags ).
public const string ATTNAME_vFlags = "vFlags"
Field Value
ATTNAME_vMatColor
Name of vertex shader attribute ( rgba vertex color ).
public const string ATTNAME_vMatColor = "vMatColor"
Field Value
ATTNAME_vMatProp
Name of vertex shader attribute ( Describe the strength (0..1) of the ambient, diffuse, specular light effects. ).
public const string ATTNAME_vMatProp = "vMatProp"
Field Value
ATTNAME_vNormal
Name of vertex shader attribute ( vertex normal [local] ).
public const string ATTNAME_vNormal = "vNormal"
Field Value
ATTNAME_vPos
Name of vertex shader attribute ( vertex position [local] ).
public const string ATTNAME_vPos = "vPos"
Field Value
ATTNAME_vTexCoord
Name of vertex shader attribute ( texture coordinate mapping in the range [0,0]...[1,1] ).
public const string ATTNAME_vTexCoord = "vTexCoord"
Field Value
BUILTIN_FONTFILE
public const string BUILTIN_FONTFILE = "DejaVuSansMono.ttf"
Field Value
BUILTIN_FONTNAME
public const string BUILTIN_FONTNAME = "DejaVu Sans Mono"
Field Value
DEFAULT_CAMERA_POS
(Default) gl control camera pos [world].
public static readonly Vector3 DEFAULT_CAMERA_POS
Field Value
DEFAULT_CAMERA_TARGET
(Default) gl control camera target [world].
public static readonly Vector3 DEFAULT_CAMERA_TARGET
Field Value
DEFAULT_CAMERA_UP
(Default) gl control camera up [world].
public static readonly Vector3 DEFAULT_CAMERA_UP
Field Value
DEFAULT_CameraObjectColor
(Default) MakeFrustum(in Vector3, in Vector3, in Vector3, float, float, float, in Matrix4x4) camera object lines color.
public static readonly Color DEFAULT_CameraObjectColor
Field Value
DEFAULT_ClearColor
(Default) Clear(bool, Color?) background color.
public static readonly Color DEFAULT_ClearColor
Field Value
DEFAULT_CursorMode
(Default) gl control cursor mode.
public const CursorMode DEFAULT_CursorMode = View
Field Value
DEFAULT_Far
(Default) Absolute position along [eye] z axis of the far clipping plane.
public const float DEFAULT_Far = 50000
Field Value
DEFAULT_FigureOrder
(Default) Order of a figure.
public const int DEFAULT_FigureOrder = 0
Field Value
DEFAULT_FigureVisible
(Default) Visible of a figure.
public const bool DEFAULT_FigureVisible = true
Field Value
DEFAULT_FovDeg
(Default) perspective mode field of view (deg).
public const float DEFAULT_FovDeg = 28
Field Value
DEFAULT_INVALIDATE
(Default) gl control invalidate behavior for api.
public const bool DEFAULT_INVALIDATE = true
Field Value
DEFAULT_LIGHT_COLOR
(Default) gl point light color.
public static readonly Color DEFAULT_LIGHT_COLOR
Field Value
DEFAULT_LIGHT_CONSTANT
(Default) gl point light constant attenuation factor.
public const float DEFAULT_LIGHT_CONSTANT = 1
Field Value
DEFAULT_LIGHT_LINEAR
(Default) gl point light linear attenuation factor.
public const float DEFAULT_LIGHT_LINEAR = 0
Field Value
DEFAULT_LIGHT_QUADRATIC
(Default) gl point light quadratic attenuation factor.
public const float DEFAULT_LIGHT_QUADRATIC = 0
Field Value
DEFAULT_LIGHT_SHOW_POINT
(Default) gl point light show point flag.
public const bool DEFAULT_LIGHT_SHOW_POINT = false
Field Value
DEFAULT_LIGHT_SHOW_POINT_SIZE
(Default) gl point light show point size (pixel).
public const float DEFAULT_LIGHT_SHOW_POINT_SIZE = 10
Field Value
DEFAULT_MaterialAmbientStrength
( Default ) material ambient strength ( 0.8 ).
public const float DEFAULT_MaterialAmbientStrength = 0.8
Field Value
DEFAULT_MaterialColor
( Default ) color.
public static readonly Color DEFAULT_MaterialColor
Field Value
DEFAULT_MaterialDiffuseStrength
( Default ) material diffuse strength ( 0.6 ).
public const float DEFAULT_MaterialDiffuseStrength = 0.6
Field Value
DEFAULT_MaterialProperties
( Default ) material properties ( ambient:0.8, diffuse:0.6, strength:0.6 ).
public static readonly MaterialProperties DEFAULT_MaterialProperties
Field Value
DEFAULT_MaterialSpecularStrength
( Default ) material specular strength ( 0.6 ).
public const float DEFAULT_MaterialSpecularStrength = 0.6
Field Value
DEFAULT_NORMAL_FACTOR
(Default) gl shader UNINAME_uNormalFactor.
public const float DEFAULT_NORMAL_FACTOR = 0.025
Field Value
DEFAULT_Near
(Default) Absolute position along [eye] z axis of the near clipping plane.
public const float DEFAULT_Near = 0.1
Field Value
DEFAULT_Normal
(Default) vertex normal (0,0,0).
public static readonly Vector3 DEFAULT_Normal
Field Value
DEFAULT_ObjectMatrix
(Default) ObjectMatrix of a figure.
public static readonly Matrix4x4 DEFAULT_ObjectMatrix
Field Value
DEFAULT_OrthoZoom
(Default) orthogonal mode scale factor.
public const float DEFAULT_OrthoZoom = 1
Field Value
DEFAULT_PIXEL_FORMAT
Specify default image buffer format by GLTexture2D.
public const PixelFormat DEFAULT_PIXEL_FORMAT = Rgba
Field Value
- PixelFormat
DEFAULT_Perspective
(Default) gl control perspective mode.
public const bool DEFAULT_Perspective = true
Field Value
DEFAULT_PointSize
(Default) PointSize of a point figure.
public const float DEFAULT_PointSize = 10
Field Value
DEFAULT_SHADE_WITH_EDGE
(Default) gl control shade with edge flag.
public const bool DEFAULT_SHADE_WITH_EDGE = false
Field Value
DEFAULT_SHOW_NORMALS
(Default) gl control show normals flags.
public const bool DEFAULT_SHOW_NORMALS = false
Field Value
DEFAULT_ScreenCoord
(Default) ScreenCoordMode of a figure.
public const bool DEFAULT_ScreenCoord = false
Field Value
DEFAULT_StdViewAngleDeg
(Default) gl control angle view addition in standard cube views (deg).
public const float DEFAULT_StdViewAngleDeg = 45
Field Value
DEFAULT_TEXTURE_INTERNAL_FORMAT
Specify gpy internal format of texture used by GLTexture2D.
public const InternalFormat DEFAULT_TEXTURE_INTERNAL_FORMAT = Rgba8
Field Value
- InternalFormat
DEFAULT_TRACE_LOCATION_WARNINGS
(Default) trace shader location warning.
public const bool DEFAULT_TRACE_LOCATION_WARNINGS = false
Field Value
DEFAULT_TexCoord
(Default) vertex texture mapping coordinate (0,0).
public static readonly Vector2 DEFAULT_TexCoord
Field Value
DEFAULT_TextColor
(Default) Color.
public static readonly Color DEFAULT_TextColor
Field Value
DEFAULT_UseShadows
(Default) gl control use shadow flag.
public const bool DEFAULT_UseShadows = true
Field Value
DEFAULT_UseTexture
(Default) gl control use texture flag.
public const bool DEFAULT_UseTexture = true
Field Value
DEFAULT_VERTEX_VISIBILITY
(Default) gl control vertex visibility flag.
public const bool DEFAULT_VERTEX_VISIBILITY = false
Field Value
DEFAULT_VERTEX_VISIBILITY_POINT_SIZE
(Default) gl geometry shader vertex visibility point size.
public const float DEFAULT_VERTEX_VISIBILITY_POINT_SIZE = 5
Field Value
DEFAULT_VertexPosition
(Default) vertex position (0,0,0).
public static readonly Vector3 DEFAULT_VertexPosition
Field Value
DEFAULT_Wireframe
(Default) gl control wireframe enable/
public const bool DEFAULT_Wireframe = false
Field Value
DefaultHitTestTolerance
Default hit test tolerance.
public const float DefaultHitTestTolerance = 0.01
Field Value
DefaultTolerance
Default tolerance for empty model.
TolHint
public const float DefaultTolerance = 1E-05
Field Value
FONT_BITMAP_PIXEL
Height (pixel) of font samples rendering.
Used by the GetFontChars(string, SKFont)
public const int FONT_BITMAP_PIXEL = 300
Field Value
MAIN_TEXTURE_UNIT
Gl texture unit used for main figure texture usages.
public const TextureUnit MAIN_TEXTURE_UNIT = Texture2
Field Value
- TextureUnit
MESA_WIN_LIBRARY_ENV
Environment variable to set in order to use mesa library in Windows.
GLContext
public const string MESA_WIN_LIBRARY_ENV = "OPENGL_LIBRARY_PATH"
Field Value
NETCORE_OPENGL_CORE_ASSEMBLY_NAME
SearchAThing.OpenGL.Core assembly name (regex).
public const string NETCORE_OPENGL_CORE_ASSEMBLY_NAME = "netcore-opengl-core"
Field Value
NormalizedTolerance
Tolerance to be used in comparision of normalized vectors.
public const float NormalizedTolerance = 1E-06
Field Value
PAN_LITTLE_FACTOR
(Default) gl control pan factor respect the screen size.
public const float PAN_LITTLE_FACTOR = 0.1
Field Value
RESOURCE_NAMESPACE_BASE
SearchAThing.OpenGL.Core (regex).
public static readonly string RESOURCE_NAMESPACE_BASE
Field Value
ROTATE_LITTLE_DEG
(Default) gl control rotate model step (deg).
public const float ROTATE_LITTLE_DEG = 5
Field Value
SCREEN_ADJUST_H
(Default) Used in BuildScreenProjectMatrix().
public const float SCREEN_ADJUST_H = 0
Field Value
SCREEN_ADJUST_TX
(Default) Used in BuildScreenProjectMatrix().
public const float SCREEN_ADJUST_TX = 0
Field Value
SCREEN_ADJUST_TY
(Default) Used in BuildScreenProjectMatrix().
public const float SCREEN_ADJUST_TY = 0
Field Value
SCREEN_ADJUST_W
(Default) Used in BuildScreenProjectMatrix().
public const float SCREEN_ADJUST_W = 0
Field Value
SHADER_RESOURCE_DEPTH_FRAG
Shader "3.depth.fs" resource name (regex).
public static readonly string SHADER_RESOURCE_DEPTH_FRAG
Field Value
SHADER_RESOURCE_DEPTH_GEOM
Shader "2.depth.gs" resource name (regex).
public static readonly string SHADER_RESOURCE_DEPTH_GEOM
Field Value
SHADER_RESOURCE_DEPTH_VERT
Shader "1.depth.vs" resource name (regex).
public static readonly string SHADER_RESOURCE_DEPTH_VERT
Field Value
SHADER_RESOURCE_MAIN_FRAG
Shader "6.main.fs" resource name (regex).
public static readonly string SHADER_RESOURCE_MAIN_FRAG
Field Value
SHADER_RESOURCE_MAIN_GEOM_NORMAL
Shader "5.normal.gs" resource name (regex).
public static readonly string SHADER_RESOURCE_MAIN_GEOM_NORMAL
Field Value
SHADER_RESOURCE_MAIN_GEOM_SHADE_WITH_EDGE
Shader "5.shadewithedge.gs" resource name (regex).
public static readonly string SHADER_RESOURCE_MAIN_GEOM_SHADE_WITH_EDGE
Field Value
SHADER_RESOURCE_MAIN_GEOM_VERTEX_VISIBILITY_LINE
Shader "5.vertexvisibilityline.gs" resource name (regex).
public static readonly string SHADER_RESOURCE_MAIN_GEOM_VERTEX_VISIBILITY_LINE
Field Value
SHADER_RESOURCE_MAIN_GEOM_VERTEX_VISIBILITY_TRI
Shader "5.vertexvisibilitytri.gs" resource name (regex).
public static readonly string SHADER_RESOURCE_MAIN_GEOM_VERTEX_VISIBILITY_TRI
Field Value
SHADER_RESOURCE_MAIN_VERT
Shader "4.main.vs" resource name (regex).
public static readonly string SHADER_RESOURCE_MAIN_VERT
Field Value
SHADOW_HEIGHT
Height (pixels) of the cube depth shadow.
public static uint SHADOW_HEIGHT
Field Value
SHADOW_TEXTURE_UNIT
Gl texture unit used for shadow map generation.
public const TextureUnit SHADOW_TEXTURE_UNIT = Texture1
Field Value
- TextureUnit
SHADOW_WIDTH
Width (pixels) of the cube depth shadow.
public static uint SHADOW_WIDTH
Field Value
SIMPLE_CMD_COORD_SEP
public const char SIMPLE_CMD_COORD_SEP = ','
Field Value
SIMPLE_CMD_LINE
public const string SIMPLE_CMD_LINE = "l"
Field Value
SIMPLE_CMD_POINT
public const string SIMPLE_CMD_POINT = "p"
Field Value
SIMPLE_CMD_POINT_SEP
public const char SIMPLE_CMD_POINT_SEP = ';'
Field Value
SIMPLE_CMD_TRIANGLE
public const string SIMPLE_CMD_TRIANGLE = "t"
Field Value
SSBO_Blockname_PointLightsBlock
Name of the uniform shader variable for the name of points light block buffer.
public const string SSBO_Blockname_PointLightsBlock = "PointLightsBlock"
Field Value
SSBO_Blockname_PointLightsMatrixesBlock
Name of the uniform shader variable for the name of points light matrixes block buffer.
public const string SSBO_Blockname_PointLightsMatrixesBlock = "PointLightsMatrixesBlock"
Field Value
TILT_LITTLE_DEG
(Default) gl control camera tilt step (deg).
public const float TILT_LITTLE_DEG = 2
Field Value
UNINAME_uBBoxMax
Name of the uniform shader variable for the model bbox max vertex [local]. Used by normal geometry shader to compute normal scale length.
public const string UNINAME_uBBoxMax = "uBBoxMax"
Field Value
UNINAME_uBBoxMin
Name of the uniform shader variable for the model bbox min vertex [local].
Used by normal geometry shader to compute normal scaled length.
public const string UNINAME_uBBoxMin = "uBBoxMin"
Field Value
UNINAME_uCameraPos
Name of the uniform shader variable for the camera position [world].
public const string UNINAME_uCameraPos = "uCameraPos"
Field Value
UNINAME_uDepthMap
Name of the uniform shader variable to specify depth texture cube array reference.
public const string UNINAME_uDepthMap = "uDepthMap"
Field Value
UNINAME_uEvalLight
Name of the uniform shader variable that enables evaluation of the light.
public const string UNINAME_uEvalLight = "uEvalLight"
Field Value
UNINAME_uFarPlaneLight
Name of the uniform shader variable to set far plane in light depth map calc.
public const string UNINAME_uFarPlaneLight = "uFarPlaneLight"
Field Value
UNINAME_uFigureAlpha
Name of the uniform shader variable for the figure alpha. Alpha.
public const string UNINAME_uFigureAlpha = "uFigureAlpha"
Field Value
UNINAME_uFigureHighlight
Name of the uniform shader variable for the figure highlight flag.
public const string UNINAME_uFigureHighlight = "uFigureHighlight"
Field Value
UNINAME_uFigureScreenCoord
Name of the uniform shader variable that enable screen coord mode vertex evaluation [object].
public const string UNINAME_uFigureScreenCoord = "uFigureScreenCoord"
Field Value
UNINAME_uFigureSelected
Name of the uniform shader variable for the figure selected flag.
public const string UNINAME_uFigureSelected = "uFigureSelected"
Field Value
UNINAME_uIsText
Name of the uniform shader variable to enable evluation of color from UNINAME_uTextColor variable.
public const string UNINAME_uIsText = "uIsText"
Field Value
UNINAME_uLightIdx
Name of the uniform shader variable that describe the index of the light to evaluate. ( used in depth shader ).
public const string UNINAME_uLightIdx = "uLightIdx"
Field Value
UNINAME_uMainTexture
Name of the uniform shader variable to specify main texture sampler reference.
public const string UNINAME_uMainTexture = "uMainTexture"
Field Value
UNINAME_uModel
Name of the uniform shader variable for the model matrix [local].
public const string UNINAME_uModel = "uModel"
Field Value
UNINAME_uNormalFactor
Name of the uniform shader variable for the normal length scaling factor respect model bbox size [local]. Used by normal geometry shader to compute normal scale length.
public const string UNINAME_uNormalFactor = "uNormalFactor"
Field Value
UNINAME_uObject
Name of the uniform shader variable for the object matrix [object].
public const string UNINAME_uObject = "uObject"
Field Value
UNINAME_uOverrideAmbient
Name of the uniform shader variable to override vertex material ambient strength (0..1).
public const string UNINAME_uOverrideAmbient = "uOverrideAmbient"
Field Value
UNINAME_uOverrideAmbientEnabled
Name of the uniform shader variable to enable/disable vertex material ambient override strength.
public const string UNINAME_uOverrideAmbientEnabled = "uOverrideAmbientEnabled"
Field Value
UNINAME_uOverrideDiffuse
Name of the uniform shader variable to override vertex material diffuse strength (0..1).
public const string UNINAME_uOverrideDiffuse = "uOverrideDiffuse"
Field Value
UNINAME_uOverrideDiffuseEnabled
Name of the uniform shader variable to enable/disable vertex material diffuse override strength.
public const string UNINAME_uOverrideDiffuseEnabled = "uOverrideDiffuseEnabled"
Field Value
UNINAME_uOverrideSpecular
Name of the uniform shader variable to override vertex material specular strength (0..1).
public const string UNINAME_uOverrideSpecular = "uOverrideSpecular"
Field Value
UNINAME_uOverrideSpecularEnabled
Name of the uniform shader variable to enable/disable vertex material specular override strength.
public const string UNINAME_uOverrideSpecularEnabled = "uOverrideSpecularEnabled"
Field Value
UNINAME_uProjection
Name of the uniform shader variable for the projection matrix [eye].
public const string UNINAME_uProjection = "uProjection"
Field Value
UNINAME_uScreenModel
Name of the uniform shader variable for the screen mode model matrix [local].
public const string UNINAME_uScreenModel = "uScreenModel"
Field Value
UNINAME_uScreenProjection
Name of the uniform shader variable for the screen mode projection matrix [eye].
public const string UNINAME_uScreenProjection = "uScreenProjection"
Field Value
UNINAME_uShadows
Name of the uniform shader variable to enable/disable shadow.
public const string UNINAME_uShadows = "uShadows"
Field Value
UNINAME_uTextColor
Name of the uniform shader variable that specify color for text figure types.
public const string UNINAME_uTextColor = "uTextColor"
Field Value
UNINAME_uUseTexture
Name of the uniform shader variable to consider vertex color from texture.
public const string UNINAME_uUseTexture = "uUseTexture"
Field Value
UNINAME_uView
Name of the uniform shader variable for the view matrix [world].
public const string UNINAME_uView = "uView"
Field Value
WCS
CS world with origin=(0,0,0) basex=(1,0,0) basey=(0,1,0) basez=(0,0,1)
public static readonly Matrix4x4 WCS
Field Value
XZCS
CS representing XZ plane origin=(0,0,0) basex=(1,0,0) basey=(0,0,1) basez=(0,-1,0)
public static readonly Matrix4x4 XZCS
Field Value
YAxisOrientation
Y axis orientation [screen].
public const YAxisOrientationEnum YAxisOrientation = YPositiveUp
Field Value
Remarks
NOTE: Actually tested only for YPositiveUp. It's a constant hard coded.
YZCS
CS representing YZ plane origin=(0,0,0) basex=(0,1,0) basey=(0,0,1) basez=(1,0,0)
public static readonly Matrix4x4 YZCS
Field Value
ZOOM_LITTLE_FACTOR
(Default) gl control step zoom scale factor.
public const float ZOOM_LITTLE_FACTOR = 0.1
Field Value
aaaSmall
public const float aaaSmall = 0.015625
Field Value
Properties
ViewDefaultPathfilename
(Default) pathfilename of the view.json used by SaveView(string?).
public static string ViewDefaultPathfilename { get; }