콘텐츠로 이동

IRenderSurface interface

이 콘텐츠는 아직 번역되지 않았습니다.

An offscreen surface created by an IRenderDevice; disposing it releases the backend allocation.

public interface IRenderSurface : IDisposable, IRenderTarget
name description
Capabilities { get; } Gets what the surface can do, such as being drawn into, read on the CPU, or sampled on the GPU.
Format { get; } Gets the pixel format.
IsDisposed { get; } Gets whether the surface has been disposed.
Usage { get; } Gets the usages the surface was created for.
Version { get; } Gets a counter that increases each time the contents change, so a cached derivation can detect a stale copy.