Class GLExtensionsMethods
Extension methods used to convert values from Evergine to OpenGL.
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public static class GLExtensionsMethods
Methods
ToOpenGL(SamplerBorderColor)
Converts to OpenGL sampler border color.
Declaration
public static float[] ToOpenGL(this SamplerBorderColor borderColor)
Parameters
Type | Name | Description |
---|---|---|
SamplerBorderColor | borderColor | The value to convert. |
Returns
Type | Description |
---|---|
float[] | The native array. |
ToOpenGL(TextureSampleCount)
Converts a TextureSampleCount to an OpenGL sample count.
Declaration
public static int ToOpenGL(this TextureSampleCount sampleCount)
Parameters
Type | Name | Description |
---|---|---|
TextureSampleCount | sampleCount | The sample count to convert. |
Returns
Type | Description |
---|---|
int | The numeric sample count. |