VirtualSurfaceImageSource 클래스

정의

SurfaceImageSource를 확장하여 콘텐츠가 화면에 맞을 수 있는 것보다 잠재적으로 크고 콘텐츠를 가상화하여 최적으로 렌더링해야 하는 경우 시나리오를 지원합니다.

public ref class VirtualSurfaceImageSource sealed : SurfaceImageSource
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class VirtualSurfaceImageSource final : SurfaceImageSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class VirtualSurfaceImageSource final : SurfaceImageSource
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class VirtualSurfaceImageSource : SurfaceImageSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.Xaml.Media.Imaging.IVirtualSurfaceImageSourceFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VirtualSurfaceImageSource : SurfaceImageSource
Public NotInheritable Class VirtualSurfaceImageSource
Inherits SurfaceImageSource
상속
Object Platform::Object IInspectable DependencyObject ImageSource SurfaceImageSource VirtualSurfaceImageSource
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

이 클래스에는 추가 API가 있지만 해당 API는 Microsoft DirectX 상호 운용용이며 이 설명서에 설명된 일반 앱 프로그래밍 모델의 일부가 아닙니다. 예를 들어 Microsoft DirectX 쪽에서 BeginDraw를 호출할 수 있습니다. 샘플 코드를 포함하여 VirtualSurfaceImageSource에 그리는 방법에 대한 자세한 내용은 DirectX 및 XAML interop을 참조하세요.

생성자

VirtualSurfaceImageSource(Int32, Int32)

그리기 영역의 크기를 지정하여 VirtualSurfaceImageSource 클래스의 새 instance 초기화합니다.

VirtualSurfaceImageSource(Int32, Int32, Boolean)

그리기 영역의 크기와 알파 투명도로 렌더링할지 여부에 대한 기본 설정을 지정하여 VirtualSurfaceImageSource 클래스의 새 instance 초기화합니다.

속성

Dispatcher

이 개체가 연결된 CoreDispatcher 를 가져옵니다. CoreDispatcher는 코드가 비 UI 스레드에서 시작되더라도 UI 스레드에서 DependencyObject에 액세스할 수 있는 기능을 나타냅니다.

(다음에서 상속됨 DependencyObject)

메서드

ClearValue(DependencyProperty)

종속성 속성의 로컬 값을 지웁니다.

(다음에서 상속됨 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

애니메이션이 활성화되지 않은 경우에 적용되는 종속성 속성에 대해 설정된 기본 값을 반환합니다.

(다음에서 상속됨 DependencyObject)
GetValue(DependencyProperty)

DependencyObject에서 종속성 속성의 현재 유효 값을 반환합니다.

(다음에서 상속됨 DependencyObject)
ReadLocalValue(DependencyProperty)

로컬 값이 설정된 경우 종속성 속성의 로컬 값을 반환합니다.

(다음에서 상속됨 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

DependencyObject instance 특정 DependencyProperty에 대한 변경 내용을 수신 대기하기 위한 알림 함수를 등록합니다.

(다음에서 상속됨 DependencyObject)
SetValue(DependencyProperty, Object)

DependencyObject에 대한 종속성 속성의 로컬 값을 설정합니다.

(다음에서 상속됨 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

RegisterPropertyChangedCallback을 호출하여 이전에 등록된 변경 알림을 취소합니다.

(다음에서 상속됨 DependencyObject)

적용 대상

추가 정보