|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGpuProgram
| Nested Class Summary | |
|---|---|
static interface |
IGpuProgram.ICmdAdjacency
|
static interface |
IGpuProgram.ICmdManualNamedConstsFile
|
static interface |
IGpuProgram.ICmdMorph
|
static interface |
IGpuProgram.ICmdPose
|
static interface |
IGpuProgram.ICmdSkeletal
|
static interface |
IGpuProgram.ICmdSyntax
|
static interface |
IGpuProgram.ICmdType
|
static interface |
IGpuProgram.ICmdVTF
|
| Nested classes/interfaces inherited from interface org.ogre4j.IResource |
|---|
IResource.IListener, IResource.IListenerList |
| Method Summary | |
|---|---|
IGpuProgram |
_getBindingDelegate()
Returns the which should be bound to the pipeline. |
void |
createParameters(IGpuProgramParametersSharedPtr returnValue)
Creates a new parameters object compatible with this program definition. |
IGpuNamedConstants |
getConstantDefinitions()
Get the full list of named constants. |
void |
getDefaultParameters(IGpuProgramParametersSharedPtr returnValue)
Get a reference to the default parameters which are to be used for all uses of this program. |
java.lang.String |
getLanguage()
Returns a string that specifies the language of the gpu programs as specified in a material script. ie: asm, cg, hlsl, glsl |
java.lang.String |
getManualNamedConstantsFile()
Gets the name of a file from which to load named parameters mapping for a program which would not be able to derive named parameters itself. |
IGpuNamedConstants |
getNamedConstants()
|
int |
getNumberOfPosesIncluded()
Returns the number of simultaneous poses the vertex program can blend, for use in pose animation. |
boolean |
getPassSurfaceAndLightStates()
Returns whether a vertex program wants light and material states to be passed through fixed pipeline low level API rendering calls |
java.lang.String |
getSource()
Gets the assembler source for this program. |
java.lang.String |
getSourceFile()
Gets the name of the file used as source for this program. |
java.lang.String |
getSyntaxCode()
Gets the syntax code for this program e.g. arbvp1, fp20, vs_1_1 etc |
GpuProgramType |
getType()
|
boolean |
hasCompileError()
Did this program encounter a compile error when loading? |
boolean |
hasDefaultParameters()
Returns true if default parameters have been set up. |
boolean |
isAdjacencyInfoRequired()
Returns whether this geometry program requires adjacency information from the input primitives. |
boolean |
isMorphAnimationIncluded()
Returns whether a vertex program includes the required instructions to perform morph animation. |
boolean |
isPoseAnimationIncluded()
Returns whether a vertex program includes the required instructions to perform pose animation. |
boolean |
isSkeletalAnimationIncluded()
Returns whether a vertex program includes the required instructions to perform skeletal animation. |
boolean |
isSupported()
Returns whether this program can be supported on the current renderer and hardware. |
boolean |
isVertexTextureFetchRequired()
Returns whether this vertex program requires support for vertex texture fetch from the hardware. |
void |
resetCompileError()
Reset a compile error if it occurred, allowing the load to be retried |
void |
setAdjacencyInfoRequired(boolean r)
Sets whether this geometry program requires adjacency information from the input primitives. |
void |
setManualNamedConstants(IGpuNamedConstants namedConstants)
Allows you to manually provide a set of named parameter mappings to a program which would not be able to derive named parameters itself. |
void |
setManualNamedConstantsFile(java.lang.String paramDefFile)
Specifies the name of a file from which to load named parameters mapping for a program which would not be able to derive named parameters itself. |
void |
setMorphAnimationIncluded(boolean included)
Sets whether a vertex program includes the required instructions to perform morph animation. |
void |
setPoseAnimationIncluded(int poseCount)
Sets whether a vertex program includes the required instructions to perform pose animation. |
void |
setSkeletalAnimationIncluded(boolean included)
Sets whether a vertex program includes the required instructions to perform skeletal animation. |
void |
setSource(java.lang.String source)
Sets the source assembly for this program from an in-memory string. |
void |
setSourceFile(java.lang.String filename)
Sets the filename of the source assembly for this program. |
void |
setSurfaceAndPassLightStates(boolean state)
Sets whether a vertex program requires light and material states to be passed to through fixed pipeline low level API rendering calls. |
void |
setSyntaxCode(java.lang.String syntax)
Sets the syntax code for this program e.g. arbvp1, fp20, vs_1_1 etc |
void |
setType(GpuProgramType t)
|
void |
setVertexTextureFetchRequired(boolean r)
Sets whether this vertex program requires support for vertex texture fetch from the hardware. |
| Methods inherited from interface org.ogre4j.IResource |
|---|
_dirtyState, _fireBackgroundLoadingComplete, _fireBackgroundPreparingComplete, _notifyOrigin, addListener, changeGroupOwnership, escalateLoading, getCreator, getGroup, getHandle, getLoadingState, getName, getOrigin, getSize, getStateCount, isBackgroundLoaded, isLoaded, isLoading, isManuallyLoaded, isPrepared, isReloadable, load, prepare, reload, removeListener, setBackgroundLoaded, touch, unload |
| Methods inherited from interface org.ogre4j.IStringInterface |
|---|
copyParametersTo, getParamDictionary_const, getParamDictionary, getParameter, getParameters, setParameter, setParameterList |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void setSourceFile(java.lang.String filename)
void setSource(java.lang.String source)
java.lang.String getSyntaxCode()
void setSyntaxCode(java.lang.String syntax)
java.lang.String getSourceFile()
java.lang.String getSource()
void setType(GpuProgramType t)
GpuProgramType getType()
IGpuProgram _getBindingDelegate()
boolean isSupported()
void createParameters(IGpuProgramParametersSharedPtr returnValue)
void setSkeletalAnimationIncluded(boolean included)
boolean isSkeletalAnimationIncluded()
void setMorphAnimationIncluded(boolean included)
void setPoseAnimationIncluded(int poseCount)
boolean isMorphAnimationIncluded()
boolean isPoseAnimationIncluded()
int getNumberOfPosesIncluded()
void setVertexTextureFetchRequired(boolean r)
boolean isVertexTextureFetchRequired()
void setAdjacencyInfoRequired(boolean r)
boolean isAdjacencyInfoRequired()
void getDefaultParameters(IGpuProgramParametersSharedPtr returnValue)
boolean hasDefaultParameters()
void setSurfaceAndPassLightStates(boolean state)
boolean getPassSurfaceAndLightStates()
java.lang.String getLanguage()
boolean hasCompileError()
void resetCompileError()
void setManualNamedConstants(IGpuNamedConstants namedConstants)
IGpuNamedConstants getNamedConstants()
void setManualNamedConstantsFile(java.lang.String paramDefFile)
java.lang.String getManualNamedConstantsFile()
IGpuNamedConstants getConstantDefinitions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||