Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::LockableBuffer Struct Reference

#include <BufferLocks.h>

+ Inheritance diagram for Divide::LockableBuffer:

Public Member Functions

bool lockRange (BufferRange range, SyncObjectHandle &sync) const
 
bool waitForLockedRange (BufferRange range) const
 
- Public Member Functions inherited from Divide::GUIDWrapper
 GUIDWrapper () noexcept
 
 GUIDWrapper (const GUIDWrapper &old) noexcept
 
 GUIDWrapper (GUIDWrapper &&old) noexcept
 
virtual ~GUIDWrapper ()=default
 
FORCE_INLINE I64 getGUID () const noexcept
 
GUIDWrapperoperator= (const GUIDWrapper &old)=delete
 
GUIDWrapperoperator= (GUIDWrapper &&other)=delete
 

Public Attributes

LockManager_uptr _lockManager {}
 

Protected Attributes

bool _isLockable {false}
 
- Protected Attributes inherited from Divide::GUIDWrapper
const I64 _guid
 

Additional Inherited Members

- Static Public Member Functions inherited from Divide::GUIDWrapper
static I64 generateGUID () noexcept
 

Detailed Description

Definition at line 44 of file BufferLocks.h.

Member Function Documentation

◆ lockRange()

bool Divide::LockableBuffer::lockRange ( BufferRange  range,
SyncObjectHandle sync 
) const

Definition at line 26 of file BufferLocks.cpp.

◆ waitForLockedRange()

bool Divide::LockableBuffer::waitForLockedRange ( BufferRange  range) const

Definition at line 38 of file BufferLocks.cpp.

Member Data Documentation

◆ _isLockable

bool Divide::LockableBuffer::_isLockable {false}
protected

Definition at line 52 of file BufferLocks.h.

◆ _lockManager

LockManager_uptr Divide::LockableBuffer::_lockManager {}

Definition at line 46 of file BufferLocks.h.


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