XLE  v0.02.0
Typedefs | Enumerations
BufferUploads::AllocationRules Namespace Reference

Container for AllocationRules::Enum. More...

Typedefs

typedef unsigned BitField
 

Enumerations

enum  Enum { Pooled = 1<<0, Batched = 1<<1, Staging = 1<<2, NonVolatile = 1<<3 }
 Determines how BufferUploads will allocate a resource More...
 

Detailed Description

Container for AllocationRules::Enum.

Enumeration Type Documentation

Determines how BufferUploads will allocate a resource

Special flags that determine how the system will allocate a resource.

Enumerator
Pooled 

If a compatible resource has been recently released, reuse it.

Batched 

Batch together similar uploads, so they become a single low level operation per frame.

Staging 

Staging memory only (ie, don't send to GPU)

NonVolatile 

Allow the underlying API to manage memory so that it will survive device resets (ie, create a managed resource in D3D9)