Skip to content

KDGpu::Buffer

Module: Public API

Buffer.

#include <buffer.h>

Public Functions

Name
~Buffer()
Buffer()
Buffer(Buffer && other)
Buffer & operator=(Buffer && other)
Buffer(const Buffer & ) =delete
Buffer & operator=(const Buffer & ) =delete
const Handle< Buffer_t > & handle() const
bool isValid() const
operator Handle< Buffer_t >() const
void * map()
void unmap()
void invalidate()
void flush()
MemoryHandle externalMemoryHandle() const

Friends

Name
class Device
class Queue
KDGPU_EXPORT bool operator==(const Buffer & a, const Buffer & b)

Public Functions Documentation

function ~Buffer

1
~Buffer()

function Buffer

1
Buffer()

function Buffer

1
2
3
Buffer(
    Buffer && other
)

function operator=

1
2
3
Buffer & operator=(
    Buffer && other
)

function Buffer

1
2
3
Buffer(
    const Buffer & 
) =delete

function operator=

1
2
3
Buffer & operator=(
    const Buffer & 
) =delete

function handle

1
inline const Handle< Buffer_t > & handle() const

function isValid

1
inline bool isValid() const

function operator Handle< Buffer_t >

1
inline operator Handle< Buffer_t >() const

function map

1
void * map()

function unmap

1
void unmap()

function invalidate

1
void invalidate()

function flush

1
void flush()

function externalMemoryHandle

1
MemoryHandle externalMemoryHandle() const

Friends

friend Device

1
2
3
friend class Device(
    Device 
);

friend Queue

1
2
3
friend class Queue(
    Queue 
);

friend operator==

1
2
3
4
5
friend KDGPU_EXPORT bool operator==(
    const Buffer & a,

    const Buffer & b
);

Updated on 2024-11-22 at 00:02:02 +0000