Topaz 5.0
Topaz Game Engine
|
Specifies creation flags for a buffer.
See tz::gpu::create_buffer for usage.
#include "resource.hpp"
Public Attributes | |
std::span< const std::byte > | data |
What initial data shall I have? | |
const char * | name = "<untitled buffer resource>" |
What name shall I have when you're looking at me in your graphics debugger of choice? If you don't specify one, I will be named "Resource 123B" (not necessarily 123) | |
buffer_flag | flags = static_cast<buffer_flag>(0) |
Any extra optional flags to specify? | |
std::span<const std::byte> tz::gpu::buffer_info::data |
What initial data shall I have?
const char* tz::gpu::buffer_info::name = "<untitled buffer resource>" |
What name shall I have when you're looking at me in your graphics debugger of choice? If you don't specify one, I will be named "Resource 123B" (not necessarily 123)
buffer_flag tz::gpu::buffer_info::flags = static_cast<buffer_flag>(0) |
Any extra optional flags to specify?