Timeline for Binding an Instance Matrix with an InputLayout
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 30, 2015 at 11:31 | vote | accept | Xenoprimate | ||
| Jan 30, 2015 at 5:47 | comment | added | Chuck Walbourn | See the InstancingFX11 sample on MSDN Code Gallery | |
| Jan 30, 2015 at 0:49 | history | edited | alariq | CC BY-SA 3.0 |
added D3D11_APPEND_ALIGNED_ELEMENT
|
| Jan 30, 2015 at 0:42 | comment | added | alariq | Yes there is. I've edited my answer to address your question. Have not tried it but it should work. Also do not forget about AlignedByteOffset, you should set correct value. E.g. for binding[2] it would be 16 (4 float32) for binding[1] = 32 and so on | |
| Jan 30, 2015 at 0:41 | history | edited | alariq | CC BY-SA 3.0 |
added one more way to declare VS_IN
|
| Jan 29, 2015 at 23:51 | comment | added | Xenoprimate |
Thanks. But is there no way to use an input row_major float4x4 INSTANCE_TRANSFORM;?
|
|
| Jan 29, 2015 at 19:41 | history | answered | alariq | CC BY-SA 3.0 |