Printing3DTextureResource 类

定义

指定 2D 纹理材料中使用的纹理资源。

public ref class Printing3DTextureResource sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Graphics.Printing3D.Printing3DContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Graphics.Printing3D.Printing3DContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Printing3DTextureResource final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Graphics.Printing3D.Printing3DContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Graphics.Printing3D.Printing3DContract")]
class Printing3DTextureResource final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Graphics.Printing3D.Printing3DContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Graphics.Printing3D.Printing3DContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Printing3DTextureResource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Graphics.Printing3D.Printing3DContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Graphics.Printing3D.Printing3DContract")]
public sealed class Printing3DTextureResource
function Printing3DTextureResource()
Public NotInheritable Class Printing3DTextureResource
继承
Object Platform::Object IInspectable Printing3DTextureResource
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Graphics.Printing3D.Printing3DContract (在 v1.0 中引入)

构造函数

Printing3DTextureResource()

创建 Printing3DTextureResource 类的实例。

属性

Name

获取或设置纹理资源的名称。

TextureData

获取或设置纹理资源的图像流。

适用于