Video.RenderToTexture Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Enables the Video to trigger the TextureReadyToRender event to generate Texture objects for rendering video in Microsoft® Direct3D®.
Definition
Visual Basic .NET |
Public Sub RenderToTexture( _ ByVal graphicsDevice As Device _ ) |
C# |
public void RenderToTexture( Device graphicsDevice ); |
Managed C++ |
public: void RenderToTexture( Device *graphicsDevice ); |
JScript .NET |
public function RenderToTexture( graphicsDevice : Device ); |
Parameters
Remarks
When rendering a video in Microsoft® Direct3D® using this method, be sure to hook the TextureReadyToRender event to retrieve the Texture objects.
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center