Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Resize a 2D texture


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 reaperrar   Members   -  Reputation: 134

Like
0Likes
Like

Posted 15 January 2013 - 08:06 PM

When you create a 2D texture with ID3D11Device::CreateTexture2D you specifiy a width & height inside the description arguement. Can you change the width & height if it is created with D3D11_USAGE_DEFAULT or does the texture needed to be recreated?



Sponsor:

#2 L. Spiro   Crossbones+   -  Reputation: 14198

Like
4Likes
Like

Posted 15 January 2013 - 08:19 PM

It needs to be recreated.

 

 

L. Spiro


It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS