org.ogre4j
Interface IMultiRenderTarget

All Superinterfaces:
IAllocatedObject<IRenderSysAllocPolicy>, INativeObject, IRenderSysAllocatedObject, IRenderTarget
All Known Implementing Classes:
MultiRenderTarget

public interface IMultiRenderTarget
extends INativeObject, IRenderTarget


Nested Class Summary
static interface IMultiRenderTarget.IBoundSufaceList
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IRenderTarget
IRenderTarget.IFrameStats, IRenderTarget.IImpl, IRenderTarget.IRenderTargetListenerList, IRenderTarget.IViewportList
 
Method Summary
 void bindSurface(int attachment, IRenderTexture target)
          Bind a surface to a certain attachment point.
 void copyContentsToMemory(IPixelBox dst, RenderTarget.FrameBuffer buffer)
          Error throwing implementation, it's not possible to write a to disk.
 IRenderTexture getBoundSurface(int index)
          Get a pointer to a bound surface
 IMultiRenderTarget.IBoundSufaceList getBoundSurfaceList()
           
 PixelFormat suggestPixelFormat()
          Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMemory.
 void unbindSurface(int attachment)
          Unbind attachment.
 
Methods inherited from interface org.ogre4j.IRenderTarget
_getImpl, _notifyCameraRemoved, addListener, addViewport, getAverageFPS, getBatchCount, getBestFPS, getBestFrameTime, getColourDepth, getCustomAttribute, getFSAA, getHeight, getLastFPS, getMetrics, getName, getNumViewports, getPriority, getStatistics, getStatistics, getTriangleCount, getViewport, getWidth, getWorstFPS, getWorstFrameTime, isActive, isAutoUpdated, isHardwareGammaEnabled, isPrimary, removeAllListeners, removeAllViewports, removeListener, removeViewport, requiresTextureFlipping, resetStatistics, setActive, setAutoUpdated, setPriority, swapBuffers, update, writeContentsToFile, writeContentsToTimestampedFile
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

bindSurface

void bindSurface(int attachment,
                 IRenderTexture target)
Bind a surface to a certain attachment point. It does not bind the surface and fails with an exception (ERR_INVALIDPARAMS) if:


unbindSurface

void unbindSurface(int attachment)
Unbind attachment.


copyContentsToMemory

void copyContentsToMemory(IPixelBox dst,
                          RenderTarget.FrameBuffer buffer)
Error throwing implementation, it's not possible to write a to disk.

Specified by:
copyContentsToMemory in interface IRenderTarget

suggestPixelFormat

PixelFormat suggestPixelFormat()
Description copied from interface: IRenderTarget
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMemory.

Specified by:
suggestPixelFormat in interface IRenderTarget

getBoundSurfaceList

IMultiRenderTarget.IBoundSufaceList getBoundSurfaceList()

getBoundSurface

IRenderTexture getBoundSurface(int index)
Get a pointer to a bound surface



Copyright © 2007 netAllied GmbH. All Rights Reserved.