Project

General

Profile

SO3Engine
Hikari::Impl::RenderBuffer Class Reference

#include <RenderBuffer.h>

Public Member Functions

 RenderBuffer (int width, int height)
 
 ~RenderBuffer ()
 
unsigned char * getBuffer ()
 
void reserve (int width, int height)
 
void copyFrom (unsigned char *srcBuffer, int srcRowSpan)
 
void copyArea (RECT srcRect, unsigned char *srcBuffer, int srcRowSpan)
 
void blitBGR (unsigned char *destBuffer, int destRowSpan, int destDepth)
 

Public Attributes

int width
 
int height
 
int rowSpan
 

Protected Attributes

unsigned char * buffer
 

Detailed Description

Definition at line 44 of file RenderBuffer.h.

Constructor & Destructor Documentation

◆ RenderBuffer()

RenderBuffer::RenderBuffer ( int  width,
int  height 
)

Definition at line 39 of file RenderBuffer.cpp.

◆ ~RenderBuffer()

RenderBuffer::~RenderBuffer ( )

Definition at line 44 of file RenderBuffer.cpp.

Member Function Documentation

◆ blitBGR()

void RenderBuffer::blitBGR ( unsigned char *  destBuffer,
int  destRowSpan,
int  destDepth 
)

Definition at line 101 of file RenderBuffer.cpp.

◆ copyArea()

void RenderBuffer::copyArea ( RECT  srcRect,
unsigned char *  srcBuffer,
int  srcRowSpan 
)

Definition at line 82 of file RenderBuffer.cpp.

◆ copyFrom()

void RenderBuffer::copyFrom ( unsigned char *  srcBuffer,
int  srcRowSpan 
)

Definition at line 73 of file RenderBuffer.cpp.

◆ getBuffer()

unsigned char * Hikari::Impl::RenderBuffer::getBuffer ( )
inline

Definition at line 55 of file RenderBuffer.h.

◆ reserve()

void RenderBuffer::reserve ( int  width,
int  height 
)

Definition at line 53 of file RenderBuffer.cpp.

Member Data Documentation

◆ buffer

unsigned char* Hikari::Impl::RenderBuffer::buffer
protected

Definition at line 47 of file RenderBuffer.h.

◆ height

int Hikari::Impl::RenderBuffer::height

Definition at line 50 of file RenderBuffer.h.

◆ rowSpan

int Hikari::Impl::RenderBuffer::rowSpan

Definition at line 50 of file RenderBuffer.h.

◆ width

int Hikari::Impl::RenderBuffer::width

Definition at line 50 of file RenderBuffer.h.


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