www.BCB-Tools.com

Home of
RAD DirectX
for
C++ Builder

...

C++ Builder wrapping DirectX

...

Please Register

So we can
create more

the TDx_Library
the TDx9_Library



Welcome to BCB-Tools.com Latest News

Development Tools Demo Applications Step-by-Step Tutorials Component Reference

Register Here! Available Downloads

Frequently Asked Questions Discussion Forums Receive emails from BCB-Tools.com Send us some Feedback

Links to other sites Information about the BCB-Tools.com website


    TDx_3DI_Library v1.90 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_3DDevice::SetRenderTarget() ]     [ next: SetTexture() ]     [ prev: SetRenderState() ]

    public:

         virtual bool __fastcall SetRenderTarget( TDx_DrawSurface* pNewRenderTarget );





    -= Go to the TDx_3DDevice description =-    TDX_3DDEVICE::SETRENDERTARGET()   [ component method ]

    • Description

        The TDx_3DDevice::SetRenderTarget method will define a new rendering target surface for this device.

        The new target must match the current target in terms of depth buffer status.
        Eg: If the current target has a depth buffer, the new target must also have a depth buffer.
        The depth buffer attached to the new target replaces the one attached to the current target for context.

        Changing the render target for one with different properties will not expose different HAL or HEL capabilities.

        If the method call fails, the OnError event will be triggered with one of the following values:
        DDERR_INVALIDPARAMS

    • Parameters

        NewRenderTarget
        The RenderTarget parameter references the TDx_DrawSurface component that will act as the new rendering target for this device.

        The new target surface must have the DDSCAPS_3DDEVICE flag set.



    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Forums |  Feedback |  Mailing List |  Links |  Site Information

This page is Copyright © 2008 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.