Search Results for

    Show / Hide Table of Contents

    Class GLBaseTexture

    The OpenGL implementation of a Texture object.

    Inheritance
    object
    GraphicsResource
    Texture
    GLBaseTexture
    GLPlaceHolderTexture
    GLTexture
    Implements
    ILoadable
    IDisposable
    IDependencyObject
    Inherited Members
    Texture.Id
    Texture.Description
    Texture.ReaderVersion
    Texture.Invalidated
    Texture.Dependencies
    Texture.Sampler
    Texture.CouldBeAttachedToFramebuffer
    Texture.Dispose()
    Texture.Invalidate(ILoadable)
    Texture.ReleaseUnusedMemory()
    GraphicsResource.disposed
    GraphicsResource.Context
    GraphicsResource.Disposed
    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 abstract class GLBaseTexture : Texture, ILoadable, IDisposable, IDependencyObject

    Constructors

    GLBaseTexture(GraphicsContext, ref TextureDescription)

    Initializes a new instance of the GLBaseTexture class.

    Declaration
    public GLBaseTexture(GraphicsContext context, ref TextureDescription description)
    Parameters
    Type Name Description
    GraphicsContext context

    The graphics context.

    TextureDescription description

    The texture description.

    Fields

    Format

    The GL Format for this texture, GLPixelFormat.

    Declaration
    public GLPixelFormat Format
    Field Value
    Type Description
    GLPixelFormat

    TextureTarget

    The GL Texture Target for this texture.

    Declaration
    public TextureTarget TextureTarget
    Field Value
    Type Description
    TextureTarget

    Properties

    Name

    Gets or sets a string identifying this instance. Can be used in graphics debuggers tools.

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    string
    Overrides
    Texture.Name

    NativePointer

    Gets the native pointer.

    Declaration
    public override IntPtr NativePointer { get; }
    Property Value
    Type Description
    IntPtr
    Overrides
    GraphicsResource.NativePointer

    Methods

    HasStencil()

    Whether the texture format has stencil.

    Declaration
    public bool HasStencil()
    Returns
    Type Description
    bool

    Return if the texture has stencil.

    Implements

    ILoadable
    IDisposable
    IDependencyObject

    Extension Methods

    TextureExtension.SafeToStream(Texture, GraphicsContext)
    TextureExtension.SaveToFile(Texture, GraphicsContext, string)
    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX