Jump to content

View more

Image of the Day

Project built to test Unity's networking
#gamedev #indiedev #screenshotsaturday #indiedevhour #madewithunity https://t.co/vcsky4QFKr
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Resize a 2D texture

2: Adsense

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   

136
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?



#2 L. Spiro   Members   

25308
Like
4Likes
Like

Posted 15 January 2013 - 08:19 PM

It needs to be recreated.

 

 

L. Spiro






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.