ImageComponentUsages Enumeration |
Enum describing buffer usage; not mutually exclusive.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax[FlagsAttribute]
public enum Usages
Members| Member name | Value | Description |
|---|
| Dynamic | 1 |
Indicates the application would like to modify this buffer with the CPU
fairly often.
Buffers created with this flag will typically end up in AGP memory rather
than video memory.
|
| WriteOnly | 2 |
Indicates the application will never read the contents of the buffer back,
it will only ever write data. Locking a buffer with this flag will ALWAYS
return a pointer to new, blank memory rather than the memory associated
with the contents of the buffer; this avoids DMA stalls because you can
write to a new memory area while the previous one is being used.
|
| AutoMipmaps | 4 |
Mipmaps will be automatically generated for this texture.
|
| RenderTarget | 8 |
This texture will be a render target, ie. used as a target for render to texture
setting this flag will ignore all other texture usages except AutoMipmap.
|
| BlitDestination | 16 |
Texture can be used as the destination of a blit operation.
|
| ReadBack | 32 |
Texture data can be read back.
|
| ComputeWrite | 64 | |
See Also