Share via


Texture Class

Definition

Textures represent images that can be applied to geometry.

public ref class Texture : Microsoft::Azure::RemoteRendering::ResourceBase
public class Texture : Microsoft.Azure.RemoteRendering.ResourceBase
type Texture = class
    inherit ResourceBase
Public Class Texture
Inherits ResourceBase
Inheritance

Remarks

Textures are immutable, shared resources, loaded through the RenderingConnection. Attempting to load the same texture twice, will return the same object.

To apply a texture to geometry, set it on a Material and assign the material to a Mesh. Textures can also be used in the SkyReflectionSettings.

Properties

InternalId

Only used for testing

(Inherited from ResourceBase)
InteropId

Only used for testing

(Inherited from ResourceBase)
Name

Returns the name of the texture.

Type

The exact type of this resource.

Valid

Whether this resource is still valid.

Methods

AsToolingObject<ToolingObject>()

Only used for testing

(Inherited from ResourceBase)
Equals(Object) (Inherited from ResourceBase)
GetHashCode() (Inherited from ResourceBase)

Applies to

See also