ImageComponentUsages Enumeration |
Namespace: NeoAxis
[FlagsAttribute] public enum Usages
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 |
Copyright 2024 NeoAxis Group. All rights reserved.