How to use DirectX RenderTarget in C++ Windows Store Game

I has write a Windows Store Game use DirectX.
I want to draw all image to a RenderTarget, and then copy the RenderTarget image to the DirectX backbuffer.
My develop lanuage is C++, and use DirectX 11 SDK which is included in the Windows SDK 8.1 package.
I want to know which function can let me create the RenderTarget use specified width and height.
If there is any sample code for me, is very useful.
Thanks!

You should take a look at
DirectX Tool Kit for helper code for Direct3D 11, and in particular this
tutorial.

Similar Messages

  • How to use .sdf database in a windows store apps

    Hi,
    I am new in windows store app development. I have been working in WPF application development for long time. Now I want develop windows store apps. I am studying on it. I got a problem. I what to store data from windows store app in .sdf database file. I
    confused is .sdf database is compatible with windows store apps.
    I want Deploy the apps in windows apps store. Is .sdf database support in client machine while he download it and run his own machine.
    Please Suggest me about it with sample reference. It will be very helpful for me.
    bye
    With Regards
    Sadequzzaman Monoj
    Bangladesh

    SDF files are used by Microsoft SQL Server Compact Edition. SQL CE is not supported for Windows Store Apps/Universal Apps. Only WP Silverlight Apps can use SQL CE. You will have to switch to a different database format.
    As far as I know the only DB currently supported for local deployment with Windows Store Apps is SQLite.
    This article gives an introduction on how to get started with SQLite in Universal Apps:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/

  • How to use dual monitor display in windows 7 using MSTSC command.......??????

    how to use dual monitor display in windows 7 using MSTSC command ....?????

    Hi Anurag,
    The main issue is how to use the dual monitor in the Remote Desktop Session in Windows 7 ,right ?
    please refer to the following links:
    Using Multiple Monitors in Remote Desktop Session
    http://blogs.msdn.com/b/rds/archive/2009/07/01/using-multiple-monitors-in-remote-desktop-session.aspx
    Best regards

  • How to use adobe 5.0 on windows 7 to install 2 upgrades.

    how to use adobe 5.0 on windows 7 to install 2 upgrades.

    Keith you maybe facing an issue with trying to install Photoshop CS2 on Windows 7 in general.  If you have both serial numbers registered, and one of them is a full version, then you can request that your software be unlocked to allow for installation.  Our support team will better be able to determine your eligibility for this.  You can contact them via chat at http://adobe.ly/yxj0t6.

  • I had nokia n8 and now i want to transfer my contacts from nokia to my new i phone 5, i set up i tune and i cloud account but i don't know how to use do it. i have windows 7 and no outlook

    i had nokia n8 and now i want to transfer my contacts from nokia to my new i phone 5, i set up i tune and i cloud account but i don't know how to use do it. i have windows 7 and no outlook

    If I wiped my phone I wouldn't have the contacts on my phone to send to my self.    I would need to take just the contacts from my back up. I would have to do this through iTunes and I don't see how I can just extract the contacts only from my back up. From what I can figure out it is all or nothing

  • Is airdrop is avaiable on iphone4g n how to use airplay ... n something playing game like sufers subways its get stuck middle .. y is it so .. help me out..

    is airdrop is avaiable on iphone4g n how to use airplay ... n something playing game like sufers subways its get stuck middle .. y is it so .. help me out..
    n which is best app to saver battery life... n how to make ma phone run smootly..
    pls help me >>>
    <Email Edited by Host>

    Hi ChrisBell,
    my Pixi shows me the missed calls in a list of its own? I don't have many, so maybe I'm missing something. But I agree with your half-ranting to some degree. As a long-time Palm-user (my last phone was a Treo 680, terrible form factor, good UI), I am really disappointed with the standard software on this phone. Memos and Tasks, which AFAIK were there and useful even on the first Newton's, have regressed beyond the point of usefulness now (solution: Toodledo and Done!, at least for now).
    But ChrisBell: if you feel up for it, you could start tinkering. Many people love these phones so much they have started developing patches to solve the obvious problems skimmed over by developers. Try looking up "webosquickinstall" and "preware", and you will find over 300 patches and a lot of free software to help you out. I am not a computer wizard myself, but I am not scared of them either, and I have been able to make good use of all these extras made available by the community.
    just a thought, might help you out on a few of your half-rants

  • How to used apple ID in the iTunes store?

    how to used apple ID in the iTunes store?always the problem was this " This apple ID has not yet  been used in the iTunes store?

    Why can’t I select None when I edit my payment information?
    also you can
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
      http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/

  • How to use my time capsule with windows vista

    i have a 2tb time capsule iphone 3gs appple tv and a ipad 2 the wife and kids have iphone 3gs and 4 and id like to set up a home network for us all to use and share music and photos is this possible

    Sorry the title never gets into detail at any point.. no vista computer is listed.
    Access the vista computer to TC turn on the guest network and allow full read write access. Make sure you have the workgroup set correctly. There are issues sometimes on the windows side but try that.
    As for using the TC as a file store.. well it isn't a good idea. It is a backup device.. which has no ability to back up itself. There is no mirrored disks and one day it will die and you can say bye bye to your precious photos and music. You can work your way around the issue.. sure.. in the end you will need an alternative backup on a computer.. that alternative backup will then be backed up to where??
    If you must run your itunes and iphoto library on the TC just read about how to set up the libraries in network location. Google will find the posts.
    http://gigaom.com/apple/using-time-capsule-as-a-media-drive/
    You perhaps should read all the other posts about why not.. as well as how to.

  • Qosmio F50-125 - How to use TV-FM Tuner in Windows 7

    Hello,
    I am using Qosmio F50-125 and I just upgraded to Windows 7.
    I just now found out that I have a TV tuner on my notebook and I dont know how to use it.
    First I dont have drivers for my TV tuner and tried to download something like TV-tuner driver v.2.3.3.31 from the toshiba website, but there is not a typical setup.exe but just some files inside.
    If you could tell me a bit more about how to use my TV option and how to install the proper drivers I would be truly grateful.
    Thanks in advance!

    Hi mate,
    Friend of me has also Qosmio F50 with TV Tuner and Windows 7 now. As far as I know the posted instructions from the other users are correct.
    First you have to extract all files. Then go in device manager and right click on the TV card (I think its marked with yellow exclamation mark). If you right click choose Update Driver and in next windows choose the advanced installation (second point). Now you have to choose the driver directory yourself and navigate to the folder where you have extracted the files. Click on OK, Next, etc. and the driver should be installed properly.
    Maybe you to restart the notebook but this shouldnt be a problem! ;)
    If you have more questions, please let us know! If you need more assistance I can ask my friend again for further details.

  • How do use startdard function key in windows?

    I found out from the internet how to use function keys without pressing Fn key by configuring preference. However I need to do the same thing in windows (I am running windows XP on the same laptop).
    Anyone knows how to? I can not figure it out.

    Have you installed all the necessary Boot Camp drivers for Windows?

  • How to use Remote Desktop Service in Windows Azure

    Good day
    Hi! im kinda newbie when it comes to windows azure, I would like to ask if how can we use the RDS CAL in windows azure?

    Hi,
    Please visit the URL below for detailed instructions on using/configuring RDS CAL.
    http://blogs.technet.com/b/keithmayer/archive/2013/09/04/step-by-step-remote-desktop-services-on-windows-azure-a-cost-effective-alternative-to-desktop-as-a-service-part-2.aspx
    Regards

  • How to use the FP 3000 with windows XP?

    Hi to all,
    Actually I have a problem using My FP-3000 nifbus with a windows xp proffetional station.
    previously I was using it with nifbus configurator and communication manager, both of version 2.3 and then I upgraded to 2.3.6 (using windows 2000) and now I am trying to use it with windows xp, but the configurator does not communicate with fp-3000 and it doesn't show any function blocks.
    I started by installing the 2.3 configurator and manager, but the PCMCIA fbus/2 card that I'm using was not recognised by windows.
    so I upgraded to 2.3.6, the pcmcia card was now recognised by windows but the communication manager kept giving a communication error.
    so I installed the communication manager version 3.0, which started successfu
    lly and the configurator started but the fp-3000 was not present.
    I tried updating the firmware, but the upgrade.exe did not disfunctioned and gave strange module names in the window, and it did not download the firmware.
    I also tried resetting the fp-3000 but still no luck.
    so any one can tell me what software and what versions should I use to overcome this problem?

    It sounds like a problem of advanced network parameter settings.
    You can start "Interface Configuration Utility", choose the port and select "Edit", then choose "Advanced..." button to have "Advanced Stack Configuration" dialog.
    Change values to:
    T1 0x40000,
    T2 0x40000,
    T3 0x30000,
    Slot Time 5
    Click OK to close "Interface Configuration Utility", and run NI-FBUS CM or Configurator to check whether it helps.
    If you have 3.0 or 3.1 version, you just choose the "Old Default" button to set the values automatically.

  • How to use iMac to work with windows computers like pcAnywhere?

    I just bought my first iMac, and love it. I run pcAnywhere (version 12.1) on a few windows computers for work, but need to connect to them via my new iMac and using a phone line modem.  How do I do this; and I am fairly new to Mac.  I have tried to install the pcAnywhere on my Mac, using pcAnywhere Cross Platform, but it will not connect at all and the error code I get is below:
    You can't open the application "pcAnywhere CrossPlatform" because PowerPC applications are no longer supported.
    It took me over an hour to get it installed, via java downloads.  I connect on my old PC's with a phone number to connect via the modem because where I am connecting to has no Internet other than a phone line.
    Please help!!

    The PCAnywhere application you are trying to run is too old to be supported on a Mac running Lion, Mountain Lion, or any newer MacOS.  I would check to see if PCAnywhere has released an updated version of the application that you can use.  If not, you will probably need to go the route of virtualization (or keep an old PC around for supporting work).
    If you have to use virtualization, then you might want to consider using Virtual Box (a free app) to install Windows 7 on a virtual PC, then just run the PC version of your PCAnywhere software just like you would on any other PC.  You could use Virtual Box to install a MacOS 10.6.8 (Snow Leopard) instance and run your existing Mac version of the PCAnywhere software, but you would probably be better off to just use the Windows version.

  • How to use sd card drive on Windows 7 partition.

    I have a 15" Mac Book Pro Model A1318 about a year old.  I am running Windows 7 on the partition and the SD Card will not recognize the card.  It works when running Mac Snow Leopard.

    You use it the same way you do in Snow Leopard. How is the card formatted? If it is formatted for Snow Leopard then Windows can not use it.

  • How to use multi async method in Windows Runtime Component (C#)

    I want to migrate an async method into Windows Runtime Component.
    CookieContainer cc = await utility.GetCookieContainer();
    But the content of async method still contains async methods.
    public async Task<CookieContainer> GetCookieContainer()
    if (stsAuthToken != null)
    if (DateTime.Now > stsAuthToken.Expires)
    this.stsAuthToken = await GetMsoStsSAMLToken();
    AuthCookies cookies = await GetAuthCookies(this.stsAuthToken);
    CookieContainer cc = new CookieContainer();
    Cookie samlAuthCookie = new Cookie("FedAuth", cookies.FedAuth)
    Path = "/",
    Expires = this.stsAuthToken.Expires,
    Secure = cookies.Host.Scheme.Equals("https"),
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(this.spSiteUrl, samlAuthCookie);
    Cookie rtFACookie = new Cookie("rtFA", cookies.RtFA)
    Path = "/",
    Expires = this.stsAuthToken.Expires,
    Secure = cookies.Host.Scheme.Equals("https"),
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(this.spSiteUrl, rtFACookie);
    this.cookieContainer = cc;
    And even GetMsoStsSAMLToken and GetAuthCookies contain async methods...
    How to migrate it?

    Hi Matt,
    I'm sorry for my unclear description.
    My WinRT Component is for Javascript. If I use folloiong codes, error occurs.
    public static async Task<bool> GetInternal(string url, string username, string password)
    bool r = await AuthUtility.Create(new Uri(url), username, password);
    return r;
    The error is
    SharePointWindowsRuntimeComponent.Common.GetInternal(System.String, System.String, System.String)' has a parameter of type 'System.Threading.Tasks.Task<System.Boolean>' in its signature. Although this generic type is not a valid Windows Runtime type,
    the type or its generic parameters implement interfaces that are valid Windows Runtime types.  Consider changing the type 'Task' in the method signature to one of the following types instead: Windows.Foundation.IAsyncAction, Windows.Foundation.IAsyncOperation,
    or one of the other Windows Runtime async interfaces. The standard .NET awaiter pattern also applies when consuming Windows Runtime async interfaces. Please see System.Runtime.InteropServices.WindowsRuntime.AsyncInfo for more information about converting managed
    task objects to Windows Runtime async interfaces.
    Some articles said, Task<T> is not WinRT type and should be converted to IAsyncOperation<T>. Only stirng, int, bool, object, array of above types and some 'simple' type can be used. (The
    related article)
    Then I try to convert Task<bool>, but the codes don't work.
    Above is why I ask this question.
    If async method can be used in WinRT component directly, please let me know why I got above error.
    Thanks.

Maybe you are looking for