GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
BufferRef Struct Reference

#include <Buffer.hh>

Public Member Functions

unsigned int * operator[] (int y)
 BufferRef ()
unsigned int * operator[] (int y)

Static Public Member Functions

static BufferRef SubBuffer (BufferRef old, int x, int y, int width, int height)
static BufferRef NewBufferWithoutAlloc (unsigned int *buf, unsigned int width, unsigned int height, unsigned int ydelta)
static BufferRef NewBuffer (int width, int height)
static void FreeBuffer (BufferRef &ref)
static void CopyBuffer (BufferRef source, BufferRef target, int x, int y, int rx, int ry, int rex, int rey)
static BufferRef NewBuffer (int width, int height)
static void FreeBuffer (BufferRef ref)

Public Attributes

unsigned int * buffer
unsigned int width
unsigned int height
unsigned int ydelta

Constructor & Destructor Documentation

◆ BufferRef()

BufferRef::BufferRef ( )
inline
Here is the caller graph for this function:

Member Function Documentation

◆ CopyBuffer()

void BufferRef::CopyBuffer ( BufferRef source,
BufferRef target,
int x,
int y,
int rx,
int ry,
int rex,
int rey )
static
Here is the caller graph for this function:

◆ FreeBuffer() [1/2]

void BufferRef::FreeBuffer ( BufferRef & ref)
static
Here is the caller graph for this function:

◆ FreeBuffer() [2/2]

void BufferRef::FreeBuffer ( BufferRef ref)
static

◆ NewBuffer() [1/2]

BufferRef BufferRef::NewBuffer ( int width,
int height )
static
Here is the caller graph for this function:

◆ NewBuffer() [2/2]

BufferRef BufferRef::NewBuffer ( int width,
int height )
static

◆ NewBufferWithoutAlloc()

BufferRef BufferRef::NewBufferWithoutAlloc ( unsigned int * buf,
unsigned int width,
unsigned int height,
unsigned int ydelta )
static
Here is the caller graph for this function:

◆ operator[]() [1/2]

unsigned int * BufferRef::operator[] ( int y)
inline

◆ operator[]() [2/2]

unsigned int * BufferRef::operator[] ( int y)
inline

◆ SubBuffer()

BufferRef BufferRef::SubBuffer ( BufferRef old,
int x,
int y,
int width,
int height )
static

Member Data Documentation

◆ buffer

unsigned int * BufferRef::buffer

◆ height

unsigned int BufferRef::height

◆ width

unsigned int BufferRef::width

◆ ydelta

unsigned int BufferRef::ydelta

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