wisdom
Loading...
Searching...
No Matches
WisBufferDesc Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisBufferDesc {
uint64_t size_bytes;
WisBufferUsageFlags usage_flags;
WisMemoryType memory_type;
WisMemoryFlags memory_flags;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct BufferDesc {
std::uint64_t size_bytes;
wis::BufferUsageFlags usage_flags;
wis::MemoryType memory_type;
wis::MemoryFlags memory_flags;
};
}

Members


  • size_bytes describes size of the buffer in bytes.
  • usage_flags describes buffer usage flags. Describe how the buffer will be used.
  • memory_type specifies where the buffer will be allocated.
  • memory_flags describes the flags of the memory to allocate for the buffer.

Description


See Also


See also
Functions: wisResourceAllocatorCreateBuffer