Search Results for

    Show / Hide Table of Contents

    Class GLPlaceHolderTexture

    The placeholder texture used for the swapchain.

    Inheritance
    object
    GraphicsResource
    Texture
    GLBaseTexture
    GLPlaceHolderTexture
    Implements
    ILoadable
    IDependencyObject
    Inherited Members
    GLBaseTexture.TextureTarget
    GLBaseTexture.Format
    GLBaseTexture.Name
    GLBaseTexture.NativePointer
    GLBaseTexture.HasStencil()
    Texture.Id
    Texture.Description
    Texture.ReaderVersion
    Texture.Invalidated
    Texture.Dependencies
    Texture.Sampler
    Texture.Destroy()
    Texture.Invalidate(ILoadable)
    Texture.ReleaseUnusedMemory()
    GraphicsResource.Context
    GraphicsResource.Disposed
    GraphicsResource.Dispose()
    GraphicsResource.Dispose(bool)
    Namespace: Evergine.OpenGL
    Assembly: Evergine.OpenGL.dll
    Syntax
    public class GLPlaceHolderTexture : GLBaseTexture, ILoadable, IDependencyObject

    Constructors

    GLPlaceHolderTexture(GraphicsContext, TextureDescription)

    Initializes a new instance of the GLPlaceHolderTexture class.

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

    The graphics context.

    TextureDescription description

    The texture description.

    Properties

    CouldBeAttachedToFramebuffer

    Gets a value indicating whether this texture can be attached to a framebuffer.

    Declaration
    public override bool CouldBeAttachedToFramebuffer { get; }
    Property Value
    Type Description
    bool
    Overrides
    Texture.CouldBeAttachedToFramebuffer

    Methods

    CopyTo(uint, uint, Texture, uint, uint, uint, uint, uint)

    Copies a pixel region from the swapchain color texture to destination texture. Swapchain texture is only 2D, therefore we only support 2D textures as destination.

    Declaration
    public void CopyTo(uint sourceX, uint sourceY, Texture destination, uint destinationX, uint destinationY, uint destinationMipLevel, uint width, uint height)
    Parameters
    Type Name Description
    uint sourceX

    U coordinate of the source texture.

    uint sourceY

    V coordinate of the source texture.

    Texture destination

    Destination texture.

    uint destinationX

    U coordinate of the destination texture.

    uint destinationY

    V coordinate of the destination texture.

    uint destinationMipLevel

    Destination mip level.

    uint width

    Destination width.

    uint height

    Destination height.

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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