Class GLExtensionsMethods
Extensions methods used to convert valuesfrom Evergineto OpenGL.
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public static class GLExtensionsMethods
Methods
ToOpenGL(SamplerBorderColor)
Converts to OpenGL sampler borderColor.
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 from TextureSampleCount to 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 sampler count. |