Video.RenderToTexture Method |
Language: |
Enables the Video to trigger the TextureReadyToRender event to generate Texture objects for rendering video in Microsoft Direct3D.
Visual Basic Public Sub RenderToTexture( _
ByVal graphicsDevice As Device _
)C# public void RenderToTexture(
Device graphicsDevice
);C++ public:
void RenderToTexture(
Device^ graphicsDevice
);JScript public function RenderToTexture(
graphicsDevice : Device
);
graphicsDevice Microsoft.DirectX.Direct3D.Device
The parent Direct3D.Device that renders the video textures.
When rendering a video in Direct3D using this method, be sure to hook the TextureReadyToRender event to retrieve the Texture objects.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center