template<class TTarget>
TBuffer class
Public types
- using InfoType = BufferInfo
Public static variables
- static const bool IsMemoryPoolRequired
Public static functions
-
static auto GetBufferAlignment(TDevice<TTarget>*,
const InfoType&) -> size_
t
Constructors, destructors, conversion operators
- TBuffer()
Public functions
-
void Initialize(TDevice<TTarget>*,
const InfoType&,
TMemoryPool<TTarget>*,
ptrdiff_
t, size_ t) - void Finalize(TDevice<TTarget>*)
- auto Map() const -> void*
- void Unmap() const
-
void FlushMappedRange(ptrdiff_
t, size_ t) const -
void InvalidateMappedRange(ptrdiff_
t, size_ t) const - void GetGpuAddress(GpuAddress*) const
- void SetUserPtr(void*)
- auto GetUserPtr() -> void*
- auto GetUserPtr() const -> const void*