CompositionTexture.SourceRect Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets and sets the portion of an overall Direct3D texture that the composition texture represents (and samples from). This allows you to have multiple composition textures referencing the same Direct3D texture.
public:
property RectInt32 SourceRect { RectInt32 get(); void set(RectInt32 value); };
RectInt32 SourceRect();
void SourceRect(RectInt32 value);
public RectInt32 SourceRect { get; set; }
var rectInt32 = compositionTexture.sourceRect;
compositionTexture.sourceRect = rectInt32;
Public Property SourceRect As RectInt32
Property Value
The region of a Direct3D texture that the composition texture represents.