When an application uses, for example, 1.5 GB of memory, can it allocate another GB of texture?
There is no simple answer to this question, since textures can be allocated in the video memory, but they can also be in the system memory.
So it depends on the use.
Take this constructor and pay attention to the pool parameter:
public Texture(
Device device,
int width,
int height,
int numLevels,
Usage usage,
Format format,
Pool pool
)
Pool.VideoMemory, , , , . Pool.SystemMemory, , , .
:
surface->LockRect(&bits,0,0)
, . . , , .
DX, VideoMemory, .
, ,
.