|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUnifiedHighLevelGpuProgram
| Nested Class Summary | |
|---|---|
static interface |
IUnifiedHighLevelGpuProgram.ICmdDelegate
|
| Nested classes/interfaces inherited from interface org.ogre4j.IGpuProgram |
|---|
IGpuProgram.ICmdAdjacency, IGpuProgram.ICmdManualNamedConstsFile, IGpuProgram.ICmdMorph, IGpuProgram.ICmdPose, IGpuProgram.ICmdSkeletal, IGpuProgram.ICmdSyntax, IGpuProgram.ICmdType, 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. |
IHighLevelGpuProgramPtr |
_getDelegate()
|
void |
addDelegateProgram(java.lang.String name)
Adds a new delegate program to the list. |
void |
addListener(IResource.IListener lis)
Register a listener on this resource. |
void |
clearDelegatePrograms()
|
void |
createParameters(IGpuProgramParametersSharedPtr returnValue)
Creates a new parameters object compatible with this program definition. |
void |
escalateLoading()
Escalates the loading of a background loaded resource. |
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 |
Resource.LoadingState |
getLoadingState()
Returns the current loading state. |
boolean |
getPassSurfaceAndLightStates()
Returns whether a vertex program wants light and material states to be passed through fixed pipeline low level API rendering calls |
int |
getSize()
Retrieves info about the size of the resource. |
boolean |
hasCompileError()
Did this program encounter a compile error when loading? |
boolean |
hasDefaultParameters()
Returns true if default parameters have been set up. |
boolean |
isBackgroundLoaded()
Returns whether this has been earmarked for background loading. |
boolean |
isLoaded()
Returns true if the has been loaded, false otherwise. |
boolean |
isLoading()
Returns whether the resource is currently in the process of background loading. |
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 |
isReloadable()
Returns true if the is reloadable, false otherwise. |
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 |
load(boolean backgroundThread)
Loads the resource, if it is not already. |
void |
reload()
Reloads the resource, if it is already loaded. |
void |
removeListener(IResource.IListener lis)
Remove a listener on this resource. |
void |
resetCompileError()
Reset a compile error if it occurred, allowing the load to be retried |
void |
setBackgroundLoaded(boolean bl)
Tells the resource whether it is background loaded or not. |
void |
touch()
'Touches' the resource to indicate it has been used. |
void |
unload()
Unloads the resource; this is not permanent, the resource can be reloaded later if required. |
| Methods inherited from interface org.ogre4j.IHighLevelGpuProgram |
|---|
getConstantDefinitions, getNamedConstants |
| Methods inherited from interface org.ogre4j.IResource |
|---|
_dirtyState, _fireBackgroundLoadingComplete, _fireBackgroundPreparingComplete, _notifyOrigin, changeGroupOwnership, getCreator, getGroup, getHandle, getName, getOrigin, getStateCount, isManuallyLoaded, isPrepared, prepare |
| 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 addDelegateProgram(java.lang.String name)
void clearDelegatePrograms()
IHighLevelGpuProgramPtr _getDelegate()
java.lang.String getLanguage()
IGpuProgram
getLanguage in interface IGpuProgramvoid createParameters(IGpuProgramParametersSharedPtr returnValue)
createParameters in interface IGpuProgramcreateParameters in interface IHighLevelGpuProgramIGpuProgram _getBindingDelegate()
IGpuProgram
_getBindingDelegate in interface IGpuProgram_getBindingDelegate in interface IHighLevelGpuProgramboolean isSupported()
IGpuProgram
isSupported in interface IGpuProgramboolean isSkeletalAnimationIncluded()
IGpuProgram
isSkeletalAnimationIncluded in interface IGpuProgramboolean isMorphAnimationIncluded()
IGpuProgram
isMorphAnimationIncluded in interface IGpuProgramboolean isPoseAnimationIncluded()
IGpuProgram
isPoseAnimationIncluded in interface IGpuProgramboolean isVertexTextureFetchRequired()
IGpuProgram
isVertexTextureFetchRequired in interface IGpuProgramvoid getDefaultParameters(IGpuProgramParametersSharedPtr returnValue)
IGpuProgram
getDefaultParameters in interface IGpuProgramboolean hasDefaultParameters()
IGpuProgram
hasDefaultParameters in interface IGpuProgramboolean getPassSurfaceAndLightStates()
IGpuProgram
getPassSurfaceAndLightStates in interface IGpuProgramboolean hasCompileError()
IGpuProgram
hasCompileError in interface IGpuProgramvoid resetCompileError()
IGpuProgram
resetCompileError in interface IGpuProgramvoid load(boolean backgroundThread)
IResource
load in interface IResourcevoid reload()
IResource
reload in interface IResourceboolean isReloadable()
IResource
isReloadable in interface IResourceboolean isLoaded()
IResource
isLoaded in interface IResourceboolean isLoading()
IResource
isLoading in interface IResourceResource.LoadingState getLoadingState()
IResource
getLoadingState in interface IResourcevoid unload()
IResource
unload in interface IResourceint getSize()
IResource
getSize in interface IResourcevoid touch()
IResource
touch in interface IResourceboolean isBackgroundLoaded()
IResource
isBackgroundLoaded in interface IResourcevoid setBackgroundLoaded(boolean bl)
IResource
setBackgroundLoaded in interface IResourcevoid escalateLoading()
IResource
escalateLoading in interface IResourcevoid addListener(IResource.IListener lis)
IResource
addListener in interface IResourcevoid removeListener(IResource.IListener lis)
IResource
removeListener in interface IResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||