|
|
 |
|
| found 97 articles for 0.005 sec |
  |
Author: benoitj
Date: Aug 1, 2008 06:47
...can't do the things you mentioned (lock textures) on another thread without the use of the... however, use your idea of locking the texture in one thread, and memcpying data in a.... You'll need facilities for the synchronization of allocating/recycling resources like textures and initializing them. If you use ...device, then you can just allocate the resource whenever you want to, lock it ...
|
| Show full article (1.78Kb) · Show article thread |
Author: Wyck
Date: Jul 29, 2008 09:17
...the things you mentioned (lock textures) on another thread without the...synchronization of allocating/recycling resources like textures and initializing them. If...you can just allocate the resource whenever you want to, lock...thread do this: - Create a texture - Lock - fill data from file...i'll do: MainThread: - create texture - Lock - push request to LoadingThread...
|
| Show full article (2.40Kb) · Show article thread |
|
|
Author: William
Date: Mar 4, 2008 03:46
... and mapped to quads. All textures are in the managed pool ... and therefore have no special resources such as vertexbuffers. I am ... this it, seems that resources, the textures, are notified through events ... so one should dispose the resources before disposing the device. I...now run through every last texture and call its Dispose. When...In the example with 400 textures it will hang for arround...
|
| Show full article (1.04Kb) |
Author: dylan
Date: Feb 28, 2008 19:14
... the basic functionality with shader resources (documentation appears incomplete and unclear ... by a CreateShaderResourceView for the texture arrays, and a CreateBuffer call ...I use VSSetShaderResources for the textures and VSSetConstantBuffers for the constant ...In the case of a texture (sub?) resource, for a 2D...impression that constant buffers and texture arrays are handled otherwise (since...
|
| Show full article (3.69Kb) |
Author: Jan Bruns
Date: Feb 26, 2008 13:03
...dicard-mode). But when a resource is logically simultaneously in use...step 1 to a RT-texture, that will be used in...actual drawing from the lockable resource, so that only a (initial...depends on owning the lockable resource. However, this doesn't mean...lock(discard) a single "upload" texture object, or lock(discard) just...surface of a circular "upoad" texture collection. However, if you compare...
|
| Show full article (3.30Kb) · Show article thread |
Author: brekehan
Date: Jan 19, 2007 15:29
...constructor alone doesn't define the resource ownership semantics here. For instance, ... object B transfers ownership of resources from A to B 2) ... object B means ownership of resources is shared between A and ... any of these with the texture resources in Direct3D. In 1),... NULL, D3DTEXF_NONE))) throw Error("Failed texture copy", "Image2D::Image2D(const Image2D ...
|
| Show full article (4.24Kb) · Show article thread |
Author: brekehan
Date: Jan 18, 2007 15:03
...it -- the device needs the texture to stay alive as long...alone doesn't define the resource ownership semantics here. For instance...object B transfers ownership of resources from A to B 2...object B means ownership of resources is shared between A and...any of these with the texture resources in Direct3D. In 1...and there's no Direct3D resource consumed until you actually use...
|
| Show full article (3.25Kb) · Show article thread |
Author: brekehan
Date: Jan 18, 2007 12:35
...How can I copy one texture to another without reloading it...need to create a new texture resource whose contents are identical...latter, then simply AddRef() the texture interface in the copy constructor...have to create a new resource and StretchRect all the levels...splits an image and calculates texture coordinates. The font object then...creates the texture and holds a pointer to it as a...
|
| Show full article (2.18Kb) · Show article thread |
Author: ta
Date: Sep 17, 2008 08:56
...is not watching sports in person. Â Cardboard-textured tomatoes are not fresh tomatoes. ...beneficial to those that control the scarce resource. If Monsanto, Cargill, and ADM can essentially...addition to the bona fide scarcity of resources, there is also *manufactured* scarcity in ... of living with those existing finite resources indefinitely if we so choose, but ...
|
| Show full article (12.29Kb) · Show article thread |
|
 |
|
1 ·
2 ·
3 ·
4 ·
5 ·
6 ·
7 ·
8 ·
9 ·
next |
|
|