Search Results for

    Show / Hide Table of Contents

    Class GLExtensionsMethods

    Extensions methods used to convert valuesfrom Evergineto OpenGL.

    Inheritance
    object
    GLExtensionsMethods
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Generated by DocFX