Table of Contents

Struct GLPointLightStruct

Namespace
SearchAThing.OpenGL.Core
Assembly
netcore-opengl-core.dll

Structure that contains gl point light info.
It will be used by the RenderVertexManager(Func<GLFigureBase, bool>, GLPipeline, GLVertexManager, GLPointLightStruct[], GLMatrix4x4Struct[]) and loaded into the gpu pipeline through GLShaderStorageBlock<T>

public struct GLPointLightStruct
Inherited Members

Fields

ambient

Ambient color.
DEFAULT_LIGHT_COLOR

public Vector3 ambient

Field Value

Vector3

constant

Light constant attenuation (0..1). DEFAULT_LIGHT_CONSTANT

public float constant

Field Value

float

diffuse

Diffuse color.
DEFAULT_LIGHT_COLOR

public Vector3 diffuse

Field Value

Vector3

linear

Light linear attenutation (0..1). DEFAULT_LIGHT_LINEAR

public float linear

Field Value

float

position

Light position [world].

public Vector3 position

Field Value

Vector3

quadratic

Light quadratic attenuation (0..1). DEFAULT_LIGHT_QUADRATIC.

public float quadratic

Field Value

float

specular

Specular color.
DEFAULT_LIGHT_COLOR

public Vector3 specular

Field Value

Vector3

Methods

ToString()

public override string ToString()

Returns

string