Jump to content

Image of the Day

#animation 2/14

Sweet piggy, isn't it?

#gamedev #indiedev #indiegame #GamersUnite #screenshotsaturday #unity3d https://t.co/lscyvCxrPR
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

resource limits of DrawIndexedInstanced()

4: 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
2 replies to this topic

#1 Norman Barrows   Members   

6880
Like
0Likes
Like

Posted 24 April 2013 - 05:40 PM

from the directx 10 docs, Resource Limits:

 

 

DrawIndexed[Instanced]() vertex count (incl. instancing) 232

 

just what do they mean by this?

 

the original mesh (vb) can only have 232 vertices? IE its the limit for IndexCountPerInstance?

 

or you can only create 232 instances of a mesh (vb) with one call  (InstanceCount limit) ?

 

or ALL the meshes (original + created) can only have a total of 232 vertices?  this i would find hard to believe.

 

 

 


Norm Barrows

Rockland Software Productions

"Building PC games since 1989"

rocklandsoftware.net

 

PLAY CAVEMAN NOW!

http://rocklandsoftware.net/beta.php

 

 


#2 Adam_42   Members   

3559
Like
1Likes
Like

Posted 24 April 2013 - 06:05 PM

My guess would be that the documentation is broken, and it should say 232



#3 Norman Barrows   Members   

6880
Like
0Likes
Like

Posted 25 April 2013 - 12:56 PM

My guess would be that the documentation is broken, and it should say 232

 

"Ah-Ha!"

Eddie Murphy - Coming to America

 

 

 

"OK, ok i'll taste the soup! Where's the spoon?"

"Ah-Ha!"

"...Ah-Ha!..."

"Aw, wadda you know from funny?"

 

Note that the quote above got nuked too, it should be 2^32, not 232.

 

IE: two raised to the thirty second power.

 

so the total number of vertices including instancing is 2^32.

 

i would assume that means the limit for:

IndexCountPerInstance * InstanceCount = total instanced verts

is 2^32.

 

 

 

 

 

Edited by Norman Barrows, 25 April 2013 - 01:14 PM.

Norm Barrows

Rockland Software Productions

"Building PC games since 1989"

rocklandsoftware.net

 

PLAY CAVEMAN NOW!

http://rocklandsoftware.net/beta.php

 

 





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.