Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 49 of file qsgbatchrenderer_p.h.

Constructor & Destructor Documentation

◆ AllocatorPage()

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

Member Function Documentation

◆ at() [1/2]

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

Definition at line 82 of file qsgbatchrenderer_p.h.

◆ at() [2/2]

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

Definition at line 77 of file qsgbatchrenderer_p.h.

Member Data Documentation

◆ allocated

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

Definition at line 64 of file qsgbatchrenderer_p.h.

◆ available

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

Definition at line 60 of file qsgbatchrenderer_p.h.

◆ blocks

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

◆ data

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

Definition at line 53 of file qsgbatchrenderer_p.h.


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