Skip to main content
gamedev.net
🔒 Locked

DirectShow Texture3D sample question

Started by pearsoe 0 replies 1.5k views
Original Post
pearsoe
pearsoe
In the Texture3D sample, I''m a little confused, how exactly are the functions SetMediaType and DoRenderSample called? The only references I see to them are when they are defined, I don''t see how they are executed.
pearsoe
pearsoe
I think I found the answer, you just have to follow the inheritance back from CTextureRenderer -> CBaseVideoRenderer -> CBaseRenderer where there are virtual function definitions for SetMediaType and DoRenderSample. These functions seem to be executed automatically after the pin connections are made.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.