|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IHardwarePixelBuffer
| Method Summary | |
|---|---|
void |
blit(IHardwarePixelBufferSharedPtr src)
Convenience function that blits the entire source pixel buffer to this buffer. |
void |
blit(IHardwarePixelBufferSharedPtr src,
IBox srcBox,
IBox dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer. |
void |
blitFromMemory(IPixelBox src)
Convenience function that blits a pixelbox from memory to the entire buffer. |
void |
blitFromMemory(IPixelBox src,
IBox dstBox)
Copies a region from normal memory to a region of this pixelbuffer. |
void |
blitToMemory(IBox srcBox,
IPixelBox dst)
Copies a region of this pixelbuffer to normal memory. |
void |
blitToMemory(IPixelBox dst)
Convience function that blits this entire buffer to a pixelbox. |
IPixelBox |
getCurrentLock()
Get the current locked region. |
int |
getDepth()
|
PixelFormat |
getFormat()
|
int |
getHeight()
|
IRenderTexture |
getRenderTarget(int slice)
Get a render target for this PixelBuffer, or a slice of it. |
int |
getWidth()
|
IPixelBox |
lock(IBox lockBox,
HardwareBuffer.LockOptions options)
Lock the buffer for (potentially) reading / writing. |
VoidPointer |
lock(int offset,
int length,
HardwareBuffer.LockOptions options)
Lock the buffer for (potentially) reading / writing. |
void |
readData(int offset,
int length,
VoidPointer pDest)
Reads data from the buffer and places it in the memory pointed to by pDest. |
void |
writeData(int offset,
int length,
VoidPointer pSource,
boolean discardWholeBuffer)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer is big enough. |
| Methods inherited from interface org.ogre4j.IHardwareBuffer |
|---|
_updateFromShadow, copyData, getSizeInBytes, getUsage, hasShadowBuffer, isLocked, isSystemMemory, lock, suppressHardwareUpdate, unlock |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
IPixelBox lock(IBox lockBox,
HardwareBuffer.LockOptions options)
VoidPointer lock(int offset,
int length,
HardwareBuffer.LockOptions options)
IHardwareBuffer
lock in interface IHardwareBufferIPixelBox getCurrentLock()
void readData(int offset,
int length,
VoidPointer pDest)
IHardwareBuffer
readData in interface IHardwareBuffer
void writeData(int offset,
int length,
VoidPointer pSource,
boolean discardWholeBuffer)
IHardwareBuffer
writeData in interface IHardwareBuffer
void blit(IHardwarePixelBufferSharedPtr src,
IBox srcBox,
IBox dstBox)
void blit(IHardwarePixelBufferSharedPtr src)
void blitFromMemory(IPixelBox src,
IBox dstBox)
void blitFromMemory(IPixelBox src)
void blitToMemory(IBox srcBox,
IPixelBox dst)
void blitToMemory(IPixelBox dst)
IRenderTexture getRenderTarget(int slice)
int getWidth()
int getHeight()
int getDepth()
PixelFormat getFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||