Game Development Community

How to get screenshot handle?

by EricCartman · in Technical Issues · 06/16/2004 (7:47 am) · 1 replies

Hi,

There should be a GetScreenShot function (not neccesarily this name) in the source right? I am wondering if I can find the a bitmap handle to the current screent shot before it is saved to file.

This is useful for something like: displaying dynamic textures to create the security monitor effect that you can watch a scene in another room from the TV monitor....

Is there such a function already in the source or would I be able to modify the source following the GetScreenShot function?

Thanks a lot.

#1
06/16/2004 (8:57 am)
I'm not sure if this resource will still work, but it will do what you want w/ security monitors:
Render to texture resource

Whether it works with the current HEAD or not, it should get you going in the right direction if you pick through the code.