Search Results for

    Show / Hide Table of Contents

    Struct GLRasterizerStateDescription

    This struct represents all parameters supported in OpenGL for RasterizerStateDescription.

    Namespace: Evergine.OpenGL
    Assembly: Evergine.OpenGL.dll
    Syntax
    public struct GLRasterizerStateDescription

    Constructors

    GLRasterizerStateDescription(ref RasterizerStateDescription)

    Initializes a new instance of the GLRasterizerStateDescription struct.

    Declaration
    public GLRasterizerStateDescription(ref RasterizerStateDescription description)
    Parameters
    Type Name Description
    RasterizerStateDescription description

    Evergine RasterizerStateDescription instance.

    Fields

    CullMode

    The cull mode.

    Declaration
    public CullFaceMode CullMode
    Field Value
    Type Description
    CullFaceMode

    DepthBias

    The depth bias.

    Declaration
    public int DepthBias
    Field Value
    Type Description
    int

    DepthClipEnable

    DepthClipEnable.

    Declaration
    public bool DepthClipEnable
    Field Value
    Type Description
    bool

    EnableCulling

    The culling flag.

    Declaration
    public bool EnableCulling
    Field Value
    Type Description
    bool

    FillMode

    The fill mode.

    Declaration
    public PolygonMode FillMode
    Field Value
    Type Description
    PolygonMode

    FrontFaceDirection

    The front face direction.

    Declaration
    public FrontFaceDirection FrontFaceDirection
    Field Value
    Type Description
    FrontFaceDirection

    IsScissorEnabled

    The IsScissorEnabled.

    Declaration
    public bool IsScissorEnabled
    Field Value
    Type Description
    bool

    SlopeScaleDepthBias

    The SlopeScaleDepthBias.

    Declaration
    public float SlopeScaleDepthBias
    Field Value
    Type Description
    float

    Methods

    Equals(GLRasterizerStateDescription)

    Returns a hash code for this instance.

    Declaration
    public bool Equals(GLRasterizerStateDescription other)
    Parameters
    Type Name Description
    GLRasterizerStateDescription other

    The object to compare with this instance.

    Returns
    Type Description
    bool

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Equals(object)

    Determines whether the specified object is equal to this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with this instance.

    Returns
    Type Description
    bool

    true if the specified object is equal to this instance; otherwise, false.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for this instance, suitable for use in hashing algorithms and data structures such as a hash table.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(GLRasterizerStateDescription, GLRasterizerStateDescription)

    Implements the operator ==.

    Declaration
    public static bool operator ==(GLRasterizerStateDescription value1, GLRasterizerStateDescription value2)
    Parameters
    Type Name Description
    GLRasterizerStateDescription value1

    The first value.

    GLRasterizerStateDescription value2

    The second value.

    Returns
    Type Description
    bool

    The result of the operator.

    operator !=(GLRasterizerStateDescription, GLRasterizerStateDescription)

    Implements the == operator.

    Declaration
    public static bool operator !=(GLRasterizerStateDescription value1, GLRasterizerStateDescription value2)
    Parameters
    Type Name Description
    GLRasterizerStateDescription value1

    The first value.

    GLRasterizerStateDescription value2

    The second value.

    Returns
    Type Description
    bool

    The result of the operation.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX