Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSGBatchRenderer::AllocatorPage< Type, PageSize > Class Template Reference

#include <qsgbatchrenderer_p.h>

Collaboration diagram for QSGBatchRenderer::AllocatorPage< Type, PageSize >:

Public Member Functions

 AllocatorPage ()
const Typeat (uint index) const
Typeat (uint index)

Public Attributes

char data [sizeof(Type) *PageSize]
int blocks [PageSize]
int available
QBitArray allocated

Detailed Description

template<typename Type, int PageSize>
class QSGBatchRenderer::AllocatorPage< Type, PageSize >

Definition at line 50 of file qsgbatchrenderer_p.h.

Constructor & Destructor Documentation

◆ AllocatorPage()

template<typename Type, int PageSize>
QSGBatchRenderer::AllocatorPage< Type, PageSize >::AllocatorPage ( )
inline

Definition at line 67 of file qsgbatchrenderer_p.h.

References AllocatorPage(), available, blocks, and data.

Referenced by AllocatorPage().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ at() [1/2]

template<typename Type, int PageSize>
Type * QSGBatchRenderer::AllocatorPage< Type, PageSize >::at ( uint index)
inline

Definition at line 83 of file qsgbatchrenderer_p.h.

References data.

◆ at() [2/2]

template<typename Type, int PageSize>
const Type * QSGBatchRenderer::AllocatorPage< Type, PageSize >::at ( uint index) const
inline

Definition at line 78 of file qsgbatchrenderer_p.h.

References data.

Member Data Documentation

◆ allocated

template<typename Type, int PageSize>
QBitArray QSGBatchRenderer::AllocatorPage< Type, PageSize >::allocated

Definition at line 65 of file qsgbatchrenderer_p.h.

◆ available

template<typename Type, int PageSize>
int QSGBatchRenderer::AllocatorPage< Type, PageSize >::available

Definition at line 61 of file qsgbatchrenderer_p.h.

Referenced by AllocatorPage().

◆ blocks

template<typename Type, int PageSize>
int QSGBatchRenderer::AllocatorPage< Type, PageSize >::blocks[PageSize]

Definition at line 58 of file qsgbatchrenderer_p.h.

Referenced by AllocatorPage().

◆ data

template<typename Type, int PageSize>
char QSGBatchRenderer::AllocatorPage< Type, PageSize >::data[sizeof(Type) *PageSize]

Definition at line 54 of file qsgbatchrenderer_p.h.

Referenced by AllocatorPage(), at(), and at().


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