Module gfx::memory
[−]
Memory stuff
Structs
Access |
Memory access |
Bind |
Bind flags |
Enums
Usage |
A hint as to how this memory will be used. |
Constants
DEPTH_STENCIL |
Can serve as a depth/stencil target. |
READ |
Read access |
RENDER_TARGET |
Can be rendered into. |
RW |
Full access |
SHADER_RESOURCE |
Can be bound to the shader for reading. |
UNORDERED_ACCESS |
Can be bound to the shader for writing. |
WRITE |
Write access |
Traits
Pod |
A trait for plain-old-data types. |
Functions
cast_slice |
Cast a slice from one POD type to another. |