TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::d3d12::Buffer Struct Reference

A buffer in one of D3D12MA's heaps. An upload-heap buffer stays mapped (mapped). More...

#include <gui_core/graphics/d3d12/d3d12_device.h>

Public Member Functions

ID3D12Resource * Resource () const
 operator bool () const

Public Attributes

ComPtr< D3D12MA::Allocation > allocation
void * mapped = nullptr
D3D12_GPU_VIRTUAL_ADDRESS address = 0
UINT64 size = 0

Detailed Description

A buffer in one of D3D12MA's heaps. An upload-heap buffer stays mapped (mapped).

Member Function Documentation

◆ Resource()

ID3D12Resource * tachyon::d3d12::Buffer::Resource ( ) const
inline

◆ operator bool()

tachyon::d3d12::Buffer::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ allocation

ComPtr<D3D12MA::Allocation> tachyon::d3d12::Buffer::allocation

◆ mapped

void* tachyon::d3d12::Buffer::mapped = nullptr

◆ address

D3D12_GPU_VIRTUAL_ADDRESS tachyon::d3d12::Buffer::address = 0

◆ size

UINT64 tachyon::d3d12::Buffer::size = 0

The documentation for this struct was generated from the following file: