Lugdunum
0.1.0
include
lug
Graphics
Vulkan
Render
BufferPool
SubBuffer.inl
Go to the documentation of this file.
1
inline
SubBuffer::SubBuffer(
const
API::Buffer
* buffer, uint32_t offset, uint32_t size) : _buffer(buffer), _offset(offset), _size(size) {}
2
3
inline
const
API::Buffer
*
SubBuffer::getBuffer
()
const
{
4
return
_buffer
;
5
}
6
7
inline
uint32_t
SubBuffer::getOffset
()
const
{
8
return
_offset
;
9
}
10
11
inline
uint32_t
SubBuffer::getSize
()
const
{
12
return
_size
;
13
}
14
15
inline
size_t
SubBuffer::getHash
()
const
{
16
return
_hash
;
17
}
18
19
inline
void
SubBuffer::setHash
(
size_t
hash) {
20
_hash
= hash;
21
}
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::getOffset
uint32_t getOffset() const
Definition:
SubBuffer.inl:7
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::_hash
size_t _hash
Definition:
SubBuffer.hpp:56
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::_buffer
const API::Buffer * _buffer
Definition:
SubBuffer.hpp:52
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::setHash
void setHash(size_t hash)
Definition:
SubBuffer.inl:19
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::_offset
uint32_t _offset
Definition:
SubBuffer.hpp:53
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::getHash
size_t getHash() const
Definition:
SubBuffer.inl:15
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::getBuffer
const API::Buffer * getBuffer() const
Definition:
SubBuffer.inl:3
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::getSize
uint32_t getSize() const
Definition:
SubBuffer.inl:11
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer::_size
uint32_t _size
Definition:
SubBuffer.hpp:54
lug::Graphics::Vulkan::API::Buffer
Definition:
Buffer.hpp:21
Generated by
1.8.13