org.ogre4j
Interface IMaterialSerializer

All Superinterfaces:
IAllocatedObject<IGeneralAllocPolicy>, IGeneralAllocatedObject, INativeObject
All Known Implementing Classes:
MaterialSerializer

public interface IMaterialSerializer
extends INativeObject, IGeneralAllocatedObject


Nested Class Summary
static interface IMaterialSerializer.IAttribParserList
           
static interface IMaterialSerializer.IEffectMap
           
static interface IMaterialSerializer.IGpuProgramDefinitionContainer
           
 
Method Summary
 void clearQueue()
          Clears the internal buffer
 void exportMaterial(IMaterialPtr pMat, java.lang.String filename, boolean exportDefaults, boolean includeProgDef, java.lang.String programFilename)
          Exports a single in-memory to the named material script file.
 void exportQueued(java.lang.String filename, boolean includeProgDef, java.lang.String programFilename)
          Exports queued material(s) to a named material script file.
 java.lang.String getQueuedAsString()
          Returns a string representing the parsed material(s)
 void parseScript(IDataStreamPtr stream, java.lang.String groupName)
          Parses a script file passed as a stream.
 void queueForExport(IMaterialPtr pMat, boolean clearQueued, boolean exportDefaults)
          Queue an in-memory to the internal buffer for export.
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

queueForExport

void queueForExport(IMaterialPtr pMat,
                    boolean clearQueued,
                    boolean exportDefaults)
Queue an in-memory to the internal buffer for export.


exportQueued

void exportQueued(java.lang.String filename,
                  boolean includeProgDef,
                  java.lang.String programFilename)
Exports queued material(s) to a named material script file.


exportMaterial

void exportMaterial(IMaterialPtr pMat,
                    java.lang.String filename,
                    boolean exportDefaults,
                    boolean includeProgDef,
                    java.lang.String programFilename)
Exports a single in-memory to the named material script file.


getQueuedAsString

java.lang.String getQueuedAsString()
Returns a string representing the parsed material(s)


clearQueue

void clearQueue()
Clears the internal buffer


parseScript

void parseScript(IDataStreamPtr stream,
                 java.lang.String groupName)
Parses a script file passed as a stream.



Copyright © 2007 netAllied GmbH. All Rights Reserved.