 |
OGRE
1.12.5
Object-Oriented Graphics Rendering Engine
|
void setDesiredBitDepths(ushort integerBits, ushort floatBits)
Sets desired bit depth for integer and float pixel format.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer)
Override so we can attach the depth buffer to the FBO.
static DistanceLodBoxStrategy * getSingletonPtr(void)
Get the singleton instance.
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreGLES2HardwarePixelBuffer.h:77
virtual ~ExternalTextureSource()
Virtual destructor.
Definition: OgreExternalTextureSource.h:80
TerrainQuadTreeNode * getQuadTree()
Get the top level of the quad tree which is used to divide up the terrain.
Definition: OgreTerrain.h:1521
@ SM_Source2Modulate
Definition: OgreShaderExLayeredBlending.h:87
AnimationControllerFunction(Real sequenceTime, Real timeOffset=0.0f)
RenderTexture implementation for D3D11.
Definition: OgreD3D11Texture.h:139
Viewport * viewport
Definition: OgreSceneManager.h:965
void notifyOnDeviceDestroy(D3D9Device *device)
void setUseMinPixelSize(bool enable)
Sets whether to use min display size calculations.
Definition: OgreCamera.h:635
static void bindFixedAttributes(GLuint program)
void _setLineWidth(float width)
Set the line width when drawing as RenderOperation::OT_LINE_LIST/ RenderOperation::OT_LINE_STRIP.
TRect & operator=(TRect const &o)
Definition: OgreCommon.h:608
std::pair< Vector3, Vector3 > Edge
Definition: OgrePolygon.h:59
unsigned int getTextureAnisotropy() const
Get this layer texture anisotropy level.
Definition: OgreTextureUnitState.h:722
iterator begin()
Definition: OgreSmallVector.h:160
CSGSphereSource(const Real r, const Vector3 ¢er)
Constructor.
@ ACT_AMBIENT_LIGHT_COLOUR
The ambient light colour set in the scene.
Definition: OgreGpuProgramParams.h:816
ResourcePtr getResourceByName(const String &name, const String &group, bool preferHighLevelPrograms)
Overrides the standard ResourceManager getResourceByName method.
virtual void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniforms using data from GpuProgramParameters.
static bool isUnsignedInt(GpuConstantType c)
Definition: OgreGpuProgramParams.h:175
void preViewportUpdate(const RenderTargetViewportEvent &evt)
Called just before a Viewport on a RenderTarget is to be updated.
bool affectsVisibleZone(void)
Definition: OgrePCZLight.h:84
void unnameSubMesh(const String &name)
Removes a name from a SubMesh.
void setOutBuffers(const TargetBuffers &buffers)
Definition: OgreShaderExGBuffer.h:86
virtual void unregisterThread()=0
Unregister an additional thread which may make calls to rendersystem-related objects.
void destroyQuery(SceneQuery *query)
Destroys a scene query of any type.
const AxisAlignedBox & getBounds(void) const
Get the axis-aligned bounding box for this mesh.
SkeletonInstance * getSkeleton(void) const
Definition: OgreInstancedEntity.h:215
void _validateStereo()
Validate the type of stereo that is enabled for this window.
void setRotationRangeStart(const Radian &angle)
Sets the minimum rotation angle of particles to be emitted.
@ IS_UNKNOWN
Not determined.
Definition: OgrePass.h:57
GLHardwarePixelBufferCommon * buffer
Definition: OgreGLRenderTexture.h:45
virtual void write(const Node *node, size_t count=1)
virtual ~RenderState()
Class destructor.
@ MSE_PRE_WRITE
Definition: OgreMaterialSerializer.h:53
@ ID_SCROLL
Definition: OgreScriptCompiler.h:760
const LightList & _getLightsAffectingFrustum(void) const
Get the list of lights which could be affecting the frustum.
LodStrategy * removeStrategy(const String &name)
Remove a strategy from the manager with a specified name.
virtual ~AnimableValue()
Definition: OgreAnimable.h:138
const GpuProgramParametersSharedPtr & getGpuProgramParameters(GpuProgramType type) const
Gets the Gpu program parameters used by this pass.
virtual ~Camera()
Standard destructor.
The details of a topological region which is the highest level of partitioning for this class.
Definition: OgreStaticGeometry.h:394
Vertex * dst
Definition: OgreLodData.h:88
size_t physicalIndex
Physical buffer index.
Definition: OgreGpuProgramParams.h:367
Vector3 getRealUp(void) const
Gets the real world up vector of the camera, including any rotation inherited from a node attachment.
HLSLProgramWriter()
Class constructor.
void addPoseReference(ushort poseIndex, Real influence)
Add a new pose reference.
static GLint getTextureAddressingMode(TextureAddressingMode tam)
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
Real getLength(void) const
Gets the total length of the animation.
void destroySubRenderState(SubRenderState *subRenderState)
Destroy an instance of sub render state.
@ OT_TRIANGLE_LIST
A list of triangles, 3 vertices per triangle.
Definition: OgreRenderOperation.h:56
void sceneManagerDestroyed(SceneManager *source)
Overridden from SceneManager::Listener.
virtual void copyFrom(const SubRenderState &rhs)=0
Copy details from a given sub render state to this one.
CompositionTechnique * createTechnique()
Create a new technique, and return a pointer to it.
virtual void removeResponseHandler(uint16 channel, ResponseHandler *rh)
Remove a Response handler.
OrientationMode getOrientationMode() const
Get the orientation mode of the frustum.
void setCompositorLogicName(const String &compositorLogicName)
Set the name of the compositor logic assigned to this technique.
Definition: OgreCompositionTechnique.h:169
D3D9Device * getActiveDevice()
Definition: OgreD3D9DeviceManager.h:46
@ SM_DISTANCE
Sort by distance from the camera.
Definition: OgreCommon.h:315
std::vector< TargetLayout > TargetBuffers
Definition: OgreShaderExGBuffer.h:62
PixelFormat getDesiredFormat(void) const
Returns the desired pixel format for the texture surface.
Definition: OgreTexture.h:334
virtual void getRenderOperation(RenderOperation &op)=0
Gets the render operation required to send this object to the frame buffer.
static PropertyType getTypeForValue(const Quaternion &val)
Definition: OgreProperty.h:173
virtual void setDuration(Real min, Real max)
Sets the range of random duration for this emitter.
virtual bool shouldInject(LodWorkQueueRequest *request)=0
shared_ptr< LodOutputProvider > LodOutputProviderPtr
Definition: OgreLodPrerequisites.h:68
virtual Real getValue(const Vector3 &position) const =0
Gets the density value at a specific position.
virtual KeyFrame * _clone(AnimationTrack *newParent) const OGRE_NODISCARD
Clone a keyframe (internal use only)
#define OGRE_HASH_BITS
Definition: OgreIdString.h:38
@ BF_OVERLAY
Definition: OgreHlmsPbsMaterial.h:58
ColourFaderAffector2(ParticleSystem *psys)
Default constructor.
const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreBspLevel.h:134
bool hasFreeFields() const
Returns true if not all fields used.
Definition: OgreShaderFunctionAtom.h:107
@ ACT_INVERSE_TRANSPOSE_WORLD_MATRIX
The current world matrix, inverted & transposed.
Definition: OgreGpuProgramParams.h:693
virtual ~Listener()
Definition: OgreRenderSystem.h:1026
void _compile()
Compile this Composition chain into a series of RenderTarget operations.
void retryTextureLoad()
Tells the unit to retry loading the texture if it had failed to load.
Definition: OgreTextureUnitState.h:1009
virtual void setSuppressRenderStateChanges(bool suppress)
Sets whether render state changes are suppressed when invoking this queue.
Definition: OgreRenderQueueInvocation.h:140
MeshPtr mesh
Definition: OgreLodConfig.h:129
unsigned char repeat
Definition: OgreInput.h:55
bool getLightingEnabled(void) const
Returns whether or not dynamic lighting is enabled.
@ LL_BOREME
Definition: OgreLog.h:54
void addChild(Node *child)
Adds a (precreated) child scene node to this node.
bool hasEdgeList(void)
Returns whether the object has a valid edge list.
Definition: OgreMovableObject.h:507
bool fog
Definition: OgreQuake3Shader.h:117
bool _supportsSkeletalAnimation() const
Returns true if this technique supports skeletal animation.
Definition: OgreInstanceBatch.h:195
@ PF_A1R5G5B5
16-bit pixel format, 5 bits for blue, green, red and 1 for alpha.
Definition: OgrePixelFormat.h:71
GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
void setSkyPlaneEnabled(bool enable)
Enables / disables a 'sky plane'.
Definition: OgreSceneManager.h:1963
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
Definition: OgreD3D11RenderWindow.h:61
PageContentFactory()
Definition: OgrePageContentFactory.h:53
void setPosition(Real x, Real y, Real z)
Sets the position of the light.
Concrete IteratorWrapper for const access to the underlying container.
Definition: OgreIteratorWrapper.h:217
void setPrepareAllMeshesForShadowVolumes(bool enable)
Tells the mesh manager that all future meshes should prepare themselves for shadow volumes on loading...
~Light()
Standard destructor.
void _releaseManualHardwareResources()
Notifies the movable object that hardware resources were lost.
Definition: OgreManualObject.h:113
void setInput(size_t id, const String &input=BLANKSTRING, size_t mrtIndex=0)
Set an input local texture.
@ SPC_LIGHTPOSITIONVIEW_SPACE6
Definition: OgreShaderParameter.h:236
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
virtual void unprepare()=0
Unprepare data - may be called in the background.
Wrapper class which indicates a given angle value is in Degrees.
Definition: OgreMath.h:110
void setTexture(const TexturePtr &texPtr)
Sets this texture layer to use a single texture, given the pointer to the texture to use on this laye...
virtual void updateVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called when edge cost gets invalid.
void setOrthoWindowWidth(Real w)
Sets the orthographic window width, for use with orthographic rendering only.
const String & getFSAAHint() const
Get the multisample AA hint if this texture is a rendertarget.
Definition: OgreTexture.h:223
void setAlignment(Alignment a)
Definition: OgreTextAreaOverlayElement.h:118
@ ID_DEFAULT_PARAMS
Definition: OgreScriptCompiler.h:602
virtual Real getDefaultWidth(void) const
See setDefaultDimensions - this gets 1 component individually.
LodOutputProviderMesh(MeshPtr mesh)
Definition: OgreLodOutputProviderMesh.h:45
size_t maxLevels
The maximum amount of levels.
Definition: OgreVolumeChunkHandler.h:65
size_t generateBuffers(RenderOperation &operation)
Generates the vertex- and indexbuffer of this mesh on the given RenderOperation.
String mSyntax
Definition: OgreScriptCompiler.h:515
Factory class for RotationAffector.
Definition: OgreRotationAffectorFactory.h:39
virtual void bindVertexElementToGpu(const VertexElement &elem, const HardwareVertexBufferSharedPtr &vertexBuffer, const size_t vertexStart)=0
@ SPC_DEPTH_PROJECTIVE_SPACE
Depth in projective space.
Definition: OgreShaderParameter.h:288
SamplerStatus status
Definition: OgreHlmsPbsMaterial.h:125
void _notifyRenderedFaces(unsigned int numfaces)
Internal method to notify camera of the visible faces in the last render.
static bool readLayerInstanceList(StreamSerialiser &ser, size_t numSamplers, Terrain::LayerInstanceList &targetlst)
Utility method to read a layer instance list from a stream.
FogMode getFogMode(void) const
Returns the fog mode for the scene.
void setScaling(Real s)
Definition: OgreNode.h:113
bool _fireFrameStarted(FrameEvent &evt)
Method for raising frame started events.
Quaternion convertWorldToLocalOrientation(const Quaternion &worldOrientation)
Gets the local orientation, relative to this node, of the given world-space orientation.
@ ID_WRAP
Definition: OgreScriptCompiler.h:714
virtual DecodeResult decode(const DataStreamPtr &input) const =0
Codes the data from the input chunk into the output chunk.
const VertexElement * findElementBySemantic(VertexElementSemantic sem, unsigned short index=0) const
Finds a VertexElement with the given semantic, and index if there is more than one element with the s...
RenderQueueInvocationSequence * _getRenderQueueInvocationSequence(void)
Get the invocation sequence - will return null if using standard.
const DriverVersion & getDriverVersion(void) const
Returns the driver version.
Definition: OgreRenderSystem.h:852
virtual void setSceneManager(const String &smName)
Change the SceneManager.
virtual void _render(const RenderOperation &op)
Render something to the active viewport.
virtual void notifyMaterialRender(uint32 pass_id, MaterialPtr &mat)
Notification before a render target operation involving a material (like rendering a quad),...
virtual void checkBoxToggled(CheckBox *box)
Definition: OgreTrays.h:95
void destroyAllRibbonTrails(void)
Removes & destroys all RibbonTrails from the SceneManager.
virtual const String & getFullDescription(void) const
Returns a string with the full description of this error.
virtual int32 getPageRangeMaxX() const
get the index range of all Pages (values outside this will be ignored)
static void setIgnoreHidden(bool ignore)
Set whether filesystem enumeration will include hidden files or not.
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
std::vector< Element > ElementList
Definition: OgreBillboardChain.h:106
AnyNumeric & operator*=(const AnyNumeric &rhs)
Definition: OgreAny.h:361
static TextureAtlasSamplerFactory * getSingletonPtr(void)
_OgreExport const char *const RGN_DEFAULT
Default resource group name.
void setShadowDirLightExtrusionDistance(Real dist)
Sets the shadow extrusion distance to be used for dir lights.
virtual PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)=0
std::set< T, P >::const_iterator const_iterator
Definition: OgrePrerequisites.h:361
SubMeshIterator getSubMeshIterator(void)
Gets an iterator over the available submeshes.
Definition: OgreMesh.h:293
size_t getNumPasses()
Get the number of passes.
void setFixedYaw(bool fixed)
fix the yaw axis to be Vector3::UNIT_Y of the parent node (tabletop mode)
Definition: OgreCameraMan.h:150
NeighbourIndex
Neighbour index enumeration - indexed anticlockwise from East like angles.
Definition: OgreTerrain.h:497
Comparator for sorting lights relative to a point.
Definition: OgreSceneManager.h:185
void _setWorldMatrix(const Matrix4 &m)
Definition: OgreRenderSystem.h:255
void FromAngleAxis(const Radian &rfAngle, const Vector3 &rkAxis)
Setups the quaternion using the supplied vector, and "roll" around that vector by the specified radia...
Vector4f getSpotlightParams(size_t index) const
Definition: OgreD3D11RenderWindow.h:116
Command object for setting matrix packing in column-major order.
Definition: OgreD3D11HLSLProgram.h:69
const_reference front() const
Definition: OgreCommon.h:479
void setMipmapBias(float bias)
Sets the bias value applied to the mipmap calculation.
Definition: OgreTextureUnitState.h:164
#define OGRE_LOCK_MUTEX(name)
Definition: OgreThreadDefines.h:59
GpuProgramParametersSharedPtr getShadowCasterFragmentProgramParameters(void) const
virtual void destroyInstance(PagedWorldSection *)=0
@ ACT_CAMERA_POSITION
The current camera's position in world space.
Definition: OgreGpuProgramParams.h:962
virtual bool getInterpolatedKeyFrame(const AnimationTrack *t, const TimeIndex &timeIndex, KeyFrame *kf)=0
Get an interpolated keyframe for this track at the given time.
Definition: OgreException.h:229
std::map< ushort, RenderPriorityGroup *, std::less< ushort > > PriorityMap
Definition: OgreRenderQueueSortingGrouping.h:455
~RenderQueueGroup()
Definition: OgreRenderQueueSortingGrouping.h:485
A interface class defining a listener which can be used to receive notifications of LOD events.
Definition: OgreLodListener.h:118
unsigned short getNumLodLevels(const String &schemeName) const
Gets the number of levels-of-detail this material has in the given scheme, based on Technique::setLod...
static const IdString LightsAttenuation
Definition: OgreHlmsPropertyHelper.h:70
virtual void applyToNode(Node *node, const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
As the 'apply' method but applies to a specified Node instead of associated node.
const ControllerValueRealPtr & getFrameTimeSource(void) const
Returns a ControllerValue which provides the time since the last frame as a control value source.
@ PT_RENDERQUAD
Render a full screen quad.
Definition: OgreCompositionPass.h:59
Real getValue(void) const
@ SPC_POSTOLIGHT_VIEW_SPACE0
Light vector in view space index 0-7.
Definition: OgreShaderParameter.h:150
Command object for plane normal (see ParamCommand).
Definition: OgreDeflectorPlaneAffector.h:64
void build(bool stencilShadows)
Build.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
Definition: OgreExternalTextureSource.h:105
ushort maxBoneCount
Definition: OgreShaderExHardwareSkinning.h:66
void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
Command object for quota (see ParamCommand).
Definition: OgreParticleSystem.h:71
IdString()
Definition: OgreIdString.h:104
UVRect uvRect
Definition: OgreFont.h:144
Real getLength() const
Gets the total length of this animation (may be shorter than whole animation)
const String & getTypeName(void) const
See OverlayElement.
Definition: OgreGLGpuNvparseProgram.h:38
std::pair< int, RenderSystemOperation * > RenderSystemOpPair
Definition: OgreCompositorInstance.h:111
@ SPC_LIGHTDIRECTION_WORLD_SPACE6
Definition: OgreShaderParameter.h:186
D3D9Driver * item(const String &name)
void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
Sets the mode of operation for depth buffer tests from this point onwards.
virtual void setNumberOfChains(size_t numChains)
Set the number of chain segments (this class can render multiple chains at once using the same materi...
static D3DDECLUSAGE get(VertexElementSemantic sem)
Get vertex semantic.
virtual void save(StreamSerialiser &stream)
Save the collection to a stream.
String doGet(const void *target) const
void copyContentsToMemory(D3D9RenderWindow *window, const Box &src, const PixelBox &dst, RenderTarget::FrameBuffer buffer)
@ D3D_WARNING
Definition: OgreD3D11Device.h:94
virtual ConcreteNodeListPtr importFile(ScriptCompiler *compiler, const String &name)
Returns the concrete node list from the given file.
void blitFromMemory(const PixelBox &src)
Convenience function that blits a pixelbox from memory to the entire buffer.
Definition: OgreHardwarePixelBuffer.h:148
virtual PageStrategy * getStrategy() const
Get the page strategy which this section is using.
Definition: OgrePagedWorldSection.h:101
uint32 width
Definition: OgreImageCodec.h:62
void buildTangentVectors(VertexElementSemantic targetSemantic=VES_TANGENT, unsigned short sourceTexCoordSet=0, unsigned short index=0, bool splitMirrored=false, bool splitRotated=false, bool storeParityInW=false)
This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer.
ConstMapIterator< CodecList > CodecIterator
Definition: OgreCodec.h:73
virtual const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreScriptCompiler.h:513
@ M_SUBMESH_NAME_TABLE
Definition: OgreMeshFileFormat.h:138
~RenderPriorityGroup()
Definition: OgreRenderQueueSortingGrouping.h:350
IOException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:195
const Matrix4 & getProjectionMatrix(void) const
Gets the normal projection matrix for this frustum, ie the projection matrix which conforms to standa...
void endBillboards(void)
Finish defining billboards.
SkeletonPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new skeleton.
virtual ~ScriptCompiler()
Definition: OgreScriptCompiler.h:211
GPUVendor vendor
Definition: OgreTechnique.h:125
Real getTime_0_2Pi(Real x) const
void setRenderingMinPixelSize(Real pixelSize)
Sets the minimum pixel size an object needs to be in both screen axes in order to be rendered.
Definition: OgreMovableObject.h:321
virtual const Vector3 & getPosition(void) const
Returns the position of this emitter relative to the center of the particle system.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
@ ID_LOD_STRATEGY
Definition: OgreScriptCompiler.h:594
DualQuaternion(const Affine3 &rot)
Construct a dual quaternion from a transformation matrix.
Definition: OgreDualQuaternion.h:64
D3D9ResourceCreationPolicy getCreationPolicy() const
void setCategoryRelevant(CapabilitiesCategory cat, bool relevant)
Mark a category as 'relevant' or not, ie will it be reported.
Definition: OgreRenderSystemCapabilities.h:768
virtual RaySceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
uint32 left
Definition: OgreCommon.h:705
size_t getReferencedMRTIndex() const
Gets the MRT index of the texture in the compositor that this texture references.
Definition: OgreTextureUnitState.h:1036
bool recursive
Whether this location was added recursively.
Definition: OgreResourceGroupManager.h:278
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)=0
Copies the current contents of the render target to a pixelbox.
@ GCT_SAMPLER2DSHADOW
Definition: OgreGpuProgramParams.h:79
void shareSkeletonInstanceWith(Entity *entity)
Shares the SkeletonInstance with the supplied entity.
void setWorldGeometry(const String &filename)
Specialised from SceneManager to support Quake3 bsp files.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
unsigned int uint
Definition: OgrePrerequisites.h:68
void FromAxes(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis)
DynLibManager()
Default constructor.
~D3D11Texture()
destructor
void addOrganisationMode(QueuedRenderableCollection::OrganisationMode om)
Add a required sorting / grouping mode for the solids in this group.
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
WaveType tcModStretchWave
Definition: OgreQuake3Shader.h:95
void _addToRenderQueue(Camera *cam, RenderQueue *queue, bool onlyShadowCasters, VisibleObjectsBoundsInfo *visibleBounds)
uint16 getChannel() const
Get the request channel (top level categorisation)
Definition: OgreWorkQueue.h:108
virtual void _setPolygonMode(PolygonMode level)=0
Sets how to rasterise triangles, as points, wireframe or solid polys.
GLTextureCommon(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Definition: OgreGLTextureCommon.h:42
SceneManager * getSceneManager() const
void setScale(const Vector3 &scale, bool doUpdate=true)
Set the scale or the offset from the parent node if a parent node exists
void setNamedConstant(const String &name, const Vector3 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ ID_SAMPLER
Definition: OgreScriptCompiler.h:868
void assign(QueuedSubMesh *qmesh)
Assign a queued mesh to this region, read for final build.
void save(const String &filename)
Save the image as a file.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)=0
Called before creation of the GPU programs.
@ CE_VARIABLEEXPECTED
Definition: OgreScriptCompiler.h:197
virtual Node * removeChild(Node *child)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ GCT_MATRIX_DOUBLE_3X2
Definition: OgreGpuProgramParams.h:103
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
static size_t getComponentCount(PixelFormat fmt)
Returns the component count for a certain pixel format.
virtual ~Listener()
Definition: OgreCamera.h:83
Struct collecting together the information for named constants.
Definition: OgreGpuProgramParams.h:311
Definition: OgreDefaultZone.h:49
iterator add(const T &item)
Definition: OgreVectorSetImpl.h:57
void updateAtomicCounters(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object atomic counter buffers using data from GpuProgramParameters.
const TextureAtlasAttib & getDefaultAtlasingAttributes() const
Returns the default attributes of texture atlas processing.
SceneNode * getAutoTrackTarget(void)
Get the auto tracking target for this node, if any.
Definition: OgreSceneNode.h:412
virtual unsigned int _getVertexCount(void) const
Reports the number of vertices passed to the renderer since the last _beginGeometryCount call.
const Vector4f & getPointAttenuation() const
get all point attenuation params as (size, constant, linear, quadratic)
Definition: OgrePass.h:472
virtual void detachDepthBuffer()
bool isHardwareAnimationEnabled(void)
Returns whether or not hardware animation is enabled.
Abstract interface which classes must implement if they wish to receive events from the render queue.
Definition: OgreRenderQueueListener.h:57
void clearVisitingZonesMap(void)
void updateAllControllers(void)
Updates all the registered controllers.
static bool parse(const String &str, Quaternion &v)
void getWorldTransforms(Matrix4 *mat) const override
Gets the world transform matrix / matrices for this renderable object.
void _writeRawConstant(size_t physicalIndex, const Vector4f &vec, size_t count=4)
Write a 4-element floating-point parameter to the program directly to the underlying constants buffer...
virtual MaterialPtr generate(const Terrain *terrain)
Generate a material for the given terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:294
Real factor
Manual blending factor.
Definition: OgreBlendMode.h:160
@ ID_BORDER
Definition: OgreScriptCompiler.h:716
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
Operation setup for a RenderTarget (collected).
Definition: OgreCompositorInstance.h:116
virtual ChildContainerIterator getChildContainerIterator(void)
Gets an iterator for just the container children of this object.
Real getElapsedTime(void) const
Return the elapsed time.
Real getWidth(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
void generateDualGrid(const OctreeNode *root, IsoSurface *is, MeshBuilder *mb, Real maxMSDistance, const Vector3 &totalFrom, const Vector3 &totalTo, bool saveDualCells)
Generates the dualgrid of the given octree root node.
void clearTray(TrayLocation trayLoc)
Removes all widgets from a widget tray.
virtual ~Parameter()
Class destructor.
Definition: OgreShaderParameter.h:329
@ SPC_POSTOLIGHT_VIEW_SPACE7
Definition: OgreShaderParameter.h:157
static void setSharedListener(Listener *listener)
Sets shared listener.
CompositionTargetPass * getParent()
Get parent object.
void _cursorMoved(const Ogre::Vector2 &cursorPos, float wheelDelta)
const VertexElementList & getElements(void) const
Gets read-only access to the list of vertex elements.
@ FGT_PATCH
Definition: OgreStaticFaceGroup.h:47
void setUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the panel.
@ SPC_TEXTURE_COORDINATE0
Texture coordinate set index 0-7.
Definition: OgreShaderParameter.h:291
bool getRemoveRenderQueueStructuresOnClear() const
Get whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:346
SceneBlendOperation getSceneBlendingOperationAlpha() const
Returns the current alpha blending operation.
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:50
Real getTrueTypeSize(void) const
Gets the point size of the font used to generate the texture.
static void deallocate(void *p)
Deallocate memory that allocated by this class.
Image * inputImage
Optional heightmap providing the initial heights for the terrain.
Definition: OgreTerrain.h:362
SmallVector(const SmallVector &RHS)
Definition: OgreSmallVector.h:762
static UINT _getAccessFlags(HardwareBuffer::Usage usage)
@ ID_LAST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:822
virtual SceneManager * createInstance(const String &instanceName)=0
Create a new instance of a SceneManager.
String getName() const
See ParticleEmitterFactory.
Definition: OgreRingEmitterFactory.h:49
Matrix4 operator+(const Matrix4 &m, const Matrix4 &m2)
Matrix addition.
Definition: OgreMatrix4.h:442
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
Real SpectralNorm() const
OrientationMode getViewportOrientationMode(void) const
Gets the orientation mode of the destination viewport.
Real valueAngleUnits() const
Definition: OgreMath.h:776
TextureDefinition * getTextureDefinition(size_t idx)
Get a local texture definition.
const Matrix4 & getInverseTransposeWorldViewMatrix(void) const
@ DEFORM_FUNC_WAVE
Definition: OgreQuake3Types.h:136
bool isLanguageSupported(const String &lang)
Returns whether a given high-level language is supported.
bool getTransparentSortingEnabled(void) const
Returns whether or not transparent sorting is enabled.
static uint32 getDefaultQueryFlags()
Get the default query flags for all future MovableObject instances.
Definition: OgreMovableObject.h:422
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
bool getPassTransformStates(void) const
Returns whether a vertex program wants transform state to be passed through fixed pipeline low level ...
@ TL_BOTTOMLEFT
Definition: OgreTrays.h:62
void _unregisterContext(GL3PlusContext *context)
Unregister a render target->context mapping.
SubRenderStateSet::const_iterator SubRenderStateSetConstIterator
Definition: OgreShaderSubRenderState.h:163
RenderWindow * createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
void setSceneBlending(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
Allows very fine control of blending this Pass with the existing contents of the scene.
Real getOrthoWindowHeight() const
Gets the orthographic window height, for use with orthographic rendering only.
void removeCompositor(size_t position=LAST)
Remove a compositor.
@ SDLK_KP_2
Definition: OgreInput.h:132
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
bool afterIlluminationPassesCreated(Ogre::Technique *tech)
Called right after illuminated passes were created, so that owner of runtime generated technique can ...
Real getTileY(ushort layer=0) const
Gets the number of times the texture should repeat vertically.
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
Frustum(const String &name=BLANKSTRING)
Named constructor.
const GpuConstantDefinition * _findNamedConstantDefinition(const String &name, bool throwExceptionIfMissing=false) const
Find a constant definition for a named parameter.
Definition: OgreGLNativeSupport.h:50
String file
Definition: OgreScriptCompiler.h:94
void findNodesIn(const Sphere &sphere, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *start=0)
Recurses the scene, adding any nodes intersecting with the sphere into the given list.
PCPlane()
Standard constructor.
Definition: OgreSceneManager.h:963
virtual bool isInScene(void) const
Returns true if this object is attached to a SceneNode or TagPoint, and this SceneNode / TagPoint is ...
Definition: OgreInstancedEntity.h:273
std::map< String, PCZone * > ZoneMap
Definition: OgrePCZone.h:67
ParticleAffector * getAffector(unsigned short index) const
Retrieves an affector by it's index (zero-based).
size_t getSectionCount() const
Get the number of sections this world has.
Definition: OgrePagedWorld.h:154
@ GCT_MATRIX_2X2
Definition: OgreGpuProgramParams.h:82
std::vector< RenderWindowDescription > RenderWindowDescriptionList
Render window creation parameters container.
Definition: OgreCommon.h:814
Definition: OgreHlmsManager.h:47
bool getEnabled() const
Get enabled flag.
Definition: OgreCompositorInstance.h:178
virtual void _threadMain()
Main function for each thread spawned.
Class defining a single pass of a Technique (of a Material), i.e.
Definition: OgrePass.h:80
void removeSubRenderStateFactory(SubRenderStateFactory *factory)
Remove sub render state factory.
uint32 getDepth(void) const
Gets the depth of the image.
const TexturePtr & getShadowTexture(size_t shadowIndex)
Get a reference to the shadow texture currently in use at the given index.
Definition: OgreSceneManager.h:2822
void unregisterCompositorLogic(const String &name)
Removes a listener for compositor logic registered with registerCompositorLogic.
void _determineAnimationTypes(void) const
Internal method which, if animation types have not been determined, scans any vertex animations and d...
Class that allows listening in on the various stages of material serialization process.
Definition: OgreMaterialSerializer.h:63
shared_ptr< GL3PlusTexture > GL3PlusTexturePtr
Definition: OgreGL3PlusPrerequisites.h:54
void setStencilPassOp(StencilOperation value)
Set stencil pass operation.
void setDefaultMaterialGenerator(TerrainMaterialGeneratorPtr gen)
Set the default material generator.
void setValue(Real value)
Sets the frame number as a parametric value in the range [0,1]; the actual frame number is (value * n...
void bindGLFrameBuffer(GLenum target, GLuint buffer, bool force=false)
Bind an OpenGL frame buffer.
@ ID_SHARED_PARAMS_REF
Definition: OgreScriptCompiler.h:785
T value_type
Definition: OgreProperty.h:223
bool isParentTagPoint() const
Gets whether the parent node is a TagPoint (or a SceneNode)
Definition: OgreMovableObject.h:225
static String eventType
Definition: OgreScriptCompiler.h:506
const SkeletonPtr & getSkeleton(void) const
Gets a pointer to any linked Skeleton.
ShaderFunctionList::const_iterator ShaderFunctionConstIterator
Definition: OgreShaderFunction.h:312
BillboardType
The type of billboard to use.
Definition: OgreBillboardSet.h:76
Matrix4 getTransposeWorldViewProjMatrix() const
std::map< String, ResourceManager * > ResourceManagerMap
Definition: OgreResourceGroupManager.h:270
virtual HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create counter buffer.
virtual void doSet(void *target, const String &val)=0
void allowToVisit(bool yesno)
Definition: OgrePCZSceneNode.h:80
virtual void bakeLodLevel(LodData *data, int lodIndex)=0
Radian angleBetween(const Vector &dest) const
Gets the angle between 2 vectors.
Definition: OgreVector.h:560
NormalMapSpace getNormalMapSpace() const
Return the normal map space.
Definition: OgreShaderExNormalMapLighting.h:129
int mNumModels
Definition: OgreQuake3Level.h:129
static const Vector2 UNIT_SCALE
Definition: OgreVector.h:125
void setCreationPolicy(D3D9ResourceCreationPolicy creationPolicy)
Real getViewportAspectRatio(void) const
@ M_ANIMATIONS
Definition: OgreMeshFileFormat.h:183
@ ID_GREATER_EQUAL
Definition: OgreScriptCompiler.h:649
#define OGRE_HASH_FUNC
Definition: OgreIdString.h:37
Ogre assumes that there are separate programs to deal with but GLSL has one program object that repre...
Definition: OgreGLSLProgramManagerCommon.h:52
virtual const String & getMaterialName(void) const
Gets the name of the material this element uses.
void _readRawConstants(size_t physicalIndex, size_t count, float *dest)
Read a series of floating point values from the underlying float constant buffer at the given physica...
Real getNearClipDistance(void) const
Sets the position of the near clipping plane.
unsigned int _getNumRenderedBatches(void) const
Gets the number of rendered batches in the last update.
void resetOrganisationModes(void)
Reset the organisation modes required for this collection.
Definition: OgreRenderQueueSortingGrouping.h:255
size_t getNumTargetPasses()
Get the number of target passes.
void setProjectiveTexturing(bool enabled, const Frustum *projectionSettings=0)
Enables or disables projective texturing on this texture unit.
virtual HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create uniform buffer.
Implements the uniform shadow mapping algorithm in focused mode.
Definition: OgreShadowCameraSetupFocused.h:58
IdString keyName
Definition: OgreHlmsPropertyMap.h:50
String doGet(const void *target) const
Real getMaxHeight() const
Get the maximum height of the terrain.
bool isStereoEnabled(const String &renderWindowName) const
D3D9Device * getDevice(UINT index)
virtual ~RenderSystemOperation()
uint32 getQueryFlags(void) const
Get the default query flags for terrains.
Definition: OgreTerrain.h:1979
virtual void unload()
Unload this page.
virtual void textureCoord(const Vector2 &uv)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool getAlive() const
Get alive flag.
Definition: OgreCompositorInstance.h:190
TargetOperation(RenderTarget *inTarget)
Definition: OgreCompositorInstance.h:121
MovableObjectFactory * getMovableObjectFactory(const String &typeName)
Get a MovableObjectFactory for the given type.
Definition of a functor for calculating the hashcode of a Pass.
Definition: OgrePass.h:101
std::pair< bool, Real > intersects(const Ray &ray)
Intersection test with a Ray.
Definition: OgrePlaneBoundedVolume.h:121
const MaterialPtr & getMaterial(void) const
See Renderable.
virtual void normal(float x, float y, float z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const Radian & getSpotlightInnerAngle(void) const
Returns the angle covered by the spotlights inner cone.
static DistanceLodSphereStrategy * getSingletonPtr(void)
Get the singleton instance.
struct Ogre::Volume::ChunkRequest ChunkRequest
Data being passed around while loading.
virtual bool removeRenderWindow(const String &renderWindowName)
static String toString(const Vector2 &val)
Converts a Vector2 to a String.
const String & getCompatibleTarget(void) const
Gets the shader target promoted to the first compatible, e.g.
GLSL Language program processor class.
Definition: OgreShaderGLSLProgramProcessor.h:47
virtual bool resourceCollision(Resource *resource, ResourceManager *resourceManager)=0
This event is called when a resource collides with another existing one in a resource manager.
virtual void _addToRenderQueue(Camera *cam, RenderQueue *q, bool onlyShadowCasters, VisibleObjectsBoundsInfo *visibleBounds)
Adds all the attached scenenodes to the render queue.
bool getQuadCorners(Real &left, Real &top, Real &right, Real &bottom) const
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...
Definition: OgreCommon.h:78
@ ID_MODULATE_X4
Definition: OgreScriptCompiler.h:738
ManualResourceLoader()
Definition: OgreResource.h:489
Matrix3 getLocalAxes(void) const
Gets a matrix whose columns are the local axes based on the nodes orientation relative to it's parent...
@ SHADOWTYPE_TEXTURE_MODULATIVE
Texture-based shadow technique which involves a monochrome render-to-texture of the shadow caster and...
Definition: OgreCommon.h:253
Vector operator-(Real s) const
Definition: OgreVector.h:691
@ SPC_LIGHTPOSITION_WORLD_SPACE3
Definition: OgreShaderParameter.h:223
void setBlendEquation(GLenum eqRGB, GLenum eqA)
Set the blend equation for RGB and alpha separately.
virtual void setPointRenderingEnabled(bool enabled)
Set whether or not the BillboardSet will use point rendering rather than manually generated quads.
An instance of a layer, with specific texture names.
Definition: OgreTerrain.h:299
virtual ~ShaderProgramWriterHLSLFactory()
Definition: OgreShaderHLSLProgramWriter.h:79
size_t indexSize
Definition: OgreLodData.h:140
virtual bool isVisible(const Vector3 &vert, FrustumPlane *culledBy=0) const
Tests whether the given vertex is visible in the Frustum.
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
void addTranslatorManager(ScriptTranslatorManager *man)
Adds the given translator manager to the list of managers.
String mType
Definition: OgreScriptCompiler.h:347
void copyConstantsFrom(const GpuProgramParameters &source)
Copies the values of all constants (including auto constants) from another GpuProgramParameters objec...
virtual bool renderableQueued(Renderable *rend, uint8 groupID, ushort priority, Technique **ppTech, RenderQueue *pQueue)=0
Method called when a Renderable is added to the queue.
void _switchContext(GL3PlusContext *context)
Switch GL context, dealing with involved internal cached states too.
void doSet(void *target, const String &val)
void frameRendered(const Ogre::FrameEvent &evt)
@ LBX_BLEND_TEXTURE_ALPHA
as LBX_BLEND_DIFFUSE_ALPHA, but use alpha from texture
Definition: OgreBlendMode.h:97
PageStrategyData * createData()
Create a PageStrategyData instance containing the data specific to this PageStrategy.
The result of having built a tangent space basis.
Definition: OgreTangentSpaceCalc.h:75
void sort(void)
Sorts the elements in this list to be compatible with D3D7 graphics cards.
void doSet(void *target, const String &val)
GpuProgramType mProgramType
Definition: OgreScriptCompiler.h:516
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreD3D11HLSLProgram.h:288
ProgressBar * createProgressBar(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real commentBoxWidth)
uint32 depth
Definition: OgreImageCodec.h:63
void setPointAttenuation(bool enabled, float constant=0.0f, float linear=1.0f, float quadratic=0.0f)
Sets how points are attenuated with distance.
Real getBottomBorderSize(void) const
Gets the size of the bottom border.
static String resolveBundlePath(String path)
Resolve path inside the application bundle on some platforms Ogre is delivered as an application bund...
String resourceName
Definition: OgreResourceGroupManager.h:263
@ FGT_UNKNOWN
Definition: OgreStaticFaceGroup.h:48
void setNormaliseNormals(bool normalise)
If set to true, this forces normals to be normalised dynamically by the hardware for this pass.
Definition: OgrePass.h:1436
FFPLighting()
Class default constructor.
void setFog(FogMode mode, const ColourValue &colour, Real expDensity, Real linearStart, Real linearEnd)
UserObjectBindings & operator=(const UserObjectBindings &rhs)
Definition: OgreUserObjectBindings.h:103
virtual const String & getFSAAHint() const
Gets the FSAA hint (.
Definition: OgreRenderTarget.h:380
virtual void setHoldRadius(Real sz)
Set the Holding radius.
@ LB_BlendColor
Definition: OgreShaderExLayeredBlending.h:77
const Vector4 & getCustomParam(unsigned char idx)
const AutoConstantList & getAutoConstantList() const
Get a reference to the list of auto constant bindings.
Definition: OgreGpuProgramParams.h:1690
@ SDLK_KP_PLUS
Definition: OgreInput.h:129
void _autoTrack(void)
Internal method used by OGRE to update auto-tracking cameras.
@ SPC_BLEND_WEIGHTS
Blending weights.
Definition: OgreShaderParameter.h:243
@ ID_CAMERA_FAR_CORNERS_WORLD_SPACE
Definition: OgreScriptCompiler.h:825
TechniqueIterator getSupportedTechniqueIterator(void)
void setDepthFunc(GLenum func)
Sets the current depth test function.
AnimationStateIterator getAnimationStateIterator(void)
Get an iterator over all the animation states in this set.
const String & getName(void) const
Get the name of the pass.
Definition: OgrePass.h:291
bool hasComputeProgram(void) const
Returns true if this pass uses a programmable compute pipeline.
Definition: OgrePass.h:270
void _notifyMovableObjectLodChanged(MovableObjectLodChangedEvent &evt)
Notify that a movable object LOD change event has occurred.
ElementType elementType
The type of the constant in the program.
Definition: OgreGpuProgramParams.h:1250
virtual void read(Node *node, size_t count=1)
@ VRM_PROPORTIONAL
Percentage of vertexes to be removed from each submesh.
Definition: OgreLodConfig.h:68
virtual GLContext * getContext() const =0
Get the GL context that needs to be active to render to this target.
String doGet(const void *target) const
static PixelFormat getClosestOGREFormat(GLenum fmt)
Function to get the closest matching OGRE format to an internal GL format.
virtual ~Listener()
Definition: OgreViewport.h:63
virtual ~DotSceneLoader()
Definition: OgreLodData.h:134
bool succeeded() const
Return whether this is a successful response.
Definition: OgreWorkQueue.h:140
@ LBS_MANUAL
a colour supplied manually as a separate argument
Definition: OgreBlendMode.h:123
Ogre::RenderWindow * render
Definition: OgreApplicationContextBase.h:77
NumericAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
@ ACT_LIGHT_ATTENUATION_ARRAY
Array of light attenuation parameters, Vector4(range, constant, linear, quadric) (count set by extra ...
Definition: OgreGpuProgramParams.h:884
void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
Sets the mode of operation for depth buffer tests from this point onwards.
LinkedSkeletonAnimationSource(const String &skelName, Real scl)
Definition: OgreSkeleton.h:475
void setPosition(const Vector3 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Billboard(const Vector3 &position, BillboardSet *owner, const ColourValue &colour=ColourValue::White)
Normal constructor as called by BillboardSet.
Abstract class which is command object which gets/sets parameters.
Definition: OgreStringInterface.h:78
void init(AxisAlignedBox &box, int depth)
Init function carried over from OctreeSceneManager.
virtual unsigned int _getBatchCount(void) const
Reports the number of batches rendered since the last _beginGeometryCount call.
Terrain::ImportData * importData
Import data, if this is to be defined based on importing.
Definition: OgreTerrainGroup.h:322
@ SPC_POSTOLIGHT_OBJECT_SPACE7
Definition: OgreShaderParameter.h:137
NumericTrackIterator getNumericTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:395
HlmsManager(SceneManager *sceneManager, const String &pieseFilesResorceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
virtual const HardwarePixelBufferSharedPtr & getBuffer(size_t face=0, size_t mipmap=0)
Return hardware pixel buffer for a surface.
virtual ResourceHandle getHandle(void) const
Definition: OgreResource.h:309
void _setHardwareBuffer(const HardwareBufferPtr &data)
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:576
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:74
Listener interface so you can be notified of Viewport changes.
Definition: OgreViewport.h:61
bool isVisible(const Sphere &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
bool areTraysVisible()
Definition: OgreTrays.h:821
void gpuProgramRefEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const String &attrib, const GpuProgramPtr &program, const GpuProgramParametersSharedPtr ¶ms, GpuProgramParameters *defaultParams)
Called when GPU program reference section event raised.
Definition: OgreMaterialSerializer.h:110
virtual uint getNumberOfViews() const
friend Vector operator+(Real s, Vector v)
Definition: OgreVector.h:646
SceneCtlAllocatedObject NodeAlloc
Definition: OgreMemoryAllocatorConfig.h:130
ShaderPiecesManager(const String &pieceFilesResorceGroup)
Definition: OgreHlmsShaderPiecesManager.h:45
const Passes & getPasses() const
Get the Passes in this TargetPass.
Definition: OgreCompositionTargetPass.h:139
virtual const ColourValue & getColourRangeStart(void) const
Gets the minimum colour of particles to be emitted.
virtual void getBottomLeftGridSpace(int32 x, int32 y, int z, Vector3 &bl)
Get the (grid space) bottom-left of a cell.
static InterpolationMode getDefaultInterpolationMode(void)
Gets the default interpolation mode for all animations.
virtual void save(StreamSerialiser &stream)
Save this section to a stream.
CreateMaterialScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:508
virtual void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)=0
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
bool isLast
Definition: OgreTerrainLodManager.h:81
std::unordered_set< Vertex *, VertexHash, VertexEqual > UniqueVertexSet
Definition: OgreLodData.h:66
static D3D11_FILTER get(const FilterOptions minification, const FilterOptions magnification, const FilterOptions mips, const bool comparison=false)
return a D3D11 state type for Ogre FilterOption min/mag/mip values
virtual void removeInputListener(NativeWindowType *win, InputListener *lis)
detatch input listener
@ FFP_LIGHTING
Definition: OgreShaderFFPRenderState.h:73
uint32 getQueryFlags(void) const
Get the query flags for this terrain.
Definition: OgreTerrain.h:1327
const Vector3 & getMinimum(void) const
Gets the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:119
void addFrameListener(FrameListener *newListener)
Registers a FrameListener which will be called back every frame.
bool isTimeStampEnabled() const
Get whether time stamps are printed for this log.
Definition: OgreLog.h:134
SceneBlendFactor getColourBlendFallbackSrc(void) const
Get the multipass fallback for colour blending operation source factor.
const T * const_iterator
Definition: OgreSmallVector.h:149
virtual void setInitialColour(size_t chainIndex, float r, float g, float b, float a=1.0)
Set the starting ribbon colour.
void endProfile(const String &profileName, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT)
Ends a profile.
void setDebugDisplayEnabled(bool enabled)
Sets whether or not the debug display of this object is enabled.
Definition: OgreMovableObject.h:572
~AntiPortalFactory()
Definition: OgreAntiPortal.h:57
virtual SceneNode * createChildSceneNode(const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new SceneNode as a child of this node.
SubMeshLodGeometryLinkList * geometryLodList
Link to LOD list of geometry, potentially optimised.
Definition: OgreStaticGeometry.h:162
bool getEnableBackwardsCompatibility(void) const
Gets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:307
void setPolygonMode(PolygonMode sd)
Sets the level of rendering detail required from this camera.
bool hasCapability(const Capabilities c) const
Checks for a capability.
Definition: OgreRenderSystemCapabilities.h:537
@ D3D_ERROR
Definition: OgreD3D11Device.h:93
T::key_type KeyType
Type you expect to get by funktions like peekNextKey.
Definition: OgreIteratorWrapper.h:265
ColourValue colourArg1
Manual colour value for manual source1.
Definition: OgreBlendMode.h:152
void setTextureFiltering(FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter)
Set a the detailed filtering options on this texture unit.
Definition: OgreTextureUnitState.h:705
virtual const String & getType() const
@ LB_BlendDifference
Definition: OgreShaderExLayeredBlending.h:58
void setComputeProgramConstantFloatCount(ushort c)
The number of floating-point constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:848
EdgeData * edgeData
Edge list for this LOD level (may be derived from manual mesh).
Definition: OgreMesh.h:1029
static String Type
Definition: OgreShaderFFPAlphaTest.h:105
virtual Animation * _getAnimationImpl(const String &name) const
Internal access to the named vertex Animation object - returns null if it does not exist.
VertexElementSemantic getSemantic(void) const
Gets the meaning of this element.
Definition: OgreHardwareVertexBuffer.h:198
Command object for force vector (see ParamCommand).
Definition: OgreLinearForceAffector.h:61
void remove(iterator it)
Definition: OgreVectorSetImpl.h:47
virtual void windowMovedOrResized()
Notify that the window has been resized.
Definition: OgreRenderWindow.h:131
ushort maxWeightCount
Definition: OgreShaderExHardwareSkinning.h:67
This class implements an overlay element which contains simple unformatted text.
Definition: OgreTextAreaOverlayElement.h:45
std::vector< Real > SplitPointList
Definition: OgreShadowCameraSetupPSSM.h:60
uint32 getGLFBOID() const
Get the GL id for the FBO.
Definition: OgreGLRenderTexture.h:79
~HardwareSkinningFactory()
Definition: OgreScriptCompiler.h:528
virtual void setQueryMask(uint32 mask)
Sets the mask for results of this query.
Node * getChild(const String &name) const
Gets a pointer to a named child node.
static DXGI_FORMAT get(VertexElementType vType)
Get vertex data type.
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
SmallVectorImpl(unsigned N)
Definition: OgreSmallVector.h:312
virtual ushort getIndex(Real value, const Material::LodValueList &materialLodValueList) const =0
Get the index of the LOD usage which applies to a given value.
const GpuProgramPtr & _getDelegate() const
Get the chosen delegate.
std::map< K, V, P > type
Definition: OgrePrerequisites.h:367
@ ACT_INVERSE_VIEWPORT_HEIGHT
This variable represents 1.0/ViewportHeight.
Definition: OgreGpuProgramParams.h:1078
@ SHADOWTYPE_TEXTURE_MODULATIVE_INTEGRATED
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Definition: OgreCommon.h:296
Chunk()
Definition: OgreStreamSerialiser.h:103
Matrix4 concatenate(const Matrix4 &m2) const
Definition: OgreMatrix4.h:270
float getGamma() const
Returns the gamma adjustment factor applied to this texture on loading.
@ GPU_QUALCOMM
Definition: OgreRenderSystemCapabilities.h:271
virtual ~CompositorChain()
Another gcc warning here, which is no problem because RenderTargetListener is never used to delete an...
#define MANAGED_RESOURCE
Definition: OgreGLES2ManagedResource.h:65
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
@ TL_DIFFUSE_SPECULAR
Definition: OgreShaderExGBuffer.h:60
virtual void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
Definition: OgreRenderSystem.h:288
void addRequestToQueue(LodWorkQueueRequest *request)
@ LB_BlendReflect
Definition: OgreShaderExLayeredBlending.h:73
Definition: OgreLod0Stripifier.h:65
virtual Real getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:679
@ SKELETON_VERSION_LATEST
Latest version available.
Definition: OgreSkeletonSerializer.h:48
@ ID_GOURAUD
Definition: OgreScriptCompiler.h:668
DeflateStream(const DataStreamPtr &compressedStream, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating unnamed stream wrapping another stream.
Convenience class to make it easy to step through all particles in a ParticleSystem.
Definition: OgreParticleIterator.h:46
size_t doubleBufferSize
Total size of the double buffer required.
Definition: OgreGpuProgramParams.h:315
virtual void labelHit(Label *label)
Definition: OgreTrays.h:93
void sub(const In &arg0, const In &arg1, const Out &dst) const
dst = arg0 - arg1;
Definition: OgreShaderFunction.h:85
void setAsBGRA(BGRA val)
Sets colour as BGRA.
virtual void _setCullingMode(CullingMode mode)=0
Sets the culling mode for the render system based on the 'vertex winding'.
virtual void save(StreamSerialiser &stream)=0
Save the content to a stream.
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
Dummy structure for render system contexts - implementing RenderSystems can extend as needed.
Definition: OgreRenderSystem.h:623
StringVectorPtr listResourceLocations(const String &groupName) const
List all resource locations in a resource group.
int build
Definition: OgreRenderSystemCapabilities.h:227
VectorBase()
Definition: OgreVector.h:70
Slider * createLongSlider(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real trackWidth, Ogre::Real valueBoxWidth, Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps)
Node()
Constructor, should only be called by parent, not directly.
String doGet(const void *target) const
virtual void postFindVisibleObjects(SceneManager *source, IlluminationRenderStage irs, Viewport *v)
Called after searching for visible objects in this SceneManager.
Definition: OgreSceneManager.h:286
size_t tell(void) const
Returns the current byte offset from beginning.
MaterialBucket(LODBucket *parent, const String &materialName)
Definition: OgreColourImageAffector.h:41
virtual ~AnimationTrack()
SubRenderStateFactory * getSubRenderStateFactory(size_t index)
Returns a sub render state factory by index.
void _beginFrame(void)
Signifies the beginning of a frame, i.e.
~Billboard()
Default destructor.
@ SBF_ONE_MINUS_DEST_COLOUR
1 - SBF_DEST_COLOUR
Definition: OgreBlendMode.h:235
bool operator==(const LayerBlendModeEx &rhs) const
Definition: OgreBlendMode.h:162
@ ID_COLOUR_WRITE
Definition: OgreScriptCompiler.h:680
@ SPC_POSTOLIGHT_VIEW_SPACE2
Definition: OgreShaderParameter.h:152
virtual ~OverlayElementFactory()
Destroy the overlay element factory.
Definition: OgreOverlayElementFactory.h:61
virtual GuiMetricsMode getMetricsMode(void) const
Retrieves the current settings of how the element metrics are interpreted.
void _writeRawConstants(size_t physicalIndex, const int *val, size_t count)
Write a series of integer values into the underlying integer constant buffer at the given physical in...
size_t elementCount
Definition: OgreGpuProgramParams.h:1248
ParamDictionary * getParamDictionary(void)
Retrieves the parameter dictionary for this class.
Definition: OgreStringInterface.h:217
MapIterator< ParticleSystemRendererFactoryMap > ParticleRendererFactoryIterator
Definition: OgreParticleSystemManager.h:312
Real y
Definition: OgreVector.h:72
virtual bool isInScene(void) const
Returns true if this object is attached to a SceneNode or TagPoint, and this SceneNode / TagPoint is ...
virtual void objectMoved(MovableObject *)
MovableObject has been moved.
Definition: OgreMovableObject.h:73
LayerBlendType
Type of texture blend mode.
Definition: OgreBlendMode.h:45
D3D11Driver * findByName(const String &name)
void setTopLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top-left corner of the border.
bool hasKeyIndex(void) const
Definition: OgreAnimationTrack.h:88
std::vector< String > bases
Definition: OgreScriptCompiler.h:127
void setPointMinSize(Real min)
Set the minimum point size, when point attenuation is in use.
PCZ implementation of IntersectionSceneQuery.
Definition: OgrePCZSceneQuery.h:48
void updateGeometry()
Performs an update on all terrain geometry.
void addTextureUnitState(TextureUnitState *state)
Adds the passed in TextureUnitState, to the existing Pass.
void addZoneToVisitingZonesMap(PCZone *zone)
AntiPortalFactory()
Definition: OgreAntiPortal.h:56
void setDisabled(GLenum flag)
Disables a piece of OpenGL functionality.
virtual void _resumeFrame(RenderSystemContext *context)
Resume rendering for a frame.
uchar * data
The data pointer.
Definition: OgrePixelFormat.h:375
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
void bindProgram()
Execute the binding functions for this program.
bool isClosed() const
Indicates whether the window has been closed by the user.
Definition: OgreD3D9RenderWindow.h:52
static void setDefaultRotationInterpolationMode(RotationInterpolationMode im)
Sets the default rotation interpolation mode.
void _useLights(unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
Implement a sub render state which performs dual quaternion hardware skinning.
Definition: OgreShaderExDualQuaternionSkinning.h:61
void setFixedYawAxis(bool useFixed, const Vector3 &fixedAxis=Vector3::UNIT_Y)
Tells the node whether to yaw around it's own local Y axis or a fixed axis of choice.
@ VET_UINT1
Definition: OgreHardwareVertexBuffer.h:150
virtual void allocateVertexBuffers(Terrain *forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr &destPos, HardwareVertexBufferSharedPtr &destDelta)=0
Allocate (or reuse) vertex buffers for a terrain LOD.
uint32 calcHash(const void *data, size_t size)
Definition: OgreHlmsShaderCommon.h:56
const String & getName(void) const
Get the name of this archive.
Definition: OgreArchive.h:107
virtual unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Definition: OgreRenderable.h:144
Specialised KeyFrame which references a Mesh::Pose at a certain influence level, which stores offsets...
Definition: OgreKeyFrame.h:184
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
virtual const String & getTypeName(void) const =0
Gets the type name of the element.
bool _getUseVertexCompression() const
Whether we're using vertex compression or not.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
PixelFormatFlags
Flags defining some on/off properties of pixel formats.
Definition: OgrePixelFormat.h:302
Factory object for creating Entity instances.
Definition: OgreEntity.h:876
static bool isNumber(const String &val)
Checks the String is a valid number value.
Real w
Definition: OgreDualQuaternion.h:166
@ PF_PVRTC_RGBA2
PVRTC (PowerVR) RGBA 2 bpp.
Definition: OgrePixelFormat.h:134
T height() const
Definition: OgreCommon.h:620
virtual ~D3D9StereoDriverAMD()
void addNodeToOctree(PCZSceneNode *, Octree *octree, int depth=0)
Adds the Octree Node, starting at the given octree, and recursing at max to the specified depth.
Side
The "positive side" of the plane is the half space to which the plane normal points.
Definition: OgrePlane.h:96
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
Sets the global alpha rejection approach for future renders.
void touch(void)
'Touches' the resource to indicate it has been used.
Definition: OgreShaderExHardwareSkinning.h:60
void setElapsedTime(Real elapsedTime)
void _markDirty()
Mark the shared set as being dirty (values modified and not yet updated in render system).
Abstract base class representing a high-level program (a vertex or fragment program).
Definition: OgreHighLevelGpuProgram.h:65
std::vector< TexturePtr > ShadowTextureList
Definition: OgreSceneManager.h:61
RenderTarget * source
The source of the event being raised.
Definition: OgreRenderTargetListener.h:47
Vertex cache profiler.
Definition: OgreVertexIndexData.h:286
~GLSLLinkProgramManager(void)
void stopSharingSkeletonInstance()
Stops sharing the SkeletonInstance with other entities.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)=0
ParameterPtr resolveLocalParameter(Parameter::Semantic semantic, int index, const String &name, GpuConstantType type)
String doGet(const void *target) const
std::map< String, SceneManager * > Instances
Scene manager instances, indexed by instance name.
Definition: OgreSceneManagerEnumerator.h:91
const GpuProgramParametersPtr & getFixedFunctionParams(TrackVertexColourType tracking, FogMode fog)
void determineFSAASettings(IDirect3DDevice9 *d3d9Device, size_t fsaa, const String &fsaaHint, D3DFORMAT d3dPixelFormat, bool fullScreen, D3DMULTISAMPLE_TYPE *outMultisampleType, DWORD *outMultisampleQuality)
Take in some requested FSAA settings and output supported D3D settings.
RayTestResult intersects(const Sphere &s, bool discardInside=true) const
Tests whether this ray intersects the given sphere.
Definition: OgreRay.h:97
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
void setIsOptimised(bool flag)
Sets if the GLSL source has been optimised successfully.
Definition: OgreGLSLESProgram.h:63
void _setInstancesPerBatch(size_t instancesPerBatch)
Raises an exception if trying to change it after being built.
TriangleFaceNormalList triangleFaceNormals
All triangle face normals.
Definition: OgreEdgeListBuilder.h:127
MemoryDataStream(DataStream &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a stream which pre-buffers the contents of another stream.
virtual ~TextureManager()
void addSubRenderStateFactory(SubRenderStateFactory *factory)
Add sub render state factory.
void setAsARGB(ARGB val)
Sets colour as ARGB.
virtual void setRepeatDelay(Real min, Real max)
Sets the range of random duration for this emitter.
@ VET_UINT4
Definition: OgreHardwareVertexBuffer.h:153
eTexturePlayMode getPlayMode() const
Gets currently set play mode.
Definition: OgreExternalTextureSource.h:125
Vector operator+(Real s) const
Definition: OgreVector.h:696
@ DEFORM_FUNC_BULGE
Definition: OgreQuake3Types.h:135
void save(StreamSerialiser &stream)
Save terrain data in native form to a serializing stream.
String materialName
Definition: OgreStaticGeometry.h:163
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
void append(size_type NumInputs, const T &Elt)
append - Add the specified range to the end of the SmallVector.
Definition: OgreSmallVector.h:402
Portal(const String &name, const PORTAL_TYPE type=PORTAL_TYPE_QUAD)
void setTessellationHullProgram(const String &name, bool resetParams=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ ACT_VIEWPORT_WIDTH
Current viewport width (in pixels) as floating point value.
Definition: OgreGpuProgramParams.h:1066
virtual void _beginFrame(void)=0
Signifies the beginning of a frame, i.e.
OGRE_MUTEX(mTexUnitChangeMutex)
void removeSubRenderStateInstance(SubRenderState *subRenderState) const
Remove SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:184
virtual void viewportDimensionsChanged(Viewport *viewport)
Notification of when target listening Viewport's dimensions changed.
MovableObject * getAttachedObject(unsigned short index)
Retrieves a pointer to an attached object.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
void setMaximum(Real x, Real y, Real z)
Definition: OgreAxisAlignedBox.h:190
MovableObjectIterator getMovableObjectIterator(const String &typeName)
int type
Definition: OgreInput.h:74
virtual const Real * getOtherTextureCoordRange(void) const
Get the range of the texture coordinates generated across the width of the chain elements.
Definition: OgreBillboardChain.h:177
void setColourAdjust(size_t index, ColourValue colour)
@ SOP_DECREMENT
Decrease the stencil value by 1, clamping at 0.
Definition: OgreRenderSystem.h:85
const_iterator end() const
Definition: OgreCommon.h:422
Vector3 mHalfSize
Vector containing the dimensions of this octree / 2.
Definition: OgreOctree.h:100
@ TAM_UNKNOWN
Unknown.
Definition: OgreCommon.h:133
void setPixelRatio(float ratio)
Sets the pixel ratio: how many viewport pixels represent a single overlay pixel (in one dimension).
static const IdString Tangent
Definition: OgreHlmsPropertyHelper.h:52
@ ACT_INVERSE_TRANSPOSE_PROJECTION_MATRIX
Provides inverse transpose of projection matrix.
Definition: OgreGpuProgramParams.h:734
virtual void notifyWorldGeometryRenderQueue(uint8 qid)
Called by PCZSM during setWorldGeometryRenderQueue()
const std::type_info & getType() const
Definition: OgreAny.h:120
static Vector2 parseVector2(const String &val, const Vector2 &defaultValue=Vector2::ZERO)
Parses a Vector2 out of a String.
Definition: OgreStringConverter.h:256
CompositionTechnique * getTechnique(size_t idx)
Get a technique.
DeflateStream(const String &name, const DataStreamPtr &compressedStream, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating named stream wrapping another stream.
Real getBoneBoundingRadius() const
Gets the radius used to inflate the bounding box around the bones.
void _setRenderSystemData(const Any &data) const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:2042
static ColourBufferType parseColourBuffer(const String &val, ColourBufferType defaultValue=CBT_BACK)
bool operator!=(const AnimationState &rhs) const
Inequality operator.
HardwareVertexBufferSharedPtr getGlobalInstanceVertexBuffer() const
Returns the global instance vertex buffer.
void _popCurrentSceneManager(SceneManager *sm)
Pops the scene manager currently being used to render.
void doSet(void *target, const String &val)
Struct holding geometry optimised per SubMesh / LOD level, ready for copying to instances.
Definition: OgreStaticGeometry.h:136
InOut(const Operand &rhs)
Definition: OgreShaderFunctionAtom.h:183
LayeredBlending()
Class default constructor.
GuiVerticalAlignment
Enum describing where '0' is in relation to the parent in the vertical dimension.
Definition: OgreOverlayElement.h:76
void remove3D(SceneNode *node)
Removes a 3D element from the overlay.
void releasePrograms(Pass *pass)
Release CPU/GPU programs set associated with the given render state and pass.
uint8 getDefaultQueueGroup(void) const
Gets the current default queue group, which will be used for all renderable which do not specify whic...
virtual ~GLHardwarePixelBufferCommon()
Definition: OgreQuake3Types.h:161
@ IM_LINEAR
Values are interpolated along straight lines.
Definition: OgreAnimation.h:98
void updateCompositeMap()
Performs an update on the terrain composite map based on its dirty region.
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
ConstVectorIterator< LodValueList > LodValueIterator
Definition: OgreMaterial.h:97
PCZone * getHomeZone(void)
@ FB_BACK
Definition: OgreRenderTarget.h:98
virtual void execute(SceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
void setCubicTexture(const TexturePtr *const texPtrs, bool forUVW=false)
Definition: OgreTextureUnitState.h:393
~LodCollapseCostOutside()
virtual bool isAttributeValid(VertexElementSemantic semantic, uint index)
Test whether attribute index for a given semantic is valid.
FileInfoListPtr listResourceFileInfo(const String &groupName, bool dirs=false) const
List all files in a resource group with accompanying information.
NumericAnimationTrack * createNumericTrack(unsigned short handle)
Creates a NumericAnimationTrack for animating any numeric value.
const String & getMovableType(void) const
Returns the type name of this object.
@ LB_BlendHardLight
Definition: OgreShaderExLayeredBlending.h:64
RenderTargetIterator getRenderTargetIterator(void)
Returns a specialised MapIterator over all render targets attached to the RenderSystem.
Definition: OgreRenderSystem.h:408
Specialisation of HighLevelGpuProgram to provide support for CG.
Definition: OgreGLSLESCgProgram.h:40
PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for Pages in this world.
Definition: OgrePagedWorld.h:177
void setInnerSize(Real x, Real y, Real z)
Sets the size of the clear space inside the area from where NO particles are emitted.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
void setOnlyInitial(bool value)
Set "only initial" flag.
Page class.
Definition: OgrePage.h:51
@ SO_PHONG
Vertex normals are interpolated across the face, and these are used to determine colour at each pixel...
Definition: OgreCommon.h:141
Inner class which should also be subclassed to provide profile-specific material generation.
Definition: OgreTerrainMaterialGenerator.h:167
virtual void _addPortal(Portal *newPortal)
Add a portal to the zone.
@ CE_INVALIDPARAMETERS
Definition: OgreScriptCompiler.h:201
shared_ptr< GLTexture > GLTexturePtr
Definition: OgreGLPrerequisites.h:49
IDirect3DPixelShader9 * getPixelShader(void)
Gets the pixel shader.
static String getMaskAsString(int mask)
Returns the given mask as string representation.
@ GCT_MATRIX_DOUBLE_2X3
Definition: OgreGpuProgramParams.h:101
Definition: OgreHlmsPropertyMap.h:45
virtual const String & getGroup(void) const
Gets the group which this resource is a member of.
Definition: OgreResource.h:391
bool isFullyVisible(const AxisAlignedBox &bound) const
Struct containing information about a mesh LOD change event for entities.
Definition: OgreLodListener.h:55
bool hasEdgeList(void) override
Returns whether the object has a valid edge list.
unsigned int getColourDepth() const
virtual void load(DataStreamPtr &stream, const String &groupName, SceneNode *rootNode)=0
Load a scene from a file.
const String & getName(void) const
Returns the name of the emitter.
virtual void viewportDestroyed(Viewport *viewport)
Notification of when target listening Viewport's is destroyed.
int getGroupExecutionOrder() const
Get the group execution order of this function atom.
@ ACT_COSTIME_0_1
Cosine of "Time0_1". Equivalent to RenderMonkey's "CosTime0_1".
Definition: OgreGpuProgramParams.h:1034
static void uninitialized_copy(It1 I, It1 E, It2 Dest)
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest",...
Definition: OgreSmallVector.h:276
virtual void setColourChange(size_t chainIndex, float r, float g, float b, float a)
Enables / disables fading the trail using colour.
@ SHOW_BOUNDINGBOX
Makes each batch to display it's bounding box. Useful for debugging or profiling.
Definition: OgreInstanceManager.h:80
virtual RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask=0xFFFFFFFF)
Creates a RaySceneQuery for this scene manager.
MovableObject()
Constructor.
Affine3(const U *ptr)
Definition: OgreMatrix4.h:331
ID3D11Texture2D * GetTex2D()
Definition: OgreD3D11Texture.h:62
virtual void read(String *string)
virtual String getType() const
Returns the type of the codec as a String.
void setDepthMask(GLboolean mask)
Sets the current depth mask setting.
@ ACT_SPOTLIGHT_PARAMS_ARRAY
Spotlight parameters array of Vector4(innerFactor, outerFactor, falloff, isSpot) innerFactor and oute...
Definition: OgreGpuProgramParams.h:912
virtual void techniqueEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Technique *tech)
virtual void objectDestroyed(MovableObject *)
MovableObject is being destroyed.
Definition: OgreMovableObject.h:67
unsigned short getHandle(void) const
Gets the numeric handle for this bone (unique within the skeleton).
Pose * clone(void) const OGRE_NODISCARD
Clone this pose and create another one configured exactly the same way (only really useful for clonin...
Common subclass of DataStream for handling data from chunks of memory.
Definition: OgreDataStream.h:313
virtual void beginUpdate(size_t sectionIndex)
Start the definition of an update to a part of the object.
Vector3 getHalfSize(void) const
Gets the half-size of the box.
Definition: OgreAxisAlignedBox.h:690
@ SPC_LIGHTDIRECTION_VIEW_SPACE5
Definition: OgreShaderParameter.h:195
Definition: OgreD3D9ResourceManager.h:54
int shaderIndex
Definition: OgreQuake3Types.h:248
Defines the functionality of a 3D API.
Definition: OgreRenderSystem.h:119
This is a container class for sub render state class.
Definition: OgreShaderRenderState.h:51
static ResourceBackgroundQueue & getSingleton(void)
Get the singleton instance.
Specialized viewpoint from which an Octree can be rendered.
Definition: OgreOctreeCamera.h:65
ResourceAllocatedObject SubMeshAlloc
Definition: OgreMemoryAllocatorConfig.h:149
void _updateRenderQueue(RenderQueue *queue) override
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Ogre::Root * getRoot() const
Definition: OgreApplicationContextBase.h:101
SkinningType skinningType
Definition: OgreShaderExHardwareSkinning.h:68
virtual void finializeSession()=0
All internal resources should be deleted here.
void * pData
Definition: OgreHardwareBuffer.h:437
void setAmbientLight(float r, float g, float b)
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
virtual void read(Matrix4 *m, size_t count=1)
Visibility
Definition: OgrePCZFrustum.h:74
Real getFogStart(void) const
Returns the fog start distance for this pass.
Definition: OgreException.h:193
bool isBuildEdgesEnabled(void) const
Returns true(by default) if the submesh should be included in the mesh EdgeList, otherwise returns fa...
Definition: OgreSubMesh.h:234
void _destroyDepthBuffer(RenderTarget *pRenderWnd)
void exportSkeleton(const Skeleton *pSkeleton, const String &filename, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE)
Exports a skeleton to the file specified.
virtual void _resumeFrame(RenderSystemContext *context)
Resume rendering for a frame.
Factory class for particle emitter of type "Ellipsoid".
Definition: OgreEllipsoidEmitterFactory.h:44
Vector< 2, Real > Vector2
Definition: OgrePrerequisites.h:250
virtual bool _unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to unload page content procedurally.
Listener(void)
Definition: OgreMovableObject.h:64
static bool createDirectory(const Ogre::String &name)
Create a directory.
@ PT_RENDERCUSTOM
Render a custom sequence.
Definition: OgreCompositionPass.h:60
@ TU_UAV_NOT_SRV
Texture can be used as an UAV, but not as a regular texture.
Definition: OgreTexture.h:74
bool hasScalingShearingSupport()
Only applicable for dual quaternion skinning.
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
void dump(std::ofstream &of) const
Dump contents for diagnostics.
@ ID_ALPHA_OP_EX
Definition: OgreScriptCompiler.h:754
@ PT_MATRIX4
Definition: OgreStringInterface.h:60
@ ID_FRAGMENT_PROGRAM
Definition: OgreScriptCompiler.h:579
static _OgreFreeImageCodecExport void startup(void)
Static method to startup FreeImage and register the FreeImage codecs.
void _notifyAttached(Node *parent, bool isTagPoint=false) override
Internal method called to notify the object that it has been attached to a node.
std::vector< Terrain * > TerrainList
Definition: OgreTerrainGroup.h:433
static String toString(unsigned long val)
Definition: OgreStringConverter.h:67
virtual ~SphereSceneQuery()
virtual ~OverlayElement()
@ GPT_COMPUTE_PROGRAM
Definition: OgreGpuProgram.h:55
CompositionTechnique(Compositor *parent)
std::map< String, AnimationState * > AnimationStateMap
Definition: OgreAnimationState.h:187
SharedPtr< AnimableValue > AnimableValuePtr
Definition: OgrePrerequisites.h:277
HardwareVertexBufferSharedPtr getPositionBuffer(void)
Definition: OgreManualObject.h:490
uint16 variability
The variability of this parameter (see GpuParamVariability)
Definition: OgreGpuProgramParams.h:1282
bool watchForLimit(Real limit, bool greaterThan=true)
Definition: OgreProfiler.h:160
void _notifyTypeFlags(uint32 flag)
Notify this factory of the type mask to apply.
Definition: OgreMovableObject.h:637
virtual void setPosition(const Vector3 &pos)
Sets the position of this emitter relative to the particle system center.
void setGpuProgramParameters(GpuProgramType type, const GpuProgramParametersSharedPtr ¶ms)
Sets the Gpu program parameters.
Matrix4 operator*(Real scalar) const
Definition: OgreMatrix4.h:304
virtual void setCommonUpVector(const Vector3 &vec)
Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF or BBT_PE...
virtual void setClipPlanes(const PlaneList &clipPlanes)
Sets the user clipping region.
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
virtual bool isCompatible(RenderTarget *renderTarget) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
@ ID_CULL_SOFTWARE
Definition: OgreScriptCompiler.h:661
PreApplyTextureAliasesScriptCompilerEvent(Material *material, AliasTextureNamePairList *aliases)
Definition: OgreScriptCompiler.h:469
void shutdown(void)
Shuts down the system manually.
void unbindAll(const String &passName)
void loadFromSource(void)
Overridden from GLSLESProgram.
Alignment getAlignment() const
Definition: OgreTextAreaOverlayElement.h:123
virtual GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreGpuProgram.h:255
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreDualQuaternion.h:123
bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
const Vector3 & getTo(void) const
Gets the front upper right corner of the cell.
Definition: OgreVolumeOctreeNode.h:221
void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if this texture is a rendertarget.
Definition: OgreTexture.h:214
virtual void estimateIndexCount(size_t icount)
Estimate the number of indices ahead of time.
const Matrix4 & getInverseTransposeWorldMatrix(void) const
Real * ptr()
Definition: OgreVector.h:133
static const uint8 DERIVED_DATA_LIGHTMAP
Definition: OgreTerrain.h:1159
std::set< T, P >::iterator iterator
Definition: OgrePrerequisites.h:360
VectorIterator< Passes > PassIterator
Definition: OgreCompositionTargetPass.h:60
virtual ~SceneManagerFactory()
Definition: OgreSceneManager.h:3559
@ D3D_INFO
Definition: OgreD3D11Device.h:95
Entity * getDualGrid(SceneManager *sceneManager)
Gets the lazily created entity of the dualgrid debug visualization.
RibbonTrailFactory()
Definition: OgreRibbonTrail.h:229
std::unordered_map< size_t, String > SubroutineMap
Definition: OgreGpuProgramParams.h:1301
BindingType
The type of unit to bind the texture settings to.
Definition: OgreTextureUnitState.h:484
void setDirection(Real x, Real y, Real z)
Sets the camera's direction vector.
virtual bool _loadProceduralPage(Page *page)
Give a section the opportunity to prepare page content procedurally.
static DynLibManager * getSingletonPtr(void)
Get the singleton instance.
std::map< int, MaterialPtr > QuadMaterialMap
Definition: OgreCompositorInstance.h:110
void setAmbient(const ColourValue &ambient)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void setComputeGroupDimensions(Vector3 dimensions)
Sets the number of process groups dispatched by this compute program.
Definition: OgreGpuProgram.h:340
size_t getBufferCount(void) const
Definition: OgreHardwareVertexBuffer.h:554
virtual String toString() const =0
bool isDriverOlderThanVersion(const DriverVersion &v) const
Definition: OgreRenderSystemCapabilities.h:416
const GpuProgramPtr & getTessellationHullProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ HWInstancingBasic
Needs SM 3.0+ and HW instancing support.
Definition: OgreInstanceManager.h:69
virtual ~TerrainMaterialGenerator()
#define ASSUME_NOEXCEPT
Definition: OgreComPtr.h:64
virtual void defineTerrain(long x, long y, float constantHeight)
Define a 'slot' in the terrain grid - in this case a flat terrain.
ZoneData * getZoneData(PCZone *zone)
ConstTextureUnitStateIterator getTextureUnitStateIterator(void) const
Get an iterator over the TextureUnitStates contained in this Pass.
@ TLSS_ALBEDO
Albedo colour (diffuse reflectance colour)
Definition: OgreTerrainMaterialGenerator.h:58
void bindGLTexture(GLenum target, GLuint texture)
Bind an OpenGL texture of any type.
virtual const String & getType() const
@ SDLK_KP_7
Definition: OgreInput.h:137
String DriverName() const
String devicePattern
Definition: OgreTechnique.h:135
Render window creation parameters.
Definition: OgreCommon.h:805
void saveConfig(void)
Saves the details of the current configuration.
void setCurrentViewport(const Viewport *viewport)
Sets the current viewport.
void removeAllAnimationStates(void)
Remove all animation states.
@ FILTER_BILINEAR
Definition: OgreImage.h:397
Utility class to generate a sequentially numbered series of names.
Definition: OgreNameGenerator.h:47
static bool parse(const String &str, unsigned long long &v)
bool isCustomNearClipPlaneEnabled(void) const
Is a custom near clip plane in use?
Definition: OgreFrustum.h:640
@ SKELETON_ANIMATION_LINK
Definition: OgreSkeletonFileFormat.h:104
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
Separator * createSeparator(TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width=0)
std::vector< Renderable * > RenderableList
Definition: OgreRenderQueueSortingGrouping.h:46
uint32 getNumMipmaps(void) const
Gets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:149
uint8 getBlendTextureCount(uint8 numLayers) const
Get the number of blend textures needed for a given number of layers.
virtual void _destroyVisualData(ParticleVisualData *vis)
Destroy a ParticleVisualData instance.
Definition: OgreParticleSystemRenderer.h:105
GLHardwareBufferManager()
@ ID_LOD_BIAS
Definition: OgreScriptCompiler.h:812
int mNumBrushes
Definition: OgreQuake3Level.h:158
Definition: OgreLodOutputProviderCompressedBuffer.h:41
Animation * getParent() const
Returns the parent Animation object for this track.
Definition: OgreAnimationTrack.h:242
@ ID_TESSELLATION_HULL_PROGRAM_REF
Definition: OgreScriptCompiler.h:854
void setSpotlightNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by spotlights that use light clipping,...
Definition: OgreLight.h:270
@ BCT_FLOAT
Definition: OgreGpuProgramParams.h:52
virtual bool hasAnimation(const String &name) const =0
Returns whether this object contains the named animation.
Real getFogDensity(void) const
Returns the fog density for this pass.
HardwareSkinningTechnique()
Class default constructor.
static SceneLoaderManager * getSingletonPtr(void)
Get the singleton instance.
Utility class for provides optimised functions.
Definition: OgreOptimisedUtil.h:48
Real skyDomeCurvature
Definition: OgreSceneManager.h:214
virtual void _notifyParticleRotated(void)
Internal callback used by Particles to notify their parent that they have been rotated.
iterator end()
Definition: OgreSmallVector.h:162
void setBlueAdjust2(float blue)
float posU
Definition: OgreShaderExTextureAtlasSampler.h:58
void resetStatistics(void)
Resets saved frame-rate statistices.
virtual void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)=0
Bind Gpu program parameters.
void addListener(Listener *lis)
Register a listener on this resource.
const HardwareBufferPtr & _getHardwareBuffer() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:578
VectorBase()
Definition: OgreVector.h:130
const Ogre::DisplayString & getText()
Definition: OgreTrays.h:257
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
SceneBlendFactor blendDest
Definition: OgreQuake3Shader.h:81
bool hasCompositorLogic(const String &name)
Check if a compositor logic exists.
virtual RenderSystemContext * _pauseFrame(void)
Pause rendering for a frame.
void setMeshLodBias(Real factor, ushort maxDetailIndex=0, ushort minDetailIndex=99)
Sets a level-of-detail bias for the mesh detail of this entity.
void _relocateChain(Viewport *sourceVP, Viewport *destVP)
Relocates a compositor chain from one viewport to another.
const VertexElement & insertElement(unsigned short atPosition, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Inserts a new VertexElement at a given position in this declaration.
void setShadowTechnique(ShadowTechnique technique)
Sets the general shadow technique to be used in this scene.
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
uint16 variability
How this parameter varies (bitwise combination of GpuProgramVariability)
Definition: OgreGpuProgramParams.h:157
std::vector< float > BoneBlendMask
Typedef for an array of float values used as a bone blend mask.
Definition: OgreAnimationState.h:60
bool _OgreVolumeExport operator==(Vertex const &a, Vertex const &b)
== operator for two vertices.
@ NO_SIDE
Definition: OgrePlane.h:97
AnimationState * getAnimationState(const String &name) const
Get an animation state by the name of the animation.
static void buildRenderState(ShaderGenerator::SGPass *sgPass, TargetRenderState *renderState)
Build render state from the given pass that emulates the fixed function pipeline behaviour.
#define OGRE_DELETE
Definition: OgreMemoryAllocatorConfig.h:202
virtual bool isSorted(const Mesh::LodValueList &values) const
Determine if the LOD values are sorted from greatest detail to least detail.
virtual void resize(unsigned int widthPt, unsigned int heightPt)=0
Alter the size of the window.
Renderable()
Definition: OgreRenderable.h:71
void _notifyVertexBufferDestroyed(HardwareVertexBuffer *buf)
Notification that a hardware vertex buffer has been destroyed.
const std::vector< int > & getFSAALevels() const
Definition: OgreGLNativeSupport.h:103
FunctionAtomInstanceList::iterator FunctionAtomInstanceIterator
Definition: OgreShaderFunctionAtom.h:325
virtual void initializeSession()
@ OPS_OUT
The parameter is a output parameter.
Definition: OgreShaderFunctionAtom.h:57
virtual bool getEnabled(void) const
Gets the flag indicating if this emitter is enabled or not.
void setMetricsMode(GuiMetricsMode gmm)
Overridden from OverlayElement.
PropertyDef(const String &name, const String &desc, PropertyType pType)
Construct a property.
Definition: OgreProperty.h:145
bool _isSkeletonAnimated(void) const
Tests if skeleton was animated.
IDirect3DSurface9 * getFSAASurface(IDirect3DDevice9 *d3d9Device)
Accessor for AA surface.
void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON.
virtual bool isKeyEnabled() const
Definition: OgreOverlayElement.h:437
bool intersects(const Plane &p) const
Tests whether this box intersects a plane.
Definition: OgreAxisAlignedBox.h:632
@ VECTOR4
Definition: OgreAnimable.h:81
bool getInitialized()
Definition: OgreGLContext.h:59
const Vector4f & getPointParams() const
void _OgreExport MurmurHash3_x64_128(const void *key, size_t len, uint32_t seed, void *out)
void setConstant(size_t index, const ColourValue &colour)
Sets a ColourValue parameter to the program.
@ GCT_BOOL1
Definition: OgreGpuProgramParams.h:113
std::vector< TextureDefinition * > TextureDefinitions
Definition: OgreCompositionTechnique.h:86
#define _OgreGLExport
Definition: OgreGLPrerequisites.h:108
std::pair< ResourcePtr, bool > ResourceCreateOrRetrieveResult
Definition: OgreResourceManager.h:127
@ SPC_POSTOLIGHT_OBJECT_SPACE4
Definition: OgreShaderParameter.h:134
virtual void finalize(LodData *data)
Definition: OgreLodOutputProviderMesh.h:47
VectorBase()
Definition: OgreVector.h:48
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreGLSLShaderCommon.h:90
MapIterator< ArchiveMap > ArchiveMapIterator
Definition: OgreArchiveManager.h:93
void setUseIdentityView(bool useIdentityView)
Sets whether or not to use an 'identity' view.
Definition: OgreRenderable.h:180
bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Called before adding this sub render state to the given render state.
virtual void notifyBeginRenderScene(void)=0
Called when a _renderScene is called in the SceneManager.
std::multimap< size_t, VertexBoneAssignment > VertexBoneAssignmentList
Multimap of verex bone assignments (orders by vertex index)
Definition: OgreSubMesh.h:178
virtual NumericKeyFrame * createNumericKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
static ProgramWriterManager & getSingleton()
Override standard Singleton retrieval.
Matrix3(Real fEntry00, Real fEntry01, Real fEntry02, Real fEntry10, Real fEntry11, Real fEntry12, Real fEntry20, Real fEntry21, Real fEntry22)
Definition: OgreMatrix3.h:81
Definition: OgreTerrainAutoUpdateLod.h:92
#define _OgreTerrainExport
Definition: OgreTerrainPrerequisites.h:65
Encapsulates the result of a background queue request.
Definition: OgreResourceBackgroundQueue.h:52
virtual WorldFragmentType getWorldFragmentType(void) const
Gets the current world fragment types to be returned from the query.
@ ACT_LIGHT_POSITION_OBJECT_SPACE
A light position in object space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:849
virtual void addInputListener(NativeWindowType *win, InputListener *lis)
attach input listener
SceneNode * createChildSceneNode(const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY) override
Creates a new named SceneNode as a child of this node.
bool hasShadowBuffer(void) const
Returns whether this buffer has a system memory shadow for quicker reading.
Definition: OgreHardwareBuffer.h:363
Strategy for determining level of detail.
Definition: OgreLodStrategy.h:54
GuiHorizontalAlignment
Enum describing where '0' is in relation to the parent in the horizontal dimension.
Definition: OgreOverlayElement.h:67
const Vector4 & getLodCameraPositionObjectSpace(void) const
Real x
Definition: OgreDualQuaternion.h:166
void doSet(void *target, const String &val)
const Affine3 & getViewMatrix(void) const
DualQuaternionSkinning()
Class default constructor.
BillboardSet * createBillboardSet(const String &name, unsigned int poolSize=20)
This is an overloaded member function, provided for convenience. It differs from the above function o...
PCZoneFactoryIterator getPCZoneFactoryIterator(void)
Return an iterator over the PCZone factories currently registered.
void destroyAllSections()
Destroy all world sections.
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
static const Real fDeg2Rad
Definition: OgreMath.h:753
Command object for red adjust (see ParamCommand).
Definition: OgreColourImageAffector.h:45
GLUniformCache * getUniformCache()
Get the uniform cache for this shader.
Definition: OgreGLSLShaderCommon.h:105
virtual void removeNode(const Node *n)
Remove tracking on a given node.
const Degree & operator+() const
Definition: OgreMath.h:125
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
@ ERR_RENDERINGAPI_ERROR
Definition: OgreException.h:113
Technique * getSupportedTechnique(unsigned short index)
Gets the indexed supported technique.
GL3PlusStateCacheManager * getStateCacheManager()
void _getRenderOperation(RenderOperation &rend, ushort lodIndex=0)
Returns a RenderOperation structure required to render this mesh.
@ ACT_TEXTURE_VIEWPROJ_MATRIX_ARRAY
Array of view/projection matrices of the first n texture projection frustums.
Definition: OgreGpuProgramParams.h:980
virtual bool isAdjacencyInfoRequired(void) const
Definition: OgreGpuProgram.h:336
Level of detail strategy based on distance from camera to an object's bounding sphere.
Definition: OgreDistanceLodStrategy.h:131
float getGreenAdjust2(void) const
virtual void setLodCamera(const Camera *lodCam)
Set a pointer to the camera which should be used to determine LOD settings.
std::vector< RenderQueueInvocation * > RenderQueueInvocationList
List of RenderQueueInvocations.
Definition: OgreRenderQueueInvocation.h:160
unsigned long getLastVisibleFrame(void)
Definition: OgrePCZSceneNode.h:93
virtual void shadowTexturesUpdated(size_t numberOfShadowTextures)
Event raised after all shadow textures have been rendered into for all queues / targets but before an...
Definition: OgreSceneManager.h:304
uint16 batchSize
Number of vertices rendered down one side (not including skirts)
Definition: OgreTerrainQuadTreeNode.h:134
ShadowTechnique getShadowTechnique(void) const
Gets the current shadow technique.
Definition: OgreSceneManager.h:2623
virtual void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)=0
Sets the 'scissor region' i.e.
void reset(void)
Resets the object.
void removeReferencesToZone(PCZone *zone)
MultiheadUseType
Definition: OgreD3D9RenderSystem.h:63
PlaneBoundedVolume(Plane::Side theOutside)
Constructor, determines which side is deemed to be 'outside'.
Definition: OgrePlaneBoundedVolume.h:59
Default implementation of AxisAlignedBoxSceneQuery.
Definition: OgreSceneManager.h:3515
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
bool isAttributeValid(VertexElementSemantic semantic, uint index)
@ TVC_DIFFUSE
Definition: OgreCommon.h:304
size_t getWorldMatrixCount(void) const
static const uint16 WORKQUEUE_PREPARE_REQUEST
Definition: OgrePage.h:191
@ PF_FLOAT16_R
16-bit pixel format, 16 bits (float) for red
Definition: OgrePixelFormat.h:120
static MaterialManager * getSingletonPtr(void)
Get the singleton instance.
void determineGridLocation(const Vector2 &gridpos, int32 *x, int32 *y)
Convert a grid position into a row and column index.
void registerCompositorLogic(const String &name, CompositorLogic *logic)
Register a compositor logic for listening in to expecting composition techniques.
Quaternion(const Vector3 *akAxis)
Construct a quaternion from 3 orthonormal local axes.
Definition: OgreQuaternion.h:91
@ ID_NONE
Definition: OgreScriptCompiler.h:676
@ ACT_TRANSPOSE_VIEWPROJ_MATRIX
Provides transpose of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:745
@ ACT_FAR_CLIP_DISTANCE
This variable provides the far clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1108
virtual ~STBIImageCodec()
Definition: OgreSTBICodec.h:54
Ogre::Real outsideWalkAngle
If outsideWeight is enabled, this will set the angle how deep the algorithm can walk inside the mesh.
Definition: OgreLodConfig.h:163
FontPtr getByName(const String &name, const String &groupName=RGN_DEFAULT)
Get a resource by name.
Matrix4()
Do NOT initialize the matrix for efficiency.
Definition: OgreMatrix4.h:224
int getActualWidth(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
OptimisedUtil(void)
Definition: OgreOptimisedUtil.h:64
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
Real _getMeshLodFactorTransformed() const
Get the LOD strategy transformation of the mesh LOD factor.
AnyNumeric(const AnyNumeric &other)
Definition: OgreAny.h:238
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
Definition: OgreAnimationTrack.h:226
static bool isCompressed(PixelFormat format)
Shortcut method to determine if the format is compressed.
Profile(TerrainMaterialGenerator *parent, const String &name, const String &desc)
Definition: OgreTerrainMaterialGenerator.h:173
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
void sort(const Camera *cam)
Perform any sorting that is required on this collection.
static void processQueuedUpdates(void)
Process queued 'needUpdate' calls.
Vector3i getOrigin() const
origin (top, left, front) of the box
Definition: OgreCommon.h:771
virtual Animation * getAnimation(const String &name, const LinkedSkeletonAnimationSource **linker) const
Returns the named Animation object.
@ ACT_DERIVED_SCENE_COLOUR
The derived scene colour, with 'r', 'g' and 'b' components filled with sum of derived ambient light c...
Definition: OgreGpuProgramParams.h:923
static void setHashFunction(HashFunc *hashFunc)
Set the hash function used for all passes.
Definition: OgrePass.h:1622
static void _addRenderWindow(Ogre::RenderWindow *window)
virtual void read(Vector3 *vec, size_t count=1)
@ WFT_PLANE_BOUNDED_REGION
Return pointers to convex plane-bounded regions.
Definition: OgreSceneQuery.h:81
@ INTERSECT_NO_CROSS
Definition: OgrePortalBase.h:165
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
virtual Chunk * createInstance(void)
Overridable factory method.
@ ID_WAVE_XFORM
Definition: OgreScriptCompiler.h:765
void applyToVertexData(VertexData *data, Real timePos, Real weight=1.0)
Applies all vertex tracks given a specific time point and weight to the specified vertex data.
@ ID_2DARRAY
Definition: OgreScriptCompiler.h:704
void setFrameSmoothingPeriod(Real period)
Sets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:872
void doSet(void *target, const String &val)
static CgFxScriptLoader & getSingleton(void)
Get the singleton instance.
static bool _isDynamic(HardwareBuffer::Usage usage)
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE
Definition: OgreScriptCompiler.h:824
T & operator[](size_t i)
Definition: OgreVector.h:356
const AxisAlignedBox & getLightCapBounds(void) const override
Gets the world space bounding box of the light cap.
virtual Real getBoundingRadius() const
Overridden from MovableObject.
@ DEFORM_FUNC_MOVE
Definition: OgreQuake3Types.h:138
virtual ~CompositorInstance()
RenderQueueGroup(RenderQueue *parent, bool splitPassesByLightingType, bool splitNoShadowPasses, bool shadowCastersNotReceivers)
Definition: OgreRenderQueueSortingGrouping.h:472
virtual void _notifyCurrentCamera(Camera *cam)
Internal method to notify the object of the camera to be used for the next rendering operation.
RenderQueueBitSet renderQueues
Which renderqueues to render from scene.
Definition: OgreCompositorInstance.h:151
@ ID_SRC_ALPHA
Definition: OgreScriptCompiler.h:629
PCZone * createZoneFromFile(const String &zoneTypeName, const String &zoneName, PCZSceneNode *parentNode, const String &filename)
Create a zone from a file (type of file depends on the zone type.
virtual void addListener(Listener *l)
Add a listener to this camera.
Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
@ GCT_UINT4
Definition: OgreGpuProgramParams.h:112
void setExtents(const Vector3 &min, const Vector3 &max)
Sets both minimum and maximum extents at once.
Definition: OgreAxisAlignedBox.h:218
static PixelFormat _getClosestSupportedPF(PixelFormat ogrePF)
utility method, find closest Ogre pixel format that D3D11 can support
@ FILTER_BOX
Definition: OgreImage.h:398
ushort getComputeProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:873
virtual void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
EdgeGroupList edgeGroups
All edge groups of this edge list.
Definition: OgreEdgeListBuilder.h:131
@ ET_USCROLL
Constant u scrolling effect.
Definition: OgreTextureUnitState.h:255
String name
Definition: OgreStringInterface.h:69
D3D11VertexDeclaration(D3D11Device &device)
TextureDefinition * createTextureDefinition(const String &name)
Create a new local texture definition, and return a pointer to it.
void _initParticle(Particle *pParticle)
See ParticleEmitter.
static GpuProgramManager * getSingletonPtr(void)
Get the singleton instance.
bool endRenderingQueued(void)
Check for planned end of rendering.
void _applySceneAnimations(void)
Internal method for applying animations to scene nodes.
const String & getUnsupportedTechniquesExplanation() const
Gets a string explaining why any techniques are not supported.
Definition: OgreMaterial.h:251
bool getUseColumnMajorMatrices() const
Returns whether Ogre will pass auto-bound matrices as column-major.
Definition: OgreShaderProgram.h:183
virtual bool display()=0
Displays the dialog.
static GLSLProgramManager * getSingletonPtr(void)
String doGet(const void *target) const
const Vector3i & getLightCount() const
Get the light count per light type.
virtual ~SceneLoader()
Definition: OgreSceneLoader.h:20
virtual void setVisible(bool visible)
Set the visibility state.
Definition: OgreRenderWindow.h:143
bool hasMoreElements() const
Returns true if there are more items in the collection.
Definition: OgreIteratorWrapper.h:97
ID3D11DomainShader * getDomainShader(void) const
uint32 FastHash(const char *data, size_t len, uint32 hashSoFar=0)
Fast general hashing algorithm.
Definition: OgreCommon.h:48
@ ID_SQUARE
Definition: OgreScriptCompiler.h:772
int getHResult() const
Definition: OgreD3D11Prerequisites.h:141
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderCGProgramWriter.h:129
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
GLCounterBufferList::iterator GLCounterBufferIterator
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:59
@ GCT_SAMPLER1D
Definition: OgreGpuProgramParams.h:73
uint8 getFirstRenderQueue() const
Get the first render queue to be rendered in this pass (inclusive)
Vector3 & getMinimum(void)
Gets a modifiable version of the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:127
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
unsigned long bestFrameTime
Definition: OgreRenderTarget.h:86
@ SPC_LIGHTDIRECTION_WORLD_SPACE5
Definition: OgreShaderParameter.h:185
void setOperands(const OperandVector &ops)
@ ID_SHADOWS_ENABLED
Definition: OgreScriptCompiler.h:814
'New' rendering operation using vertex buffers.
Definition: OgreRenderOperation.h:45
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
SmallVectorTemplateBase(size_t Size)
Definition: OgreSmallVector.h:216
virtual int32 getPageRangeMinY() const
get the index range of all Pages (values outside this will be ignored)
SceneNode * getSkyPlaneNode(void) const
Get the sky plane node, if enabled.
Definition: OgreSceneManager.h:1969
void deleteGLBuffer(GLenum target, GLuint buffer)
Delete an OpenGL buffer of any type.
@ TEX_TYPE_CUBE_MAP
cube map (six two dimensional textures, one for each cube face), used in combination with 3D texture ...
Definition: OgreTexture.h:103
void setNumVertexBlendMatrices(ushort num)
Definition: OgreRenderSystemCapabilities.h:446
@ VET_DOUBLE2
Definition: OgreHardwareVertexBuffer.h:139
@ ID_LOD_VALUES
Definition: OgreScriptCompiler.h:593
void initialiseAllResourceGroups(void)
Initialise all resource groups which are yet to be initialised.
void _cursorMoved(const Ogre::Vector2 &cursorPos, float wheelDelta)
virtual bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
Definition: OgreRenderWindow.h:139
const String & getName() const
Definition: OgrePagedWorld.h:76
void setBorderSize(Real size)
Sets the size of the border.
virtual void setCellSize(Real sz)
Set the size of the cells in the grid.
std::list< IndexRemap > IndexRemapList
List of indexes that were remapped (split vertices).
Definition: OgreTangentSpaceCalc.h:69
@ SKELETON_ANIMATION_TRACK
Definition: OgreSkeletonFileFormat.h:90
HLSL program writer factory implementation.
Definition: OgreShaderHLSLProgramWriter.h:76
Definition: OgreGpuProgramManager.h:49
CameraMan(Ogre::SceneNode *cam)
virtual ~GLSLESProgramPipeline()
virtual void read(Plane *plane, size_t count=1)
int mesh_cp[2]
Definition: OgreQuake3Types.h:199
virtual bool _unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to unprepare page content procedurally.
void setCustomProjectionMatrix(bool enable, const Matrix4 &projectionMatrix=Matrix4::IDENTITY)
Set whether to use a custom projection matrix on this frustum.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
const Vector3 getCenterFrontTop(void) const
Gets the center of the corners 6, 7.
Definition: OgreVolumeOctreeNode.h:368
virtual Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for animating this skeleton.
std::map< K, V, P >::const_iterator const_iterator
Definition: OgrePrerequisites.h:369
virtual void update(SceneManager *sceneMgr)=0
Update the contents of this vertex buffer by rendering.
void setYawPitchDist(Ogre::Radian yaw, Ogre::Radian pitch, Ogre::Real dist)
Sets the spatial offset from the target.
bool operator==(const TerrainLayerDeclaration &dcl) const
Definition: OgreTerrainMaterialGenerator.h:135
size_t getInstanceDataStepRate() const
Get the number of instances to draw using the same per-instance data before advancing in the buffer b...
bool useDefaultPool()
Will this texture need to be in the default pool?
virtual Real getHoldRadius() const
Get the Holding radius.
Definition: OgreGrid3DPageStrategy.h:146
GpuConstantDefinitionMap map
Map of parameter names to GpuConstantDefinition.
Definition: OgreGpuProgramParams.h:319
size_t calculateSize(void) const
void saturate(void)
Clamps colour value to the range [0, 1].
Definition: OgreColourValue.h:111
const String & getType() const
Get the type of the object to be created.
Definition: OgrePortal.h:90
void setColour(const ColourValue &colour)
Sets the colour of this billboard.
void _notifyEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Notify that an entity mesh LOD change event has occurred.
@ OT_POINT_LIST
A list of points, 1 vertex per point.
Definition: OgreRenderOperation.h:50
void setInputMode(InputMode mode)
Set input mode of this TargetPass.
unsigned int useCount() const
Definition: OgreSharedPtr.h:87
~D3D9HardwareOcclusionQuery()
Object destructor.
@ ID_PARAM_NAMED_AUTO
Definition: OgreScriptCompiler.h:606
OGRE_STATIC_MUTEX(msPassGraveyardMutex)
bool _getErrorsFromQueue() const
Mesh * parent
Reference to parent Mesh (not a smart pointer so child does not keep parent alive).
Definition: OgreSubMesh.h:136
const AxisAlignedBox & getAABB() const
Get the AABB (local coords) of the entire terrain.
virtual bool sortLightsAffectingFrustum(LightList &lightList)
Hook to allow the listener to override the ordering of lights for the entire frustum.
Definition: OgreSceneManager.h:363
ResourceHandle getHandle(void) const
Container struct to allow params to safely & update shared list of logical buffer assignments.
Definition: OgreGpuProgramParams.h:381
void setMaterialAtlasingAttributes(Ogre::Material *material, IndexPositionMode mode, ushort offset, bool autoAdjustBorders)
Set the default attributes concerning atlas texture processing for a specific material.
long long int64
Definition: OgrePlatform.h:266
@ M_GEOMETRY_VERTEX_DECLARATION
Definition: OgreMeshFileFormat.h:89
virtual RenderTarget * detachRenderTarget(const String &name)
Detaches the render target with the passed name from the render system and returns a pointer to it.
static const Real EPSILON
Definition: OgreMatrix3.h:290
@ SDLK_F9
Definition: OgreInput.h:109
_OgreExport bool operator!=(const ShadowTextureConfig &lhs, const ShadowTextureConfig &rhs)
SubMesh * getSubMesh(size_t index) const
Gets a pointer to the submesh indicated by the index.
Definition: OgreMesh.h:266
uint32 _getHash(uint32 seed=0) const
internal method to get the microcode cache id
unsigned int getNumOutputs(void) const
uint32 getClearBuffers() const
Get the viewport clear buffers.
virtual const String & getType() const
const D3D11_SIGNATURE_PARAMETER_DESC & getInputParamDesc(unsigned int index) const
EdgeData * getEdgeList(void) override
Returns details of the edges which might be used to determine a silhouette.
virtual void abortRequestsByChannel(uint16 channel)
Abort all previously issued requests in a given channel.
@ ID_PASS_OP
Definition: OgreScriptCompiler.h:846
@ TextureEffectPlay_ASAP
Video starts out paused.
Definition: OgreExternalTextureSource.h:63
bool hasShadowCasterVertexProgram(void) const
Returns true if this pass uses a shadow caster vertex program.
Definition: OgrePass.h:272
MeshManager * getMeshManager(void)
Retrieves a reference to the current MeshManager.
bool hasShaderBasedTechnique(const String &materialName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName) const
Checks if a shader based technique has been created for a given technique.
void setVendor(GPUVendor v)
Definition: OgreRenderSystemCapabilities.h:400
virtual void setDefaultTextureFiltering(FilterType ftype, FilterOptions opts)
Sets the default texture filtering to be used for loaded textures, for when textures are loaded autom...
ExceptionCodes
Static definitions of error codes.
Definition: OgreException.h:109
void _fireNotifyMaterialSetup(uint32 pass_id, MaterialPtr &mat)
Notify listeners of a material compilation.
@ VET_UINT2
Definition: OgreHardwareVertexBuffer.h:151
GlyphInfo(CodePoint id, const UVRect &rect, Real aspect)
Definition: OgreFont.h:147
VectorImpl::const_reference const_reference
Definition: OgreCommon.h:397
void assignVertexData(uint16 treeDepthStart, uint16 treeDepthEnd, uint16 resolution, uint sz)
Assign vertex data to the tree, from a depth and at a given resolution.
virtual ~DefaultGpuBufferAllocator()
bool isNull()
Definition: OgreD3D11Device.h:60
std::vector< UniformParameterPtr > UniformParameterList
Definition: OgreShaderParameter.h:618
Octree * mOctant
Octree this node is attached to.
Definition: OgreOctreeZone.h:246
StringStream StrStreamType
Definition: OgreString.h:88
TerrainLodManager * requestee
Definition: OgreTerrainLodManager.h:69
size_t getDependencyCount() const
Get the number of external libs this program depends on.
@ SPC_POSTOLIGHT_TANGENT_SPACE6
Definition: OgreShaderParameter.h:166
void getValue(const String &name, T &value) const
Get a named property value.
Definition: OgreProperty.h:319
@ HBU_DYNAMIC_WRITE_ONLY
Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
Definition: OgreHardwareBuffer.h:120
virtual void findVisibleNodes(PCZCamera *, NodeList &visibleNodeList, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters, bool displayNodes, bool showBoundingBoxes)=0
Find and add visible objects to the render queue.
void swapBuffers()
Swap buffers - only useful when using multisample buffers.
GLSL program writer factory implementation.
Definition: OgreShaderGLSLProgramWriter.h:125
String token
Definition: OgreScriptCompiler.h:68
String path
Path name; separated by '/' and ending with '/'.
Definition: OgreArchive.h:57
Factory object for creating BillboardSet instances.
Definition: OgreBillboardSet.h:831
PageContentCollectionFactory()
Definition: OgrePageContentCollectionFactory.h:50
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
virtual void setPreferredIntegerBitDepth(ushort bits, bool reloadTextures=true)
Sets preferred bit depth for integer pixel format textures.
CSGNegateSource(void)
Constructor.
static D3DBLENDOP get(SceneBlendOperation sbo)
return a D3D9 equivalent for a Ogre SceneBlendOperation value
virtual bool getOptionValues(const String &strKey, StringVector &refValueList)
Method for getting all possible values for a specific option.
Definition: OgreSceneManager.h:1793
virtual void bindProgram(void)=0
Execute the binding functions for this program.
Describes the global blending factors for combining subsequent renders with the existing frame conten...
Definition: OgreBlendMode.h:267
Real getDistance(const Vector3 &rkPoint) const
This is a pseudodistance.
Definition: OgrePlane.h:165
float getRedAdjust2(void) const
void applyToNode(Node *node, Real timePos, Real weight=1.0, Real scale=1.0f)
Applies all node tracks given a specific time point and weight to the specified node.
virtual bool isAutoUpdated(void) const
Gets whether this target is automatically updated if Ogre's rendering loop or Root::_updateAllRenderT...
virtual ushort getIndex(Real value, const Mesh::MeshLodUsageList &meshLodUsageList) const =0
Get the index of the LOD usage which applies to a given value.
@ SDLK_LEFT
Definition: OgreInput.h:122
void load(DataStreamPtr &stream)
Loads constant definitions from a stream, compatible with GpuProgram::setManualNamedConstantsFile.
virtual void setRequestsAccepted(bool accept)=0
Set whether to accept new requests or not.
DefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage)
void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:142
Vector & operator/=(const Vector &b)
Definition: OgreVector.h:632
Particle emitter which emits particles randomly from points inside an ellipsoid.
Definition: OgreEllipsoidEmitter.h:52
virtual ~ShadowCameraSetup()
Need virtual destructor in case subclasses use it.
Definition: OgreShadowCameraSetup.h:73
@ FFP_PS_TEXTURING
Definition: OgreShaderFFPRenderState.h:60
virtual bool isReloadable(void) const
Returns true if the Resource is reloadable, false otherwise.
Definition: OgreResource.h:274
Definition: OgreQuake3Types.h:245
void skip(long count)
Skip a defined number of bytes.
void removeAllCompositors()
Remove all compositors.
Vector3 mC0
Definition: OgreVolumeDualGridGenerator.h:50
virtual Page * getPage(PageID pageID)
Retrieves a Page.
@ PT_UNSIGNED_INT
Definition: OgreStringInterface.h:52
void _OgreExport MurmurHash3_x86_128(const void *key, size_t len, uint32_t seed, void *out)
bool hasVertexProgram(void) const
Returns true if this pass uses a programmable vertex pipeline.
Definition: OgrePass.h:260
virtual void bakeLodLevel(LodData *data, int lodIndex)
const IteratorType & begin()
Bookmark to the begin of the underlying collection.
Definition: OgreIteratorWrapper.h:110
bool hasClosedHull(void) const
Checks if the body has a closed hull.
SelectMenu * createLongSelectMenu(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real boxWidth, unsigned int maxItemsShown, const Ogre::StringVector &items=Ogre::StringVector())
void setTextureNameAlias(const String &name)
Set the alias name used for texture frame names.
Real distance
Distance along the ray.
Definition: OgreSceneQuery.h:355
PixelFormat getSupportedAlternative(PixelFormat format)
Get the closest supported alternative format.
OpMask getMask() const
Returns the mask bitfield.
Definition: OgreShaderFunctionAtom.h:110
SuperClass::iterator iterator
Definition: OgreSmallVector.h:308
AssignmentAtom(const Out &lhs, const In &rhs, int groupOrder)
uint32 width
Definition: OgreCompositionTechnique.h:69
static CmdBlueAdjust msBlueCmd
Definition: OgreColourFaderAffector.h:140
@ PF_ETC2_RGB8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:232
void increaseLodLevel(long x, long y, bool synchronous=false)
Loads terrain's next LOD level.
virtual void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
void clearAutoConstants(void)
Clears all the existing automatic constants.
MeshPtr & _getMeshRef()
Definition: OgreInstanceBatch.h:181
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void viewportDimensionsChanged(Viewport *viewport)
Notification of when target listening Viewport's dimensions changed.
uint32 getHeight(void) const
Returns the height of the texture.
Definition: OgreTexture.h:227
ScriptCompilerListener * getListener()
Returns the currently set listener used for compiler instances.
void setVisible(bool visible)
Set the visibility state.
Definition: OgreGLWindow.h:44
void setProfiles(const StringVector &profiles)
Sets the Cg profiles which can be supported by the program.
static AbsolutePixelCountLodStrategy * getSingletonPtr(void)
Get the singleton instance.
virtual ~RenderSystem()
Destructor.
Real getWidth(void) const
Gets the width of this element in relation to the screen (where 1.0 = screen width)
virtual const AxisAlignedBox & getWorldBoundingBox(bool derive=false) const
Retrieves the axis-aligned bounding box for this object in world coordinates.
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLProgram.
Definition: OgreGLRenderToVertexBuffer.h:45
An in memory cache of the OpenGL state.
Definition: OgreGLStateCacheManagerCommon.h:56
String doGet(const void *target) const
void doSet(void *target, const String &val)
int color
Definition: OgreQuake3Types.h:213
virtual void setDuration(Real duration)
Sets the duration of the emitter.
FogMode
Fog modes.
Definition: OgreCommon.h:146
const AxisAlignedBox & getBoundingBox() const
Retrieves the local axis-aligned bounding box for this object.
virtual ~GLDepthBufferCommon()
bool hasRenderState(const String &schemeName) const
Tells if a given render state exists.
WaveformType
Enumerates the wave types usable with the Ogre engine.
Definition: OgreCommon.h:186
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
TagPoint(unsigned short handle, Skeleton *creator)
bool getShadowCasterRenderBackFaces() const
Gets whether or not shadow casters should be rendered into shadow textures using their back faces rat...
Definition: OgreSceneManager.h:2944
virtual Node * createChild(const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new named Node as a child of this node.
static bool isBool(GpuConstantType c)
Definition: OgreGpuProgramParams.h:178
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
Codec specialized in images loaded using FreeImage.
Definition: OgreFreeImageCodec.h:53
const String & getCustomType() const
Get the type name of this custom composition pass.
void updateZones(PCZone *defaultZone, unsigned long frameCount)
Update the list of zones the light affects.
size_t getUniformBufferCount()
Definition: OgreGL3PlusHardwareBufferManager.h:78
void unregisterSceneLoader(const String &name)
static ResourceGroupManager & getSingleton(void)
Get the singleton instance.
virtual void setOrigin(const Vector3 &worldOrigin)
Set the origin of the grid in world space.
virtual void setTextureCoords(Ogre::FloatRect const *coords, uint16 numCoords)
BillboardSet can use custom texture coordinates for various billboards.
@ SPC_TEXTURE_COORDINATE6
Definition: OgreShaderParameter.h:297
void merge(const Vector3 &point)
Extends the box to encompass the specified point (if needed).
Definition: OgreAxisAlignedBox.h:379
Helper template which is the base for our ConstParameters.
Definition: OgreShaderParameter.h:626
@ GPU_IMAGINATION_TECHNOLOGIES
Definition: OgreRenderSystemCapabilities.h:265
StencilOperation getStencilFailOp() const
Get stencil fail operation.
Real squaredDistance(const Vector3 &v) const
Returns the squared minimum distance between a given point and any part of the box.
Definition: OgreAxisAlignedBox.h:728
@ LB_BlendVividLight
Definition: OgreShaderExLayeredBlending.h:70
void _setParent(OverlayContainer *parent)
Definition: OgreOverlayElement.h:450
TimeIndex(Real timePos)
Construct time index object by the given time position.
Definition: OgreAnimationTrack.h:71
bool prepare(DataStreamPtr &stream)
Prepare terrain data from saved data.
Interface used to by the Terrain instance to allocate GPU buffers.
Definition: OgreTerrain.h:534
virtual void copyFrom(const SubRenderState &rhs)
virtual const Affine3 & _getParentNodeFullTransform(void) const
Returns the world transform of the instanced entity including local transform.
Definition: OgreInstancedEntity.h:259
std::list< Portal * > PortalList
Definition: OgrePCZone.h:71
void _notifyObjectMoved(const MovableObject *mov, const Vector3 &pos)
Internal method for tagging BspNodes with objects which intersect them.
void bindSurface(size_t attachment, const GLSurfaceDesc &target)
Bind a surface to a certain attachment point.
~RadixSort()
Definition: OgreRadixSort.h:238
virtual ~LodStrategy()
Virtual destructor.
Information about predefined program constants.
Definition: OgreGpuProgramParams.h:144
virtual void calculateLightFacing(const Vector4 &lightPos, const Vector4 *faceNormals, char *lightFacings, size_t numFaces)=0
Calculate the light facing state of the triangle's face normals.
Implementation of GL 3 as a rendering system.
Definition: OgreGL3PlusRenderSystem.h:58
size_t getNumTextureDefinitions()
Get the number of local texture definitions.
@ PF_BYTE_LA
2 byte pixel format, 1 byte luminance, 1 byte alpha
Definition: OgrePixelFormat.h:63
RayTestResult intersects(const PlaneBoundedVolume &p) const
Tests whether this ray intersects the given plane bounded volume.
Definition: OgreRay.h:92
@ PF_ASTC_RGBA_10X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x8)
Definition: OgrePixelFormat.h:264
static IDirect3D9 * getDirect3D9()
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
void setActiveDevice(D3D9Device *device)
void destroyController(Controller< Real > *controller)
Removes & destroys the controller passed in as a pointer.
Template class for creating single-instance global classes.
Definition: OgreSingleton.h:71
std::unordered_map< String, ResourceMap > ResourceWithGroupMap
Definition: OgreResourceManager.h:501
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:708
bool queryResult(MovableObject *obj, Real distance)
Self-callback in order to deal with execute which returns collection.
bool getVerbose(void)
Gets whether this manager and its resources habitually produce log output.
Definition: OgreResourceManager.h:429
Real getSpeedFactor(void) const
Gets the 'speed factor' on this particle system.
Definition: OgreParticleSystem.h:403
bool isLoaded() const
Return whether the terrain is loaded.
Definition: OgreTerrain.h:750
virtual ushort getIndex(Real value, const Material::LodValueList &materialLodValueList) const
Get the index of the LOD usage which applies to a given value.
friend Vector operator-(Real s, const Vector &v)
Definition: OgreVector.h:652
OverlayMapIterator getOverlayIterator(void)
virtual void setCellRangeMinY(int32 minY)
Set the index range of all cells (values outside this will be ignored)
DeflectorPlaneAffector(ParticleSystem *psys)
Default constructor.
float texture[2]
Definition: OgreQuake3Types.h:210
GPUVendorRuleIterator getGPUVendorRuleIterator() const
Get an iterator over the currently registered vendor rules.
@ ID_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:698
const WidgetList & getWidgets(TrayLocation trayLoc) const
Gets all the widgets of a specific tray.
Definition: OgreTrays.h:978
void setSkeletonName(const String &skelName)
Sets the name of the skeleton this Mesh uses for animation.
Definition of a Plane that may be attached to a node, and the derived details of it retrieved simply.
Definition: OgreMovablePlane.h:55
void _rename(const String &newName, bool onlyLocal=false)
internal function for aliasing to GLSL builtins e.g. gl_Position
Definition: OgreShaderParameter.h:335
Technique * getCurrentTechnique(void) const
Get the current Technique.
Definition: OgreStaticGeometry.h:299
String doGet(const void *target) const
static const uint16 WORKQUEUE_LOAD_LOD_DATA_REQUEST
Definition: OgreTerrainLodManager.h:94
void addRequestToQueue(LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser)
unsigned long worstFrameTime
Definition: OgreRenderTarget.h:87
GL3PlusFBORenderTexture(GL3PlusFBOManager *manager, const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
const Vector4 getCenterValue(void) const
Gets the center value.
Definition: OgreVolumeOctreeNode.h:521
void _unload(void)
Internal method for unloading this pass.
bool operator>=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:247
const Vector3 & getPositionForViewUpdate(void) const
Get the derived position of this frustum.
int numElements
The number of vertex indices.
Definition: OgreStaticFaceGroup.h:99
ValueType peekNext() const
Returns the next(=current) element in the collection, without advancing to the next.
Definition: OgreIteratorWrapper.h:158
virtual bool getCastShadows(void)
Will the geometry from this object cast shadows?
Definition: OgreStaticGeometry.h:710
const Vector3 & getOrigin(void) const
Gets the origin of the ray.
Definition: OgreRay.h:58
SceneObjAllocatedObject FXAlloc
Definition: OgreMemoryAllocatorConfig.h:125
void _releaseBufferCopies(bool forceFreeUnused=false)
Internal method for releasing all temporary buffers which have been allocated using BLT_AUTOMATIC_REL...
Real * ptr()
Definition: OgreVector.h:271
virtual void freeVertexBuffers(const HardwareVertexBufferSharedPtr &posbuf, const HardwareVertexBufferSharedPtr &deltabuf)=0
Free (or return to the pool) vertex buffers for terrain.
bool requiresTextureFlipping() const
Definition: OgreGLRenderTexture.h:113
virtual bool removeRenderWindow(const String &renderWindowName)
static UINT _getTextureMiscFlags(UINT bindflags, TextureType textype, TextureUsage usage)
Vector(T _x, T _y, T _z, T _w)
Definition: OgreVector.h:315
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
void destroyAllManualObjects(void)
Removes & destroys all ManualObjects from the SceneManager.
ushort getStencilBufferBitDepth(void) const
Determines the bit depth of the hardware accelerated stencil buffer, if supported.
Definition: OgreRenderSystemCapabilities.h:490
bool isNaN() const
Check whether this quaternion contains valid values.
Definition: OgreQuaternion.h:347
virtual ~PageProvider()
Definition: OgrePageManager.h:61
bool operator<(const SmallVectorImpl &RHS) const
Definition: OgreSmallVector.h:570
InstanceManager * createInstanceManager(const String &customName, const String &meshName, const String &groupName, InstanceManager::InstancingTechnique technique, size_t numInstancesPerBatch, uint16 flags=0, unsigned short subMeshIdx=0)
Creates an InstanceManager interface to create & manipulate instanced entities You need to call this ...
IndexData * gpuIndexData
Index data on the gpu.
Definition: OgreTerrainQuadTreeNode.h:136
Reference to a pose at a given influence level.
Definition: OgreKeyFrame.h:195
std::map< String, TextureAtlasTablePtr > TextureAtlasMap
Definition: OgreShaderExTextureAtlasSampler.h:69
virtual ~GLES2TextureManager()
ElementType
Defines the base element type of the auto constant.
Definition: OgreGpuProgramParams.h:1234
bool getSplitPassesByLightingType(void) const
Gets whether or not the queue will split passes by their lighting type, ie ambient,...
PixelFormatList formatList
Definition: OgreCompositionTechnique.h:73
ProfileChildren children
Definition: OgreProfiler.h:178
InstanceBatchHW_VTF(InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
void _initialise() override
Start up the renderer using the settings selected (Or the defaults if none have been selected).
HardwareOcclusionQuery * createHardwareOcclusionQuery()
Create an object for performing hardware occlusion queries.
size_t getNumSupportedTechniques()
Get the number of supported techniques.
void setProgress(Ogre::Real progress)
Sets the progress as a percentage.
Quaternion orientation
Definition: OgreStaticGeometry.h:165
void setColourTop(const ColourValue &col)
Sets the colour of the top of the letters.
void destroyRenderTarget(const String &name)
Destroys a render target of any sort.
uint8 getLastRenderQueue() const
Get the last render queue to be rendered in this pass (inclusive)
static PropertyType getTypeForValue(const short &val)
Definition: OgreProperty.h:160
int lm_offset[2]
Definition: OgreQuake3Types.h:194
static bool intersects(const Sphere &sphere, const AxisAlignedBox &box)
Sphere / box intersection test.
SceneBlendFactor
Blending factors for manually blending objects with the scene.
Definition: OgreBlendMode.h:230
LARGE_INTEGER GetDriverVersion()
Definition: OgreD3D11Device.h:65
@ GCT_SUBROUTINE
Definition: OgreGpuProgramParams.h:95
@ PF_ASTC_RGBA_12X12_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 12x12)
Definition: OgrePixelFormat.h:270
@ PF_R16G16B16_UINT
48-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int), 16 bits green (unsigned...
Definition: OgrePixelFormat.h:158
bool isTransparent(void) const
Determines if the material has any transparency with the rest of the scene (derived from whether any ...
@ LBX_DOTPRODUCT
dot product of color1 and color2
Definition: OgreBlendMode.h:103
GeneralAllocatedObject FactoryAlloc
Definition: OgreMemoryAllocatorConfig.h:124
@ SPC_NORMAL_OBJECT_SPACE
Normal in object space.
Definition: OgreShaderParameter.h:106
D3DDISPLAYMODE getDisplayMode() const
Definition: OgreD3D9VideoMode.h:58
const Real * ptr() const
Definition: OgreVector.h:74
static bool parse(const String &str, int64 &v)
@ PF_SHORT_RGB
48-bit pixel format, 16 bits for red, green and blue
Definition: OgrePixelFormat.h:130
Real skyDomeTiling
Definition: OgreSceneManager.h:215
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Definition: OgreLodCollapseCostOutside.h:44
void setNamedConstant(const String &name, const int *val, size_t count, size_t multiple=4)
This is an overloaded member function, provided for convenience. It differs from the above function o...
~PCZLightFactory()
Definition: OgrePCZLight.h:126
An animation sequence.
Definition: OgreAnimation.h:91
BSP specialisation of RaySceneQuery.
Definition: OgreBspSceneManager.h:237
virtual ~ASTCCodec()
Definition: OgreASTCCodec.h:59
Real z
Z coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:56
virtual void load()=0
Loads the archive.
virtual BackgroundProcessTicket prepare(const String &resType, const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, Listener *listener=0)
Prepare a single resource in the background.
@ KEYDOWN
Definition: OgreInput.h:33
bool mouseMoved(const MouseMotionEvent &evt)
Processes mouse movement differently for each style.
const FloatConstantList & getFloatConstantList() const
Get a reference to the list of float constants.
Definition: OgreGpuProgramParams.h:1668
The definition of the information each layer will contain in this terrain.
Definition: OgreTerrainMaterialGenerator.h:131
virtual void writeChunkEnd(uint32 id)
End writing a chunk.
void removeRenderQueueListener(RenderQueueListener *delListener)
Removes a listener previously added with addRenderQueueListener.
virtual bool getUseRenderingDistance(void) const
Get whether this camera should use the 'rendering distance' on objects to exclude distant objects fro...
Definition: OgreCamera.h:621
Real getRadius() const
Retrieve the radius of the portal (calculates if necessary for quad portals)
static const uint16 CHUNK_VERSION
Definition: OgrePagedWorld.h:64
static const Vector3 UNIT_X
Definition: OgreVector.h:257
void setVertexShaderOutputsCompactPolicy(VSOutputCompactPolicy policy)
Set the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:402
Factory object for creating Portal instances.
Definition: OgrePortal.h:80
void setLateMaterialResolving(bool isLate)
Sets whether to use late material resolving or not.
Definition: OgreSceneManager.h:3034
std::list< ResourceDeclaration > ResourceDeclarationList
List of resource declarations.
Definition: OgreResourceGroupManager.h:269
Structure used to define a box in a 3-D integer space.
Definition: OgreCommon.h:704
void dump(std::ofstream &of) const
Dump contents for diagnostics.
Factory object for creating RibbonTrail instances.
Definition: OgreRibbonTrail.h:225
Class to provide aligned memory allocate functionality.
Definition: OgreAlignedAllocator.h:63
static void removeEmbbeddedFile(const String &name)
Remove an embedded file to the embedded file list.
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:171
SharedPtr< Material > MaterialPtr
Definition: OgrePrerequisites.h:295
@ BBO_TOP_CENTER
Definition: OgreBillboardSet.h:57
void setLength(Real len)
Sets the length of the animation.
void setColourAt(ColourValue const &cv, size_t x, size_t y, size_t z)
Set colour value at a certain location in the PixelBox.
bool getShadowsEnabled(void) const
Returns whether or not shadows (defined in the SceneManager) are displayed in this viewport.
int getCurrentLod() const
Get the current LOD index (only valid after calculateCurrentLod)
Definition: OgreTerrainQuadTreeNode.h:243
void open(const String &filename)
@ ID_DEPTH_WRITE
Definition: OgreScriptCompiler.h:639
virtual void _notifyAttached(Node *parent, bool isTagPoint=false)=0
Delegated to by ParticleSystem::_notifyAttached.
This class declares the usage of a single vertex buffer as a component of a complete VertexDeclaratio...
Definition: OgreHardwareVertexBuffer.h:173
Link to another skeleton to share animations.
Definition: OgreSkeleton.h:471
size_t batchCount
number of batches rendered in the last update() call.
Definition: OgreRenderTarget.h:91
void addFactory(SceneManagerFactory *fact)
Register a new SceneManagerFactory.
InstanceBatch(InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
SceneManager * createInstance(const String &instanceName)
Create a new instance of a SceneManager.
float getDepthBiasConstant(void) const
Retrieves the const depth bias value as set by setDepthBias.
void initializeCache()
Initialize our cache variables and sets the GL states on the current context.
Basic slider widget.
Definition: OgreTrays.h:512
D3D9GpuFragmentProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void deleteGLBuffer(GLenum target, GLuint buffer)
Delete an OpenGL buffer of any type.
size_t avail() const
Returns number of bytes available for reading in cache after rewinding.
Definition: OgreDataStream.h:138
D3D9RenderWindow(HINSTANCE instance)
Constructor.
void destroyNodeTrack(unsigned short handle)
Destroys the node track with the given handle.
RenderTarget * getTarget(void) const
Retrieves a pointer to the render target for this viewport.
std::pair< bool, Vector3 > rayIntersects(const Ray &ray, bool cascadeToNeighbours=false, Real distanceLimit=0)
Test for intersection of a given ray with the terrain.
Some utility functions for packing and unpacking pixel data.
Definition: OgrePixelFormat.h:457
SceneManager * createSceneManager(SceneTypeMask typeMask, const String &instanceName=BLANKSTRING)
Definition: OgreSceneManagerEnumerator.h:164
void setListener(Listener *listener)
Sets a listener for this object.
Definition: OgreMovableObject.h:457
virtual ~SubRenderStateFactory()
@ GPT_HULL_PROGRAM
Definition: OgreGpuProgram.h:54
bool hasLightList() const
Definition: OgreAutoParamDataSource.h:178
Real getValue(void) const
Matrix4 getInverseTransposeViewProjMatrix() const
static StereoModeType parseStereoMode(const String &val, StereoModeType defaultValue=SMT_NONE)
Converts a String to a StereoModeType.
ComPtr & operator=(const ComPtr< U > &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:166
@ SPC_POINTSPRITE_COORDINATE
point sprite coordinates
Definition: OgreShaderParameter.h:301
void setVertexBufferBinding(VertexBufferBinding *binding)
@ TAM_BORDER
Texture coordinates outside the range [0.0, 1.0] are set to the border colour.
Definition: OgreCommon.h:131
bool getSkipAnimationStateUpdate() const
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:833
void setStencilCheckEnabled(bool enabled)
Turns stencil buffer checking on or off.
bool validateMaterialIlluminationPasses(const String &schemeName, const String &materialName, const String &groupName=RGN_DEFAULT)
Validate specific material scheme.
ParticleType
Type of particle.
Definition: OgreParticle.h:70
void pitch(const Radian &angle)
Pitches the camera up/down anticlockwise around it's local z axis.
Real * ptr()
Definition: OgreVector.h:73
void _markBuffersUnusedForAnimation(void)
Mark all vertex data as so far unanimated.
OGRE_AUTO_MUTEX
Mutex, public for external locking if needed.
Definition: OgreAnimationState.h:200
static const uint16 TERRAINGENERALINFO_CHUNK_VERSION
Definition: OgreTerrain.h:290
virtual void _setLineWidth(float width)
Set the line width when drawing as RenderOperation::OT_LINE_LIST/ RenderOperation::OT_LINE_STRIP.
Definition: OgreRenderSystem.h:494
void setLightCountPerIteration(unsigned short c)
If light iteration is enabled, determine the number of lights per iteration.
void importMesh(DataStreamPtr &stream, Mesh *pDest)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
ConvexBody(const ConvexBody &cpy)
@ ID_ADD_SMOOTH
Definition: OgreScriptCompiler.h:740
void removeResourceGroupListener(ResourceGroupListener *l)
Removes a ResourceGroupListener.
_OgreExport const char *const RGN_INTERNAL
Internal resource group name (should be used by OGRE internal only)
@ SPC_DEPTH_VIEW_SPACE
Depth in view space.
Definition: OgreShaderParameter.h:285
@ BF_ADD
Definition: OgreHlmsPbsMaterial.h:53
D3D11HLSLProgram * _getBoundGeometryProgram() const
GPUDeviceNameRule(const String &pattern, IncludeOrExclude ie, bool caseSen)
Definition: OgreTechnique.h:140
@ GPU_PROGRAM
Definition: OgreScriptCompiler.h:480
TerrainLayerSamplerElement(uint8 src, TerrainLayerSamplerSemantic sem, uint8 elemStart, uint8 elemCount)
Definition: OgreTerrainMaterialGenerator.h:92
virtual CompositorInstance::RenderSystemOperation * createOperation(CompositorInstance *instance, const CompositionPass *pass)=0
Create a custom composition operation.
DefaultRaySceneQuery(SceneManager *creator)
A collection of Bone objects used to animate a skinned mesh.
Definition: OgreSkeleton.h:86
@ ANT_PROPERTY
Definition: OgreScriptCompiler.h:81
std::map< String, SceneNode * > SceneNodeList
Definition: OgrePCZone.h:76
void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
@ ACT_SURFACE_ALPHA_REJECTION_VALUE
Surface alpha rejection value, not as set in Pass::setAlphaRejectionValue, but a floating number betw...
Definition: OgreGpuProgramParams.h:810
std::map< unsigned short, NodeAnimationTrack * > NodeTrackList
Definition: OgreAnimation.h:375
void fireDeviceEvent(D3D9Device *device, const String &name)
Fires a device related event.
String doGet(const void *target) const
void doSet(void *target, const String &val)
virtual PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for Pages in this section.
Definition: OgrePagedWorldSection.h:271
void save(const String &filename)
Save world data to a file.
VectorIterator< RenderQueueInvocationList > RenderQueueInvocationIterator
Definition: OgreRenderQueueInvocation.h:161
Usage getUsage(void) const
Returns the Usage flags with which this buffer was created.
Definition: OgreHardwareBuffer.h:359
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Vector< 3, Real > Vector3
Definition: OgrePrerequisites.h:253
@ ID_ALPHA_BLEND
Definition: OgreScriptCompiler.h:733
void setAutoUpdated(bool autoupdate)
Sets whether this viewport should be automatically updated if Ogre's rendering loop or RenderTarget::...
void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
String getDescription() const
void addListener(Listener *l)
Adds a listener to the custom events that this render system can raise.
void _queueOverlaysForRendering(Camera *cam, RenderQueue *pQueue, Viewport *vp)
Internal method for queueing the visible overlays for rendering.
float getAttenuationConstant(void) const
Returns the constant factor in the attenuation formula.
Definition: OgreLight.h:174
virtual ~HlmsMaterialBase()
static size_t calculateLoadingStages(const String &levelName)
Calculate the number of loading stages required for a given level.
void _setMorphRequired(bool morph)
Request internal implementation options for the terrain material to use, in this case vertex morphing...
Definition: OgreTerrain.h:1445
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
void destroy(HighLevelGpuProgram *prog)
~GLHardwareBufferManager()
const IlluminationPassIterator getIlluminationPassIterator(void)
Gets an iterator over the illumination-stage categorised passes.
Definition: OgreTechnique.h:214
@ RSC_ATOMIC_COUNTERS
Definition: OgreRenderSystemCapabilities.h:93
void setShadowCastersCannotBeReceivers(bool ind)
Sets whether or not objects which cast shadows should be treated as never receiving shadows.
Definition: OgreRenderQueueSortingGrouping.h:432
virtual const DisplayString & getCaption(void) const
Gets the caption for this element.
void _populateLightList(const SceneNode *sn, Real radius, LightList &destList, uint32 lightMask=0xFFFFFFFF)
Populates a light list with an ordered set of the lights which are closest to the position of the Sce...
void _defragmentBatchDiscard(void)
bool isSampler() const
Definition: OgreGpuProgramParams.h:180
virtual ~GLES2RenderToVertexBuffer()
D'tor.
const ColourValue & getBorderColour(void) const
Definition: OgreTextureUnitState.h:204
@ RIM_LINEAR
Values are interpolated linearly.
Definition: OgreAnimation.h:109
bool isCapabilityRenderSystemSpecific(const Capabilities c) const
Returns true if capability is render system specific.
Definition: OgreRenderSystemCapabilities.h:509
Real x
Definition: OgreQuaternion.h:344
static const IdString DualParaboloidMapping
Definition: OgreHlmsPropertyHelper.h:74
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
void setMaterialEmissive(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
DefaultHardwareBufferManager()
Definition: OgreDefaultHardwareBufferManager.h:158
bool isChecked()
Definition: OgreTrays.h:650
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D11HLSLProgram.h:303
bool hasBlendFactor1
Definition: OgreHlmsPbsMaterial.h:135
void destroy()
Delete any input data if this struct is set to do so.
Definition: OgreTerrain.h:476
virtual ProgramWriter * create(void)
Definition: OgreShaderHLSLProgramWriter.h:92
MapIterator< ParticleAffectorFactoryMap > ParticleAffectorFactoryIterator
Definition: OgreParticleSystemManager.h:310
bool isCursorVisible()
Definition: OgreTrays.h:819
VertexElementList findElementsBySource(unsigned short source) const
Based on the current elements, gets the size of the vertex for a given buffer source.
virtual void setTextureNames(const String &textureNameFromX, const String &textureNameFromY, const String &textureNameFromZ)
Sets the texture names for the mapping.
void addDelegateProgram(const String &name)
Adds a new delegate program to the list.
@ COLOUR
Definition: OgreAnimable.h:83
virtual bool isVertexCompressionSupported() const =0
Compressed vertex format supported?
Vector3 getCenter(void) const
Gets the centre of the box.
Definition: OgreAxisAlignedBox.h:658
ParticleAffector(ParticleSystem *parent)
Definition: OgreParticleAffector.h:82
static const Matrix3 IDENTITY
Definition: OgreMatrix3.h:292
static const PassSet & getPassGraveyard(void)
Static method to retrieve all the Passes which are pending deletion.
Definition: OgrePass.h:1448
void _updateViewport(Viewport *viewport, bool updateStatistics=true)
Method for manual management of rendering - renders the given viewport (even if it is not autoupdated...
static Real Sqrt(Real fValue)
Square root function.
Definition: OgreMath.h:435
virtual void getChunksOfLevel(const size_t level, VecChunk &result) const
Gathers all visible chunks (containing triangles) of a specific LOD level.
void convertColourValue(const ColourValue &colour, uint32 *pDest)
Generates a packed data version of the passed in ColourValue suitable for use as with this RenderSyst...
@ PF_L8
8-bit pixel format, all bits luminance.
Definition: OgrePixelFormat.h:54
float blendFactor2
Definition: OgreHlmsPbsMaterial.h:138
Material * getParent(void) const
Gets the parent Material.
Definition: OgreTechnique.h:225
std::vector< const SceneManagerMetaData * > MetaDataList
List of available scene manager types as meta data.
Definition: OgreSceneManagerEnumerator.h:93
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
void doSet(void *target, const String &val)
uint16 variability
How the contents of this slot vary.
Definition: OgreGpuProgramParams.h:371
This class stores the capabilities of the graphics card.
Definition: OgreRenderSystemCapabilities.h:283
std::vector< SubMeshLodGeometryLink > SubMeshLodGeometryLinkList
Definition: OgreStaticGeometry.h:155
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Definition: OgreOverlayElement.h:466
BspLevel(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by BspResourceManager (do not call directly)
#define OGRE_WQ_LOCK_RW_MUTEX_WRITE(name)
Definition: OgreThreadDefinesBoost.h:44
~LodOutputProviderCompressedMesh()
@ D3D_FUSAGE_MIN
min filter
Definition: OgreD3D9Mappings.h:61
@ GPT_DOMAIN_PROGRAM
Definition: OgreGpuProgram.h:53
@ RENDER_QUEUE_BACKGROUND
Use this queue for objects which must be rendered first e.g. backgrounds.
Definition: OgreRenderQueue.h:56
String manualMeshName
Set's a mesh as the Lod Level for given distance.
Definition: OgreLodConfig.h:113
const ShadowTextureConfigList & getShadowTextureConfigList() const
Get the current shadow texture settings.
Definition: OgreSceneManager.h:2748
size_t _getIndexInFrame() const
Gets the index at which this light is in the current render.
Definition: OgreLight.h:405
@ VET_INT3
Definition: OgreHardwareVertexBuffer.h:148
void setCompositorReference(const String &compositorName, const String &textureName, size_t mrtIndex=0)
Set the compositor reference for this texture unit state.
@ VET_SHORT4_NORM
signed shorts (normalized to -1..1)
Definition: OgreHardwareVertexBuffer.h:158
void addOrganisationMode(OrganisationMode om)
Add a required sorting / grouping mode to this collection when next used.
Definition: OgreRenderQueueSortingGrouping.h:265
@ ID_STENCIL
Definition: OgreScriptCompiler.h:817
~D3D11HLSLProgramFactory()
void setValue(Real value)
ControllerValue implementation.
Definition: OgreAnimationState.h:313
const StringVector & getShaderProfilesList(GpuProgramType type)
Get the output shader target profiles as list of strings.
static GLint convertStencilOp(StencilOperation op, bool invert=false)
D3D9VideoMode(D3DDISPLAYMODE d3ddm)
Definition: OgreD3D9VideoMode.h:47
SubMesh * createSubMesh(void)
Creates a new SubMesh.
std::shared_ptr< Sampler > SamplerPtr
Definition: OgreTextureUnitState.h:223
virtual void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
const uint * getUnsignedIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:564
SceneObjAllocatedObject MovableAlloc
Definition: OgreMemoryAllocatorConfig.h:129
ParamDictionary()
Definition: OgreStringInterface.h:125
Quaternion()
Default constructor, initializes to identity rotation (aka 0°)
Definition: OgreQuaternion.h:60
String getType() const
Returns the type of the codec as a String.
virtual ~MeshLodGenerator()
virtual void escalateLoading()
Escalates the loading of a background loaded resource.
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
Error throwing implementation, it's not possible to write a MultiRenderTarget to disk.
void endOcclusionQuery()
Ends the hardware occlusion test.
~D3D11HardwareIndexBuffer()
Ogre::MaterialPtr getShadowCasterMaterial() const
return this material specific shadow casting specific material
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreLight.h:336
virtual void setValue(const AnyNumeric &val)
Set the value at this keyframe.
void setResolveStageFlags(unsigned int flags)
Set the resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:94
Source which does a unary operation to another one.
Definition: OgreVolumeCSGSource.h:307
void setShowPortals(bool b)
Sets the portal visibility flag.
Definition: OgrePCZSceneManager.h:295
virtual void setCellRange(int32 minX, int32 minY, int32 maxX, int32 maxY)
Set the index range of all cells (values outside this will be ignored)
void _setRenderSystemData(const Any &data) const
Definition: OgreGpuProgramParams.h:572
Texture surface.
Definition: OgreGLHardwarePixelBuffer.h:53
void removeAllLinkedSkeletonAnimationSources(void)
Remove all links to other skeletons for the purposes of sharing animation.
Specialisation of HardwareVertexBuffer for D3D9.
Definition: OgreD3D9HardwareVertexBuffer.h:39
@ CMPF_GREATER_EQUAL
Write if (new_Z >= existing_Z)
Definition: OgreCommon.h:71
void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
@ SDLK_F11
Definition: OgreInput.h:111
void addGPUDeviceNameRule(const GPUDeviceNameRule &rule)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual Ogre::Real getWidgetSpacing() const
Definition: OgreTrays.h:836
static bool isDouble(GpuConstantType c)
Definition: OgreGpuProgramParams.h:169
bool getAlwaysUpdateMainSkeleton() const
The skeleton of the main entity will be updated even if the an LOD entity is being displayed.
Definition: OgreEntity.h:849
Packages the details of a configuration option.
Definition: OgreConfigOptionMap.h:50
@ SPC_POSTOLIGHT_VIEW_SPACE5
Definition: OgreShaderParameter.h:155
This class defines an interface which is called back during resource group loading to indicate the pr...
Definition: OgreResourceGroupManager.h:103
virtual uint32 peekNextChunkID()
Call this to 'peek' at the next chunk ID without permanently moving the stream pointer.
void setLanguage(const String &language)
void createBuffer(IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
virtual void _updateViewport(int zorder, bool updateStatistics=true)
Method for manual management of rendering - renders the given viewport (even if it is not autoupdated...
Matrix4(const Matrix3 &m3x3)
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling 3x3...
Definition: OgreMatrix4.h:248
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreGLNativeSupport.h:84
Local texture definition.
Definition: OgreCompositionTechnique.h:63
void beginProfile(const String &profileName, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT)
Begins a profile.
Real getFarClipDistance(void) const
Retrieves the distance from the frustum to the far clipping plane.
@ ID_PER_LIGHT
Definition: OgreScriptCompiler.h:686
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
Microcode createMicrocode(size_t size) const
Creates a microcode to be later added to the cache.
bool isInitialised(void) const
Has this Entity been initialised yet?
Definition: OgreEntity.h:796
const PoseRefList & getPoseReferences(void) const
Get a const reference to the list of pose references.
void compile(bool autoManageTextureUnits=true)
'Compiles' this Material.
GL3PlusStateCacheManager(void)
const Vector3 & getAutoTrackOffset(void)
Get the auto tracking offset for this node, if the node is auto tracking.
Definition: OgreSceneNode.h:414
virtual void setSuppressShadows(bool suppress)
Sets whether shadows are suppressed when invoking this queue.
Definition: OgreRenderQueueInvocation.h:113
virtual void load()=0
Load - will be called in main thread.
T * getPointer() const
Definition: OgreSharedPtr.h:89
@ PFF_FLOAT
This is a floating point format.
Definition: OgrePixelFormat.h:309
GL3PlusRenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
GeneralAllocatedObject FileSystemLayerAlloc
Definition: OgreMemoryAllocatorConfig.h:157
Real getFrameSmoothingPeriod(void) const
Gets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:874
const MaterialPtr & getMaterial() const
Gets the material generated for this font, as a weak reference.
Definition: OgreFont.h:374
@ LBS_SPECULAR
the interpolated specular colour from the vertices
Definition: OgreBlendMode.h:121
@ SKELETON_VERSION_1_0
OGRE version v1.0+.
Definition: OgreSkeletonSerializer.h:43
std::set< String > SyntaxCodes
Definition: OgreGpuProgramManager.h:54
HardwareBuffer(Usage usage, bool systemMemory, bool useShadowBuffer)
Constructor, to be called by HardwareBufferManager only.
Definition: OgreHardwareBuffer.h:191
ColourValue fogColour
Definition: OgreQuake3Shader.h:118
@ GCT_FLOAT2
Definition: OgreGpuProgramParams.h:70
SharedPtr< D3D11HLSLProgram > D3D11HLSLProgramPtr
Definition: OgreD3D11Prerequisites.h:112
@ SPC_LIGHTDIRECTION_VIEW_SPACE3
Definition: OgreShaderParameter.h:193
void removeAllTargetPasses()
Remove all target passes.
void doSet(void *target, const String &val)
virtual void combineWithSource(CSGOperationSource *operation, Source *source, const Vector3 ¢er, Real radius)
Updates this grid with another source in a certain area.
Class for serializing RenderSystemCapabilities to / from a .rendercaps script.
Definition: OgreRenderSystemCapabilitiesSerializer.h:47
const VertexBoneAssignmentList & getBoneAssignments() const
Gets a const reference to the list of bone assignments.
Definition: OgreSubMesh.h:186
@ ID_POINT_SPRITES
Definition: OgreScriptCompiler.h:693
bool autoLights
Automatic light handling?
Definition: OgreSceneManager.h:391
A factory that enables creation of FFPFog instances.
Definition: OgreShaderFFPFog.h:176
~GLSLMonolithicProgram(void)
A TerrainMaterialGenerator which can cope with normal mapped, specular mapped terrain.
Definition: OgreTerrainMaterialGeneratorA.h:59
@ ST_INTERIOR
Definition: OgreSceneManager.h:3535
Log::Stream stream(LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Get a stream on the default log.
void setTargetMode(TargetMode m)
Set the target mode.
Definition: OgreAnimationTrack.h:544
virtual IntersectionSceneQueryResult & getLastResults(void) const
Gets the results of the last query that was run using this object, provided the query was executed us...
void _updateRenderQueue(RenderQueue *queue) override
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
Subclass of BillboardChain which automatically leaves a trail behind one or more Node instances.
Definition: OgreRibbonTrail.h:70
SmallVector(const SmallVector &RHS)
Definition: OgreSmallVector.h:730
void setLightRoughnessOffset(Real val)
Definition: OgreHlmsPbsMaterial.h:175
ArchiveManager()
Default constructor - should never get called by a client app.
virtual ~D3D9StereoDriverImpl()
Definition: OgreD3D9StereoDriverImpl.h:44
void setQuadCorners(const FloatRect &quad)
Set quad normalised positions [-1;1]x[-1;1].
Definition: OgreCompositionPass.h:289
unsigned short targetBufferIndex
Definition: OgreVertexIndexData.h:96
Vector3 convertWorldToLocalPosition(const Vector3 &worldPos)
Gets the local position, relative to this node, of the given world-space position.
static Real Exp(Real fValue)
Definition: OgreMath.h:347
virtual bool getSortingEnabled(void) const
Returns true if sorting of billboards is enabled based on their distance from the camera.
Callback class when the user needs information about the triangles of chunks of a LOD level.
Definition: OgreVolumeMeshBuilder.h:113
PCZone(PCZSceneManager *, const String &)
Radian(const Ogre::Radian &rhs)
Definition: OgreMath.h:64
size_t getCurrentChunkDepth() const
Report the current depth of the chunk nesting, whether reading or writing.
Definition: OgreStreamSerialiser.h:154
@ SPC_LIGHTDIRECTION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:176
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, MeshVersion version, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in a specific version format.
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
static const Matrix4 ZERO
Definition: OgreMatrix4.h:298
virtual const PlaneBoundedVolume & _getNearClipVolume(const Camera *const cam) const
Internal method for calculating the 'near clip volume', which is the volume formed between the near c...
std::vector< Vector4 > CustomParamsVec
Definition: OgreInstanceBatch.h:92
Material * mMaterial
Definition: OgreScriptCompiler.h:465
int elem_start
Definition: OgreQuake3Types.h:191
const GpuProgramParametersPtr & getFixedFunctionParams(TrackVertexColourType tracking, FogMode fog)
virtual const String & getType() const
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
TextureMipmap
Enum identifying special mipmap numbers.
Definition: OgreTexture.h:115
String doGet(const void *target) const
bool activateGLTextureUnit(size_t unit)
Activate an OpenGL texture unit.
VertexAnimationTrack(Animation *parent, unsigned short handle, VertexAnimationType animType)
Constructor.
bool watchForMin(void)
Definition: OgreProfiler.h:159
static VertexElementType multiplyTypeCount(VertexElementType baseType, unsigned short count)
Simple converter function which will return a type large enough to hold 'count' values of the same ty...
@ ACT_VIEW_SIDE_VECTOR
This variable provides the view side vector (world space).
Definition: OgreGpuProgramParams.h:1092
CreateHighLevelGpuProgramScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup, const String &source, const String &language, GpuProgramType programType)
Definition: OgreScriptCompiler.h:533
float dy
Definition: OgreInput.h:77
Represents a layer which is rendered on top of the 'normal' scene contents.
Definition: OgreOverlay.h:73
void setCurrentFrame(unsigned int frameNumber)
Changes the active frame in an animated or multi-image texture.
const TargetPasses & getTargetPasses() const
Get the TargetPasses in this Technique.
Definition: OgreCompositionTechnique.h:145
String _compile(bool autoManageTextureUnits)
Internal compilation method; see Material::compile.
virtual bool isVisible(const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
ConstVectorIterator(typename T::const_iterator start, typename T::const_iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:223
AbstractNodeList values
Definition: OgreScriptCompiler.h:131
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
void copyMatchingNamedConstantsFrom(const GpuProgramParameters &source)
Copies the values of all matching named constants (including auto constants) from another GpuProgramP...
void load(DataStreamPtr &stream, const String &groupName, SceneNode *rootNode)
Load a scene from a SceneLoader.
@ PF_ASTC_RGBA_8X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x6)
Definition: OgrePixelFormat.h:256
static const String CustomAttributeString_TARGET
Definition: OgreGLRenderTexture.h:116
void merge(const RenderQueueGroup *rhs)
Merge group of renderables.
Definition: OgreRenderQueueSortingGrouping.h:674
Matrix4 getInverseWorldViewProjMatrix() const
String name
Definition: OgreScriptCompiler.h:172
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
virtual bool getDynamic(void) const
Gets whether or not the buffers created for this object are suitable for dynamic alteration.
Definition: OgreBillboardChain.h:199
unsigned int uint32
Definition: OgrePlatform.h:254
TextureUnitState(Pass *parent, const String &texName, unsigned int texCoordSet=0)
Name-based constructor.
@ M_MESH_BONE_ASSIGNMENT
Definition: OgreMeshFileFormat.h:104
virtual void update(void)
@ SHADOWTYPE_STENCIL_MODULATIVE
Stencil shadow technique which renders all shadow volumes as a modulation after all the non-transpare...
Definition: OgreCommon.h:240
virtual ~DefaultWorkQueueBase()
const ColourValue & getEmissive(void) const
Gets the self illumination colour of the pass.
Definition: OgrePass.h:507
void setTransparentSortingEnabled(bool enabled)
Sets whether or not transparent sorting is enabled.
@ BBT_PERPENDICULAR_COMMON
Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and ...
Definition: OgreBillboardSet.h:84
const String & getValue() const
Returns a string value depending on the type of the AbstractNode.
Definition: OgreScriptCompiler.h:117
void clear(void)
Clear all the current shaders.
Pass(Technique *parent, unsigned short index, const Pass &oth)
Copy constructor.
@ SHADER_NEEDCOLOURS
Definition: OgreQuake3Types.h:91
std::vector< HardwareCounterBufferSharedPtr > GLCounterBufferList
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:58
static void bulkPixelConversion(void *src, PixelFormat srcFormat, void *dst, PixelFormat dstFormat, unsigned int count)
Convert consecutive pixels from one format to another.
GeneralAllocatedObject UtilityAlloc
Definition: OgreMemoryAllocatorConfig.h:153
void addTextureAlias(const String &aliasName, const String &textureName)
IndexRemap(size_t i, size_t f, const VertexSplit &s)
Definition: OgreTangentSpaceCalc.h:65
static void bulkPixelVerticalFlip(const PixelBox &box)
Flips pixels inplace in vertical direction.
void FromEulerAnglesXZY(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
QueuedRenderableVisitor()
Definition: OgreRenderQueueSortingGrouping.h:73
void optimise(bool discardIdentityNodeTracks=true)
Optimise an animation by removing unnecessary tracks and keyframes.
void addInputParameter(ParameterPtr parameter)
Add input parameter to this function.
Predefined controller value for setting a single floating- point value in a constant parameter of a v...
Definition: OgrePredefinedControllers.h:161
void _cleanupDepthBuffers(IDirect3DSurface9 *manualSurface)
This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
@ MEMCATEGORY_SCENE_CONTROL
Nodes, control data.
Definition: OgreMemoryAllocatorConfig.h:61
unsigned int getWidth() const
Definition: OgreD3D9VideoMode.h:53
bool operator==(const HashedVector< T > &b)
Definition: OgreCommon.h:559
Ogre::Ray getCursorRay(Ogre::Camera *cam)
Returns a 3D ray into the scene that is directly underneath the cursor.
GeneralAllocatedObject TerrainAlloc
Definition: OgreTerrainPrerequisites.h:40
uint16 getDefaultGlobalColourMapSize() const
Get the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2034
@ ID_ONE_MINUS_SRC_COLOUR
Definition: OgreScriptCompiler.h:627
void setSeparateSceneBlending(const SceneBlendType sbt, const SceneBlendType sbta)
Sets the kind of blending this pass has with the existing contents of the scene, separately for color...
Real getOrthoWindowWidth() const
Gets the orthographic window width, for use with orthographic rendering only.
Quaternion(const Radian &rfAngle, const Vector3 &rkAxis)
Construct a quaternion from an angle/axis.
Definition: OgreQuaternion.h:81
bool isProgrammable(void) const
Returns true if this pass is programmable i.e. includes either a vertex or fragment program.
Definition: OgrePass.h:252
TerrainLayerBlendMap(Terrain *parent, uint8 layerIndex, HardwarePixelBuffer *buf)
Constructor.
@ SHADER_GEN_IDENTITY
Definition: OgreQuake3Types.h:120
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
Can either be used as an input or output value.
Definition: OgreController.h:99
void setGamma(float g)
Sets the gamma adjustment factor applied to this texture on loading the data.
Definition: OgreTexture.h:180
virtual void dump(const String &filename) const
Dump the contents of this StaticGeometry to a file for diagnostic purposes.
void setShaderProfiles(GpuProgramType type, const String &shaderProfiles)
Set the output shader target profiles.
@ NONE
Definition: OgrePCZFrustum.h:75
virtual void save(StreamSerialiser &stream)=0
Save this data to a stream.
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
Sets the global alpha rejection approach for future renders.
void setConsecutive()
Set the rowPitch and slicePitch so that the buffer is laid out consecutive in memory.
Definition: OgrePixelFormat.h:393
void showLoadingBar(unsigned int numGroupsInit=1, unsigned int numGroupsLoad=1, Ogre::Real initProportion=0.7f)
Shows loading bar.
virtual ~ConfigDialog()
Definition: OgreConfigDialog.h:47
CSGUnionSource(void)
Constructor, sets the sources to null.
const String & getSchemeName() const
Get the scheme name assigned to this technique.
Definition: OgreCompositionTechnique.h:164
void applyToAnimable(const AnimableValuePtr &anim, Real timePos, Real weight=1.0, Real scale=1.0f)
Applies all numeric tracks given a specific time point and weight to the specified animable value.
GpuParamVariability
The variability of a GPU parameter, as derived from auto-params targeting it.
Definition: OgreGpuProgramParams.h:124
@ PF_ASTC_RGBA_10X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x6)
Definition: OgrePixelFormat.h:262
void _updateBounds(void)
Internal method for updating the bounds of the particle system.
@ GPT_VERTEX_PROGRAM
Definition: OgreGpuProgram.h:50
Definition: OgreLodOutputProviderBuffer.h:43
virtual void _initialise()
Start up the renderer using the settings selected (Or the defaults if none have been selected).
InstancedEntity(InstanceBatch *batchOwner, uint32 instanceID, InstancedEntity *sharedTransformEntity=NULL)
bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
std::map< String, GpuConstantDefinition > GpuConstantDefinitionMap
Definition: OgreGpuProgramParams.h:306
virtual void addChild(OverlayElement *elem)
Adds another OverlayElement to this container.
virtual bool isStillOutstanding(void)=0
Lets you know when query is done, or still be processed by the Hardware.
Collects together the program parameters used for a GpuProgram.
Definition: OgreGpuProgramParams.h:674
Utility class for loading the plugins statically.
Definition: OgreStaticPluginLoader.h:19
@ RSC_TEXTURE_1D
Supports 1d textures.
Definition: OgreRenderSystemCapabilities.h:184
void execute(SceneQueryListener *listener)
See SceneQuery.
void _calcTempSquareDist(const Vector3 &worldPos)
internal method for calculating current squared distance from some world position
static String toString(long val, unsigned short width, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
void setConstant(size_t index, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
void setDepthMask(GLboolean mask)
Sets the current depth mask setting.
D3D11Device & _getDevice()
Definition: OgreD3D11RenderSystem.h:339
Ogre::SceneNode * getTarget()
Definition: OgreCameraMan.h:76
void setTo(Vector3 to)
Setter for the to-part of this cell.
Definition: OgreVolumeOctreeNode.h:170
const String & getRendererName(void) const
Gets the name of the ParticleRenderer to be used to render this particle system.
virtual bool isStereoEnabled(const String &renderWindowName)
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLFBORenderTexture.h:59
virtual void removeAnimation(const String &name)=0
Removes an Animation from this container.
void addGPUVendorRule(GPUVendor vendor, IncludeOrExclude includeOrExclude)
Add a rule which manually influences the support for this technique based on a GPU vendor.
const GpuProgramPtr & getShadowReceiverVertexProgram(void) const
Gets the vertex program used by this pass when rendering shadow receivers, only available after _load...
virtual ~Listener()
Definition: OgreSceneManager.h:243
const String & getName(void) const
Return the name of the pose (may be blank)
Definition: OgrePose.h:64
Default scene manager.
Definition: OgreSceneManagerEnumerator.h:60
virtual T calculate(T sourceValue)=0
SubRenderStateSet & getSubRenderStateInstanceSet()
Return a set of all instances of the template SubRenderState.
Definition: OgreShaderSubRenderState.h:195
@ ID_VERTEX
Definition: OgreScriptCompiler.h:777
Real getScrollY(void) const
Gets the current Y scroll value.
HashedVector(size_type n)
Definition: OgreCommon.h:451
@ PM_WIREFRAME
Polygons are drawn in outline only.
Definition: OgreCommon.h:208
ParamsPanel * createParamsPanel(TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width, unsigned int lines)
static ParameterPtr createConstParam(const Vector2 &val)
const Vector3 getCenterRightTop(void) const
Gets the center of the corners 5, 6.
Definition: OgreVolumeOctreeNode.h:404
static CmdRotationSpeedRangeEnd msRotationSpeedRangeEndCmd
Definition: OgreRotationAffector.h:115
virtual Vector3 getCellSize() const
Get the size of the cells in the grid.
Definition: OgreGrid3DPageStrategy.h:138
void removeAllConstantDefinitions()
Remove a constant definition from this shared set of parameters.
Definition: OgreShaderProgramWriterManager.h:62
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
virtual void shutdown(void)
Shutdown the renderer and cleanup resources.
void clearCache()
Clears all cached values.
bool isTemplate(String strName) const
Definition: OgreOverlayManager.h:214
@ RSC_TEXTURE_COMPRESSION
Supports compressed textures.
Definition: OgreRenderSystemCapabilities.h:141
float bbox[6]
Definition: OgreQuake3Types.h:197
const String & getOrigin(void) const
Get the origin of this resource, e.g.
Definition: OgreResource.h:410
virtual void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)=0
Sets the comparison function for the depth buffer check.
static unsigned short POSITION_BUFFER
Buffer binding used for holding positions.
Definition: OgreTerrainQuadTreeNode.h:256
bool resourceExists(const String &name, const String &group=RGN_DEFAULT)
Returns whether the named resource exists in this manager.
Definition: OgreResourceManager.h:326
@ PF_DXT5
DDS (DirectDraw Surface) DXT5 format.
Definition: OgrePixelFormat.h:95
size_t getIntLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the buffer, for programs which support th...
@ LBX_BLEND_CURRENT_ALPHA
as LBX_BLEND_DIFFUSE_ALPHA, but use current alpha from previous stages
Definition: OgreBlendMode.h:99
void doSet(void *target, const String &val)
void _addNode(OctreeNode *)
Adds an Octree scene node to this octree level.
This plugin subclass of ParticleAffector allows you to alter the scale of particles.
Definition: OgreScaleAffector.h:49
BspNode * findLeaf(const Vector3 &point) const
Walks the entire BSP tree and returns the leaf which contains the given point.
void saveWorld(PagedWorld *world, const DataStreamPtr &stream)
Save a PagedWorld instance to a file.
uint32 height
Definition: OgreGLRenderSystemCommon.h:79
TextureType
Enum identifying the texture type.
Definition: OgreTexture.h:94
bool mReinterpretingGS
Definition: OgreD3D11HLSLProgram.h:350
static void removeWindowEventListener(Ogre::RenderWindow *window, WindowEventListener *listener)
uchar * getData(void)
Returns a pointer to the internal image buffer.
const Vector4f & getLightAttenuation(size_t index) const
const Vector3 getCorner7(void) const
Gets the coordinate of corner 7.
Definition: OgreVolumeOctreeNode.h:503
void setRotateAnimation(Real speed)
Sets up an animated texture rotation for this layer.
void useFilename()
Set to use file name.
void execute(RaySceneQueryListener *listener)
See RayScenQuery.
virtual const String & getType() const
void calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Real lambda=0.95f)
Calculate a new splitting scheme.
@ ID_GPU_DEVICE_RULE
Definition: OgreScriptCompiler.h:611
Locking helper.
Definition: OgreHardwareBuffer.h:383
@ GCT_MATRIX_DOUBLE_3X4
Definition: OgreGpuProgramParams.h:105
void setExternalMicrocode(ID3DXBuffer *pMicrocode)
Tells the program to load from some externally created microcode instead of a file or source.
void _pushCurrentSceneManager(SceneManager *sm)
Pushes the scene manager currently being used to render.
Real getLodValue(void) const
Get the LOD value.
Definition: OgreStaticGeometry.h:359
static const uint32 CHUNK_ID
Definition: OgrePagedWorld.h:63
HighLevelGpuProgramPtr createProgram(const String &name, const String &groupName, const String &language, GpuProgramType gptype)
Create a new, unloaded HighLevelGpuProgram.
void setShadowsEnabled(bool enabled)
Set whether shadows are enabled in this target pass.
virtual OverlayElement * clone(const String &instanceName)
void getPositionAlign(Real x, Real y, Real z, Alignment align, Vector3 *outWSpos) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
OverlayElement * cloneOverlayElementFromTemplate(const String &templateName, const String &instanceName)
AllocatedObject ResourceAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:102
Command object for setting the top colour.
Definition: OgreTextAreaOverlayElement.h:179
void getWorldTransforms(Matrix4 *xform) const override
Gets the world transform matrix / matrices for this renderable object.
String file
Definition: OgreScriptCompiler.h:68
void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op=SBO_ADD)
Definition: OgreRenderSystem.h:270
void setMaterial(const MaterialPtr &mat)
Sets the the material this element will use.
Specialisation of HardwareVertexBuffer for OpenGL.
Definition: OgreGL3PlusHardwareVertexBuffer.h:39
@ ENDIAN_NATIVE
Use the platform native endian.
Definition: OgreSerializer.h:62
void exportQueued(const String &filename, const bool includeProgDef=false, const String &programFilename="")
Exports queued material(s) to a named material script file.
void unsetBinding(unsigned short index)
Removes an existing binding.
Matrix4 getTransposeProjectionMatrix() const
void setAutoHardwareBufferManagement(bool autoManagement)
Set/Get automatic hardware buffers management.
Definition: OgreD3D9ResourceManager.h:92
Builds the union between two sources.
Definition: OgreVolumeCSGSource.h:252
@ TU_RENDERTARGET
This texture will be a render target, i.e.
Definition: OgreTexture.h:66
void setSplitPadding(Real pad)
Set the padding factor to apply to the near & far distances when matching up splits to one another,...
Definition: OgreShadowCameraSetupPSSM.h:106
virtual void synchroniseBaseSettingsWith(const Camera *cam)
Synchronise core camera settings with another.
void refreshCursor()
Updates cursor position based on unbuffered mouse state.
void destroySection(PagedWorldSection *sec)
Destroy a section of world.
static const AutoConstantDefinition * getAutoConstantDefinition(const String &name)
gets the auto constant definition associated with name if found else returns NULL
virtual const String & getTypeName(void) const
See OverlayElement.
RenderTarget * detachRenderTarget(const String &name)
Detaches a named RenderTarget from the active render system and returns a pointer to it.
static Quaternion SlerpExtraSpins(Real fT, const Quaternion &rkP, const Quaternion &rkQ, int iExtraSpins)
signed char int8
Definition: OgrePlatform.h:259
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:81
Definition: OgreSceneManager.h:213
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGL3PlusFBOMultiRenderTarget.h:48
Particle emitter which emits particles randomly from points inside a box.
Definition: OgreBoxEmitter.h:51
Octree implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgreOctreeSceneQuery.h:85
void setNumCustomParams(unsigned char numCustomParams)
Sets the number of custom parameters per instance.
virtual void unbind(RenderTarget *target)
Unbind a certain render target.
Definition: OgreGLRenderTexture.h:150
virtual void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this skeleton.
LinearForceAffector(ParticleSystem *psys)
Default constructor.
ManualCullingMode
Manual culling modes based on vertex normals.
Definition: OgreCommon.h:175
bool requiresTextureFlipping() const
Definition: OgreD3D9MultiRenderTarget.h:49
void doSet(void *target, const String &val)
static bool parse(const String &str, double &v)
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
const HardwarePixelBufferSharedPtr & getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
virtual RequestID addRequest(uint16 channel, uint16 requestType, const Any &rData, uint8 retryCount=0, bool forceSynchronous=false, bool idleThread=false)
Add a new request to the queue.
static PixelFormat getClosestOGREFormat(GLenum format)
Function to get the closest matching OGRE format to an internal GL format.
Definition: OgreHlmsShaderTemplate.h:43
@ TLSS_NORMAL
Tangent-space normal information from a detail texture.
Definition: OgreTerrainMaterialGenerator.h:60
void removeAnimation(const String &name)
Removes an Animation from this skeleton.
virtual bool getSortByDistance(void) const
Gets whether the results are sorted by distance.
bool getInvertVertexWinding(void) const
Indicates whether or not the vertex windings set will be inverted for the current render (e....
void setResourceGroup(const String &grp)
Set the resource group in which files will be located.
Definition: OgreTerrainGroup.h:164
std::vector< Pass * > Passes
Definition: OgreTechnique.h:54
void CreateDomainShader()
LayerInstance()
Definition: OgreTerrain.h:305
void initialiseCounts(void)
Utility function read the header and set up counters.
virtual ~GLSLProgramCommon()
Definition: OgreGLSLProgramCommon.h:65
@ TEX_TYPE_2D_RECT
Definition: OgreTexture.h:107
static const IdString LightsSpot
Definition: OgreHlmsPropertyHelper.h:69
ColourValue getDerivedSceneColour(void) const
Operand & mask(OpMask opMask)
Definition: OgreShaderFunctionAtom.h:119
void setNormalMapTextureName(const String &textureName)
Set the normal map texture name.
Definition: OgreShaderExNormalMapLighting.h:134
void _setDepthBufferWriteEnabled(bool enabled=true)
Sets whether or not the depth buffer is updated after a pixel write.
virtual void setUseRenderingDistance(bool use)
Set whether this camera should use the 'rendering distance' on objects to exclude distant objects fro...
Definition: OgreCamera.h:617
Affine3(Real m00, Real m01, Real m02, Real m03, Real m10, Real m11, Real m12, Real m13, Real m20, Real m21, Real m22, Real m23)
Definition: OgreMatrix4.h:345
Bridge interface from the render system to the stereo driver.
Definition: OgreD3D11StereoDriverBridge.h:46
const String & getType(void) const
Gets the type of this renderer - must be implemented by subclasses.
static ControllerValueRealPtr create(GpuProgramParametersSharedPtr params, size_t index)
Constructor.
Definition: OgrePredefinedControllers.h:177
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
virtual void _swapAllRenderTargetBuffers()
Internal method for swapping all the buffers on all render targets, if _updateAllRenderTargets was ca...
static ParameterPtr createInIndices(int index)
void resourceLoadEnded()
This event is fired when the resource has been loaded.
Definition: OgreTrays.h:1112
AxisAlignedBoxSceneQuery(SceneManager *mgr)
uint8 getRetryCount() const
Get the remaining retry count.
Definition: OgreWorkQueue.h:114
void set(const Vector3 &newOrigin, const Vector3 &newEnd)
std::map< String, Animation * > AnimationList
Definition: OgreSceneManager.h:402
void destroyAllWidgets()
Destroys all widgets.
virtual void execute(IntersectionSceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
virtual ~GL3PlusRenderToVertexBuffer()
const TexturePtr & getGlobalColourMap() const
Get access to the global colour map, if enabled.
Definition: OgreTerrain.h:1391
float normal[3]
Definition: OgreQuake3Types.h:149
virtual void _notifyMoved(void)
Internal method called to notify the object that it has been moved.
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
void _initialise() override
Start up the renderer using the settings selected (Or the defaults if none have been selected).
int getVBlankMissCount(D3D9RenderWindow *renderWindow)
~D3D9RenderTexture()
Definition: OgreD3D9Texture.h:183
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
void doSet(void *target, const String &val)
Definition: OgreException.h:205
ConstMapIterator< PriorityMap > ConstPriorityMapIterator
Definition: OgreRenderQueueSortingGrouping.h:457
bool isPreparedForShadowVolumes(void) const
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes.
Definition: OgreMesh.h:772
size_t getParticleQuota(void) const
Returns the maximum number of particles this system is allowed to have active at once.
Sphere()
Standard constructor - creates a unit sphere around the origin.
Definition: OgreSphere.h:59
void loadHeaderFromStream(DataStreamPtr &inStream)
Load just the header information from a Quake3 file.
void _setCustomParam(InstancedEntity *instancedEntity, unsigned char idx, const Vector4 &newParam)
@ ID_TESSELLATION_DOMAIN_PROGRAM
Definition: OgreScriptCompiler.h:852
Usage: OGRE_NEW SceneNode( Id::generateNewId< Node >() )
Definition: OgreId.h:43
D3DFORMAT _getDepthStencilFormatFor(D3DFORMAT fmt)
Check which depthStencil formats can be used with a certain pixel format, and return the best suited.
Command object for accurate facing(see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:105
String doGet(const void *target) const
virtual bool isEquivalentFormatSupported(TextureType ttype, PixelFormat format, int usage)
Returns whether this render system can support the texture format requested with the given usage opti...
void shutdownAll(void)
Shutdown all ResourceManagers, performed as part of clean-up.
std::vector< uint32 > & _getFboDeferredForDestruction()
FBOs deferred for destruction in proper GL context.
Definition: OgreGLContext.h:89
static OverlayManager & getSingleton(void)
Override standard Singleton retrieval.
@ OPT_0
Optimisation level 0.
Definition: OgreD3D9HLSLProgram.h:144
uint16 getType() const
Get the type of this request within the given channel.
Definition: OgreWorkQueue.h:110
void FromAngleAxis(const Vector3 &rkAxis, const Radian &fRadians)
bool useBoneMatrixLookup() const
Tells whether to use bone matrix lookup.
Definition: OgreInstanceBatchVTF.h:180
void postViewportUpdate(const RenderTargetViewportEvent &evt)
Called just after a Viewport on a RenderTarget is to be updated.
Matrix4 getInverseProjectionMatrix() const
static Radian ASin(Real fValue)
Arc sine function.
bool isDouble() const
Definition: OgreGpuProgramParams.h:168
void ToAngleAxis(Vector3 &rkAxis, Radian &rfAngle) const
Note: Matrix must be orthonormal.
Common subclass of DataStream for handling data from std::basic_istream.
Definition: OgreDataStream.h:480
void _prepare(void)
Internal method for preparing to load this pass.
uint32 ARGB
Definition: OgreColourValue.h:42
bool hasVertexTrack(unsigned short handle) const
Does a track exist with the given handle?
void destroyAntiPortal(const String &portalName)
Delete a anti portal instance by name.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
ushort getWeightCount()
Returns the number of weights/bones affecting a vertex.
Chain of compositor effects applying to one viewport.
Definition: OgreCompositorChain.h:48
const AnimationStateMap & getAnimationStates() const
Get all the animation states in this set.
Definition: OgreAnimationState.h:241
static size_t parseSizeT(const String &val, size_t defaultValue=0)
Converts a String to size_t.
Definition: OgreStringConverter.h:235
void destroyManualObject(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
GLSLProgram * getActiveProgram(void)
Get the program object that links the two active shader objects together if a program object was not ...
bool beforeIlluminationPassesCleared(Ogre::Technique *tech)
Called right before illuminated passes would be removed, so that owner of runtime generated technique...
virtual ~SceneManager()
Default destructor.
void setTimer(Timer *t)
Sets the timer for the profiler.
virtual const Vector3 & getDirPositionReference() const
Returns the position reference to generate direction of emitted particles.
void attachRenderWindow(D3D9RenderWindow *renderWindow)
bool intersects(const Capsule &) const
virtual void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Definition: OgreRenderSystem.h:880
virtual SceneNode * createSceneNodeImpl(const String &name)
override this to ensure their specialised PCZSceneNode is used.
~DefaultPlaneBoundedVolumeListSceneQuery()
virtual Real getLoadRadiusInCells()
Get the load radius as a multiple of cells.
Definition: OgreGrid2DPageStrategy.h:171
virtual void addMarchingSquaresTriangles(const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const =0
Adds triangles to a MeshBuilder via Marching Squares.
void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
void setUsage(int u)
Sets the TextureUsage identifier for this Texture; only useful before load()
Definition: OgreTexture.h:276
void doSet(void *target, const String &val)
const QueuedRenderableCollection & getSolidsDiffuseSpecular(void) const
Get the collection of solids currently queued per light (only applicable in additive shadow modes).
Definition: OgreRenderQueueSortingGrouping.h:360
void touch(void)
'Touches' the resource to indicate it has been used.
Definition: OgreMaterial.h:641
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreHighLevelGpuProgram.h:120
@ ACT_RENDER_TARGET_FLIPPING
-1 if requires texture flipping, +1 otherwise.
Definition: OgreGpuProgramParams.h:786
virtual void _endFrame(void)=0
Ends rendering of a frame to the current viewport.
Vector3 GetColumn(size_t iCol) const
Definition: OgreMatrix3.h:107
bool hasSkeleton(void) const
Returns whether or not this entity is skeletally animated.
Definition: OgreEntity.h:610
static const uint32 TERRAINGENERALINFO_CHUNK_ID
Definition: OgreTerrain.h:289
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
@ SPC_LIGHTDIRECTION_TANGENT_SPACE5
Definition: OgreShaderParameter.h:205
int surface_flags
Definition: OgreQuake3Types.h:204
Real nX
X component of the normal.
Definition: OgreVolumeMeshBuilder.h:59
virtual ~Pool()
Definition: OgreResourceManager.h:53
bool isUseTexcoordRect(void) const
Returns true if this billboard use individual texture coordinate rect (i.e.
Definition: OgreBillboard.h:183
@ ID_POINT_SIZE_MIN
Definition: OgreScriptCompiler.h:695
virtual ~LodCollapseCost()
Definition: OgreLodCollapseCost.h:46
ConcreteNodeType
These enums hold the types of the concrete parsed nodes.
Definition: OgreScriptCompiler.h:50
PCPlane * getUnusedCullingPlane(void)
Get an unused PCPlane from the CullingPlane Reservoir.
void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
size_t numberOfInstances
The number of instances for the render operation - this option is supported in only a part of the ren...
Definition: OgreRenderOperation.h:126
unsigned long long int getChangeCount() const
Returns the number of times the generator has undergone a change which would require materials to be ...
Definition: OgreTerrainMaterialGenerator.h:259
RenderOperation::OperationType getInputOperationType(void) const
Returns the operation type that this geometry program expects to receive as input.
Definition: src/GLSL/include/OgreGLSLProgram.h:65
SharedPtr(const SharedPtr< Y > &r)
Definition: OgreSharedPtr.h:68
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
uint8 getMaxLayers(const Terrain *terrain) const
Get the number of layers supported.
@ ID_FILTERING
Definition: OgreScriptCompiler.h:719
@ ID_DEPTH_VALUE
Definition: OgreScriptCompiler.h:831
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
Definition: OgreHlmsPbsMaterial.h:74
FileStreamDataStream(std::ifstream *s, bool freeOnClose=true)
Construct a read-only stream from an STL stream.
virtual void setCellRangeMinX(int32 minX)
Set the index range of all cells (values outside this will be ignored)
Definition: OgreD3D11DriverList.h:37
Definition: OgreD3D9VideoModeList.h:38
void setBlendIndicesGpuRedundant(bool redundant)
Sets whether blend indices information needs to be passed to the GPU.
Definition: OgreRoot.h:950
static T Clamp(T val, T minval, T maxval)
Clamp a value within an inclusive range.
Definition: OgreMath.h:706
Definition: OgreInstancedEntity.h:80
@ GCT_MATRIX_DOUBLE_4X4
Definition: OgreGpuProgramParams.h:108
void preDeltaCalculation(const Rect &rect)
Notify the node (and children) that deltas are going to be calculated for a given range.
virtual BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
void addListener(Listener *l)
Add a listener to this viewport.
uint size
Definition: OgreTerrainLodManager.h:83
virtual void frameEnd(Real timeElapsed)=0
Called when the frame ends.
const AxisAlignedBox & getBox(void) const
Gets the box which is being used for this query.
void destroyAllRenderQueueInvocationSequences(void)
Destroy all RenderQueueInvocationSequences.
String doGet(const void *target) const
Listener which gets called back on Node events.
Definition: OgreNode.h:77
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
uint32 top
Definition: OgreCommon.h:705
UniformParameterPtr getParameterByType(GpuConstantType type, int index)
Get parameter by a given type and index.
@ ID_CUBIC_TEXTURE
Definition: OgreScriptCompiler.h:709
SceneBlendOperation
Blending operations controls how objects are blended into the scene.
Definition: OgreBlendMode.h:248
const ColourValue & getColourTop(void) const
Gets the colour of the top of the letters.
virtual ~IntersectionSceneQueryListener()
Definition: OgreSceneQuery.h:458
virtual void write(const bool *boolean, size_t count=1)
virtual ~SubRenderState()
Class destructor.
friend class SGPass
Definition: OgreShaderGenerator.h:892
void destroyWorld(const String &name)
Destroy a world.
void removeConstantDefinition(const String &name)
Remove a constant definition from this shared set of parameters.
bool operator<(const HashedVector< T > &b)
Definition: OgreCommon.h:562
~HashedVector()
Definition: OgreCommon.h:463
@ ID_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:585
virtual BackgroundProcessTicket unload(const String &resType, const String &name, Listener *listener=0)
Unload a single resource in the background.
void removeTargetPass(size_t idx)
Remove a target pass.
float widthFactor
Definition: OgreCompositionTechnique.h:71
@ ANIMBLEND_AVERAGE
Animations are applied by calculating a weighted average of all animations.
Definition: OgreSkeleton.h:50
Specialised AnimationTrack for dealing with generic animable values.
Definition: OgreAnimationTrack.h:267
void flushShaderCache()
Flush the shader cache.
virtual void removeAllAnimations(void)
Removes all morph Animations from this mesh.
String getDescription() const
void setName(const String &name)
Set the name of the Texture Unit State.
void clear(void)
Clears all the points in the spline.
virtual Viewport * _getViewport(void)
Get the current active viewport for rendering.
bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
Real getTextureUScale(void) const
Get texture uscale value.
SharedPtr< ConcreteNode > ConcreteNodePtr
Definition: OgreScriptCompiler.h:62
void load()
Load the library.
virtual void setSchemeName(const String &schemeName)
Assign a scheme name to this technique, used to switch between multiple techniques by choice rather t...
@ LBX_ADD_SMOOTH
as LBX_ADD, but subtract product from the sum
Definition: OgreBlendMode.h:91
void acquirePrograms(Pass *pass)
Acquire CPU/GPU programs set associated with the given render state and bind them to the pass.
std::vector< RenderTexture * > BoundSufaceList
Definition: OgreRenderTexture.h:105
void removeLodListener(LodListener *listener)
Remove a level of detail listener.
GLES2HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
Definition: OgreMemoryAllocatorConfig.h:84
bool getSplitNoShadowPasses(void) const
Gets whether or not the queue will split passes which have shadow receive turned off (in their parent...
int mNumPlanes
Definition: OgreQuake3Level.h:141
const String & getName() const
Return the name of the log.
Definition: OgreLog.h:128
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
void setTextureAnisotropy(unsigned int maxAniso)
Sets the anisotropy level to be used for this texture level.
Definition: OgreTextureUnitState.h:720
Operand & x()
Definition: OgreShaderFunctionAtom.h:112
@ RSC_HWRENDER_TO_VERTEX_BUFFER
Supports rendering to vertex buffers.
Definition: OgreRenderSystemCapabilities.h:138
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
const Any & getUserAny(void) const
Retrieves the custom key less user object associated with this class.
void setSampler(const SamplerPtr &sampler)
Definition: OgreTextureUnitState.h:673
PagedWorldSectionFactory * getWorldSectionFactory(const String &name)
Get a PagedWorldSectionFactory.
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
void setTextureBorderColour(const ColourValue &colour)
Sets the texture border colour.
Definition: OgreTextureUnitState.h:691
void setHardwareGammaEnabled(bool enabled)
Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
Definition: OgreTexture.h:200
bool hasVertex(const Vertex *v) const
Definition: OgreLodData.h:125
bool writeA
Definition: OgreBlendMode.h:272
Predefined controller value for getting the latest frame time.
Definition: OgrePredefinedControllers.h:52
virtual void beginOcclusionQuery()=0
Starts the hardware occlusion query.
CompositorChain * getCompositorChain(Viewport *vp)
Get the compositor chain for a Viewport.
MaterialPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
Any(const ValueType &value)
Definition: OgreAny.h:68
const AutoParamDataSource * _getAutoParamDataSource()
Definition: OgreSceneManager.h:3468
void bind(IDirect3DDevice9 *dev, IDirect3DVolume9 *mVolume, IDirect3DBaseTexture9 *mipTex)
GeneralAllocatedObject PluginAlloc
Definition: OgreMemoryAllocatorConfig.h:135
void setCharacterSpacer(uint charSpacer)
Sets the spacing to allocate for font characters to overlap each other.
@ LF_DEFAULT
Only reloadable resources are processed, reload restores initial state.
Definition: OgreResource.h:122
void _cursorReleased(const Ogre::Vector2 &cursorPos)
@ ID_TARGET_OUTPUT
Definition: OgreScriptCompiler.h:793
std::pair< CodePoint, CodePoint > CodePointRange
A range of code points, inclusive on both ends.
Definition: OgreFont.h:154
void setTessellationDomainProgramConstantBoolCount(ushort c)
The number of boolean constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:827
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
Query the real capabilities of the GPU and driver in the RenderSystem.
~TempBlendedBufferInfo(void)
void _firePreparingComplete(bool wasBackgroundLoaded)
Firing of preparing complete event.
@ GCT_FLOAT1
Definition: OgreGpuProgramParams.h:69
ComPtr & operator=(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:146
shorthand for "dst = texture(sampler, uv);" instead of using FFP_SampleTexture
Definition: OgreShaderFunctionAtom.h:307
virtual ~ControllerValue()
Definition: OgreController.h:102
ParticleSystemRenderer()
Constructor.
Definition: OgreParticleSystemRenderer.h:53
virtual ~CompositionTechnique()
virtual PageID getPageID(const Vector3 &worldPos)
Get the page ID for a given world position.
unsigned short getNumTechniques(void) const
Retrieves the number of techniques.
friend Vector operator/(Real s, const Vector &v)
Definition: OgreVector.h:660
@ TL_TOPLEFT
Definition: OgreTrays.h:56
Particle()
Definition: OgreParticle.h:100
GLES2Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLES2RenderSystem *renderSystem)
Command object for setting matrix packing in column-major order.
Definition: OgreD3D9GpuProgram.h:44
virtual unsigned int getDisplayMonitorCount() const =0
Gets the number of display monitors.
std::map< String, ParticleAffectorFactory * > ParticleAffectorFactoryMap
Definition: OgreParticleSystemManager.h:79
void destroyVertexDeclaration(VertexDeclaration *decl)
Destroys a vertex declaration.
Real getRenderingMinPixelSize() const
Returns the minimum pixel size an object needs to be in both screen axes in order to be rendered.
Definition: OgreMovableObject.h:327
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
@ SMT_FRAME_SEQUENTIAL
Definition: OgreCommon.h:337
VertexBufferBinding * createVertexBufferBinding(void)
Creates a new VertexBufferBinding.
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreD3D9HLSLProgram.h:166
void setTextureFiltering(TextureFilterOptions filterType)
Set the texture filtering for this unit, using the simplified interface.
Definition: OgreTextureUnitState.h:695
const AxisAlignedBox & getAAB()
Returns an updated AAB of the portal for intersection test.
@ PCT_BYTE
Definition: OgrePixelFormat.h:325
virtual ~ParticleSystemManager()
IDirect3DDevice9 * getD3D9Device()
static Vector3 parseVector3(const String &val, const Vector3 &defaultValue=Vector3::ZERO)
Parses a Vector3 out of a String.
Definition: OgreStringConverter.h:266
PixelFormat getSrcFormat(void) const
Returns the pixel format of the original input texture (may differ due to hardware requirements and p...
Definition: OgreTexture.h:342
virtual void reset(bool resetManualBones=false)
Resets the position and orientation of all bones in this skeleton to their original binding position.
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLFBORenderTexture.h:60
static const Real msEpsilon
Cutoff for sine near zero.
Definition: OgreQuaternion.h:338
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)
MaterialPtr generateForCompositeMap(const Terrain *terrain)
Generate / reuse a material for the terrain.
void doSet(void *target, const String &val)
Definition: OgreGLRenderTarget.h:16
UserObjectBindings(const UserObjectBindings &other)
Copy constructor.
@ OGREPROF_GENERAL
General processing.
Definition: OgreProfiler.h:86
~DefaultSceneManagerFactory()
Definition: OgreSceneManagerEnumerator.h:52
virtual Real getTerrainWorldSize() const
Retrieve the world size of each terrain instance.
Definition: OgreTerrainGroup.h:125
virtual ~ShadowCaster()
Definition: OgreShadowCaster.h:121
void setShadowIndexBufferSize(size_t size)
Sets the maximum size of the index buffer used to render shadow primitives.
void destroyBillboardSet(BillboardSet *set)
Removes & destroys an BillboardSet from the SceneManager.
virtual void removeBillboard(Billboard *pBill)
Removes a billboard from the set.
virtual void setParticleVelocity(Real speed)
Sets the initial velocity of particles emitted.
void setTextureTecPassStateLevel(int t, int p, int s)
Used for attaching texture to Technique, State, and texture unit layer.
Definition: OgreExternalTextureSource.h:128
TempBlendedBufferInfo * _getSkelAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software skeletal animation.
virtual bool isEndOfChunk(uint32 id)
Return whether the current data pointer is at the end of the current chunk.
Pose * createPose(ushort target, const String &name=BLANKSTRING)
Create a new Pose for this mesh or one of its submeshes.
const AxisAlignedBox & getBoundingBox(void) const
Returns the axis-aligned box which contains this node if it is a leaf.
static void writeLayerInstanceList(const Terrain::LayerInstanceList &lst, StreamSerialiser &ser)
Utility method to write a layer instance list to a stream.
SceneNode * createChildSceneNode(const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY) override
Creates an unnamed new SceneNode as a child of this node.
const String & getTemplateFileName()
Definition: OgreHlmsShaderTemplate.h:47
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
virtual void convertWorldToGridSpace(const Vector3 &world, Vector2 &grid)
Convert a world point to grid space (not relative to origin)
static String toString(const Vector3 &val)
Converts a Vector3 to a String.
Class for managing RenderSystemCapabilities database for Ogre.
Definition: OgreRenderSystemCapabilitiesManager.h:50
const Vector3 & getNormal(size_t poly)
Returns the normal of a specified polygon.
void doSet(void *target, const String &val)
uint32 _allocateNextMovableObjectTypeFlag(void)
Allocate the next MovableObject type flag.
@ M_POSE_VERTEX
Definition: OgreMeshFileFormat.h:178
Definition: OgreLodConfigSerializer.h:42
void setNamedConstant(const String &name, const double *val, size_t count)
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
Definition: OgreBorderPanelOverlayElement.h:336
AnyNumeric(const ValueType &value)
Definition: OgreAny.h:232
Controller(const SharedPtr< ControllerValue< T > > &src, const SharedPtr< ControllerValue< T > > &dest, const SharedPtr< ControllerFunction< T > > &func)
Usual constructor.
Definition: OgreController.h:149
void * getControlPointBuffer(void) const
Definition: OgrePatchSurface.h:168
const StringVector & getProfiles(void) const
Gets the Cg profiles which can be supported by the program.
Definition: OgreCgProgram.h:148
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreOctreeSceneManager.h:228
HardwareUniformBuffer(HardwareBufferManagerBase *mgr, size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer=false, const String &name="")
Should be called by HardwareBufferManager.
static void startup(void)
Static method to startup and register the PVRTC codec.
void install()
Perform the plugin initial installation sequence.
static HardwareBufferManager * getSingletonPtr(void)
Get the singleton instance.
#define _OgrePagingExport
Definition: OgrePagingPrerequisites.h:79
void setBlueAdjust1(float blue)
Sets the blue adjustment to be made per second to particles.
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
void convertToSubMesh(SubMesh *sm) const
convert this section to a SubMesh
void doSet(void *target, const String &val)
const Any & getUserAny(const String &key) const
Retrieves the custom user object associated with this class and key.
@ SHADER_NOCULL
Definition: OgreQuake3Types.h:86
virtual void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
The handler method every subclass must implement.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:177
uint32 getHash(void) const
Gets the 'hash' of this pass, ie a precomputed number to use for sorting.
Definition: OgrePass.h:1379
virtual const Vector3 & getUp(void) const
Returns the up vector of the emitter.
void extractLayoutQualifiers(void)
void setAddressingMode(TextureAddressingMode u, TextureAddressingMode v, TextureAddressingMode w)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:118
SmallVector()
Definition: OgreSmallVector.h:715
static void destroy_range(T *S, T *E)
Definition: OgreSmallVector.h:218
@ GCT_MATRIX_4X3
Definition: OgreGpuProgramParams.h:89
void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
Sets the current colour mask.
ConstVectorIterator< ObjectMap > ConstObjectIterator
Definition: OgreSceneNode.h:63
void setImageAdjust(String name)
static void addEmbbeddedFile(const String &name, const uint8 *fileData, size_t fileSize, DecryptEmbeddedZipFileFunc decryptFunc)
Add an embedded file to the embedded file list.
static const uint16 WORKQUEUE_DERIVED_DATA_REQUEST
Definition: OgreTerrain.h:1511
void setLodIndex(unsigned short index)
Assigns a level-of-detail (LOD) index to this Technique.
std::vector< Expression > children
Definition: OgreHlmsShaderGenerator.h:66
static void unlockDeviceAccess()
uint32 registerCustomWordId(const String &word)
Adds a custom word id which can be used for custom script translators.
ParameterPtr getLocalParameter(Parameter::Content content)
get local parameter by content
Definition: OgreShaderFunction.h:206
void findNodesIn(const Ray &ray, std::list< SceneNode * > &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the ray into the given list.
static const size_t MS_CORNERS_TOP[4]
To call Marching Squares with a cube on its top.
Definition: OgreVolumeIsoSurface.h:78
void setEndPoint(const Vector3 &newEndpoint)
void setProgram(const GpuProgramPtr &prog, bool resetParams=true)
Sets the program to use.
@ ID_SUBTRACT
Definition: OgreScriptCompiler.h:741
@ ID_PARAM_INDEXED_AUTO
Definition: OgreScriptCompiler.h:605
virtual Real getTrailLength(void) const
Get the length of the trail.
Definition: OgreRibbonTrail.h:108
unsigned int flags
Definition: OgreQuake3Shader.h:105
virtual Light * createLight(const String &name)
Creates a light for use in the scene.
const String & getZoneTypeName() const
Definition: OgrePCZone.h:95
#define _OgreD3D11Export
Definition: OgreD3D11Prerequisites.h:131
@ RSC_TEXTURE_COMPRESSION_ETC1
Supports compressed textures in the ETC1 format.
Definition: OgreRenderSystemCapabilities.h:151
void setVertexDeclaration(VertexDeclaration *decl)
void doSet(void *target, const String &val)
void increaseRefreshRate(unsigned int rr)
Definition: OgreD3D9VideoMode.h:59
void _setTexturePtr(const TexturePtr &texptr, size_t frame)
Set the texture pointer for a given frame (internal use only!).
Rect calculateHeightDeltas(const Rect &rect)
Calculate (or recalculate) the delta values of heights between a vertex in its recorded position,...
bool isFileOutputSuppressed() const
Get whether file output is suppressed for this log.
Definition: OgreLog.h:132
static void _writeToCache(uint32 id, GLuint programHandle)
@ PCT_COUNT
Unsigned integer per component.
Definition: OgrePixelFormat.h:331
@ ID_SEPARATE_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:637
MapIterator< AnimationList > AnimationIterator
Definition: OgreSceneManager.h:2557
PointEmitter(ParticleSystem *psys)
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
OperationType
The rendering operation type to perform.
Definition: OgreRenderOperation.h:48
Specialised AnimationTrack for dealing with changing vertex position information.
Definition: OgreAnimationTrack.h:482
In(UniformParameterPtr p)
Definition: OgreShaderFunctionAtom.h:165
std::list< WireBoundingBox * > BoxList
Definition: OgreOctreeSceneManager.h:59
void setConstant(size_t index, const uint *val, size_t count)
Sets a multiple value constant unsigned integer parameter to the program.
Class for managing Material settings for Ogre.
Definition: OgreMaterialManager.h:71
Real getDefaultLayerTextureWorldSize() const
Get the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:2026
RenderSystemCapabilities()
void _dirtyHash(void)
Mark the hash as dirty.
SceneManager * sceneManager
The scenemanager to construct the entity with.
Definition: OgreVolumeChunk.h:58
void setParentEntity(Entity *pEntity)
ManualResourceLoader * loader
Definition: OgreResourceGroupManager.h:265
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)=0
@ ID_ALPHA
Definition: OgreScriptCompiler.h:706
virtual void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
~DynLib()
Default destructor.
static void setExceptionsErrorLevel(const eExceptionsErrorLevel exceptionsErrorLevel)
Command object for setting entry point.
Definition: OgreD3D11HLSLProgram.h:55
D3D9Driver(const D3D9Driver &ob)
void _notifyParticleResized(void)
Optional callback notified when particles are resized individually.
Real getSinTime_0_1(Real x) const
virtual Node * removeChild(const String &name)
Drops the named child from this node.
virtual void setWorldGeometry(const String &filename)
Sets the source of the 'world' geometry, i.e.
void setLayerArrayNames(TextureType type, const std::vector< String > &names)
Sets this texture layer to use an array of texture maps.
virtual Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreParticleSystem.h:370
virtual void save(const String &filename)
Save page data to a file.
SkeletonVersion
Skeleton compatibility versions.
Definition: OgreSkeletonSerializer.h:41
std::map< String, ParamCommand * > ParamCommandMap
Definition: OgreStringInterface.h:85
void setNamedConstant(const String &name, const Matrix4 &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const Ogre::StringVector & getAllParamValues()
Definition: OgreTrays.h:615
void install()
Perform the plugin initial installation sequence.
bool calculateCurrentLod(const Camera *cam, Real cFactor)
Calculate appropriate LOD for this node and children.
virtual CullingMode _getCullingMode(void) const
const AutoConstantEntry * findAutoConstantEntry(const String ¶mName) const
Finds an auto constant that's affecting a given named parameter index.
T * pointer
Definition: OgreSmallVector.h:156
virtual Real getBoundingRadius(void) const =0
Retrieves the radius of the origin-centered bounding sphere for this object.
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
GL3PlusHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
A SkeletonInstance is a single instance of a Skeleton used by a world object.
Definition: OgreSkeletonInstance.h:54
#define OGRE_NEW_T(T, category)
Allocate space for one primitive type, external type or non-virtual type with constructor parameters.
Definition: OgreMemoryAllocatorConfig.h:186
virtual void addResponseHandler(uint16 channel, ResponseHandler *rh)=0
Add a response handler instance to the queue.
void _computeBoneBoundingRadius()
Compute the bone bounding radius by looking at the vertices, vertex-bone-assignments,...
const ColourValue & getColour(void) const
Gets the colour of this billboard.
@ SPC_LIGHTPOSITION_WORLD_SPACE6
Definition: OgreShaderParameter.h:226
std::map< String, ConfigOption > ConfigOptionMap
Definition: OgreConfigOptionMap.h:57
void load(DataStreamPtr &stream, const String &group, SceneNode *rootNode)
Loads a BSP-based level from a stream.
static ResourceGroupManager * getSingletonPtr(void)
Get the singleton instance.
virtual VertexAnimationType getSharedVertexDataAnimationType(void) const
Gets the type of vertex animation the shared vertex data of this mesh supports.
@ ACT_SCENE_DEPTH_RANGE
Provides information about the depth range of the scene as viewed from the current camera.
Definition: OgreGpuProgramParams.h:1152
~GLES2FrameBufferObject()
MapIterator< StrategyMap > getIterator()
Get an iterator for all contained strategies.
int type
Definition: OgreInput.h:70
void _setDepthBufferWriteEnabled(bool enabled=true)
Sets whether or not the depth buffer is updated after a pixel write.
virtual void destroyContent(PageContent *coll)
Destroy a PageContent within this page.
RenderState()
Class default constructor.
uint32 getDepth() const
Gets the depth of this buffer.
Definition: OgreHardwarePixelBuffer.h:180
bool getUseRayBoxDistanceCalculation() const
Returns whether or not to use an accurate calculation of camera distance from a terrain tile (ray / A...
Definition: OgreTerrain.h:1991
void _notifyCounterBufferDestroyed(HardwareCounterBuffer *buf)
Notification that at hardware counter buffer has been destroyed.
void blitFromTexture(GLES2TextureBuffer *src, const Box &srcBox, const Box &dstBox)
bool deleteInputData
Whether this structure should 'own' the input data (inputImage and inputFloat), and therefore delete ...
Definition: OgreTerrain.h:382
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid3DPageStrategy.h:134
Real _getLodBiasInverse(void) const
Internal method for OGRE to use for LOD calculations.
Plugin instance for ParticleFX Manager.
Definition: OgreParticleFXPlugin.h:40
virtual Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const =0
Get the squared depth from camera to the LOD object.
void setupBoundingBox(const AxisAlignedBox &aabb)
Builds the wireframe line list.
ColourBufferType
Defines the colour buffer types.
Definition: OgreCommon.h:327
DualQuaternion(const Quaternion &q, const Vector3 &trans)
Construct a dual quaternion from a unit quaternion and a translation vector.
Definition: OgreDualQuaternion.h:70
static ParameterPtr createOutNormal(int index)
virtual void _updateViewport(Viewport *viewport, bool updateStatistics=true)
Method for manual management of rendering - renders the given viewport (even if it is not autoupdated...
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
Initialize the render system from the capabilities.
virtual void _keyFrameDataChanged(void) const
Internal method used to tell the track that keyframe data has been changed, which may cause it to reb...
Definition: OgreAnimationTrack.h:217
std::map< uint16, DepthBufferVec > DepthBufferMap
Definition: OgreRenderSystem.h:54
static const IdString ShadowCaster
Definition: OgreHlmsPropertyHelper.h:77
SharedPtr< Font > FontPtr
Definition: OgreFont.h:423
std::pair< MovableObject *, MovableObject * > SceneQueryMovableObjectPair
Definition: OgreSceneQuery.h:482
~HighLevelGpuProgramManager()
static int32 getFixedAttributeIndex(VertexElementSemantic semantic, uint index)
Get the fixed attribute bindings normally used by GL for a semantic.
@ ID_MIPMAP_BIAS
Definition: OgreScriptCompiler.h:728
void exportLodConfig(Ogre::LodConfig &config, const Ogre::String &filename, Endian endianMode=ENDIAN_NATIVE)
AntiPortal * createAntiPortal(const String &name, PortalBase::PORTAL_TYPE type=PortalBase::PORTAL_TYPE_QUAD)
Create a new anti portal instance.
Vector< 2, T > xy() const
Definition: OgreVector.h:344
void setTextureRotate(const Radian &angle)
Sets the anticlockwise rotation factor applied to texture coordinates.
String doGet(const void *target) const
@ MOUSEBUTTONUP
Definition: OgreInput.h:36
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
void setShadowTextureFadeEnd(Real fadeEnd)
Sets the proportional distance at which texture shadows finish to fading out.
Definition: OgreSceneManager.h:2862
static bool parse(const String &str, ColourValue &v)
Converts a String to a basic value type.
virtual uint getFSAA() const
Indicates whether multisampling is performed on rendering and at what level.
Definition: OgreRenderTarget.h:376
@ M_GEOMETRY_VERTEX_ELEMENT
Definition: OgreMeshFileFormat.h:90
std::multimap< size_t, VertexBoneAssignment > VertexBoneAssignmentList
Multimap of vertex bone assignments (orders by vertex index).
Definition: OgreMesh.h:101
size_t getGLMapBufferThreshold() const
Threshold after which glMapBuffer is used and not glBufferSubData.
bool _isUpdated(void) const
float heightFactor
Definition: OgreCompositionTechnique.h:72
HalfFloatGridSource(const String &serializedVolumeFile, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
virtual void removeListener(Listener *l, const Ogre::String &schemeName=BLANKSTRING)
Remove a listener handling material events.
@ ACT_TIME_0_1
Single float value, which represents scaled time value [0..1], which repeats itself based on given as...
Definition: OgreGpuProgramParams.h:1032
@ MEMCATEGORY_RENDERSYS
Rendersystem structures.
Definition: OgreMemoryAllocatorConfig.h:69
void install()
Perform the plugin initial installation sequence.
Definition: OgreSTBICodec.h:79
GpuProgramType getType() const
Get the type of this program.
const TextureUnitStates & getTextureUnitStates() const
Get the TextureUnitStates contained in this Pass.
Definition: OgrePass.h:570
void _bindVao(GLContext *context, uint32 vao)
Bind VAO, context should be equal to current context, as VAOs are not shared
Command object for blue adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:102
SmallVector()
Definition: OgreSmallVector.h:748
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
virtual ~Listener()
Definition: OgreMaterialSerializer.h:65
uint16 depthBufferId
Definition: OgreCompositionTechnique.h:76
CacheSource(const Source *src)
Constructor.
@ ID_3D
Definition: OgreScriptCompiler.h:702
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGL3PlusFBOMultiRenderTarget.h:47
virtual void detachDepthBuffer()
void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
Real getTimePosition(void) const
Gets the time position for this animation.
size_t getNumSubRenderStateFactories() const
Returns the number of existing factories.
bool get32BitIndices() const
Get whether we need 32-bit indices.
Definition: OgreManualObject.h:456
void build(bool stencilShadows)
Build this region.
size_t estimateWorldGeometry(const String &filename)
Specialised from SceneManager to support Quake3 bsp files.
@ ACT_LIGHT_POSITION_VIEW_SPACE
A light position in view space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:851
FFPFog()
Class default constructor.
@ ACDT_NONE
no data is required
Definition: OgreGpuProgramParams.h:1223
Abstract class defining the interface used by classes which wish to perform script loading to define ...
Definition: OgreScriptLoader.h:60
~Profile()
Definition: OgreProfiler.h:464
void setDiffuse(float red, float green, float blue, float alpha)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
void _setSurfaceTracking(TrackVertexColourType tracking)
const IntersectingObjectSet & getObjects(void) const
Definition: OgreBspNode.h:211
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
void reset()
Clears the profiler statistics.
void doSet(void *target, const String &val)
bool operator==(const Vector &v) const
Definition: OgreVector.h:362
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
void _registerThreadWithRenderSystem()
Register the current thread with the rendersystem.
RenderSystemOpPairs renderSystemOperations
RenderSystem operations to queue into the scene manager, by uint8.
Definition: OgreCompositorInstance.h:136
void setFragmentProgramConstantFloatCount(ushort c)
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:671
@ ID_POINT_SIZE_MAX
Definition: OgreScriptCompiler.h:696
virtual bool load(StreamSerialiser &stream)=0
Load this data from a stream (returns true if successful)
uchar * getPtr(void)
Get a pointer to the start of the memory block this stream holds.
Definition: OgreDataStream.h:431
@ ID_POINT_SIZE
Definition: OgreScriptCompiler.h:692
static const uint32 CHUNK_ID
Definition: OgrePage.h:98
[font_translator]
Definition: OgreOverlayTranslator.h:38
void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
Sets the color to clear to.
void setCastShadows(bool enabled)
Sets whether or not this object will cast shadows.
Definition: OgreMovableObject.h:528
TextureType getTextureType(void) const
Gets the type of texture.
Definition: OgreTexture.h:145
const String & getFilenamePrefix() const
Definition: OgreTerrainGroup.h:159
ushort getGeometryProgramConstantFloatCount(void) const
The number of floating-point constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:598
virtual void addChainElement(size_t chainIndex, const Element &billboardChainElement)
Add an element to the 'head' of a chain.
const Vector3 getCenterRightBottom(void) const
Gets the center of the corners 1, 2.
Definition: OgreVolumeOctreeNode.h:413
@ RSC_HWSTENCIL
Supports hardware stencil buffer.
Definition: OgreRenderSystemCapabilities.h:89
const ShadowRenderableList & getShadowVolumeRenderableList(ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, size_t *indexBufferUsedSize, bool extrudeVertices, Real extrusionDistance, unsigned long flags=0) override
Gets an list of the renderables required to render the shadow volume.
static CmdImageAdjust msImageCmd
Definition: OgreColourImageAffector.h:64
virtual void setConfigOption(const String &name, const String &value)=0
Sets an option for this API.
PixelFormat getFormat() const
Returns the image format.
void setTextureVScroll(Real value)
As setTextureScroll, but sets only V value.
unsigned char alphaVal
Definition: OgreQuake3Shader.h:98
bool OrderParamVecByKey(const std::pair< IdString, String > &_left, const std::pair< IdString, String > &_right)
Definition: OgreHlmsShaderCommon.h:50
RayTestResult intersects(const Plane &p) const
Tests whether this ray intersects the given plane.
Definition: OgreRay.h:76
PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)
Get the page ID for a given world position.
static void unlockDeviceAccess()
@ ACT_INVERSE_TRANSPOSE_VIEW_MATRIX
Provides inverse transpose of view matrix.
Definition: OgreGpuProgramParams.h:719
static ControllerManager & getSingleton(void)
Get the singleton instance.
virtual unsigned int getPoolSize(void) const
Returns the current size of the billboard pool.
VectorImpl::reference reference
Definition: OgreCommon.h:396
ParticleEmitter * _createEmitter(const String &emitterType, ParticleSystem *psys)
Internal method for creating a new emitter from a factory.
std::vector< CompositionTechnique * > Techniques
Data types for internal lists.
Definition: OgreCompositor.h:57
@ ACT_SHADOW_COLOUR
Provides the fixed shadow colour as configured via SceneManager::setShadowColour; useful for integrat...
Definition: OgreGpuProgramParams.h:1171
MovableObject * detachObject(unsigned short index)
Detaches the indexed object from this scene node.
ContentType getContentType(void) const
Get the type of content this TextureUnitState references.
uint hierarchicalLvl
The hierarchical level of this profile, 0 being the main loop.
Definition: OgreProfiler.h:106
@ KEYUP
Definition: OgreInput.h:34
void disableTextureCoordGen(GLenum type)
Disable the specified texture coordinate generation option for the currently active texture unit.
const EntitySet * getSkeletonInstanceSharingSet() const
Returns a pointer to the set of entities which share a SkeletonInstance.
Definition: OgreEntity.h:700
bool getBillboardsInWorldSpace()
Gets whether billboards are treated as being in world space.
Definition: OgreBillboardSet.h:713
eExceptionsErrorLevel
Definition: OgreD3D11Device.h:90
Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework.
Definition: OgreCompositionTargetPass.h:47
bool isDerivedDataUpdateInProgress() const
Query whether a derived data update is in progress or not.
Definition: OgreTerrain.h:1596
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:46
virtual ~Listener()
Definition: OgreAnimationTrack.h:133
bool isInitialised(void) const
Returns whether the system is initialised or not.
Definition: OgreRoot.h:334
void setMaxLookupTableInstances(size_t maxLookupTableInstances)
Sets the size of the lookup table for techniques supporting bone lookup table.
static const uint32 TERRAINLODDATA_CHUNK_ID
Definition: OgreTerrainLodManager.h:55
Command object for inner size (see ParamCommand).
Definition: OgreHollowEllipsoidEmitter.h:63
virtual ~Profile()
Definition: OgreTerrainMaterialGenerator.h:177
Animation * getAnimation(unsigned short index) const
Gets a single animation by index.
std::vector< PixelFormat > PixelFormatList
Definition: OgrePixelFormat.h:297
ResourceMapIterator getResourceIterator(void)
Returns an iterator over all resources in this manager.
Definition: OgreResourceManager.h:528
size_t _getFloatConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical float constant index.
@ ID_TRANSFORM
Definition: OgreScriptCompiler.h:775
OGRE_AUTO_MUTEX
Definition: OgreLog.h:112
void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
Sets the color to clear to.
const String & getMaterialName(void) const
void updateShadowRenderables(ShadowTechnique shadowTechnique, const Vector4 &lightPos, HardwareIndexBufferSharedPtr *indexBuffer, bool extrudeVertices, Real extrusionDistance, unsigned long flags=0)
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
void setColour(const ColourValue &col)
Sets the colour of the text.
String doGet(const void *target) const
ABGR getAsABGR(void) const
Retrieves colours as ABGR.
static String RENDER_QUEUE_INVOCATION_SHADOWS
Invocation identifier for shadows.
Definition: OgreRenderQueueInvocation.h:155
void copyStateFrom(const AnimationState &animState)
Copies the states from another animation state, preserving the animation name (unlike operator=) but ...
@ ID_EXP
Definition: OgreScriptCompiler.h:678
static bool isCodecRegistered(const String &codecType)
Return whether a codec is registered already.
Definition: OgreCodec.h:92
size_t indexCount
The number of indexes to use from the buffer.
Definition: OgreVertexIndexData.h:259
static ControllerValueRealPtr create(TextureUnitState *t)
Definition: OgrePredefinedControllers.h:88
void _releaseManualHardwareResources()
Notifies the scene manager that hardware resources were lost.
virtual bool _unprepareProceduralPage(Page *page)
Give a section the opportunity to unprepare page content procedurally.
const Any & _getRenderSystemData() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:2044
ManualObject(const String &name)
~VertexMorphKeyFrame()
Definition: OgreKeyFrame.h:158
ComPtr(U *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:125
@ EXTENT_NULL
Definition: OgreAxisAlignedBox.h:60
~AdvancedRenderControls()
const Pass * _setPass(const Pass *pass, bool evenIfSuppressed=false, bool shadowDerivation=true)
Internal method for setting up the renderstate for a rendering pass.
void destroyInstanceManager(const String &name)
Destroys an InstanceManager if it was created with createInstanceManager()
Real getNearClipDistance(void) const
Sets the position of the near clipping plane.
virtual void setZoneGeometry(const String &filename, PCZSceneNode *parentNode)=0
Called by PCZSM during setZoneGeometry()
virtual void detachAllObjects(void)
Detaches all objects attached to this node.
virtual void _notifyParent(OverlayContainer *parent, Overlay *overlay)
Internal method for notifying the GUI element of it's parent and ultimate overlay.
Interface definition for a handler of responses.
Definition: OgreWorkQueue.h:198
const VertexElement & addElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Adds a new VertexElement to this declaration.
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
const SamplerPtr & _getLocalSampler()
return a sampler local to this TUS instead of the shared global one
virtual void windowFocusChange(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:131
virtual ~GLStateCacheManagerCommon()
Definition: OgreGLStateCacheManagerCommon.h:97
virtual bool _shouldRebindBackBuffer()
Definition: OgreD3D11RenderWindow.h:125
virtual Real _getDerivedLeft(void)
Gets the 'left' position as derived from own left and that of parents.
SceneBlendOperation alphaOperation
The blend operation mode for combining alpha values.
Definition: OgreBlendMode.h:282
virtual String getName() const =0
Returns the name of the factory, the name which identifies the particle emitter type this factory cre...
void setSplitPoints(const SplitPointList &newSplitPoints)
Manually configure a new splitting scheme.
virtual void reinitialise(void)=0
Restart the renderer (normally following a change in settings).
void setTexParameteri(GLenum target, GLenum pname, GLint param)
Sets an integer parameter value per texture target.
virtual Bone * getBone(const String &name) const
Gets a bone by it's name.
@ ID_ONCE_PER_LIGHT
Definition: OgreScriptCompiler.h:685
@ GVA_TOP
Definition: OgreOverlayElement.h:77
@ MESH_VERSION_1_8
OGRE version v1.8+.
Definition: OgreMeshSerializer.h:50
const Vector3 getCorner5(void) const
Gets the coordinate of corner 5.
Definition: OgreVolumeOctreeNode.h:494
Implementation of DirectX9 as a rendering system.
Definition: OgreD3D9RenderSystem.h:60
void setRotation(const Radian &rotation)
Set the rotation of the billboard.
void _cursorPressed(const Ogre::Vector2 &cursorPos)
std::vector< Real > SplitPointList
Definition: OgreShaderExIntegratedPSSM3.h:58
void setScale(Real x, Real y, Real z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ TU_DYNAMIC_WRITE_ONLY
same as HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY
Definition: OgreTexture.h:59
virtual VertexPoseKeyFrame * createVertexPoseKeyFrame(Real timePos)
Creates the single pose KeyFrame and adds it to this animation.
static LodWorkQueueInjector * getSingletonPtr()
GLuint getGLBufferId(void) const
Definition: OgreGLES2HardwareVertexBuffer.h:70
@ ID_DEPTH_FUNC
Definition: OgreScriptCompiler.h:640
void addBaseParams()
Call from derived classes to ensure the dictionary is setup.
Vector3 updateFrom
If an existing chunktree is to be partially updated, set this to the back lower left point of the (su...
Definition: OgreVolumeChunk.h:91
void _setSkyDome(bool enable, const String &materialName, Real curvature=10, Real tiling=8, Real distance=4000, uint8 renderQueue=RENDER_QUEUE_SKIES_EARLY, const Quaternion &orientation=Quaternion::IDENTITY, int xsegments=16, int ysegments=16, int ysegments_keep=-1, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky dome' i.e.
virtual void unloadAll(Resource::LoadingFlags flags)
Unloads all resources.
BillboardSet * getBillboardSet(void) const
Access BillboardSet in use.
Definition: OgreBillboardParticleRenderer.h:233
void setTessellationHullProgramConstantIntCount(ushort c)
The number of integer constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:791
Class encapsulates rendering properties of an object.
Definition: OgreMaterial.h:90
virtual void setCurrent()=0
Enable the context.
bool isLocked(void) const
HashedVector< Light * > LightList
Definition: OgreCommon.h:580
const Affine3 * getWorldMatrixArray(void) const
static bool parse(const String &str, Vector3 &v)
bsp_model_t * mModels
Definition: OgreQuake3Level.h:128
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
Definition: OgreInstanceBatch.h:339
static const String getProgramTypeName(GpuProgramType programType)
Entity * getManualLodLevel(size_t index) const
Gets a pointer to the entity representing the numbered manual level of detail.
Real getMaxHeight() const
Get the maximum height of the node.
bool requestTypeFlags() const
Return true here as we want to get a unique type flag.
Definition: OgrePortal.h:96
Texture surface.
Definition: OgreGL3PlusTextureBuffer.h:39
uint numCallsThisFrame
The number of times this profile has been called each frame.
Definition: OgreProfiler.h:129
void toRotationTranslation(Quaternion &q, Vector3 &translation) const
Convert a dual quaternion into its two components, a Quaternion representing the rotation and a Vecto...
const String & getMaterialName(void) const
Get the material name.
Definition: OgreStaticGeometry.h:282
SkeletonPtr getByName(const String &name, const String &groupName=RGN_DEFAULT)
Get a resource by name.
void destroyPortal(const String &portalName)
Delete a portal instance by name.
Structure collecting together information about the visible objects that have been discovered in a sc...
Definition: OgreSceneManager.h:101
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
uint getLastPresentFrame() const
Definition: OgreD3D9Device.h:77
@ IM_USE16BIT
Forces an amount of instances per batch low enough so that vertices * numInst < 65535 since usually i...
Definition: OgreCommon.h:346
std::vector< HardwareUniformBufferSharedPtr > GLUniformBufferList
Definition: OgreGLSLProgramCommon.h:55
void clear(void)
Clears all the points in the spline.
GpuProgramType mSourceProgType
Which type of program params will this value come from?
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:51
static D3DFORMAT get(HardwareIndexBuffer::IndexType itype)
Get index type.
void setRange(Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps, bool notifyListener=true)
Sets the minimum value, maximum value, and the number of snapping points.
const Affine3 & _getFullTransform(void) const
Gets the full transformation matrix for this node.
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
std::vector< FunctionAtom * > FunctionAtomInstanceList
Definition: OgreShaderFunctionAtom.h:324
HardwareBufferLockGuard HardwareVertexBufferLockGuard
Definition: OgreHardwareVertexBuffer.h:86
@ PT_COLOURVALUE
Definition: OgreStringInterface.h:62
virtual void removeAllLinkedSkeletonAnimationSources(void)
Remove all links to other skeletons for the purposes of sharing animation.
Definition: OgreException.h:199
Direct3D implementation of low-level vertex programs.
Definition: OgreD3D9GpuProgram.h:113
unsigned int getTextureCoordSet(void) const
Gets the index of the set of texture co-ords this layer uses.
const MaterialPtr & getCompositeMapMaterial() const
Get the material being used for the terrain composite map.
void connectPortalsToTargetZonesByLocation(void)
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
reference at(size_type n)
Definition: OgreCommon.h:443
size_t triangleCount
number of triangles rendered in the last update() call.
Definition: OgreRenderTarget.h:89
@ ACT_LOD_CAMERA_POSITION
Provides the position of the LOD camera in world space, allowing you to perform separate LOD calculat...
Definition: OgreGpuProgramParams.h:1203
ConstParameter(valueType val, GpuConstantType type, const Semantic &semantic, const Content &content)
Definition: OgreShaderParameter.h:629
const String & getName(void) const
Returns the name of the rendering system.
D3D9Device * getDeviceFromD3D9Device(IDirect3DDevice9 *d3d9Device)
@ GVA_BOTTOM
Definition: OgreOverlayElement.h:79
virtual bool afterIlluminationPassesCreated(Technique *technique)
Called right after illuminated passes were created, so that owner of runtime generated technique can ...
Definition: OgreMaterialManager.h:118
Abstract operation volume source holding two sources as operants.
Definition: OgreVolumeCSGSource.h:174
int front
Definition: OgreQuake3Types.h:165
GLSLESProgramManager(void)
int numVertices
The range of vertices in the buffer this facegroup references.
Definition: OgreStaticFaceGroup.h:85
void setTextureCompareFunction(CompareFunction function)
Definition: OgreTextureUnitState.h:716
@ ID_SCROLL_X
Definition: OgreScriptCompiler.h:766
virtual PageStrategyData * createData() OGRE_NODISCARD=0
Create a PageStrategyData instance containing the data specific to this PageStrategy.
uint8 getDebugDisplayLevel() const
Get the debug display level.
Definition: OgrePageManager.h:422
std::map< String, String > NameValuePairList
Name / value parameter pair (first = name, second = value)
Definition: OgreCommon.h:591
Pass(Technique *parent, unsigned short index)
Default constructor.
virtual void notifyCamera(Camera *cam)=0
Notify a section of the current camera.
bool isGlobalColourMapEnabled() const
Whether to support a global colour map over the terrain in the shader, if it's present (default true)...
Definition: OgreTerrainMaterialGeneratorA.h:100
Overlay(const String &name)
Constructor: do not call direct, use OverlayManager::create.
GpuConstantType
Enumeration of the types of constant we may encounter in programs.
Definition: OgreGpuProgramParams.h:68
static size_t getNumElemBytes(PixelFormat format)
Returns the size in bytes of an element of the given pixel format.
Real getScaleY(void) const
Gets the current Y scale value.
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
Camera * camera
Definition: OgreSceneManager.h:966
static const uint16 WORKQUEUE_LOAD_REQUEST
Definition: OgreTerrainGroup.h:514
@ OR_PORTRAIT
Definition: OgreFrustum.h:55
Scrollable text box widget.
Definition: OgreTrays.h:234
void setRemoveRenderQueueStructuresOnClear(bool r)
Set whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:351
@ ACT_TEXTURE_WORLDVIEWPROJ_MATRIX
The view/projection matrix of the assigned texture projection frustum, combined with the current worl...
Definition: OgreGpuProgramParams.h:984
void setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias to be used for each Pass.
bool ToEulerAnglesYZX(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
void setMinimumZ(Real z)
Definition: OgreAxisAlignedBox.h:177
PCZLight()
Default constructor (for Python mainly).
void setScroll(Real x, Real y)
Sets the scrolling factor of this overlay.
static uint32 parseUnsignedInt(const String &val, uint32 defaultValue=0)
Converts a String to a whole number.
Definition: OgreStringConverter.h:214
@ LB_FFPBlend
Definition: OgreShaderExLayeredBlending.h:50
HashedVector(size_type n, const T &t)
Definition: OgreCommon.h:452
@ SPC_LIGHTPOSITION_OBJECT_SPACE0
Light position in object space index 0-7.
Definition: OgreShaderParameter.h:210
void destroyContent(PageContent *c)
Destroy an instance of PageContent.
bool getPassTransformStates(void) const
Returns whether a vertex program wants transform state to be passed through fixed pipeline low level ...
Definition: src/GLSL/include/OgreGLSLProgram.h:52
void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Specialised Any class which has built in arithmetic operators, but can hold only types which support ...
Definition: OgreAny.h:224
static String toString(float val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a float to a String.
void setOrigin(const Vector3 &newOrigin)
@ PF_SHORT_GR
32-bit pixel format, 16-bit green, 16-bit red
Definition: OgrePixelFormat.h:124
float getPointSize(void) const
Gets the point size of the pass.
Definition: OgrePass.h:408
String mClass
Definition: OgreScriptCompiler.h:494
static DXGI_FORMAT _getPF(PixelFormat ogrePF)
utility method, convert Ogre pixel format to D3D11 pixel format
#define TAS_MAX_TEXTURES
Definition: OgreShaderExTextureAtlasSampler.h:34
unsigned short mod
Definition: OgreInput.h:49
const VertexElement * getElement(unsigned short index) const
Get a single element.
Real getStateChange(void) const
virtual time_t getModifiedTime(const String &filename) const =0
Retrieve the modification time of a given file.
const String & getMaterialGroup(void) const
Retrieve the material group in use.
Definition: OgreManualObject.h:445
GeneralAllocatedObject StateCacheAlloc
Definition: OgreGLStateCacheManagerCommon.h:37
Factory for PCZSceneManager.
Definition: OgrePCZSceneManager.h:385
int y
Definition: OgreInput.h:59
const String & getName() const
Definition: OgreHardwareUniformBuffer.h:62
static RotationInterpolationMode getDefaultRotationInterpolationMode(void)
Gets the default rotation interpolation mode for all animations.
PixelFormat getNativeFormat(TextureType, PixelFormat, int) override
Gets the format which will be natively used for a requested format given the constraints of the curre...
Definition: OgreTextureManager.h:466
void _destroyRenderer(ParticleSystemRenderer *renderer)
Internal method for destroying a renderer.
String doGet(const void *target) const
void logMessage(const String &message, LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Log a message to the default log.
const Matrix4 & getTextureViewProjMatrix(size_t index) const
Animation * _getAnimationImpl(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Internal accessor for animations (returns null if animation does not exist)
virtual Bone * createBone(void)
Creates a brand new Bone owned by this Skeleton.
void setDebugDisplayEnabled(bool enabled, bool cascade=true)
Tells all objects attached to this node whether to display their debug information or not.
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
static void uninitialized_copy(It1 I, It1 E, It2 Dest)
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest",...
Definition: OgreSmallVector.h:228
Pass * originalPass
The original pass which spawned this one.
Definition: OgrePass.h:1665
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
Real currentTimeMillisecs
The current frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:116
@ FFP_COLOUR
Definition: OgreShaderFFPRenderState.h:72
GLuint getTemporaryFBO()
Get a FBO without depth/stencil for temporary use, like blitting between textures.
Definition: OgreGLES2FBORenderTexture.h:99
virtual void resourceRemove(const ResourcePtr &resource)
This event is fired when a resource is about to be removed.
Definition: OgreResourceGroupManager.h:200
TerrainMaterialGenerator * getParent() const
Get the generator which owns this profile.
Definition: OgreTerrainMaterialGenerator.h:179
void setDiffuse(float red, float green, float blue, float alpha)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
RenderTexture for GL ES 2 FBO.
Definition: OgreGLES2FBORenderTexture.h:43
float * ptr()
Pointer accessor for direct copying.
Definition: OgreColourValue.h:160
virtual ~ShaderHelper()
Definition: OgreTerrainMaterialShaderHelpers.h:44
void _setFog(FogMode mode)
@ OR_LANDSCAPERIGHT
Definition: OgreFrustum.h:56
const SamplerPtr & getSampler() const
get the associated sampler
Definition: OgreTextureUnitState.h:672
virtual bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
void _setHeight(Real height)
Sets the height of this element in relation to the screen (where 1.0 = screen width)
void _updateRenderQueue(RenderQueue *queue)
Overloaded to be able to updated the vertex texture.
ChildNodeIterator getChildIterator(void)
@ SDLK_F3
Definition: OgreInput.h:103
HardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
bool contains(const AxisAlignedBox &other) const
Tests whether another box contained by this box.
Definition: OgreAxisAlignedBox.h:764
virtual void applyDeltaValue(const Radian &)
Apply delta value.
Definition: OgreAnimable.h:221
const Quaternion & getOrientation() const
Returns a quaternion representing the nodes orientation.
Definition: OgreNode.h:244
void destroyRenderWindow(const String &name)
Destroys a render window.
AnyNumeric & operator=(const AnyNumeric &rhs)
Definition: OgreAny.h:319
Definition: OgreAlignedAllocator.h:111
TRect(TRect const &o)
Definition: OgreCommon.h:604
StreamSerialiser(const DataStreamPtr &stream, Endian endianMode=ENDIAN_AUTO, bool autoHeader=true, RealStorageFormat realFormat=REAL_FLOAT)
Constructor.
MeshPtr prepare(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=false, bool indexBufferShadowed=false)
Prepares a mesh for loading from a file.
static CmdRedAdjust1 msRedCmd1
Definition: OgreColourFaderAffector2.h:191
LodStrategyManager()
Default constructor.
void setTextureAnisotropy(unsigned int maxAniso)
Sets the anisotropy level to be used for all textures.
GpuProgramParametersSharedPtr getShadowReceiverVertexProgramParameters(void) const
Gets the vertex program parameters used by this pass when rendering shadow receivers.
const String & getEmittedEmitter(void) const
Returns the name of the emitter to be emitted.
void _writeRawConstant(size_t physicalIndex, const ColourValue &colour, size_t count=4)
Write a ColourValue parameter to the program.
@ SPC_LIGHTPOSITION_WORLD_SPACE7
Definition: OgreShaderParameter.h:227
ConstPriorityMapIterator getIterator(void) const
Get a const iterator for browsing through child contents.
Definition: OgreRenderQueueSortingGrouping.h:501
void setValue(const String &name, T value)
Set a named property value.
Definition: OgreProperty.h:334
std::vector< Triangle > TriangleList
Definition: OgreLodData.h:65
void importLodConfig(Ogre::LodConfig *config, DataStreamPtr &stream)
HardwareBufferManagerBase * getHardwareBufferManager()
Compositor(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
GLclampf getClearDepth(void) const
Gets the clear depth in the range from [0..1].
Definition: OgreGLStateCacheManager.h:159
static String Type
Definition: OgreShaderExLayeredBlending.h:153
@ ID_EXP2
Definition: OgreScriptCompiler.h:679
void _endUpdate()
Method for manual management of rendering - finishes statistics calculation and fires 'postRenderTarg...
const Vector & operator+() const
Definition: OgreVector.h:674
Definition of how to populate a 'slot' in the terrain group.
Definition: OgreTerrainGroup.h:318
virtual ~DataStream()
Definition: OgreDataStream.h:209
SPIRVShader(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
static bool parseBool(const String &val, bool defaultValue=0)
Converts a String to a boolean.
Definition: OgreStringConverter.h:246
PortalBase * getPortal()
Returns the Portal that was used to create this plane.
Definition: OgrePCPlane.h:72
void setSpecular(float red, float green, float blue, float alpha)
Sets the specular colour reflectance properties of every Pass in every Technique.
@ GPU_MS_WARP
Microsoft WARP (Windows Advanced Rasterization Platform) software device - http://msdn....
Definition: OgreRenderSystemCapabilities.h:269
void destroySubMesh(const String &name)
Destroy a SubMesh with the given name.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
virtual void setValue(const ColourValue &)
Set value.
Definition: OgreAnimable.h:171
void setOrientation(Real w, Real x, Real y, Real z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const LodStrategy * getLodStrategy() const
Get LOD strategy used by this mesh.
BspNode * getNextNode(const Vector3 &point) const
Gets the next node down in the tree, with the intention of locating the leaf containing the given poi...
@ CAPS_CATEGORY_COMMON
Definition: OgreRenderSystemCapabilities.h:62
HashedVector(const HashedVector< T > &rhs)
Definition: OgreCommon.h:453
void doSet(void *target, const String &val)
static void setDefaultOrientationMode(OrientationMode orientationMode)
Set the initial orientation mode of viewports.
OverlayTranslatorManager()
CG target language writer implementation.
Definition: OgreShaderCGProgramWriter.h:54
void _compileBoneAssignments(void)
Internal method, be called once to compile bone assignments into geometry buffer.
const Sphere & getWorldBoundingSphere(bool derive=false) const override
Retrieves the worldspace bounding sphere for this object.
TexCoordCalcMethod
Enum describing the ways to generate texture coordinates.
Definition: OgreRenderSystem.h:61
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:209
static void unpackColour(uint8 *r, uint8 *g, uint8 *b, uint8 *a, PixelFormat pf, const void *src)
Unpack a colour value from memory.
Vector3 mC3
Definition: OgreVolumeDualGridGenerator.h:53
std::vector< HardwareBuffer::Usage > BufferUsageList
Define a list of usage flags.
Definition: OgreVertexIndexData.h:45
Rule controlling whether technique is deemed supported based on GPU device name.
Definition: OgreTechnique.h:134
LoggingLevel getLogDetail() const
Gets the level of the log detail.
Definition: OgreLog.h:161
virtual HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware index buffer.
virtual void setMinRepeatDelay(Real min)
Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
virtual void addResponseHandler(uint16 channel, ResponseHandler *rh)
Add a response handler instance to the queue.
std::deque< T >::const_iterator const_iterator
Definition: OgrePrerequisites.h:334
MemoryDataStreamPtr Microcode
Definition: OgreGpuProgramManager.h:57
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
GLES2RenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
static DynLibManager & getSingleton(void)
Get the singleton instance.
BillboardChainFactory()
Definition: OgreBillboardChain.h:370
PortalBase - Base class to Portal and AntiPortal classes.
Definition: OgrePortalBase.h:47
static Real LogN(Real base, Real fValue)
Definition: OgreMath.h:364
const String & getValue() const
Returns a string value depending on the type of the AbstractNode.
Definition: OgreScriptCompiler.h:176
virtual ~MaterialSerializer()
default destructor
Definition: OgreMaterialSerializer.h:238
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
virtual void setPageRange(int32 minX, int32 minY, int32 maxX, int32 maxY)
Set the index range of all Pages (values outside this will be ignored)
struct Ogre::VertexBoneAssignment_s VertexBoneAssignment
Records the assignment of a single vertex to a single bone with the corresponding weight.
Quaternion operator*(Real s) const
Definition: OgreQuaternion.h:186
const String & getRTShaderScheme(size_t index) const
Returns the scheme name used in the for RT shader generation by index.
#define MAX_LIGHTS
Definition: OgreD3D9RenderSystem.h:47
static D3D11StereoDriverBridge & getSingleton(void)
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:110
Plane::Side getSide(const Vector3 &point) const
Determines which side of the splitting plane a worldspace point is.
Definition: OgreQuake3Types.h:223
void removePortalCullingPlanes(PortalBase *portal)
Remove culling planes created from the given portal.
virtual void updateVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called when edge cost gets invalid.
@ GPT_GEOMETRY_PROGRAM
Definition: OgreGpuProgram.h:52
void fillBufferAtLod(uint lodLevel, const float *data, uint dataSize)
Copy geometry data from buffer to mHeightData/mDeltaData.
LODIterator getLODIterator(void)
const String & getMaterialName(void) const
Retrieve the material name in use.
Definition: OgreManualObject.h:443
void incPassIterationNumber(void)
increments the multipass number entry by 1 if it exists
@ ET_ENVIRONMENT_MAP
Generate all texture coords based on angle between camera and vertex.
Definition: OgreTextureUnitState.h:249
T squaredLength() const
Returns the square of the length(magnitude) of the vector.
Definition: OgreVector.h:468
static const uint8 DERIVED_DATA_ALL
Definition: OgreTerrain.h:1160
@ ID_ADD_SIGNED
Definition: OgreScriptCompiler.h:739
void setWorldMatrices(const Affine3 *m, size_t count)
Sets the world matrices, avoid query from renderable again.
@ LB_BlendPhoenix
Definition: OgreShaderExLayeredBlending.h:75
virtual bool queryResult(MovableObject *first, MovableObject *second)=0
Called when 2 movable objects intersect one another.
static void unregisterCodec(Codec *pCodec)
Unregisters a codec from the database.
Definition: OgreCodec.h:99
virtual void setDefaultTextureFiltering(TextureFilterOptions fo)
Sets the default texture filtering to be used for loaded textures, for when textures are loaded autom...
void _setLineWidth(float width)
Set the line width when drawing as RenderOperation::OT_LINE_LIST/ RenderOperation::OT_LINE_STRIP.
DefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
Widget * getWidget(const Ogre::String &name)
Gets a widget by name.
~PCZSceneManager()
Standard destructor.
const Vector3 & getCentre(void) const
Get the centre point of the region.
Definition: OgreStaticGeometry.h:449
uint32 getHeight() const
Get the height of this box.
Definition: OgreCommon.h:766
@ SOP_INCREMENT
Increase the stencil value by 1, clamping at the maximum value.
Definition: OgreRenderSystem.h:83
bool getKeepVelocity(void) const
Gets flag which detemines whether particle speed is changed.
VertexCacheProfiler(unsigned int cachesize=16)
Definition: OgreVertexIndexData.h:288
@ SPC_POSTOLIGHT_TANGENT_SPACE1
Definition: OgreShaderParameter.h:161
@ SOP_INCREMENT_WRAP
Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value.
Definition: OgreRenderSystem.h:87
AxisAlignedBox getChildObjectsBoundingBox(void) const
Merge all the child object Bounds a return it.
virtual void setStrategy(PageStrategy *strat)
Change the page strategy.
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
Definition: OgreMovablePlane.h:86
bool getUseIdentityProjection(void) const
Returns whether or not to use an 'identity' projection.
Definition: OgreManualObject.h:343
void setCompareEnabled(bool enabled)
Enables or disables the comparison test for depth textures.
Definition: OgreTextureUnitState.h:180
const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
Definition: OgreShaderFunctionAtom.h:175
@ SHADER_BLEND
Definition: OgreQuake3Types.h:99
SceneManager * createSceneManager(SceneTypeMask typeMask, const String &instanceName=BLANKSTRING)
Definition: OgreRoot.h:383
TemplateIterator getTemplateIterator()
Returns an iterator over all templates in this manager.
Definition: OgreOverlayManager.h:209
String doGet(const void *target) const
iterator erase(iterator I)
Definition: OgreSmallVector.h:420
virtual void setActiveScheme(const String &schemeName)
Sets the name of the active material scheme.
Vector(const Vector< dims, U > &o)
Definition: OgreVector.h:328
Vector operator/(const Vector &b) const
Definition: OgreVector.h:723
virtual void resourceLoadStarted(const ResourcePtr &resource)
This event is fired when a declared resource is about to be loaded.
Definition: OgreResourceGroupManager.h:175
void setNamedAutoConstant(const String &name, AutoConstantType acType, size_t extraInfo=0)
Sets up a constant which will automatically be updated by the system.
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
The main containing class for a chunk of terrain.
Definition: OgreTerrain.h:264
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
static String Type
Definition: OgreShaderFFPFog.h:117
@ ID_TEX_COORD_SET
Definition: OgreScriptCompiler.h:712
OGRE_STATIC_MUTEX(msDirtyHashListMutex)
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
@ TT_SCALE_V
Definition: OgreTextureUnitState.h:286
Defines a plane in 3D space.
Definition: OgrePlane.h:63
Vertex()
Definition: OgreVolumeMeshBuilder.h:78
const String & getType(void) const
Get the type of the object to be created.
static const IdString UvCount4
Definition: OgreHlmsPropertyHelper.h:61
Data being passed around while loading.
Definition: OgreVolumeChunkHandler.h:53
void removeAllElements(void)
Remove all elements.
virtual void setHoldRadius(Real sz)
Set the Holding radius.
void doSet(void *target, const String &val)
void logInfo() const
Log details of this body.
@ TA_WRITE
Definition: OgreTexture.h:87
bool isCompatible(RenderTarget *renderTarget) const override
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
virtual void notifyBeginRenderScene(void)
Called when a _renderScene is called in the SceneManager.
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
const GPUDeviceNameRuleList & getGPUDeviceNameRules() const
Get the currently registered device name rules.
Definition: OgreTechnique.h:694
T & reference
Definition: OgreSmallVector.h:154
virtual void destroyOverlayElement(OverlayElement *pElement)
Destroys a OverlayElement which this factory created previously.
Definition: OgreOverlayElementFactory.h:65
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...
Definition: OgreExternalTextureSource.h:75
D3D9HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useSystemMem, bool useShadowBuffer)
const String & getTextureInstanceName(const String &name, size_t mrtIndex)
Get the instance name for a global texture.
unsigned int getWidth() const
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual, ManualResourceLoader *loader, const NameValuePairList *createParams, TextureType texType, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
virtual bool addFunctionInvocations(ProgramSet *programSet)
@ LF_ONLY_UNREFERENCED_INCLUDE_NON_RELOADABLE
Combination of LF_ONLY_UNREFERENCED and LF_INCLUDE_NON_RELOADABLE.
Definition: OgreResource.h:128
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
bool addRenderWindow(D3D9RenderWindow *renderWindow) const
const String & getName(void) const
Get the name of this object.
Definition: OgreStaticGeometry.h:597
Class defining particle system based special effects.
Definition: OgreParticleSystem.h:66
virtual void setBindingPose(void)
Sets the current position / orientation to be the 'binding pose' i.e.
SceneManager * getSceneManager() const
Definition: OgreInstanceManager.h:164
void removeVisibilityFlags(uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on t...
Definition: OgreMovableObject.h:439
GLSLESProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
bool isLayerSpecularMappingEnabled() const
Whether to support specular mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:93
Class that allows listening in on the various stages of SceneManager processing, so that custom behav...
Definition: OgreSceneManager.h:240
static Real Sqr(Real fValue)
Squared function.
Definition: OgreMath.h:429
ushort getZOrder(void) const
Gets the Z-order of this overlay.
Definition: OgreHlmsPbsMaterial.h:47
@ CLIPPED_NONE
Nothing was clipped.
Definition: OgreCommon.h:796
Real worldSize
The world size of the terrain.
Definition: OgreTerrain.h:355
SceneBlendFactor destFactorAlpha
multiplied by the frame alpha components
Definition: OgreBlendMode.h:278
size_t getShadowTextureCount(void) const
Definition: OgreSceneManager.h:2786
virtual ~ProgramWriter()
Class destructor.
Definition: OgreShaderProgramWriter.h:57
void setNodeHomeZone(SceneNode *, PCZone *)
Set the home zone for a scene node.
Real skyPlaneTiling
Definition: OgreSceneManager.h:225
@ ID_TEXTURE_UNIT
Definition: OgreScriptCompiler.h:582
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
static CmdPlanePoint msPlanePointCmd
Command objects.
Definition: OgreDeflectorPlaneAffector.h:103
virtual void updateCompositeMap(const Terrain *terrain, const Rect &rect)
Update the composite map for a terrain.
Definition: OgreTerrainMaterialGenerator.h:339
SmallVector(ItTy S, ItTy E)
Definition: OgreSmallVector.h:758
virtual void detachFromProgramObject(const uint programObject)=0
void setDepthFunc(GLenum func)
Sets the current depth test function.
void unprepare()
Free CPU resources created during prepare methods.
This is an abstract node which cannot be broken down further.
Definition: OgreScriptCompiler.h:110
void setTessellationHullProgramConstantBoolCount(ushort c)
The number of boolean constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:796
void _getCullBounds(AxisAlignedBox *) const
Creates the AxisAlignedBox used for culling this octree.
@ GCT_DOUBLE3
Definition: OgreGpuProgramParams.h:98
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
BlendFunction
Definition: OgreHlmsPbsMaterial.h:50
NumericAnimationTrack * createNumericTrack(unsigned short handle, const AnimableValuePtr &anim)
Creates a NumericAnimationTrack and associates it with an animable.
@ RSC_MRT_DIFFERENT_BIT_DEPTHS
Supports MRTs with different bit depths.
Definition: OgreRenderSystemCapabilities.h:161
Ogre::TextureAddressingMode TextureAddressingMode
Definition: OgreTextureUnitState.h:297
OctreeIntersectionSceneQuery(SceneManager *creator)
virtual void destroyAllEntities(void)
Removes & destroys all Entities.
void writeAttribute(unsigned short level, const String &att, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:321
ushort getLod(void) const
Get the LOD index.
Definition: OgreStaticGeometry.h:357
virtual ~TerrainMaterialGeneratorA()
EdgeList edges
The edges themselves.
Definition: OgreEdgeListBuilder.h:116
const Vector3 getCenterBackLeft(void) const
Gets the center of the corners 0, 4.
Definition: OgreVolumeOctreeNode.h:422
@ TS_LOCAL
Transform is relative to the local space.
Definition: OgreNode.h:64
Matrix4 getTransposeViewProjMatrix() const
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExHardwareSkinningTechnique.h:50
Command object for getting/setting micro code.
Definition: OgreD3D9HLSLProgram.h:77
void setMaterialScheme(const String &schemeName)
Set the material scheme which the viewport should use.
Definition: OgreViewport.h:274
static bool getIgnoreHidden()
Get whether hidden files are ignored during filesystem enumeration.
Operand(ParameterPtr parameter, OpSemantic opSemantic, OpMask opMask=OPM_ALL, ushort indirectionLevel=0)
Class constructor.
bool ToEulerAnglesXYZ(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
The matrix must be orthonormal.
Base for a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:371
Real getTanTime_0_2Pi(Real x) const
const SamplerPtr & getDefaultSampler()
get the default sampler
GLFrameBufferObject(GLFBOManager *manager, uint fsaa)
Timer * getTimer(void)
Gets a pointer to the central timer used for all OGRE timings.
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
int * mLeafBrushes
Definition: OgreQuake3Level.h:163
shorthand for "lhs = rhs;" insted of using FFP_Assign(rhs, lhs)
Definition: OgreShaderFunctionAtom.h:297
static const IdString LightsSpotParams
Definition: OgreHlmsPropertyHelper.h:71
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
static Matrix4 makePerspectiveMatrix(Real left, Real right, Real bottom, Real top, Real zNear, Real zFar)
This creates 'uniform' perspective projection matrix, which depth range [-1,1], right-handed rules.
~HalfFloatGridSource(void)
Destructor.
@ FFP_PS_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:57
void _updateRenderQueue(RenderQueue *queue)
Do nothing, InstanceBatch takes care of this.
Definition: OgreInstancedEntity.h:209
virtual void * getProcAddress(const char *procname) const =0
Get the address of a function.
std::vector< FileInfo > FileInfoList
Definition: OgreArchive.h:66
Real minTimePercent
The minimum percentage of frame time this profile has taken.
Definition: OgreProfiler.h:124
GeneralAllocatedObject DynLibAlloc
Definition: OgreMemoryAllocatorConfig.h:122
Definition: OgreD3D11RenderWindow.h:53
Definition: OgreD3D11HardwareIndexBuffer.h:38
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
void removeExists(const T &item)
Definition: OgreVectorSetImpl.h:68
virtual void invalidatePerFrameScissorRectCache()
Scissor rects are cached during frame, and this cache should be explicitly invalidated if several ren...
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create uniform buffer.
@ LBS_DIFFUSE
the interpolated diffuse colour from the vertices
Definition: OgreBlendMode.h:119
void _notifyRootNode(void)
Notifies this SceneNode that it is the root scene node.
Definition: OgreSceneNode.h:178
bool _checkTextureFilteringSupported(TextureType ttype, PixelFormat format, int usage)
Check whether or not filtering is supported for the precise texture format requested with the given u...
unsigned int animNumFrames
Definition: OgreQuake3Shader.h:101
Extent
Definition: OgreAxisAlignedBox.h:59
FFPColour()
Class default constructor.
Real getAspectRatio(void) const
Retrieves the current aspect ratio.
Operand & xyz()
Definition: OgreShaderFunctionAtom.h:117
bool intersects(const Sphere &sphere)
Check if portal intersects an sphere.
void bindGLTexture(GLenum target, GLuint texture)
Bind an OpenGL texture of any type.
void setSubdivision(Real factor)
Octree implementation of IntersectionSceneQuery.
Definition: OgreOctreeSceneQuery.h:54
void setStencilCheckEnabled(bool enabled)
Turns stencil buffer checking on or off.
@ OPT_NONE
No optimisation.
Definition: OgreD3D9HLSLProgram.h:142
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
String doGet(const void *target) const
bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
@ M_MESH_LOD_GENERATED
Definition: OgreMeshFileFormat.h:122
void _updateRenderQueue(RenderQueue *)
Overridden from MovableObject.
Definition: OgreMovablePlane.h:80
KeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
void setVertexProgramParameters(GpuProgramParametersSharedPtr params)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void _notifyMoved(void)
Overridden so we can tell the InstanceBatch it needs to update it's bounds.
GLSLESCgProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void setNewHomeZone(PCZone *zone)
Set the zone this portal should be moved to.
static const uint32 TERRAIN_CHUNK_ID
Definition: OgreTerrain.h:274
virtual void _notifyParticleCleared(std::list< Particle * > ¤tParticles)
Optional callback notified when particles cleared.
Definition: OgreParticleSystemRenderer.h:89
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
This is the same technique the old "InstancedGeometry" implementation used (with improvements).
Definition: OgreInstanceBatchShader.h:67
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
void setDirection(const Vector3 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
std::vector< PageContent * > ContentList
Definition: OgreSimplePageContentCollection.h:69
void setTexCoordIndex(unsigned int index)
Set the index of the input vertex shader texture coordinate set.
Definition: OgreShaderExNormalMapLighting.h:85
virtual Camera * createCamera(const String &name)
Creates a camera to be managed by this scene manager.
MultiRenderTarget(const String &name)
TextureUnitState * getTextureUnitState(const String &name) const
Retrieves the Texture Unit State matching name.
@ SHADOWTYPE_TEXTURE_ADDITIVE
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Definition: OgreCommon.h:263
virtual bool useBoneWorldMatrices() const
Tells whether world bone matrices need to be calculated.
Definition: OgreInstanceBatch.h:324
const GpuProgramPtr & getShadowCasterFragmentProgram(void) const
@ TL_LEFT
Definition: OgreTrays.h:59
Command object for setting the bottom colour.
Definition: OgreTextAreaOverlayElement.h:189
void setGamma(float gamma)
Sets the gamma adjustment factor applied to this texture on loading the data.
virtual const String & getTargetLanguage() const
Definition: OgreShaderHLSLProgramWriter.h:67
SubRenderStateList::const_iterator SubRenderStateListConstIterator
Definition: OgreShaderSubRenderState.h:159
@ FFP_VS_LIGHTING
Definition: OgreShaderFFPRenderState.h:48
Representation of a ray in space, i.e.
Definition: OgreRay.h:46
virtual IntersectionSceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
@ RSC_MAPBUFFER
RS can map driver buffer storage directly instead of using a shadow buffer.
Definition: OgreRenderSystemCapabilities.h:217
void setCullingMode(CullingMode mode)
Sets the culling mode for each pass based on the 'vertex winding'.
String name
Definition: OgreScriptCompiler.h:126
void unbindProgram(void)
Execute the unbinding functions for this program.
MultiRenderTarget for OpenGL.
Definition: OgreGL3PlusFBOMultiRenderTarget.h:41
virtual String getLine(bool trimAfter=true)
Returns a String containing the next line of data, optionally trimmed for whitespace.
virtual void reconfigure(const Ogre::String &renderer, Ogre::NameValuePairList &options)
Reconfigures the context.
bool isVisibile(const AxisAlignedBox &bound)
Returns the visibility of the box.
void copyToTexture(TexturePtr &target)
overridden from Texture
void addRenderObjectListener(RenderObjectListener *newListener)
Registers a new Render Object Listener which will be notified when rendering an object.
PortalIntersectResult intersects(PCZSceneNode *sn)
Check for intersection between portal & scenenode (also determines if scenenode crosses over portal.
void writeValue(const String &val, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:332
void initialise(void)
Initialises the Compositor manager, which also triggers it to parse all available ....
void eraseUserAny(const String &key)
Erase the custom user object associated with this class and key from this binding.
void replaceExists(const T &oldItem, const T &newItem)
Definition: OgreVectorSetImpl.h:88
virtual bool isStereoEnabled(const String &renderWindowName)=0
std::map< String, ParticleEmitterFactory * > ParticleEmitterFactoryMap
Definition: OgreParticleSystemManager.h:80
Listener()
Definition: OgreNode.h:79
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
@ GCT_SAMPLER2DARRAY
Definition: OgreGpuProgramParams.h:80
static void get(const ColourValue &inColour, float *outColour)
Get dx11 color.
const MaterialPtr & getMaterial(void) const
Get the material for this bucket.
Definition: OgreStaticGeometry.h:291
void worldGeometryStageEnded()
This event is fired when a stage of loading linked world geometry has been completed.
Definition: OgreTrays.h:1124
bool supportsPCZoneType(const String &zoneType)
Vector3 getDerivedDirection(void) const
Gets the derived direction vector of the camera, including any rotation inherited from a node attachm...
Information about a file/directory within the archive will be returned using a FileInfo struct.
Definition: OgreArchive.h:50
Real getInnerSizeX(void) const
Gets the x component of the area inside the ellipsoid which doesn't emit particles.
size_t getPassIterationCount(void) const
Gets the pass iteration count value.
Definition: OgrePass.h:1486
@ FA_AVERAGE
Take the average of the force vector and the particle momentum.
Definition: OgreLinearForceAffector.h:78
virtual int32 getCellRangeMaxZ() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:173
Alignment getAlignment() const
Get the alignment of the terrain.
iterator erase(iterator first, iterator last)
Definition: OgreCommon.h:535
void _initialise(void)
Init method to be called by OGRE system.
void setAlphaAdjust2(float alpha)
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
The handler method every subclass must implement.
PixelFormat getFormat() const
Returns the pixel format for the texture surface.
Definition: OgreTexture.h:328
virtual bool getCastShadows(void) const =0
Returns whether or not this object currently casts a shadow.
SceneManager * getSceneManager(const String &instanceName) const
Get an existing SceneManager instance that has already been created, identified by the instance name.
static RayTestResult intersects(const Ray &ray, const std::list< Plane > &planeList, bool normalIsOutside)
const ColourValue & getSurfaceAmbientColour(void) const
void load(const String &filename, const String &groupName, SceneNode *rootNode)
Load a scene from a SceneLoader.
GpuSharedParametersPtr getSharedParams() const
Definition: OgreGpuProgramParams.h:632
@ TFO_BILINEAR
2x2 box filtering is performed when magnifying or reducing a texture, and a mipmap is picked from the...
Definition: OgreCommon.h:84
@ SPC_LIGHTDIRECTION_TANGENT_SPACE6
Definition: OgreShaderParameter.h:206
RenderState * getRenderState(const String &schemeName, const String &materialName, const String &groupName, unsigned short passIndex)
Get render state of specific pass.
AxisAlignedBoxSceneQuery * createAABBQuery(const AxisAlignedBox &box, uint32 mask)
Creates an AxisAlignedBoxSceneQuery for this scene manager.
void _writeRawConstant(size_t physicalIndex, Real val)
Write a single floating-point parameter to the program.
virtual ~DefaultWorkQueue(void)
AnimableObject()
Definition: OgreAnimable.h:286
Real getSpotlightFalloff(void) const
Returns the falloff between the inner and outer cones of the spotlight.
void setNonPOW2TexturesLimited(bool l)
Non-POW2 textures limited.
Definition: OgreRenderSystemCapabilities.h:696
Structure defining an auto constant that's available for use in a parameters object.
Definition: OgreGpuProgramParams.h:1245
Vector< 3, int > Vector3i
Definition: OgrePrerequisites.h:254
const Matrix4 & getSpotlightViewProjMatrix(size_t index) const
void unbindGpuProgram(GpuProgramType gptype)
Unbinds GpuPrograms of a given GpuProgramType.
bool isTransparent(void) const
Returns true if this Technique involves transparency.
virtual const AxisAlignedBox & getBoundingBox(void) const =0
Retrieves the local axis-aligned bounding box for this object.
D3D9RenderSystem(HINSTANCE hInstance)
void notifyDeviceRestored(D3D11Device *device)
void _unprepare(void)
Internal unprepare method, derived from call to Material::unprepare.
@ PF_BC6H_SF16
DDS (DirectDraw Surface) BC6H format (signed 16 bit float)
Definition: OgrePixelFormat.h:206
GLenum getDepthFunc(void) const
Gets the current depth test function.
Definition: OgreGL3PlusStateCacheManager.h:170
bool isFinite(void) const
Returns true if the box is finite.
Definition: OgreAxisAlignedBox.h:507
ushort getIndirectionLevel() const
Returns the level of indirection.
Definition: OgreShaderFunctionAtom.h:136
virtual void worldGeometryPrepareStageStarted(const String &description)
This event is fired when a stage of preparing linked world geometry is about to start.
Definition: OgreResourceGroupManager.h:154
~ExternalTextureSourceManager()
Destructor.
void reset(void)
Resets the object.
Real getSquaredViewDepth(const Camera *cam) const override
Returns the camera-relative squared depth of this renderable.
const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
static LodStrategyManager * getSingletonPtr(void)
Get the singleton instance.
FrameTimeControllerValue()
virtual void destroyAllLights(void)
Removes and destroys all lights in the scene.
@ RSC_HWRENDER_TO_TEXTURE_3D
Definition: OgreRenderSystemCapabilities.h:182
@ SBF_ONE_MINUS_SOURCE_COLOUR
1 - SBF_SOURCE_COLOUR
Definition: OgreBlendMode.h:236
Vector4f getPackedTextureSize(size_t index) const
ImportData()
Definition: OgreTerrain.h:400
static PixelFormat getFormatForBitDepths(PixelFormat fmt, ushort integerBits, ushort floatBits)
Returns the similar format but acoording with given bit depths.
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreBspSceneManager.h:273
const BoneList & getRootBones() const
Get the root bones in the skeleton, ie those with no parents.
int minor
Definition: OgreRenderSystemCapabilities.h:225
@ VET_USHORT1
Definition: OgreHardwareVertexBuffer.h:142
bool renderOneFrame(Real timeSinceLastFrame)
Updates all the render targets with custom frame time information.
virtual void setColourChange(size_t chainIndex, const ColourValue &valuePerSecond)
Enables / disables fading the trail using colour.
virtual void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
void postRenderTargetUpdate(const RenderTargetEvent &evt)
Called just after a RenderTarget has been rendered to.
virtual Real getMinParticleVelocity(void) const
Returns the minimum particle velocity.
int getNumMipmaps(void) const
Gets how many mipmaps have been requested for the texture.
LoggingLevel
The level of detail to which the log will go into.
Definition: OgreLog.h:51
GLSLESProgramFactory(void)
void setFiltering(FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter)
Set a the detailed filtering options on this texture unit.
static ParameterPtr createInNormal(int index)
virtual void unbindProgram(void)=0
Execute the binding functions for this program.
Virtual interface of the stereo driver.
Definition: OgreD3D11StereoDriverImpl.h:42
uint32 getWidth()
Definition: OgreGLPBuffer.h:47
BspNode * getLeafStart(void)
Gets a pointer to the start of the leaf nodes.
Definition: OgreBspLevel.h:93
MemoryDataStreamPtr mChunk
Definition: OgreQuake3Level.h:116
@ ACT_INVERSE_TRANSPOSE_WORLDVIEW_MATRIX
The current world & view matrices concatenated, then inverted & transposed.
Definition: OgreGpuProgramParams.h:760
void setPolygonModeOverrideable(bool override)
Sets whether the PolygonMode set on this pass can be downgraded by the camera.
Definition: OgrePass.h:878
AnimationAllocatedObject AnimableAlloc
Definition: OgreMemoryAllocatorConfig.h:112
String mMessages
Any diagnostic messages.
Definition: OgreWorkQueue.h:130
void setNormals(const Ogre::Vector3 &topLeft, const Ogre::Vector3 &bottomLeft, const Ogre::Vector3 &topRight, const Ogre::Vector3 &bottomRight)
Sets the normals of the rectangle.
void setTessellationDomainProgram(const String &name, bool resetParams=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Abstract marker class representing the data held against the PagedWorldSection which is specifically ...
Definition: OgrePageStrategy.h:50
virtual StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false) const =0
Find all file or directory names matching a given pattern in this archive.
void doSet(void *target, const String &val)
DecodeResult decode(const DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
bool isLayerNormalMappingEnabled() const
Whether to support normal mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:81
Overlay * getByName(const String &name)
Retrieve an Overlay by name.
Real valueRadians() const
Definition: OgreMath.h:70
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Sets the colour buffer that the render system will to draw.
void doSet(void *target, const String &val)
@ BBO_CENTER
Definition: OgreBillboardSet.h:60
virtual void _setViewport(Viewport *vp)=0
Sets the provided viewport as the active one for future rendering operations.
virtual void unload()=0
Unload - will be called in main thread.
Real getSpotlightNearClipDistance() const
Get the near clip plane distance to be used by spotlights that use light clipping.
Definition: OgreLight.h:275
void deleteAllOutputParameters()
Delete all output parameters from this function.
bool isSkyBoxEnabled(void) const
Return whether a skybox is enabled.
Definition: OgreSceneManager.h:2033
GLenum getProgramType(void) const
Get the GL type for the program.
ShaderParameterList::iterator ShaderParameterIterator
Definition: OgreShaderParameter.h:395
void setVertexProgram(const String &name, bool resetParams=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
StereoModeType getStereoMode() const
BillboardRotationType getBillboardRotationType(void) const
Gets billboard rotation type.
void setReceiveDynamicShadowsDepth(bool enabled)
Whether to use depth shadows (default false).
Class for serialising mesh data to/from an OGRE .mesh file.
Definition: OgreMeshSerializer.h:92
Definition: OgreD3D9DepthBuffer.h:37
Real getInverseViewportHeight() const
void setCorners(const Vector3 *corners)
Set the local coordinates of all of the portal corners.
bool hasTessellationHullProgram(void) const
Returns true if this pass uses a programmable tessellation control pipeline.
Definition: OgrePass.h:266
virtual void needUpdate(bool forceParentUpdate=false)
To be called in the event of transform changes to this node that require it's recalculation.
Ogre::uint32 CodePoint
Definition: OgreFont.h:138
void update(void)
Instructs the viewport to updates its contents.
void setUseVertexCompressionWhenAvailable(bool enable)
Set whether to allow vertex compression to be used when the material generator states that it support...
Definition: OgreTerrain.h:2078
ushort previousLodIndex
Previous level of detail index.
Definition: OgreLodListener.h:66
bool isLocked(void) const
Returns whether or not this buffer is currently locked.
Definition: OgreHardwareBuffer.h:365
bool needsUpdate(VertexBufferBinding *vertexBufferBinding, size_t vertexStart)
bool queryResult(SceneQuery::WorldFragment *fragment)
Self-callback in order to deal with execute which returns collection.
GLSLShaderCommon(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
bool eof(void) const
Returns true if the stream has reached the end.
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
Plane(const Vector4 &v)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePlane.h:81
void doSet(void *target, const String &val)
CSGIntersectionSource(void)
Constructor, sets the sources to null.
A singleton manager class that manages shader based programs.
Definition: OgreShaderProgramManager.h:50
Vector3i getSize() const
size (width, height, depth) of the box
Definition: OgreCommon.h:773
@ PF_R8_UINT
8-bit pixel format, 8 bits red (unsigned int).
Definition: OgrePixelFormat.h:146
StaticGeometry * getStaticGeometry(const String &name) const
Retrieve a previously created StaticGeometry instance.
virtual Viewport * getViewport(unsigned short index)
Retrieves a pointer to the viewport with the given index.
const String & getName(void) const
Gets resource name.
@ PF_ASTC_RGBA_5X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x4)
Definition: OgrePixelFormat.h:246
virtual bool prequeueEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Called before an entity's material LOD has changed.
Definition: OgreLodListener.h:190
String getBottomBorderUVString() const
Standard implementation of a buffer allocator which re-uses buffers.
Definition: OgreTerrain.h:573
static const IdString LightsDirectional
Definition: OgreHlmsPropertyHelper.h:67
virtual void freeAllBuffers()=0
Free any buffers we're holding.
Parallel Split Shadow Map (PSSM) shadow camera setup.
Definition: OgreShadowCameraSetupPSSM.h:57
@ ID_NORMALISE_NORMALS
Definition: OgreScriptCompiler.h:664
Definition: OgreSceneManager.h:223
virtual void autoUpdateLod(Terrain *terrain, bool synchronous, const Any &data)
Method to be called to change terrain's LOD level.
virtual void updateParams(const MaterialPtr &mat, const Terrain *terrain)=0
Update params for a terrain.
@ TextureVTF
Needs Vertex Texture Fetch & SM 3.0+.
Definition: OgreInstanceManager.h:68
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreGLSLESCgProgram.h:70
void setAmbientLightColour(const ColourValue &ambient)
size_t getNumSubEntities(void) const
Retrieves the number of SubEntity objects making up this entity.
void setShadowTextureConfig(size_t shadowIndex, uint16 width, uint16 height, PixelFormat format, uint16 fsaa=0, uint16 depthBufferPoolId=1)
Set the detailed configuration for a shadow texture.
Definition: OgreSceneManager.h:2732
float x
Definition: OgreInput.h:76
virtual const Sphere & getWorldBoundingSphere(bool derive=false) const
Retrieves the worldspace bounding sphere for this object.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
SharedPtr< ControllerValue< Real > > ControllerValueRealPtr
Definition: OgreControllerManager.h:47
RenderQueueGroup * getQueueGroup(uint8 qid)
Get a render queue group.
static float halfToFloat(uint16 y)
Convert a float16 (NV_half_float) to a float32 Courtesy of OpenEXR.
Definition: OgreBitwise.h:353
VertexBufferBinding()
Constructor, should not be called direct, use HardwareBufferManager::createVertexBufferBinding.
uint32 getTypeFlags(void) const override
Get the 'type flags' for this MovableObject.
iterator erase(iterator pos)
Definition: OgreCommon.h:529
float a
Definition: OgreColourValue.h:76
Handles the management of skeleton resources.
Definition: OgreSkeletonManager.h:52
std::vector< GeometryBucket * > GeometryBucketList
list of Geometry Buckets in this region
Definition: OgreStaticGeometry.h:258
UniformParameterList::iterator UniformParameterIterator
Definition: OgreShaderParameter.h:619
@ ACT_LIGHT_DISTANCE_OBJECT_SPACE_ARRAY
Array of distances of the lights from the center of the object a useful approximation as an alternati...
Definition: OgreGpuProgramParams.h:901
Command object for red adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:54
CSGIntersectionSource(const Source *a, const Source *b)
Constructor.
StringVector textureNames
List of texture names to import; must match with TerrainLayerDeclaration.
Definition: OgreTerrain.h:303
virtual void writeSourceCode(std::ostream &os, Program *program)=0
Write the program shader source code.
@ PF_A8B8G8R8
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:79
Ogre::Real getPadding()
Definition: OgreTrays.h:242
bool renderOneFrame(void)
Updates all the render targets automatically.
void setSequenceTime(Real seqVal)
Set the sequence duration value manually.
virtual void shutDown()=0
Shuts down Plugin.
void _load(void)
Internal method for loading this object as part of Material::load.
std::multimap< K, V, P >::iterator iterator
Definition: OgrePrerequisites.h:376
void load(const String &filename)
Load world data from a file.
@ LB_BlendNormal
Definition: OgreShaderExLayeredBlending.h:51
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse the definition of a set of resources from a script file.
Definition: OgreResourceManager.h:411
Affine3()
Do NOT initialize the matrix for efficiency.
Definition: OgreMatrix4.h:322
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
InstancedEntity * createInstancedEntity(const String &materialName, const String &managerName)
Creates an InstancedEntity based on an existing InstanceManager.
String doGet(const void *target) const
void setOrientationMode(OrientationMode orientationMode, bool setDefault=true)
Set the orientation mode of the viewport.
virtual bool hasLight(const String &name) const
Returns whether a light with the given name exists.
@ FILTER_TRIANGLE
Definition: OgreImage.h:399
StreamSerialiser * _writeWorldStream(const String &filename)
Get a serialiser set up to write PagedWorld data.
void enableTextureCoordGen(GLenum type)
Enable the specified texture coordinate generation option for the currently active texture unit.
Defines an instance of a discrete, movable object based on a Mesh.
Definition: OgreEntity.h:80
uint32 packIndex(long x, long y) const
Convert coordinates to a packed integer index.
Real getSkirtSize() const
The default size of 'skirts' used to hide terrain cracks (default 10)
Definition: OgreTerrain.h:1909
Wrapper class which identifies a value as the currently default angle type, as defined by Math::setAn...
Definition: OgreMath.h:163
void setReceiveDynamicShadowsLowLod(bool enabled)
Whether to use shadows on low LOD material rendering (when using composite map) (default false).
ConstMapIterator< AliasTextureNamePairList > AliasTextureIterator
Definition: OgreSubMesh.h:192
DefaultPlaneBoundedVolumeListSceneQuery(SceneManager *creator)
TriangleList triangles
Main triangles array, stores all triangles of this edge list.
Definition: OgreEdgeListBuilder.h:125
const UVWAddressingMode & getAddressingMode() const
Gets the texture addressing mode for a given coordinate, i.e.
Definition: OgreTextureUnitState.h:99
ACDataType dataType
The type of any extra data.
Definition: OgreGpuProgramParams.h:1252
Definition: OgreMemoryAllocatorConfig.h:82
void uninstall()
Perform the final plugin uninstallation sequence.
unsigned long long uint64
Definition: OgrePlatform.h:265
AllocatedObject AnimationAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:99
Vector< 4, float > Vector4f
Definition: OgrePrerequisites.h:256
TerrainLayerBlendMap * getLayerBlendMap(uint8 layerIndex)
Retrieve the layer blending map for a given layer, which may be used to edit the blending information...
static ParameterPtr createInTexcoord4(int index, Parameter::Content content)
static void setPriority(String shaderLanguage, int priority)
@ ACT_TRANSPOSE_WORLD_MATRIX
Provides transpose of world matrix.
Definition: OgreGpuProgramParams.h:691
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreD3D11RenderWindow.h:63
static size_t calculateLoadingStages(DataStreamPtr &stream)
Calculate the number of loading stages required for a given level.
A bone in a skeleton.
Definition: OgreBone.h:52
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
Definition: OgrePageContent.h:71
DefaultHardwareBufferManagerBase()
virtual const String & getType() const
@ FO_POINT
Use the closest pixel.
Definition: OgreCommon.h:108
static CmdRedAdjust2 msRedCmd2
Definition: OgreColourFaderAffector2.h:192
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Definition: OgreBorderPanelOverlayElement.h:338
virtual bool isConstParameter() const
Returns true if this instance is a ConstParameter otherwise false.
Definition: OgreShaderParameter.h:355
@ SPC_LIGHTDIRECTION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:173
Definition: OgreExternalTextureSource.h:99
void boxIntersects(const AxisAlignedBox &box, TerrainList *resultList) const
Test intersection of a box with the terrain.
@ ACT_INVERSE_VIEWPROJ_MATRIX
Provides inverse of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:741
void beginOcclusionQuery()
Starts the hardware occlusion query.
ConstMapIterator< TerrainSlotMap > ConstTerrainIterator
Definition: OgreTerrainGroup.h:475
void _setActiveCompositorChain(CompositorChain *chain)
Sets the active compositor chain of the current scene being rendered.
Definition: OgreSceneManager.h:3027
void setWorldGeometryRenderQueue(uint8 qid)
Overridden from SceneManager.
void setSpecular(const ColourValue &specular)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setAutoUpdate(bool autoUpdate)
Set the auto update state of this billboard set.
const String & getSchemeName(void) const
Returns the scheme to which this technique is assigned.
void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
Sets the color to clear to.
virtual void setPreferredBitDepths(ushort integerBits, ushort floatBits, bool reloadTextures=true)
Sets preferred bit depth for integer and float pixel format.
@ PF_A8
8-bit pixel format, all bits alpha.
Definition: OgrePixelFormat.h:60
void resize(const AxisAlignedBox &box)
Resizes the octree to the given size.
Definition: OgreComPtr.h:86
const ShaderFunctionList & getFunctions() const
Definition: OgreShaderProgram.h:130
@ PARTIAL
Definition: OgreOctreeCamera.h:72
MeshLodUsage()
Definition: OgreMesh.h:1031
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareIndexBuffer.h:66
Factory class for GLSL programs.
Definition: OgreGLSLProgramFactory.h:42
void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)
See RenderSystem.
void doSet(void *target, const String &val)
void _notifyRenderedBatches(unsigned int numbatches)
Internal method to notify camera of the visible batches in the last render.
@ GCT_SAMPLER3D
Definition: OgreGpuProgramParams.h:75
void attachToProgramObject(const GLhandleARB programObject)
@ SPC_LIGHTPOSITIONVIEW_SPACE3
Definition: OgreShaderParameter.h:233
static String Type
Definition: OgreShaderExTextureAtlasSampler.h:164
void _suppressShadows(bool suppress)
Indicates to the SceneManager whether it should suppress the active shadow rendering technique until ...
std::vector< float > LodData
Definition: OgreTerrainLodManager.h:57
Vector & operator*=(Real s)
Definition: OgreVector.h:581
void grow(size_t MinSize=0)
grow - double the size of the allocated memory, guaranteeing space for at least one more element or M...
Definition: OgreSmallVector.h:239
Entity * createEntity(const String &entityName, const String &meshName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Create an Entity (instance of a discrete mesh).
VEdges edges
Definition: OgreLodData.h:102
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
@ ST_GENERIC
Definition: OgreSceneManager.h:3531
void setCorner(int index, const Vector3 &point)
Set the local coordinates of one of the portal corners.
const String & getQueuedAsString() const
Returns a string representing the parsed material(s)
virtual Viewport * getViewportByZOrder(int ZOrder)
Retrieves a pointer to the viewport with the given Z-order.
static FontManager & getSingleton(void)
Override standard Singleton retrieval.
GLSL ES target language writer implementation.
Definition: OgreShaderGLSLESProgramWriter.h:54
void finaliseDeltaValues(const Rect &rect)
Promote the delta values calculated to the runtime ones (this must be called in the main thread).
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
Ogre::MaterialPtr getShadowReceiverMaterial() const
return this material specific shadow receiving specific material
ushort newLodIndex
New level of detail index.
Definition: OgreLodListener.h:69
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void Reset() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:227
virtual void removeAllChildren(void)
Removes all child Nodes attached to this node.
@ ACT_SURFACE_SPECULAR_COLOUR
Surface specular colour, as set in Pass::setSpecular.
Definition: OgreGpuProgramParams.h:802
void setVertexBufferBinding(VertexBufferBinding *binding, size_t numberOfInstances, bool useGlobalInstancingVertexBufferIsAvailable, bool indexesUsed)
UniformParameterPtr resolveParameter(GpuConstantType type, int index, uint16 variability, const String &suggestedName, size_t size=0)
Resolve uniform parameter of this program.
static Affine3 getScale(Real s_x, Real s_y, Real s_z)
Gets a scale matrix - variation for not using a vector.
Definition: OgreMatrix4.h:420
ushort getLodIndex(Real value) const
Gets the LOD index to use at the given value.
Image & loadTwoImagesAsRGBA(const DataStreamPtr &rgbStream, const DataStreamPtr &alphaStream, PixelFormat format=PF_BYTE_RGBA, const String &rgbType=BLANKSTRING, const String &alphaType=BLANKSTRING)
Utility method to combine 2 separate images into this one, with the first image source supplying the ...
long y
Definition: OgreTerrainGroup.h:339
bool addRenderWindow(D3D11RenderWindowBase *renderWindow) const
const Vector3 getCorner3(void) const
Gets the coordinate of corner 3.
Definition: OgreVolumeOctreeNode.h:476
RibbonTrail * createRibbonTrail(const String &name)
Create a RibbonTrail, an object which you can use to render a linked chain of billboards which follow...
void setMaxSupportedAnisotropy(Real s)
Set the maximum supported anisotropic filtering.
Definition: OgreRenderSystemCapabilities.h:713
@ PF_BYTE_BGRA
32-bit pixel format, 8 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:292
DefaultSphereSceneQuery(SceneManager *creator)
TextureAddressing textureAddressing
Definition: OgreHlmsPbsMaterial.h:140
bool isReloadable(void) const
Returns true if the Resource is reloadable, false otherwise.
Real inputBias
How to bias the input values provided (if any)
Definition: OgreTerrain.h:387
TrackVertexColourEnum
Definition: OgreCommon.h:301
MapIterator< Ogre::RenderTargetMap > RenderTargetIterator
Iterator over RenderTargets.
Definition: OgreRenderSystem.h:405
ConstChildNodeIterator getChildIterator(void) const
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D11RenderWindow.h:66
String getTopRightBorderUVString() const
RenderWindow()
Default constructor.
float getAlphaAdjust2(void) const
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:223
@ ID_AFFECTOR
Definition: OgreScriptCompiler.h:789
@ OPT_2
Optimisation level 2.
Definition: OgreD3D9HLSLProgram.h:148
VectorImpl::iterator iterator
Definition: OgreCommon.h:400
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
void _deinitialise(void)
Tear down the internal structures of this Entity, rendering it uninitialised.
@ SPC_POSTOLIGHT_WORLD_SPACE7
Definition: OgreShaderParameter.h:147
virtual bool isFormatSupported(TextureType ttype, PixelFormat format, int usage)
Returns whether this render system can natively support the precise texture format requested with the...
Definition: OgreGLSLShader.h:39
Definition: OgreD3D11Mappings.h:39
LodStrategy(const String &name)
Constructor accepting name.
Definition: OgreHlmsShaderGenerator.h:48
void _setBlendMask(const BoneBlendMask *blendMask)
Set the blend mask.
void save(StreamSerialiser &stream)
Save this data to a stream.
void findNodesIn(const AxisAlignedBox &box, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *exclude=0)
Recurses the scene, adding any nodes intersecting with the box into the given list.
static void registerCodec(Codec *pCodec)
Registers a new codec in the database.
Definition: OgreCodec.h:80
void setLayerSpecularMappingEnabled(bool enabled)
Whether to support specular mapping per layer in the shader (default true).
@ LB_BlendAverage
Definition: OgreShaderExLayeredBlending.h:55
virtual Real getTimeToLive(void) const
Gets the time each particle will live for.
SourceModifier sourceModifier
Definition: OgreShaderExLayeredBlending.h:100
const SkyBoxGenParameters & getSkyBoxGenParameters(void) const
Get the parameters used to generate the current SkyBox, if any.
Definition: OgreSceneManager.h:2039
virtual PagedWorldSection * createInstance(const String &name, PagedWorld *parent, SceneManager *sm)=0
Command object for setting the constant colour.
Definition: OgreTextAreaOverlayElement.h:199
String validateConfigOptions()
Validates the options set for the rendering system, returning a message if there are problems.
TexturePtr getPooledTexture(const String &name, const String &localName, uint32 w, uint32 h, PixelFormat f, uint aa, const String &aaHint, bool srgb, UniqueTextureSet &texturesAlreadyAssigned, CompositorInstance *inst, CompositionTechnique::TextureScope scope)
Utility function to get an existing pooled texture matching a given definition, or creating one if on...
void setDefiner(TerrainDefiner *terrainDefiner)
Definition: OgreTerrainPagedWorldSection.h:168
@ VRM_CONSTANT
Exact vertex count to be removed from each submesh.
Definition: OgreLodConfig.h:75
void doSet(void *target, const String &val)
void loadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
int member
Definition: OgreComPtr.h:185
static const uint32 CHUNK_SECTIONDECLARATION_ID
Definition: OgrePagedWorld.h:65
bool validateScheme(const String &schemeName)
Validate a given scheme.
DefaultHardwareBufferManager as a Singleton.
Definition: OgreDefaultHardwareBufferManager.h:155
D3D11StereoDriverBridge(StereoModeType stereoMode)
const String & getName() const
Get the name of the plugin.
@ IM_USEBONEDUALQUATERNIONS
Definition: OgreCommon.h:356
bool intersects(const Segment &) const
bool isReflected(void) const
Returns whether this frustum is being reflected.
Definition: OgreFrustum.h:561
const String & getType(void) const
Return the type code of this Archive.
Definition: OgreArchive.h:218
void _oneTimeContextInitialization()
One time initialization for the RenderState of a context.
PixelBox getSubVolume(const Box &def, bool resetOrigin=true) const
Return a subvolume of this PixelBox.
@ ACT_FOG_PARAMS
Fog params: density, linear start, linear end, 1/(end-start)
Definition: OgreGpuProgramParams.h:795
@ GCT_BOOL3
Definition: OgreGpuProgramParams.h:115
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)=0
void extractFrom(const VertexData *sourceData)
Utility method, extract info from the given VertexData.
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
@ ACT_NORMAL_MATRIX
Provides inverse transpose of the upper 3x3 of the worldview matrix.
Definition: OgreGpuProgramParams.h:764
virtual const std::set< WorldFragmentType > * getSupportedWorldFragmentTypes(void) const
Returns the types of world fragments this query supports.
Definition: OgreSceneQuery.h:169
std::set< ushort > TrackHandleList
A list of track handles.
Definition: OgreAnimation.h:427
uint32 visibilityMask
Scene visibility mask If this is 0, the scene is not rendered at all.
Definition: OgreCompositorInstance.h:140
A key frame in an animation sequence defined by an AnimationTrack.
Definition: OgreKeyFrame.h:56
PixelBox * calculateLightmap(const Rect &rect, const Rect &extraTargetRect, Rect &outFinalRect)
Calculate (or recalculate) the terrain lightmap.
void setTransparencyCastsShadows(bool enabled)
Sets whether objects using this material be classified as opaque to the shadow caster system.
Definition: OgreMaterial.h:188
std::map< unsigned short, bool > SchemeHardwareAnimMap
Definition: OgreEntity.h:87
void setBorderSize(Real sides, Real topAndBottom)
Sets the size of the border, with different sizes for vertical and horizontal borders.
virtual BoneIterator getBoneIterator(void)
Get an iterator over all the bones in the skeleton.
void * allocateScratch(uint32 size)
Allocator method to allow us to use a pool of memory as a scratch area for hardware buffers.
void writeProgramDependencies(std::ostream &os, Program *program)
Write the program dependencies.
String name
Definition: OgreHlmsPbsMaterial.h:120
virtual TerrainGroup * getTerrainGroup()
Get the TerrainGroup which this world section is using.
Definition: OgreTerrainPagedWorldSection.h:107
MovableObjectFactory * _getCreator(void) const
Get the creator of this object, if any (internal use only)
Definition: OgreMovableObject.h:179
virtual void itemSelected(SelectMenu *menu)
Definition: OgreTrays.h:92
Definition: OgreSmallVector.h:139
SceneMgrQueuedRenderableVisitor * getQueuedRenderableVisitor(void) const
Gets the current visitor object which processes queued renderables.
const String & getType(void) const
Get the type of the object to be created.
GLES2StateCacheManager * _getStateCacheManager()
Definition: OgreGLES2RenderSystem.h:207
static GLSLProgramManager & getSingleton(void)
PlaneOptimalShadowCameraSetup(const MovablePlane *plane)
void _queueSkiesForRendering(Camera *cam)
Internal method for queueing the sky objects with the params as previously set through setSkyBox,...
Definition: OgreSceneManager.h:1859
void doSet(void *target, const String &val)
virtual void addEntity(Entity *ent, const Vector3 &position, const Quaternion &orientation=Quaternion::IDENTITY, const Vector3 &scale=Vector3::UNIT_SCALE)
Adds an Entity to the static geometry.
FileHandleDataStream(const String &name, FILE *handle, uint16 accessMode=READ)
Create named stream from a C file handle.
@ PT_LONG
Definition: OgreStringInterface.h:55
virtual ~Quake3ShaderManager()
void updateManualLodLevel(ushort index, const String &meshName)
Changes the alternate mesh to use as a manual LOD at the given index.
void mergeAdjacentTexcoords(unsigned short finalTexCoordSet, unsigned short texCoordSetToDestroy)
This method collapses two texcoords into one for all submeshes where this is possible.
@ MOUSEBUTTONDOWN
Definition: OgreInput.h:35
CompositionTechnique * getParent()
Get parent object.
Class defining a generic OGRE plugin.
Definition: OgrePlugin.h:80
const DoubleConstantList & getDoubleConstantList() const
Get a reference to the list of double constants.
Definition: OgreGpuProgramParams.h:1674
PCZSceneNode(SceneManager *creator, const String &name)
Standard constructor.
@ GCT_MATRIX_3X4
Definition: OgreGpuProgramParams.h:87
const_iterator begin() const
Definition: OgreCommon.h:421
StereoModeType
Defines the stereo mode types.
Definition: OgreCommon.h:335
Contains the data of an element of the BillboardChain.
Definition: OgreBillboardChain.h:85
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001f, Real linearStart=0.0f, Real linearEnd=1.0f)
Sets the fogging mode applied to this pass.
SceneManager * _getManager(void) const
Get the manager of this object, if any (internal use only)
Definition: OgreMovableObject.h:183
GLuint getGLBufferId(void) const
Definition: OgreGLHardwareIndexBuffer.h:64
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
void setDeviceName(const String &name)
sets the device name for Render system
Definition: OgreRenderSystemCapabilities.h:629
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters=0)=0
A rendersystem-specific event occurred.
virtual const String & getMaterialName(void) const
Sets the name of the material to be used for this billboard set.
const ParameterList & getParameters(void) const
Retrieves a list of parameters valid for this object.
Definition: OgreStringInterface.h:142
void _setMaterial(MaterialPtr &mat)
Sets the material this renderer must use; called by ParticleSystem.
Structure for automatic Lod configuration.
Definition: OgreLodConfig.h:55
virtual ~ShaderProgramWriterGLSLESFactory()
Definition: OgreShaderGLSLESProgramWriter.h:126
virtual void visit(Renderable *rend, ushort lodIndex, bool isDebug, Any *pAny=0)=0
Generic visitor method.
ScriptingAllocatedObject AbstractNodeAlloc
Definition: OgreMemoryAllocatorConfig.h:111
@ RSC_VAO
Support for Vertex Array Objects (VAOs)
Definition: OgreRenderSystemCapabilities.h:210
void destroyWorldSection(PagedWorldSection *s)
Destroy an instance of PagedWorldSection.
Per pixel Lighting extension sub render state implementation.
Definition: OgreShaderExPerPixelLighting.h:58
PCZone * getDefaultZone(void)
Get the default zone.
Definition: OgrePCZSceneManager.h:286
An object which renders geometry to a vertex.
Definition: OgreGL3PlusRenderToVertexBuffer.h:44
@ FOG_NONE
No fog. Duh.
Definition: OgreCommon.h:148
void _updateCustomGpuParameter(const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const override
Overridden from Renderable to provide some custom behaviour.
virtual bool eof() const
Reports whether the stream is at the end of file.
Real timeSinceLastEvent
Elapsed time in seconds since the last event.
Definition: OgreFrameListener.h:53
String doGet(const void *target) const
void setTextureAddressingMode(const Sampler::UVWAddressingMode &uvw)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:689
void dirtyNodeByMovingPortals(void)
Mark nodes dirty base on moving portals.
Vector3 position
Definition: OgreStaticGeometry.h:164
@ INTERSECT_BACK_NO_CROSS
Definition: OgrePortalBase.h:166
const String & getShaderCachePath() const
Get the output shader cache path.
Definition: OgreShaderGenerator.h:165
@ SDLK_F4
Definition: OgreInput.h:104
GLPBuffer(PixelComponentType format, uint32 width, uint32 height)
Definition: OgreGLPBuffer.h:42
const RealRect & getLightScissorRect(Light *l, const Camera *cam)
Retrieve a scissor rectangle for a given light and camera.
@ SHADER_TCMOD
Definition: OgreQuake3Types.h:101
virtual void _getDepthStencilFormatFor(PixelFormat internalColourFormat, uint32 *depthFormat, uint32 *stencilFormat)
Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE.
void setTransform(const Affine3 &xform)
const String & getRenderSystemName(void) const
Get the identifier of the rendersystem from which these capabilities were generated.
Definition: OgreRenderSystemCapabilities.h:757
virtual void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)=0
Clears one or more frame buffers on the active render target.
bool load(StreamSerialiser &stream)
Load this data from a stream (returns true if successful)
void getRenderOperation(RenderOperation &)
Gets the render operation required to send this object to the frame buffer.
void _loadImages(const ConstImagePtrList &images)
Internal method to load the texture from a set of images.
void finaliseNormals(const Rect &rect, PixelBox *normalsBox)
Finalise the normals.
virtual void setDefaultTextureFiltering(FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter)
Sets the default texture filtering to be used for loaded textures, for when textures are loaded autom...
ChunkParameters * parameters
The parameters with which the chunktree got loaded.
Definition: OgreVolumeChunk.h:126
virtual ResourcePtr getByHandle(ResourceHandle handle)
Retrieves a pointer to a resource by handle, or null if the resource does not exist.
bool isAutoDepthStencil() const
void _initialise() override
Start up the renderer using the settings selected (Or the defaults if none have been selected).
size_t getShadowIndexBufferSize(void) const
Get the size of the shadow index buffer.
Definition: OgreSceneManager.h:2711
@ ACT_DERIVED_LIGHT_SPECULAR_COLOUR_ARRAY
Array of derived light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:942
VectorImpl::size_type size_type
Definition: OgreCommon.h:398
ColourBufferType getDrawBuffer() const
Returns the current colour buffer type for this viewport.
const String & getResourceGroup(void) const
Gets the resource group of the ultimate parent Material.
virtual void setRenderQueueGroup(uint8 queueID)=0
Sets which render queue group this renderer should target with it's output.
virtual void _notifyCurrentCamera(Camera *cam)=0
Delegated to by ParticleSystem::_notifyCurrentCamera.
std::vector< PageContentCollection * > ContentCollectionList
Definition: OgrePage.h:53
void _setTextureBlendMode(size_t stage, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
SpecialCaseRenderQueueMode getSpecialCaseRenderQueueMode(void)
Gets the way the special case render queue list is processed.
const MaterialPtr & getMaterial(void) const
See Renderable.
unsigned short getNumPasses(void) const
Retrieves the number of passes.
Radian & operator*=(Real f)
Definition: OgreMath.h:85
Ogre::RenderWindow * getRenderWindow() const
get the main RenderWindow owns the context on OpenGL
Definition: OgreApplicationContextBase.h:96
Default implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgreSceneManager.h:3505
size_t getCompositorPosition(const String &name)
Get compositor position by name. Returns NPOS if not found.
@ SRF_INCLUDE_DARK_CAP
For shadow volume techniques only, generate a dark cap on the volume.
Definition: OgreShadowCaster.h:111
virtual void _addAntiPortal(AntiPortal *newAntiPortal)
Add an anti portal to the zone.
Entity * entity
The entity whose level of detail has changed.
Definition: OgreLodListener.h:57
@ PT_VECTOR3
Definition: OgreStringInterface.h:58
bool getPointSpritesEnabled(void) const
Returns whether point sprites are enabled when rendering a point list.
String doGet(const void *target) const
virtual void position(const Vector3 &pos)
Add a vertex position, starting a new vertex at the same time.
Real minTimeMillisecs
The minimum frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:126
void anchorToHomeZone(PCZone *zone)
PortalList mPortals
List of Portals which this zone contains (each portal leads to another zone)
Definition: OgrePCZone.h:250
virtual SkeletonAnimationBlendMode getBlendMode() const
Gets the animation blending mode which this skeleton will use.
@ TEXCALC_PROJECTIVE_TEXTURE
Projective texture.
Definition: OgreRenderSystem.h:71
PCZone * getTargetZone()
Get the Zone the Portal connects to.
Definition: OgrePortal.h:62
const WorldSectionFactoryMap & getWorldSectionFactories() const
Get a reference to the registered strategies.
void removeNode(PCZSceneNode *)
Removes all references to a SceneNode from this Zone.
void setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverageEnabled=false)
Sets the way the pass will have use alpha to totally reject pixels from the pipeline.
Concrete IteratorWrapper for const access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:352
static const IdString Pose
Definition: OgreHlmsPropertyHelper.h:48
const String & getLanguage()
Definition: OgreHlmsDatablock.h:53
int int32
Definition: OgrePlatform.h:257
bool hasSceneManager(const String &instanceName) const
Identify if a SceneManager instance already exists.
virtual bool frameStarted(const FrameEvent &evt)
Overridden from FrameListener.
void setWidth(uint32 w)
Set the width of the texture; can only do this before load();.
Definition: OgreTexture.h:255
void addOrganisationMode(QueuedRenderableCollection::OrganisationMode om)
Add a required sorting / grouping mode for the solids in this group.
Definition: OgreRenderQueueSortingGrouping.h:642
virtual bool supportsPCZoneType(const String &zoneType)=0
const PoseList & getPoseList(void) const
Get pose list.
FocusedShadowCameraSetup(bool useAggressiveRegion=true)
@ M_MESH_LOD_MANUAL
Definition: OgreMeshFileFormat.h:119
void apply(Real timePos, Real weight=1.0, Real scale=1.0f)
Applies an animation given a specific time point and weight.
@ ENV_CURVED
Envmap based on dot of vector from camera to vertex and vertex normal, good for curves.
Definition: OgreTextureUnitState.h:272
const uint * getUnsignedIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:1688
bool getIncludesNormals() const
Return whether the pose vertices include normals.
Definition: OgrePose.h:80
virtual void _removeAntiPortal(AntiPortal *removeAntiPortal)
Remove an anti portal from the zone.
size_t physicalIndex
The target (physical) constant index.
Definition: OgreGpuProgramParams.h:1271
BspIntersectionSceneQuery(SceneManager *creator)
std::unordered_map< String, ResourcePtr > ResourceMap
Definition: OgreResourceManager.h:500
const String & getSkeletonName(void) const
Gets the name of any linked Skeleton.
Real inputScale
How to scale the input values provided (if any)
Definition: OgreTerrain.h:385
bool getIsOptimised(void)
Gets if the GLSL source has been optimised successfully.
Definition: OgreGLSLESProgram.h:65
virtual void passEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Pass *pass)
Called when pass section event raised.
Definition: OgreMaterialSerializer.h:96
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
Abstract class defining a query which returns single results from a region.
Definition: OgreSceneQuery.h:219
@ DISPLAY_PERCENTAGE
Display % frame usage on the overlay.
Definition: OgreOverlayProfileSessionListener.h:56
@ ACT_SURFACE_SHININESS
Surface shininess, as set in Pass::setShininess.
Definition: OgreGpuProgramParams.h:806
StringStream stringstream
Definition: OgrePrerequisites.h:323
~GLHardwareVertexBuffer()
static SkeletonManager & getSingleton(void)
Get the singleton instance.
String doGet(const void *target) const
void endGPUEvent(const String &event)
Mark the end of a GPU event group.
static bool readLayerDeclaration(StreamSerialiser &ser, TerrainLayerDeclaration &targetdecl)
Utility method to read a layer declaration from a stream.
friend std::ostream & operator<<(std::ostream &o, const AxisAlignedBox &aab)
Definition: OgreAxisAlignedBox.h:322
SmallVector(unsigned Size, const T &Value=T())
Definition: OgreSmallVector.h:750
int vert_start
Definition: OgreQuake3Types.h:189
virtual ~GLSLESCgProgramFactory()
@ CAPS_CATEGORY_COMMON_3
Definition: OgreRenderSystemCapabilities.h:66
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D9HLSLProgram.h:174
virtual ~Listener()
Need virtual destructor in case subclasses use it.
Definition: OgreResourceBackgroundQueue.h:104
void setAdjust1(float red, float green, float blue, float alpha=0.0)
Sets the colour adjustment to be made per second to particles.
Real influence
Influence level of the linked pose.
Definition: OgreKeyFrame.h:207
uint32 mHash
Definition: OgreIdString.h:98
Real getSquaredViewDepth(const Camera *cam) const override
Returns the camera-relative squared depth of this renderable.
Definition: OgreBspLevel.h:122
bool getEnabled(void) const
Returns true if this animation is currently enabled.
virtual void defineTerrain(long x, long y, const Image *img, const Terrain::LayerInstanceList *layers=0)
Define the content of a 'slot' in the terrain grid.
void setRenderQueueGroup(uint8 grp)
Set the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1317
Definition: OgreShaderFunctionAtom.h:182
@ ID_SEPARATE_UV
Definition: OgreScriptCompiler.h:710
static PropertyType getTypeForValue(const Vector3 &val)
Definition: OgreProperty.h:169
IDirect3DDevice9 * getDeviceCreator() const
GLContext * getGLContext() const
Definition: OgreGLDepthBufferCommon.h:36
Renderable * _getTexturedRectangle2D()
Get a textured fullscreen 2D rectangle, for internal use.
GeneralAllocatedObject StreamAlloc
Definition: OgreMemoryAllocatorConfig.h:147
std::set< Texture * > UniqueTextureSet
Definition: OgreCompositorManager.h:135
@ SPC_POSTOCAMERA_TANGENT_SPACE
View vector in tangent space.
Definition: OgreShaderParameter.h:127
virtual GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
Vector3 mC6
Definition: OgreVolumeDualGridGenerator.h:56
@ SBF_SOURCE_COLOUR
The texture pixel (texel) colour.
Definition: OgreBlendMode.h:234
Archive * archive
Pointer to the archive which is the destination.
Definition: OgreResourceGroupManager.h:276
IndexRemap()
Definition: OgreTangentSpaceCalc.h:64
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false) override
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
virtual bool _unloadProceduralPage(Page *page)
Give a section the opportunity to unload page content procedurally.
Property(PropertyDef *def, getter_func getter, setter_func setter)
Construct a property which is able to directly call a given getter and setter on a specific object in...
Definition: OgreProperty.h:230
float getAttenuationLinear(void) const
Returns the linear factor in the attenuation formula.
Definition: OgreLight.h:178
void initialiseResourceGroup(const String &name)
Initialises a resource group.
String doGet(const void *target) const
String doGet(const void *target) const
Technique * getBestTechnique(unsigned short lodIndex=0, const Renderable *rend=0)
Gets the best supported technique.
virtual void destroyLight(const String &name)
Removes the named light from the scene and destroys it.
void addPoint(const Quaternion &p)
Adds a control point to the end of the spline.
ushort getNumMultiRenderTargets(void) const
The number of simultaneous render targets supported.
Definition: OgreRenderSystemCapabilities.h:502
static void destroy()
Destroy the Shader Generator instance.
In(const Vector3 &v)
Definition: OgreShaderFunctionAtom.h:170
Degree & operator+=(const Degree &d)
Definition: OgreMath.h:128
void doSet(void *target, const String &val)
@ SHADER_FUNC_NONE
Definition: OgreQuake3Types.h:109
@ CMPF_NOT_EQUAL
Write if (new_Z != existing_Z)
Definition: OgreCommon.h:70
Any(const Any &other)
Definition: OgreAny.h:73
virtual FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false) const =0
List all files in the archive with accompanying information.
A volume source from a 3D texture.
Definition: OgreVolumeTextureSource.h:45
void removeAllTextureAtlasTables()
Removes all texture atlas table information.
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
void setPointMaxSize(Real max)
Set the maximum point size, when point attenuation is in use.
virtual const String & getTargetLanguage() const =0
Return the target language of this processor.
@ MEMCATEGORY_SCRIPTING
Scripting.
Definition: OgreMemoryAllocatorConfig.h:67
Real getClearDepth() const
Get the viewport clear depth (defaults to 1.0)
@ ACT_LIGHT_DISTANCE_OBJECT_SPACE
The distance of the light from the center of the object a useful approximation as an alternative to p...
Definition: OgreGpuProgramParams.h:864
void copyFromFramebuffer(size_t zoffset)
bool onlyInitial
Definition: OgreCompositorInstance.h:155
PlaneBoundedVolume()
Definition: OgrePlaneBoundedVolume.h:57
StereoModeType getStereoMode() const
const Corners & getWorldSpaceCorners(void) const
Gets the world space corners of the frustum.
void addAtomInstance(FunctionAtom *atomInstance)
Add a function atom instance to this function.
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
int vertexStart
Index into a buffer containing vertex definitions.
Definition: OgreStaticFaceGroup.h:79
bool isVertexOutside(LodData::Vertex *v)
Returns a mesh containing the Convex Hull shape.
Definition: OgreLodOutsideMarker.h:59
Summary class collecting together index data source information.
Definition: OgreVertexIndexData.h:243
void beginOcclusionQuery()
Starts the hardware occlusion query.
void setNamedConstantFromTime(const String &name, Real factor)
Sets a named parameter up to track a derivation of the current time.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
AnyNumeric operator+(const AnyNumeric &rhs) const
Definition: OgreAny.h:324
void setAddressingMode(const UVWAddressingMode &uvw)
This is an overloaded member function, provided for convenience. It differs from the above function o...
BinaryOpAtom(char op, const In &a, const In &b, const Out &dst, int groupOrder)
@ PF_PVRTC2_4BPP
PVRTC (PowerVR) Version 2, 4 bpp.
Definition: OgrePixelFormat.h:142
void findNodesIn(const PlaneBoundedVolume &volume, std::list< SceneNode * > &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the volume into the given list.
void setNormalMapMipBias(Real mipBias)
Definition: OgreShaderExNormalMapLighting.h:149
void abortRequest()
Abort the request.
Definition: OgreWorkQueue.h:146
void setDepth(uint32 d)
Set the depth of the texture (only applicable for 3D textures); can only do this before load();.
Definition: OgreTexture.h:260
Vector3 mPosition
World position.
Definition: OgreParticle.h:86
D3D11Driver(IDXGIAdapterN *pDXGIAdapter, const DXGI_ADAPTER_DESC1 &desc, unsigned sameNameIndex)
void updateDerivedData(bool synchronous=false, uint8 typeMask=0xFF)
Updates derived data for all terrains (LOD, lighting) to reflect changed height data.
virtual void nodeAttached(const Node *)
Node has been attached to a parent.
Definition: OgreNode.h:92
IteratorType & current()
Full access to the current iterator.
Definition: OgreIteratorWrapper.h:114
const AutoConstantEntry * _findRawAutoConstantEntryUnsignedInt(size_t physicalIndex) const
Finds an auto constant that's affecting a given physical position in the unsigned integer buffer.
void _notifyNeedsRecompile(void)
Tells the class that it needs recompilation.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
GenFunc rgbGenFunc
Definition: OgreQuake3Shader.h:86
void setStencilBufferBitDepth(ushort num)
Definition: OgreRenderSystemCapabilities.h:440
void _unregisterResourceManager(const String &resourceType)
Internal method for unregistering a ResourceManager.
bool hasEnabledAnimationState(void) const
Tests if exists enabled animation state in this set.
Definition: OgreAnimationState.h:255
static bool parse(const String &str, Vector4 &v)
D3D11HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer, bool streamOut)
Real getShadowExtrusionDistance(void) const
@ RSC_FIXED_FUNCTION
Supports fixed-function pipeline.
Definition: OgreRenderSystemCapabilities.h:159
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents.
Definition: OgreHardwareVertexBuffer.h:89
This class interpolates orientations (rotations) along a spline using derivatives of quaternions.
Definition: OgreRotationalSpline.h:59
const LayerBlendModeEx & getAlphaBlendMode(void) const
Get multitexturing alpha blending mode.
const String & getName(void) const
Returns the name of this object.
Definition: OgreMovableObject.h:202
LPD3DXBUFFER getExternalMicrocode(void)
Gets the external microcode buffer, if any.
Real errorMultiplicator
The error multiplicator per LOD level with 1.0 as default.
Definition: OgreVolumeChunk.h:67
Command object for emittedEmitterQuota (see ParamCommand).
Definition: OgreParticleSystem.h:78
bool hasEdgeList(void) override
Returns whether the object has a valid edge list.
@ OPS_IN
The parameter is a input parameter.
Definition: OgreShaderFunctionAtom.h:55
@ PARTIAL
Definition: OgrePCZFrustum.h:76
const EdgeData * getEdgeList(unsigned short lodIndex=0) const
Return the edge list for this mesh, building it if required.
bool isInstanceData() const
Get if this vertex buffer is an "instance data" buffer (per instance)
Definition: OgreHardwareVertexBuffer.h:72
This class represents a RenderTarget that renders to a Texture.
Definition: OgreRenderTexture.h:49
Real getLeft(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
Real getSquaredViewDepth(const Camera *) const
Returns the camera-relative squared depth of this renderable.
Definition: OgreShadowCaster.h:75
void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
Sets the 'scissor region' i.e.
String doGet(const void *target) const
void removeRenderObjectListener(RenderObjectListener *delListener)
Removes a listener previously added with addRenderObjectListener.
Real getScaleX(void) const
Gets the current X scale value.
void uninstall()
Perform the final plugin uninstallation sequence.
@ SDLK_RIGHT
Definition: OgreInput.h:121
TextureType getTextureType(void) const
Returns the type of this texture.
virtual void getAABB(AxisAlignedBox &)
Get the world coordinate aabb of the zone.
void doSet(void *target, const String &val)
bool getShadowUseLightClipPlanes() const
Gets whether when using a built-in additive shadow mode, user clip planes should be used to restrict ...
Definition: OgreSceneManager.h:3022
virtual void nodeUpdated(const Node *)
Called when a node gets updated.
Definition: OgreNode.h:88
InstancedEntity * createInstancedEntity(const String &materialName)
Creates an InstancedEntity.
virtual void getBestDepthStencil(PixelFormat internalFormat, uint32 *depthFormat, uint32 *stencilFormat)
Definition: OgreGLRenderTexture.h:152
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
friend std::ostream & operator<<(std::ostream &o, const StaticFaceGroup &s)
Definition: OgreStaticFaceGroup.h:113
D3D11VideoMode * item(size_t index)
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
virtual size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const =0
Some techniques have a limit on how many instances can be done.
void setTopRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top-right corner of the border.
static const uint16 TERRAIN_MAX_BATCH_SIZE
Definition: OgreTerrain.h:276
void flipVisibility(bool cascade=true)
Inverts the visibility of all objects attached to this node.
const Quaternion & getInitialOrientation(void) const
Gets the initial orientation of this node, see setInitialState for more info.
Definition: OgreNode.h:614
@ GPU_INTEL
Definition: OgreRenderSystemCapabilities.h:264
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
Sets the comparison function for the depth buffer check.
static Real RangeRandom(Real fLow, Real fHigh)
Generate a random number within the range provided.
Definition: OgreMath.h:476
PagedWorldSection(const String &name, PagedWorld *parent, SceneManager *sm)
Construct a new instance, specifying the parent and scene manager.
const MovableObjectFactoryMap & getMovableObjectFactories() const
Return an iterator over all the MovableObjectFactory instances currently registered.
Definition: OgreRoot.h:913
void setRenderer(const String &typeName)
Sets the ParticleRenderer to be used to render this particle system.
Material(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor - use resource manager's create method rather than this.
void setConstant(size_t index, const double *val, size_t count)
Sets a multiple value constant floating-point parameter to the program.
void _setMaterial(const MaterialPtr &mat)
Manually set the material used for this font.
std::pair< RenderState *, bool > RenderStateCreateOrRetrieveResult
Definition: OgreShaderGenerator.h:184
Real _getWidth(void) const
Gets the width of this element in relation to the screen (where 1.0 = screen width)
Definition: OgreOverlayElement.h:246
virtual void _getBoneMatrices(Affine3 *pMatrices)
Populates the passed in array with the bone matrices based on the current position.
void setAlbedoTexture(MapSlot mapSlot, TexturePtr tex, TextureAddressing textureAddressing=TextureAddressing(), BlendFunction blendFunc=BF_ALPHA, float blendFactor=1)
@ ID_SRC_DIFFUSE
Definition: OgreScriptCompiler.h:750
int content
Definition: OgreQuake3Types.h:238
Definition: OgreD3D9HardwareIndexBuffer.h:39
const NodeBrushList & getSolidBrushes(void) const
Main brush memory held on level.
Class for rendering the border of a BorderPanelOverlayElement.
Definition: OgreBorderPanelOverlayElement.h:325
VectorBase(T _x, T _y, T _z)
Definition: OgreVector.h:54
UserObjectBindings & swap(UserObjectBindings &rhs)
Definition: OgreUserObjectBindings.h:97
String doGet(const void *target) const
static GLenum getGLInternalFormat(PixelFormat mFormat, bool hwGamma=false)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
GpuProgramParametersSharedPtr getVertexProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool operator==(const TerrainLayerSampler &s) const
Definition: OgreTerrainMaterialGenerator.h:109
bool hasMovableObject(const String &name, const String &typeName) const
Returns whether a movable object instance with the given name exists.
static PropertyType getTypeForValue(const Vector4 &val)
Definition: OgreProperty.h:170
SmallVectorImpl - This class consists of common code factored out of the SmallVector class to reduce ...
Definition: OgreSmallVector.h:303
ProfileHistory history
Definition: OgreProfiler.h:183
unsigned int getDefaultAnisotropy() const
Get the default maxAnisotropy.
Abstract interface which classes must implement if they wish to receive events from the scene manager...
Definition: OgreRenderObjectListener.h:44
bool _isManualLodLevel(unsigned short level) const
Internal methods for loading LOD, do not use.
function< T(void) > getter_func
Definition: OgreProperty.h:224
void setSelfIllumination(float red, float green, float blue)
Sets the amount of self-illumination of every Pass in every Technique.
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true)
Real tcModStretchParams[4]
Definition: OgreQuake3Shader.h:96
void setF0(ColourValue val)
Definition: OgreHlmsPbsMaterial.h:169
@ VES_DIFFUSE
Diffuse colours.
Definition: OgreHardwareVertexBuffer.h:99
void setTextureFiltering(TextureFilterOptions filterType)
Set texture filtering for every texture unit in every Pass.
Definition: OgreSegment.h:47
virtual BillboardType getBillboardType(void) const
Returns the billboard type in use.
Frame Buffer Object abstraction.
Definition: OgreGLRenderTexture.h:54
void _writeRawConstant(size_t physicalIndex, const Vector3 &vec)
Write a 3-element floating-point parameter to the program via Vector3.
void saveGroupDefinition(StreamSerialiser &stream)
Save the group data only in native form to a serializing stream.
void setLayerWorldSize(uint8 index, Real size)
How large an area in world space the texture in a terrain layer covers before repeating.
LinkedSkeletonAnimSourceIterator getLinkedSkeletonAnimationSourceIterator(void) const
Get an iterator over the linked skeletons used as animation sources.
TerrainGroup(SceneManager *sm)
Alternate constructor.
virtual void resourceGroupScriptingEnded(const String &groupName)
This event is fired when a resource group finished parsing scripts.
Definition: OgreResourceGroupManager.h:130
SceneManager * createInstance(const String &instanceName)
Create a new instance of a SceneManager.
void setStencilTwoSidedOperation(bool value)
Set two sided stencil operation.
void remove(ResourceHandle handle)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void _notifyIndex(unsigned short index)
Internal method to adjust pass index.
virtual ~BorderPanelOverlayElement()
~RibbonTrailFactory()
Definition: OgreRibbonTrail.h:230
@ SM_Source1Modulate
Definition: OgreShaderExLayeredBlending.h:86
String doGet(const void *target) const
static String FACTORY_TYPE_NAME
Definition: OgreManualObject.h:586
void applyFixedFunctionParams(const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Vector< 4, Real > Vector4
Definition: OgrePrerequisites.h:255
OctreeRaySceneQuery(SceneManager *creator)
void setUserAny(const Any &anything)
Definition: OgreNode.h:661
static float fixedToFloat(unsigned value, unsigned int bits)
Fixed point to float.
Definition: OgreBitwise.h:241
This struct allows a single comparison of result data no matter what the type.
Definition: OgreSceneQuery.h:353
void _update(bool updateChildren, bool parentHasChanged)
Internal method to update the Node.
void optimiseVertexCacheTriList(void)
Re-order the indexes in this index data structure to be more vertex cache friendly; that is to re-use...
std::vector< SceneNode * > NodeList
Definition: OgrePCZone.h:74
Real tcModScale[2]
Definition: OgreQuake3Shader.h:89
ConstNormalsIterator getNormalsIterator(void) const
@ PFF_NATIVEENDIAN
Format is in native endian.
Definition: OgrePixelFormat.h:314
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
size_t triCount
Number triangles of this edge group.
Definition: OgreEdgeListBuilder.h:114
@ SHADER_DEFORMVERTS
Definition: OgreQuake3Types.h:92
~OctreeSceneManagerFactory()
Definition: OgreOctreeSceneManager.h:226
Vector3 pos
Position of the terrain.
Definition: OgreTerrain.h:352
virtual ~LodOutputProvider()
Definition: OgreLodOutputProvider.h:41
A not rotated cube.
Definition: OgreVolumeCSGSource.h:110
DefaultGpuBufferAllocator()
void _unload(void)
Internal unload method, derived from call to Material::unload.
static const IdString UvCount2
Definition: OgreHlmsPropertyHelper.h:59
@ VAT_MORPH
Morph animation is made up of many interpolated snapshot keyframes.
Definition: OgreAnimationTrack.h:473
@ ID_CLEAR
Definition: OgreScriptCompiler.h:816
Real getLayerUVMultiplier(uint8 index) const
Get the layer UV multiplier.
virtual SceneNode * createSceneNode(const String &name)
Creates a PCZSceneNode.
virtual void touch()
'Touch' the page to let it know it's being used
@ OR_LANDSCAPELEFT
Definition: OgreFrustum.h:57
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false) override
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
virtual void worldGeometryStageStarted(const String &description)
This event is fired when a stage of loading linked world geometry is about to start.
Definition: OgreResourceGroupManager.h:184
TerrainLodManager(Terrain *t, const String &filename="")
size_t getOffset(void) const
Gets the offset into the buffer where this element starts.
Definition: OgreHardwareVertexBuffer.h:194
virtual void setVisible(bool visible)
Hides or shows all the batches.
void getBestDepthStencil(PixelFormat internalFormat, uint32 *depthFormat, uint32 *stencilFormat)
Get best depth and stencil supported for given internalFormat.
unsigned int getMaxVertexCount() const
Get the maximum number of vertices that the buffer will hold.
Definition: OgreRenderToVertexBuffer.h:68
void convertColourValue(const ColourValue &colour, uint32 *pDest)
Generates a packed data version of the passed in ColourValue suitable for use with the current Render...
void setFog(FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001f, Real linearStart=0.0f, Real linearEnd=1.0f)
Sets the fogging mode applied to the scene.
GL3PlusFBOManager(GL3PlusRenderSystem *renderSystem)
#define _OgreGL3PlusExport
Definition: OgreGL3PlusPrerequisites.h:91
PCZ implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgrePCZSceneQuery.h:112
ShadeOptions getShadingMode(void) const
Returns the type of light shading to be used.
ushort getZOrder() const
Returns the zOrder of the element.
Definition: OgreOverlayElement.h:455
bool isEdgeListBuilt(void) const
Returns whether this mesh has an attached edge list.
Definition: OgreMesh.h:775
Entity * getParentEntity(void) const
@ SHADER_FUNC_INVERSESAWTOOTH
Definition: OgreQuake3Types.h:114
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
@ ID_CMPTEST
Definition: OgreScriptCompiler.h:723
Definition: OgreScriptCompiler.h:92
size_t getPoseCount(void) const
Get the number of poses.
Definition: OgreMesh.h:968
unsigned int width
Definition: OgreSceneManager.h:66
void destroyRenderWindow(const String &name)
Destroys a render window.
const Matrix4 & getProjectionMatrix(void) const
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderHLSLProgramWriter.h:84
void FromEulerAnglesZYX(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) This implementation...
Definition: OgreInstanceBatchVTF.h:76
void doSet(void *target, const String &val)
bool isNaN() const
Check whether this dual quaternion contains valid values.
Definition: OgreDualQuaternion.h:148
static CmdRandomness msRandomnessCmd
Command objects.
Definition: OgreDirectionRandomiserAffector.h:101
Ogre::Overlay * getTraysLayer()
Definition: OgreTrays.h:769
bool hasBlendMask() const
Return whether there is currently a valid blend mask set.
Definition: OgreAnimationState.h:163
const MaterialPtr & getCustomShadowCasterMaterial(const SkinningType skinningType, ushort index) const
Returns the name of a custom shadow caster material for a given number of weights.
int mNumLeaves
Definition: OgreQuake3Level.h:135
void invalidateStateForTexture(GLuint texture)
Invalidates the state associated with a particular texture ID.
virtual Animation * getAnimation(unsigned short index) const
Gets a single animation by index.
Particle emitter which emits particles randomly from points inside a hollow ellipsoid.
Definition: OgreHollowEllipsoidEmitter.h:52
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
Sets the global alpha rejection approach for future renders.
void setBackgroundColour(const ColourValue &colour)
Sets the initial background colour of the viewport (before rendering).
virtual ~PVRTCCodec()
Definition: OgrePVRTCCodec.h:59
Overlay * create(const String &name)
Create a new Overlay.
@ SDLK_F12
Definition: OgreInput.h:112
virtual void write(const Radian *angle, size_t count=1)
virtual Real getOptimalAdjustFactor() const
Get the parameter n used to produce optimal shadows.
Definition: OgreShadowCameraSetupLiSPSM.h:214
@ SDLK_KP_1
Definition: OgreInput.h:131
const GpuConstantDefinition * mConstantDef
The constant definition it relates to.
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:53
virtual void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)=0
Sets the mode of operation for depth buffer tests from this point onwards.
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
bool keyPressed(const KeyboardEvent &evt)
Processes key presses for free-look style movement.
DriverVersion is used by RenderSystemCapabilities and both GL and D3D9 to store the version of the cu...
Definition: OgreRenderSystemCapabilities.h:223
static int ICeil(float fValue)
Definition: OgreMath.h:262
void _initRenderTargets(void)
Utility method for initialising all render targets attached to this rendering system.
VectorIterator< TextureUnitStates > TextureUnitStateIterator
Definition: OgrePass.h:559
void doSet(void *target, const String &val)
void addArchiveFactory(ArchiveFactory *factory)
Adds a new ArchiveFactory to the list of available factories.
static ParameterPtr createOutBiNormal(int index)
Real tcModTransform[6]
Definition: OgreQuake3Shader.h:92
bool blendingEnabled() const
can we simply overwrite the existing pixels or do we have to blend
Definition: OgreBlendMode.h:292
VectorBase(T _x, T _y)
Definition: OgreVector.h:49
static Real getDefaultIterationInterval(void)
Get the default iteration interval for all ParticleSystem instances.
Definition: OgreParticleSystem.h:432
void setShaderMacros(D3D_SHADER_MACRO *shaderMacros)
Sets shader macros created manually.
~GL3PlusFBOMultiRenderTarget()
FileStreamDataStream(const String &name, std::ifstream *s, bool freeOnClose=true)
Construct named read-only stream from an STL stream.
@ LBX_SOURCE2
use source2 without modification
Definition: OgreBlendMode.h:79
void setMinimum(const Vector3 &vec)
Sets the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:150
ResourceHandle materialHandle
Handle to material used by this group.
Definition: OgreStaticFaceGroup.h:105
virtual void frameStart(Real timeSinceLastFrame, PagedWorldSection *section)
Called when the frame starts.
Definition: OgrePageStrategy.h:91
void _setPointParameters(bool attenuationEnabled, Real minSize, Real maxSize)
GLuint getTemporaryFBO()
Get a FBO without depth/stencil for temporary use, like blitting between textures.
Definition: OgreGLFBORenderTexture.h:96
TextureSource(const String &volumeTextureName, const Real worldWidth, const Real worldHeight, const Real worldDepth, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
LodStrategy * getStrategy(const String &name)
Get the strategy with the specified name.
void setTemplateName(const String &tamplateName)
virtual void addChildImpl(OverlayElement *elem)
Adds another OverlayElement to this container.
Real getFrameTime(void) const
const Vector4 & getCameraPosition(void) const
std::map< unsigned short, NumericAnimationTrack * > NumericTrackList
Definition: OgreAnimation.h:378
RequestHandler()
Definition: OgreWorkQueue.h:165
SceneCtlAllocatedObject LodAlloc
Definition: OgreMemoryAllocatorConfig.h:156
static bool _isDynamic(TextureUsage usage)
Definition: OgreD3D11Mappings.h:87
@ NONE
Definition: OgrePCZCamera.h:59
IteratorWrapper< T, IteratorType, typename T::mapped_type >::ValueType ValueType
Redefined ValueType for a map/set.
Definition: OgreIteratorWrapper.h:258
GpuBufferAllocator()
Definition: OgreTerrain.h:536
@ DEFORM_FUNC_NONE
Definition: OgreQuake3Types.h:134
virtual uint32 getStrategyId()
Definition: OgreTerrainAutoUpdateLod.h:80
@ IS_PER_LIGHT
Part of the rendering which occurs per light.
Definition: OgrePass.h:53
Real getFogStart(void) const
Returns the fog start distance for the scene.
void setFragmentProgramConstantBoolCount(ushort c)
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:681
@ FFP_TRANSFORM
Definition: OgreShaderFFPRenderState.h:71
Real getGlyphAspectRatio(CodePoint id) const
Gets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:313
void updateVertexData(bool positions, bool deltas, const Rect &rect, bool cpuData)
Tell the node to update its vertex data for a given region.
std::multimap< Vector3, Vector3 > EdgeMap
Definition: OgrePolygon.h:58
@ SBF_ZERO
Constant value of 0.0.
Definition: OgreBlendMode.h:232
InOut(UniformParameterPtr p)
Definition: OgreShaderFunctionAtom.h:185
ParticleSystem * createParticleSystem(const String &name, size_t quota=500, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Create a blank particle system.
@ PF_R16_SNORM
16-bit pixel format, 16 bits red (signed normalised int).
Definition: OgrePixelFormat.h:222
void addAffectorFactory(ParticleAffectorFactory *factory)
Adds a new 'factory' object for affectors to the list of available affector types.
void save(const DataStreamPtr &stream)
Save world data to a stream.
@ FINGERMOTION
Definition: OgreInput.h:41
Function * getFunctionByName(const String &name)
Operand & xy()
Definition: OgreShaderFunctionAtom.h:116
RenderTarget * getRenderTarget(const String &name)
Returns a pointer to the render target with the passed name, or NULL if that render target cannot be ...
void build(bool stencilShadows)
Build.
@ SKELETON_VERSION_1_8
OGRE version v1.8+.
Definition: OgreSkeletonSerializer.h:45
NodeList mNodes
Public list of SceneNodes attached to this particular octree.
Definition: OgreOctree.h:134
Vector4 getLightAs4DVector(size_t index) const
~PCZFrustum()
Standard destructor.
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)=0
Copies a region from normal memory to a region of this pixelbuffer.
This class manages the available ArchiveFactory plugins.
Definition: OgreArchiveManager.h:48
void destroyData(PageStrategyData *d)
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
void setKeepDeclarationOrder(bool keepOrder)
Sets whether or not to keep the original declaration order when queuing the renderables.
Definition: OgreManualObject.h:392
void setHomePath(const Ogre::String &path)
Definition: OgreFileSystemLayer.h:118
@ M_MESH_LOD_USAGE
Definition: OgreMeshFileFormat.h:114
bool isSky
Is this a sky surface?
Definition: OgreStaticFaceGroup.h:74
void _registerResourceManager(const String &resourceType, ResourceManager *rm)
Internal method for registering a ResourceManager (which should be a singleton).
GLSL ES program writer factory implementation.
Definition: OgreShaderGLSLESProgramWriter.h:121
const_reference at(size_type n) const
Definition: OgreCommon.h:449
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Required method to allow the renderer to communicate the Renderables it will be using to render the s...
virtual bool frameRenderingQueued(const Ogre::FrameEvent &evt)
Called after all render targets have had their rendering commands issued, but before render windows h...
SubRenderStateSet::iterator SubRenderStateSetIterator
Definition: OgreShaderSubRenderState.h:162
void bind(RenderTarget *target)
Bind a certain render target if it is a FBO.
virtual unsigned long getResponseProcessingTimeLimit() const =0
Get the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
VertexData * vertexData
Definition: OgreStaticGeometry.h:152
~GLSLProgramFactory(void)
void set(const Vector3 &newOrigin, const Vector3 &newEnd, Real newRadius)
Vector3 position
Definition: OgreLodData.h:100
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
~FocusedShadowCameraSetup()
@ ID_DECREMENT
Definition: OgreScriptCompiler.h:841
virtual void setPaused(bool pause)=0
Set whether to pause further processing of any requests.
virtual void setBlendMode(SkeletonAnimationBlendMode state)
Sets the animation blending mode this skeleton will use.
void resetOrganisationModes(void)
Reset the organisation modes required for the solids in this group.
Definition: OgreRenderQueueSortingGrouping.h:624
Real determinant() const
Definition: OgreMatrix3.h:169
VertexTrackIterator getVertexTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:402
virtual void _dirtyState()
Manually mark the state of this resource as having been changed.
int lm_size[2]
Definition: OgreQuake3Types.h:195
static LodWorkQueueWorker & getSingleton()
static uint16 _calcSkirtVertexIndex(uint16 mainIndex, uint16 vdatasize, bool isCol, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)
Utility method to calculate the skirt index for a given original vertex index.
void worldGeometryStageStarted(const Ogre::String &description)
Definition: OgreTrays.h:1118
static String normalizeFilePath(const String &init, bool makeLowerCase=true)
Returns a normalized version of a file path This method can be used to make file path strings which p...
Real getMaxPointSize(void) const
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:691
@ PF_B8G8R8A8
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:81
@ SPC_POSITION_VIEW_SPACE
Position in view space.
Definition: OgreShaderParameter.h:90
const AutoConstantList & getAutoConstants() const
Gets the automatic constant bindings currently in place.
Definition: OgreGpuProgramParams.h:1749
Class which determines how a TextureUnitState accesses data from a Texture.
Definition: OgreTextureUnitState.h:51
int x
Definition: OgreInput.h:59
@ SPC_POSTOLIGHT_WORLD_SPACE4
Definition: OgreShaderParameter.h:144
size_t rowPitch
Number of elements between the leftmost pixel of one row and the left pixel of the next.
Definition: OgrePixelFormat.h:382
GLFBOManager * getManager()
Definition: OgreGLFrameBufferObject.h:58
bool getStencilReadBackAsTextureOperation() const
Get read back stencil-depth buffer.
void removeGPUDeviceNameRule(const String &devicePattern)
Removes a matching device name rule.
@ GCT_MATRIX_3X2
Definition: OgreGpuProgramParams.h:85
uint16 getCompositeMapSize() const
Get the default size of the composite maps for a new terrain.
Definition: OgreTerrain.h:2052
#define OGRE_CAPS_BITSHIFT
Definition: OgreRenderSystemCapabilities.h:46
String name
The name of the profile.
Definition: OgreProfiler.h:173
const PointerType peekNextValuePtr() const
Returns a pointer to the next/current value element in the collection, without advancing to the next ...
Definition: OgreIteratorWrapper.h:292
void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
bool assign(QueuedGeometry *qsm)
Try to assign geometry to this bucket.
WaveType
Definition: OgreQuake3Types.h:108
void * getLump(int lumpType)
Utility function to return a pointer to a lump.
void setBottomLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom-left corner of the border.
virtual StreamSerialiser * readPageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID, or null if this provider cannot suppl...
Definition: OgrePageManager.h:114
Abstract class representing a Texture resource.
Definition: OgreTexture.h:132
static bool startsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string begins with the pattern passed in.
GpuProgramType getShaderType()
Definition: OgreHlmsDatablock.h:52
bool sharesSkeletonInstance() const
Returns whether this entity shares it's SkeltonInstance with other entity instances.
Definition: OgreEntity.h:695
void _notifyWorldGeometryStageEnded(void) const
Notify this manager that one stage of world geometry loading has been completed.
virtual bool _unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a manager the opportunity to unload page content procedurally.
virtual void removeAll(void)
Removes all resources.
friend std::ostream & operator<<(std::ostream &o, const Vector &v)
Definition: OgreVector.h:730
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
@ ACT_CUSTOM
A custom parameter which will come from the renderable, using 'data' as the identifier.
Definition: OgreGpuProgramParams.h:1010
TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software morph animation.
void increaseRefreshRate(DXGI_RATIONAL rr)
virtual void worldGeometryPrepareStageEnded(void)
This event is fired when a stage of preparing linked world geometry has been completed.
Definition: OgreResourceGroupManager.h:161
EdgeData * getEdgeList(void)
Implement this method to enable stencil shadows.
reference front()
Definition: OgreSmallVector.h:196
This class defines an interface for registering and using SceneLoaders.
Definition: OgreSceneLoaderManager.h:18
GLint mBinding
GL binding handle (similar to location)
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:47
static const ColourValue Red
Definition: OgreColourValue.h:63
@ PT_BOOL
Definition: OgreStringInterface.h:49
int getFaceGroupStart(void) const
Returns the index to the face group index list for this leaf node.
virtual ~ResponseHandler()
Definition: OgreWorkQueue.h:201
void setTrayPadding(Ogre::Real padding)
void setInvertVertexWinding(bool invert)
Sets whether or not vertex windings set should be inverted; this can be important for rendering refle...
virtual void computeVertexCollapseCost(LodData *data, LodData::Vertex *vertex, Real &collapseCost, LodData::Vertex *&collapseTo)
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to ...
virtual void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
Definition: OgreHardwareBuffer.h:332
Octree datastructure for managing scene nodes.
Definition: OgreOctree.h:64
Utility class to help with generating shaders for GLSL.
Definition: OgreTerrainMaterialShaderHelpers.h:96
virtual uint32 getTypeFlags(void) const
Get the 'type flags' for this MovableObject.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
InstanceManager * getInstanceManager(const String &managerName) const
Retrieves an existing InstanceManager by it's name.
virtual void setTimeToLive(Real ttl)
Sets the lifetime of all particles emitted.
void destroyWorld(PagedWorld *world)
Destroy a world.
GLPBRenderTexture(GLPBRTTManager *manager, const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
@ ID_POOLED
Definition: OgreScriptCompiler.h:806
void resetOrientation(void)
Resets the nodes orientation (local axes as world axes, no rotation).
Listener on any general material events.
Definition: OgreMaterialManager.h:77
unsigned short * pshort
Definition: OgreLodData.h:135
virtual void licenseExpired(HardwareBuffer *buffer)=0
This method is called when the buffer license is expired and is about to be returned to the shared po...
const String & getName() const
Get the name of the plugin.
Real tcModScroll[2]
Definition: OgreQuake3Shader.h:91
void doSet(void *target, const String &val)
ProjectionType
Specifies perspective (realistic) or orthographic (architectural) projection.
Definition: OgreFrustum.h:63
static DXGI_FORMAT _getGammaFormat(DXGI_FORMAT format, bool appendSRGB)
utility method, optionally maps plain format to _SRGB counterparts
static HardwareSkinningFactory * getSingletonPtr(void)
Get the singleton instance.
DebugRenderable * getDebugRenderable()
As Node::getDebugRenderable, except scaling is automatically determined.
bool getShowBoundingBoxes() const
Returns if all bounding boxes of scene nodes are to be displayed.
virtual size_t getContentCollectionCount() const
Get the number of content collections.
uint32 front
Definition: OgreCommon.h:705
IndexMap sharedBlendIndexToBoneIndexMap
Shared index map for translating blend index to bone index.
Definition: OgreMesh.h:331
const SubroutineMap & getSubroutineMap() const
Get map with.
Definition: OgreGpuProgramParams.h:2073
void uninstall()
Perform the final plugin uninstallation sequence.
void setFrustumOffset(const Vector2 &offset)
Sets frustum offsets, used in stereo rendering.
String doGet(const void *target) const
Definition: OgreGLHardwarePixelBuffer.h:36
virtual ~DefaultWorkQueue()
Matrix4 operator-(const Matrix4 &m, const Matrix4 &m2)
Matrix subtraction.
Definition: OgreMatrix4.h:471
void setManualCullingMode(ManualCullingMode mode)
Sets the manual culling mode, performed by CPU rather than hardware.
void setReferenceViewEnabled(bool value)
Enables to disables use of the reference view.
ushort getComputeProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:868
void rotate(const Radian &angle)
Adds the passed in angle to the rotation applied to this overlay.
std::pair< MemoryDataStreamPtr, CodecDataPtr > DecodeResult
Result of a decoding; both a decoded data stream and CodecData metadata.
Definition: OgreCodec.h:138
virtual const String & getType() const =0
Get the type of this sub render state factory.
void setShadowUseLightClipPlanes(bool enabled)
Sets whether when using a built-in additive shadow mode, user clip planes should be used to restrict ...
Definition: OgreSceneManager.h:3018
A class for performing queries on a scene.
Definition: OgreSceneQuery.h:69
std::map< String, Overlay * > OverlayMap
Definition: OgreOverlayManager.h:58
void enableReflection(const MovablePlane *p)
Modifies this frustum so it always renders from the reflection of itself through the plane specified.
virtual void windowClosed(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:130
@ PF_DEPTH
Definition: OgrePixelFormat.h:114
void setSpecularColour(float red, float green, float blue)
Sets the colour of the specular light given off by this source.
const Matrix4 & getTextureTransformMatrix(size_t index) const
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
String logObjectInfo(const String &msg, GLhandleARB obj)
if there is a message in GL info log then post it in the Ogre Log
virtual BackgroundProcessTicket loadResourceGroup(const String &name, Listener *listener=0)
Loads a resource group in the background.
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
@ ST_DUAL_QUATERNION
Definition: OgreShaderPrerequisites.h:90
virtual const SceneManagerMetaData & getMetaData(void) const
Get information about the SceneManager type created by this factory.
Definition: OgreSceneManager.h:3561
@ RSC_GEOMETRY_PROGRAM
Supports hardware geometry programs.
Definition: OgreRenderSystemCapabilities.h:136
void setAutoUpdateLod(TerrainAutoUpdateLod *updater)
BlendMode getBlendMode(unsigned short index) const
Return the blend mode of the given texture unit index.
void useAncestorVertexData(TerrainQuadTreeNode *owner, uint16 treeDepthEnd, uint16 resolution)
Tell a node that it should use an anscestor's vertex data.
virtual void loadPage(PageID pageID, bool forceSynchronous=false)
Ask for a page to be loaded with the given (section-relative) PageID.
Real getOwnWidth(void) const
Retrieves the billboard's personal width, if hasOwnDimensions is true.
virtual void setRegionDimensions(const Vector3 &size)
Sets the size of a single region of geometry.
Definition: OgreStaticGeometry.h:722
virtual Real getBaseValue() const
Get the value of the first (highest) level of detail.
virtual uint32 getQueryTypeMask(void) const
Returns the current mask for this query.
std::vector< unsigned short > IndexMap
Definition: OgreMesh.h:104
void fromRotationTranslation(const Quaternion &q, const Vector3 &trans)
Construct a dual quaternion from a rotation described by a Quaternion and a translation described by ...
Definition of a pool of resources, which users can use to reuse similar resources many times without ...
Definition: OgreResourceManager.h:438
static size_t getMemorySize(uint32 width, uint32 height, uint32 depth, PixelFormat format)
Returns the size in memory of a region with the given extents and pixel format with consecutive memor...
IteratorWrapper< T, IteratorType, typename T::mapped_type >::PointerType PointerType
Redefined PointerType for a map/set.
Definition: OgreIteratorWrapper.h:260
virtual Real getMinRepeatDelay(void) const
Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
virtual KeyFrame * createKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
std::vector< Bone * > BoneList
Definition: OgreSkeleton.h:163
void destroyInstance(PageContentCollection *c)
Definition: OgreSimplePageContentCollection.h:125
@ RSC_NON_POWER_OF_2_TEXTURES
Supports non-power of two textures.
Definition: OgreRenderSystemCapabilities.h:124
~GL3PlusHardwareOcclusionQuery()
Object destructor.
EdgeData * getEdgeList(void)
Returns details of the edges which might be used to determine a silhouette.
Definition: OgreMovableObject.h:505
RenderSystem::RenderSystemContext * rsContext
Definition: OgreSceneManager.h:968
void setConstant(size_t index, const Vector3 &vec)
Sets a 4-element floating-point parameter to the program via Vector3.
virtual void setWidthChange(size_t chainIndex, Real widthDeltaPerSecond)
Set the change in ribbon width per second.
void _notifyResourceCreated(ResourcePtr &res) const
Internal method called by ResourceManager when a resource is created.
virtual bool isVisible(void) const
Returns whether or not this object is supposed to be visible or not.
void setDisplaySceneNodes(bool display)
Tells the SceneManager whether it should render the SceneNodes which make up the scene as well as the...
void removeMicrocodeFromCache(uint32 id)
Removes a microcode for a program from the microcode cache.
void freeVertexBuffers(const HardwareVertexBufferSharedPtr &posbuf, const HardwareVertexBufferSharedPtr &deltabuf)
Free (or return to the pool) vertex buffers for terrain.
SkinningData()
Definition: OgreShaderExHardwareSkinning.h:61
void setOrigin(const Vector3 &origin)
Sets the origin of the ray.
Definition: OgreRay.h:56
@ VES_BLEND_INDICES
Blending indices.
Definition: OgreHardwareVertexBuffer.h:95
@ SDLK_KP_MULTIPLY
Definition: OgreInput.h:127
PrefabType
Prefab shapes available without loading a model.
Definition: OgreSceneManager.h:1409
@ BCT_BOOL
Definition: OgreGpuProgramParams.h:56
void clearAllTrays()
Removes all widgets from all widget trays.
Comparator function to be used for sorting.
Definition: OgreShaderFunctionAtom.h:277
void setPolygonMode(PolygonMode mode)
Sets the type of polygon rendering required.
@ M_GEOMETRY_TEXCOORDS
Definition: OgreMeshFileFormat.h:242
unsigned int vertexIndex
Definition: OgreVertexBoneAssignment.h:52
const Vector3 & getVertex(size_t vertex) const
Returns a vertex.
bool getDepthWriteEnabled(void) const
Returns whether or not this pass renders with depth-buffer writing on or not.
static GLint getCombinedMinMipFilter(FilterOptions min, FilterOptions mip)
static const ColourValue Black
Definition: OgreColourValue.h:61
virtual void updateUniforms(GpuProgramParametersPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniforms using data from GpuProgramParameters.
virtual bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
Definition: OgreGpuProgram.h:331
@ ID_ITERATION
Definition: OgreScriptCompiler.h:683
virtual ~ProgramWriterFactory()
Definition: OgreShaderProgramWriterManager.h:51
std::unordered_map< String, uint32 > IdMap
Definition: OgreScriptCompiler.h:190
virtual Real getDuration(void) const
Gets the duration of the emitter from when it is created or re-enabled.
void _notifyObjectDetached(const MovableObject *mov)
Internal method, makes sure an object is removed from the leaves when detached from a node.
static Radian Sqrt(const Radian &fValue)
Square root function.
Definition: OgreMath.h:443
A group of manually updated parameters that are shared between many parameter sets.
Definition: OgreGpuProgramParams.h:428
Request(uint16 channel, uint16 rtype, const Any &rData, uint8 retry, RequestID rid)
Constructor.
Vector3 mC7
Definition: OgreVolumeDualGridGenerator.h:57
PageContentCollection * createInstance() OGRE_NODISCARD
Definition: OgreSimplePageContentCollection.h:121
void setDepthClear(Real depth)
Sets the initial depth buffer value of the viewport (before rendering).
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgrePCZSceneManager.h:392
ushort getMaxCalculableBoneCount() const
The maximum number of bones for which hardware skinning is performed.
Definition: OgreShaderExHardwareSkinning.h:250
unsigned long getLastVisibleFrame(void)
Get the lastVisibleFrame counter value.
Definition: OgrePCZone.h:116
Definition: OgreD3D11MultiRenderTarget.h:38
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
void addVariable(const String &name)
void enableClipPlane(ushort index, bool enable)
Real getScope(void) const
Gets the scope (percentage of particles which are randomised).
Class to manage the scene object rendering queue.
Definition: OgreRenderQueue.h:93
bool operator>=(const Degree &d) const
Definition: OgreMath.h:145
void detachAllObjectsFromBone(void)
Detach all MovableObjects previously attached using attachObjectToBone.
virtual void pollEvents()
process all window events since last call
std::vector< LodIndexBuffer > genIndexBuffers
Definition: OgreLodBuffer.h:78
virtual Camera * createCamera(const String &name)
Creates a specialized OctreeCamera.
LayerBlendSource source1
The first source of colour/alpha.
Definition: OgreBlendMode.h:147
virtual Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
void bindGLProgramPipeline(GLuint handle)
Bind an OpenGL separable program pipeline.
void destroy()
Definition: OgreAny.h:137
void processVisibleObject(MovableObject *mo, Camera *cam, bool onlyShadowCasters, VisibleObjectsBoundsInfo *visibleBounds)
Utility method to perform the standard actions associated with getting a visible object to add itself...
Definition: OgreInstanceBatchVTF.h:206
void rotate(const Vector3 &axis, const Radian &angle)
Rotate the camera around an arbitrary axis.
void addProfile(const String &profile)
virtual ~RequestHandler()
Definition: OgreWorkQueue.h:166
size_t hwAnimDataItemsUsed
Number of hardware animation data items used.
Definition: OgreVertexIndexData.h:103
~DefaultAxisAlignedBoxSceneQuery()
Vector operator-() const
Definition: OgreVector.h:669
virtual ~PageContentCollectionFactory()
Definition: OgrePageContentCollectionFactory.h:51
bool isRenderQueueToBeProcessed(uint8 qid)
Returns whether or not the named queue will be rendered based on the current 'special case' render qu...
void destroyPortal(Portal *p)
Delete a portal instance by pointer.
void setScale(Real x, Real y)
Sets the scaling factor of this overlay.
void MurmurHash3_128(const void *key, size_t len, uint32_t seed, void *out)
Definition: OgreMurmurHash3.h:25
AutoConstantEntry * getAutoConstantEntry(const size_t index)
Gets a specific Auto Constant entry if index is in valid range otherwise returns a NULL.
ushort getCurrentLodIndex()
Returns the current LOD used to render.
Definition: OgreEntity.h:470
int getZOrder(void) const
Gets the Z-Order of this viewport.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void setRenderQueueGroup(uint8 queueID) override
Sets the render queue group this entity will be rendered through.
void _fireNotifyResourcesCreated(bool forResizeOnly)
Notify listeners of a material render.
static const String AUTODETECT_RESOURCE_GROUP_NAME
same as RGN_AUTODETECT
Definition: OgreResourceGroupManager.h:257
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Definition: OgreGLRenderSystemCommon.h:126
DepthBuffer * _addManualDepthBuffer(IDirect3DDevice9 *depthSurfaceDevice, IDirect3DSurface9 *surf)
This function is meant to add Depth Buffers to the pool that aren't released when the DepthBuffer is ...
SubRenderState * createSubRenderState(const String &type)
Create an instance of sub render state from a given type.
static String eventType
Definition: OgreScriptCompiler.h:547
@ SHADER_ANIMMAP
Definition: OgreQuake3Types.h:102
void _updateCompiledBoneAssignments(void)
Internal method, be called once to update the compiled bone assignments.
ResourcePtr load(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, bool backgroundThread=false)
Generic load method, used to create a Resource specific to this ResourceManager without using one of ...
D3D11HLSLProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
bool isRenderedAtCurrentLod() const
Returns whether this node is rendering itself at the current LOD level.
bool hasGeometryProgram(void) const
Returns true if this pass uses a programmable geometry pipeline.
Definition: OgrePass.h:264
void setAutoBuildEdgeLists(bool autobuild)
Sets whether or not this Mesh should automatically build edge lists when asked for them,...
Definition: OgreMesh.h:879
virtual void begin(const MaterialPtr &mat, RenderOperation::OperationType opType=RenderOperation::OT_TRIANGLE_LIST)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void fillBuffer(Ogre::VertexData *data)
@ ID_AMBIENT
Definition: OgreScriptCompiler.h:615
bool isMicrocodeAvailableInCache(uint32 id) const
Check if a microcode is available for a program in the microcode cache.
void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)
This method allows you to set all the stencil buffer parameters in one call.
void addPreprocessorDefines(const String &defines)
float getBlueAdjust(void) const
Gets the blue adjustment to be made per second to particles.
Triplanar Texturing.
Definition: OgreShaderExTriplanarTexturing.h:50
static Real boundingRadiusFromAABBCentered(const AxisAlignedBox &aabb)
Get the radius of the bbox-centered bounding sphere from the bounding box.
Resource * createImpl(const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, const NameValuePairList *params) override
Create a new resource instance compatible with this manager (no custom parameters are populated at th...
A sphere primitive, mostly used for bounds checking.
Definition: OgreSphere.h:53
void serialize(const Vector3 &from, const Vector3 &to, float voxelWidth, const String &file)
Serializes a volume source to a discrete grid file with deflated compression.
virtual void _updateTransforms(void)
Updates all the derived transforms in the skeleton.
ParticleSystem(const String &name, const String &resourceGroupName)
Creates a particle system with no emitters or affectors.
String doGet(const void *target) const
bool isResourceGroupLoaded(const String &name) const
Checks the status of a resource group.
bool getOptimiserEnabled(void) const
Gets if the GLSL optimiser is enabled.
Definition: OgreGLSLESProgram.h:60
std::vector< Pose * > PoseList
Definition: OgrePose.h:134
virtual void setCurrentPassIterationCount(const size_t count)
set the current multi pass count value.
Definition: OgreRenderSystem.h:993
AnimationStateSet * getAllAnimationStates(void) const
For entities based on animated meshes, gets the AnimationState objects for all animations.
static String FACTORY_NAME
Definition: OgreSimplePageContentCollection.h:114
@ SPC_LIGHTDIRECTION_OBJECT_SPACE0
Light direction in object space index 0-7.
Definition: OgreShaderParameter.h:170
virtual void unloadPage(PageID pageID, bool forceSynchronous=false)
Ask for a page to be unloaded with the given (section-relative) PageID.
virtual void createNodeZoneData(PCZSceneNode *)
Create zone specific data for a node.
int numNodes()
Returns the number of scene nodes attached to this octree.
Definition: OgreOctree.h:82
@ SPC_LIGHTDIRECTION_OBJECT_SPACE4
Definition: OgreShaderParameter.h:174
void destroySubMesh(unsigned short index)
Destroy a SubMesh with the given index.
void _notifyMoved(void)
Internal method called to notify the object that it has been moved.
Terrain * instance
Actual terrain instance.
Definition: OgreTerrainGroup.h:343
static String TargetLanguage
Definition: OgreShaderHLSLProgramWriter.h:69
void notifyCameraCreated(Camera *c)
called when the scene manager creates a camera because some zone managers (like TerrainZone) need the...
void _removeInstance(CompositorInstance *i)
Remove a compositor by pointer.
float point[3]
Definition: OgreQuake3Types.h:209
std::set< String > ShaderProfiles
Definition: OgreRenderSystemCapabilities.h:287
@ ENV_PLANAR
Envmap based on vector from camera to vertex position, good for planar geometry.
Definition: OgreTextureUnitState.h:270
virtual uint32 getWidth(void) const
float getHeightAtWorldPosition(Real x, Real y, Real z, Terrain **ppTerrain=0)
Get the height data for a given world position (projecting the point down on to the terrain underneat...
Frustum * getCullingFrustum(void) const
Returns the custom culling frustum in use.
Definition: OgreCamera.h:576
virtual void removeResponseHandler(uint16 channel, ResponseHandler *rh)=0
Remove a Response handler.
const T & const_reference
Definition: OgreSmallVector.h:155
virtual ~PageStrategyData()
Definition: OgrePageStrategy.h:53
@ RENDER_QUEUE_MAX
Final possible render queue, don't exceed this.
Definition: OgreRenderQueue.h:76
void _notifyLightsDirty(void)
Advanced method to increase the lights dirty counter due to lights having changed.
void setAmbient(float red, float green, float blue)
Sets the ambient colour reflectance properties for every Pass in every Technique.
Definition: OgreD3D11Device.h:37
Factory class for BillboardParticleRenderer.
Definition: OgreBillboardParticleRenderer.h:249
virtual void setValue(const Quaternion &)
Set value.
Definition: OgreAnimable.h:167
VertexData * _getHardwareVertexAnimVertexData(void)
Advanced method to get the hardware morph vertex information.
static PixelFormat getFormatFromName(const String &name, bool accessibleOnly=false, bool caseSensitive=false)
Gets the format from given name.
PagedWorldSection * createWorldSection(const String &typeName, const String &name, PagedWorld *parent, SceneManager *sm)
Create a new instance of PagedWorldSection using the registered factories.
void attachToProgramObject(const GLuint programObject)
void getFrustumExtents(Real &outleft, Real &outright, Real &outtop, Real &outbottom) const
const Vector3 getCenterFront(void) const
Gets the center of the corners 2, 3, 6, 7.
Definition: OgreVolumeOctreeNode.h:305
const TextureDefinitions & getTextureDefinitions() const
Get the TextureDefinitions in this Technique.
Definition: OgreCompositionTechnique.h:117
@ SBT_TRANSPARENT_COLOUR
Colour the scene based on the brightness of the input colours, but don’t darken.
Definition: OgreBlendMode.h:218
bool getSourceModifier(unsigned short index, SourceModifier &modType, int &customNum) const
Returns the source modifier parameters for a given texture unit.
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
GLContext * _getCurrentContext()
Returns the current context.
Definition: OgreGLRenderSystemCommon.h:99
void baseVertexPointerToElement(void *pBase, RGBA **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:289
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual void setPageRangeMinY(int32 minY)
Set the index range of all Pages (values outside this will be ignored)
const Radian & getRotationRangeStart(void) const
Gets the minimum rotation of particles to be emitted.
bool showConfigDialog(ConfigDialog *dialog)
Displays a dialog asking the user to choose system settings.
T left
Definition: OgreCommon.h:598
virtual MovableObject * detachObject(const String &name)
Detaches the named object from this node and returns a pointer to it.
PageProvider()
Definition: OgrePageManager.h:60
GeneralAllocatedObject StereoDriverAlloc
Definition: OgreMemoryAllocatorConfig.h:158
@ ACT_VIEW_UP_VECTOR
This variable provides the view up vector (world space).
Definition: OgreGpuProgramParams.h:1096
Defines the interface which all components wishing to supply OverlayElement subclasses must implement...
Definition: OgreOverlayElementFactory.h:58
Definition: OgreD3D9MultiRenderTarget.h:40
void define(void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=false, bool ibUseShadow=false)
Define the patch, as defined in MeshManager::createBezierPatch.
GLHardwarePixelBufferCommon(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
void setRotationSpeedRangeEnd(const Radian &angle)
Sets the maximum rotation speed of particles to be emitted.
void addVertex(size_t index, const Vector3 &offset, const Vector3 &normal)
Adds an offset to a vertex and a new normal for this pose.
void addMicrocodeToCache(uint32 id, const Microcode µcode)
Adds a microcode for a program to the microcode cache.
void getRenderOperation(RenderOperation &op)
See Renderable.
bool _isFitToTray()
Definition: OgreTrays.h:477
bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
Definition: OgreGLWindow.h:43
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
virtual void colour(const ColourValue &col)
Add a vertex colour to a vertex.
Concrete IteratorWrapper for nonconst access to the underlying container.
Definition: OgreIteratorWrapper.h:186
virtual bool createCpuSubPrograms(ProgramSet *programSet)
Create sub programs that represents this sub render state as part of a program set.
void setSortingEnabled(bool enabled)
Set whether or not particles are sorted according to the camera.
Definition: OgreParticleSystem.h:539
@ PF_DXT4
DDS (DirectDraw Surface) DXT4 format.
Definition: OgrePixelFormat.h:93
PCZAxisAlignedBoxSceneQuery(SceneManager *creator)
static int32 parseInt(const String &val, int32 defaultValue=0)
Converts a String to a whole number.
Definition: OgreStringConverter.h:205
TargetRenderState()
Class default constructor.
@ SPC_LIGHTPOSITION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:215
PCZRaySceneQuery(SceneManager *creator)
static IDirect3DDevice9 * getActiveD3D9Device()
A caching Source.
Definition: OgreVolumeCacheSource.h:57
Vector operator*(Real s) const
Definition: OgreVector.h:679
void addStrategy(PageStrategy *strategy)
Add a new PageStrategy implementation.
@ MESH_VERSION_1_7
OGRE version v1.7+.
Definition: OgreMeshSerializer.h:52
Real getVerticalTexelOffset()
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
int msEdges[16]
Definition: OgreVolumeIsoSurfaceTablesMC.h:334
bool _getMorphRequired() const
Get whether LOD morphing is needed.
Definition: OgreTerrain.h:1447
Real getWorldSize() const
Get the size of the terrain in world units.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:175
void addOverlay(Overlay *overlay)
virtual uint8 getMaxLayers(const Terrain *terrain) const
Get the maximum number of layers supported with the given terrain.
Definition: OgreTerrainMaterialGenerator.h:324
static void toUpperCase(String &str)
Upper-cases all the characters in the string.
Real x
Definition: OgreVector.h:132
Vector & operator+=(const Vector &b)
Definition: OgreVector.h:611
static PropertyType getTypeForValue(const String &val)
Definition: OgreProperty.h:167
LightFactory()
Definition: OgreLight.h:605
Real skyDomeDistance
Definition: OgreSceneManager.h:216
bool requiresZoneSpecificNodeData(void)
Indicates whether or not this zone requires zone-specific data for each scene node.
_StringBase String
Definition: OgreCommon.h:38
LodInfo & getLodInfo(uint lodLevel)
Definition: OgreTerrainLodManager.h:124
size_t getIndexOffset(void) const
Returns the index offset used by this buffer to write data into the buffer.
Definition: OgrePatchSurface.h:127
Definition: OgreGLRenderSystemCommon.h:77
@ M_ANIMATION_BASEINFO
Definition: OgreMeshFileFormat.h:187
GeometryAllocatedObject PatchAlloc
Definition: OgreMemoryAllocatorConfig.h:134
const Vector3 getCorner1(void) const
Gets the coordinate of corner 1.
Definition: OgreVolumeOctreeNode.h:458
STBIImageCodec(const String &type)
static ParameterPtr createOutTexcoord1(int index, Parameter::Content content)
@ SDLK_F10
Definition: OgreInput.h:110
~D3D11MultiRenderTarget()
uint16 getLODLevelWhenVertexEliminated(long rowOrColulmn) const
Utility method, get the first LOD Level at which this vertex is no longer included.
virtual void getCornersGridSpace(int32 x, int32 y, Vector2 *pFourPoints)
Get the (grid space) corners of a cell.
void _reload()
Detects all supported fbo's and recreates the tempory fbo.
This class defines a ParticleAffector which deflects particles.
Definition: OgreDeflectorPlaneAffector.h:52
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
@ D3D_NO_EXCEPTION
Definition: OgreD3D11Device.h:91
ShaderHelper(bool glsl)
Definition: OgreTerrainMaterialShaderHelpers.h:43
void removeAndDestroyChild(const String &name)
This method removes and destroys the named child and all of its children.
CheckBox * createCheckBox(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width=0)
void setScrollAnimation(Real uSpeed, Real vSpeed)
Sets up an animated scroll for the texture layer.
PageStrategyData()
Definition: OgrePageStrategy.h:52
FontPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new font.
VertexData * getVertexDataForBinding(void)
Retrieve the VertexData which should be used for GPU binding.
void setSchemeName(const String &schemeName)
Set the 'scheme name' for this technique.
void findLights(LightList &destList, Real radius, uint32 lightMask=0xFFFFFFFF) const
Allows retrieval of the nearest lights to the centre of this SceneNode.
Manages the target rendering window.
Definition: OgreRenderWindow.h:63
virtual Endian getEndian() const
Get the endian mode.
Definition: OgreStreamSerialiser.h:138
const String & getName(void) const
Returns the name of the rendering system.
virtual uint getNumberOfViews() const =0
@ GPU_AMD
Definition: OgreRenderSystemCapabilities.h:263
unsigned int height
Definition: OgreSceneManager.h:67
static bool RealEqual(Real a, Real b, Real tolerance=std::numeric_limits< Real >::epsilon())
Compare 2 reals, using tolerance for inaccuracies.
Definition: OgreMath.h:678
Representation of a dynamic light source in the scene.
Definition: OgreLight.h:70
virtual ~GLGpuNvparseProgram()
const Radian & getTextureRotate(void) const
Get texture rotation effects angle value.
void _restoreBuffersForUnusedAnimation(bool hardwareAnimation)
Internal method to copy original vertex data to the morph structures should there be no active animat...
Definition: OgreShaderExTextureAtlasSampler.h:222
@ SDLK_DOWN
Definition: OgreInput.h:123
CompareFunction getAlphaRejectFunction(void) const
Gets the alpha reject function.
Definition: OgrePass.h:1018
virtual void undoReadChunk(uint32 id)
Call this to 'rewind' the stream to just before the start of the current chunk.
bool isShadowTechniqueIntegrated(void) const
Is the shadow technique integrated into primary materials?
Definition: OgreSceneManager.h:3010
const IteratorType & end()
Bookmark to the end (one behind the last element) of the underlying collection.
Definition: OgreIteratorWrapper.h:117
void setInnerSizeZ(Real z)
Sets the z component of the area inside the ellipsoid which doesn't emit particles.
void loadingComplete(Resource *prog)
Called whenever the resource finishes loading.
const Matrix4 & getProjectionMatrixRS(void) const
Gets the projection matrix for this frustum adjusted for the current rendersystem specifics (may be r...
@ BS_OVER
Definition: OgreTrays.h:71
virtual NodeIterator getNodeIterator(void) const
Get an iterator over the nodes which are being tracked.
virtual void destroyLight(const String &name)
Removes the named light from the scene and destroys it.
void _calcZonesAffectedByLights(Camera *cam)
Calculate which zones are affected by each light.
virtual bool getUseTextureCoords(void) const
Gets whether texture coordinate information should be included in the final buffers generated.
Definition: OgreBillboardChain.h:146
void addDependency(const String &libFileName)
Add dependency for this program.
GLES2HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
@ SPC_POSITION_LIGHT_SPACE1
Definition: OgreShaderParameter.h:97
@ SDLK_KP_5
Definition: OgreInput.h:135
const String & getNormalMapTextureName() const
Return the normal map texture name.
Definition: OgreShaderExNormalMapLighting.h:139
OptimisedSubMeshGeometry()
Definition: OgreStaticGeometry.h:138
@ PF_R32_UINT
32-bit pixel format, 32 bits red (unsigned int).
Definition: OgrePixelFormat.h:162
const Affine3 & getReflectionMatrix(void) const
Returns the reflection matrix of the frustum if appropriate.
Definition: OgreFrustum.h:563
const Affine3 & _getFullLocalTransform(void) const
Gets the transform of this node just for the skeleton (not entity)
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
@ PF_DEPTH32
Definition: OgrePixelFormat.h:271
GeneralAllocatedObject SerializerAlloc
Definition: OgreMemoryAllocatorConfig.h:142
GLint convertStencilOp(StencilOperation op, bool invert=false) const
virtual void _compileTargetOperations(CompiledState &compiledState)
Recursively collect target states (except for final Pass).
Quaternion(Real *valptr)
Construct a quaternion from 4 manual w/x/y/z values.
Definition: OgreQuaternion.h:96
ConstVectorIterator< InstanceBatchVec > InstanceBatchIterator
Definition: OgreInstanceManager.h:297
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled for every Pass.
@ ENDIAN_AUTO
Automatically determine endianness.
Definition: OgreStreamSerialiser.h:74
Vector()
Default constructor.
Definition: OgreVector.h:312
DataStreamList openResources(const String &pattern, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME) const
Open all resources matching a given pattern (which can contain the character '*' as a wildcard),...
bool outSkipped
Whether the Lod level generation was skipped, because it has same vertex count as the previous Lod le...
Definition: OgreLodConfig.h:125
A volume source from a discrete 3d grid.
Definition: OgreVolumeGridSource.h:49
virtual SubRenderState * createOrRetrieveInstance(SGScriptTranslator *translator)
Retrieve the previous instance the SRS in the script translator or create a new instance if not found...
Interface to a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:72
void setMaxOutputVertices(int maxOutputVertices)
Set the maximum number of vertices that a single run of this geometry program can emit.
Definition: src/GLSL/include/OgreGLSLProgram.h:101
Real getOverlayLeft() const
@ GCT_MATRIX_4X4
Definition: OgreGpuProgramParams.h:90
Command object for nonvisible timeout (see ParamCommand).
Definition: OgreParticleSystem.h:141
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual bool isVisible(const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
std::vector< Node * > ChildNodeMap
Definition: OgreNode.h:70
Renderbuffer surface.
Definition: OgreGL3PlusHardwarePixelBuffer.h:57
std::vector< Vector3 > extremityPoints
A list of extreme points on the submesh (optional).
Definition: OgreSubMesh.h:133
void setShadowTextureCount(size_t count)
Set the number of textures allocated for texture-based shadows.
Definition: OgreSceneManager.h:2783
void uninstall()
Perform the final plugin uninstallation sequence.
Definition: OgreFreeImageCodec.h:92
ComPtr() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:122
void setWorldSize(Real newWorldSize)
Set the world size of terrain.
const ColourValue & getSurfaceDiffuseColour(void) const
void unprepare()
Unprepare data - may be called in the background.
void setPolygonModeOverrideable(bool override)
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreRenderable.h:315
bool hasMovableObjectFactory(const String &typeName) const
Checks whether a factory is registered for a given MovableObject type.
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreRenderable.h:352
@ FRUSTUM_PLANE_BOTTOM
Definition: OgreFrustum.h:77
size_t getDualCellCount(void) const
Gets the amount of generated dual cells.
Definition: OgreVolumeDualGridGenerator.h:337
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:95
TRect(T const &l, T const &t, T const &r, T const &b)
Definition: OgreCommon.h:600
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
const SplitPointList & getSplitPoints() const
Returns the calculated split points.
Definition: OgreShadowCameraSetupPSSM.h:120
void setNormalMapFiltering(const FilterOptions minFilter, const FilterOptions magFilter, const FilterOptions mipFilter)
Definition: OgreShaderExNormalMapLighting.h:142
virtual bool getUseAccurateFacing(void) const
Gets whether or not billboards use an 'accurate' facing model based on the vector from each billboard...
Definition: OgreBillboardSet.h:683
String textureName
Definition: OgreQuake3Shader.h:75
@ BF_MULTIPLY
Definition: OgreHlmsPbsMaterial.h:55
void setAmbient(float red, float green, float blue)
Sets the ambient colour reflectance properties of this pass.
virtual unsigned short getNumKeyFrames(void) const
Returns the number of keyframes in this animation.
virtual bool isChildrenProcessEvents() const
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:129
void setCompositeMapEnabled(bool enabled)
Whether to use the composite map to provide a lower LOD technique in the distance (default true).
virtual void setRay(const Ray &ray)
Sets the ray which is to be used for this query.
static PixelFormat _getClosestSupportedPF(PixelFormat ogrePF)
utility method, find closest Ogre pixel format that D3D9 can support
void setAlphaRejectFunction(CompareFunction func)
Sets the alpha reject function.
virtual void setChildrenProcessEvents(bool val)
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:133
virtual ~HighLevelGpuProgramFactory()
void setShadowReceiverVertexProgram(const String &name)
Sets the details of the vertex program to use when rendering as a shadow receiver.
RenderableListener * getRenderableListener(void) const
Definition: OgreRenderQueue.h:284
virtual void setMinDuration(Real min)
Sets the minimum duration of this emitter in seconds (see setDuration for more details)
String getImageAdjust(void) const
virtual const String & getType() const
float normal[3]
Definition: OgreQuake3Types.h:198
Predefined controller function based on linear function interpolation.
Definition: OgrePredefinedControllers.h:317
GLES2TextureBuffer(GLES2Texture *parent, GLint face, GLint level, GLint width, GLint height, GLint depth)
Texture constructor.
void loadImage(const Image &img)
Loads the data from an image.
virtual void setTerrainSize(uint16 newTerrainSize)
Set the size of each terrain instance in number of vertices down one side.
virtual const SyntaxCodes & getSupportedSyntax(void) const
Returns the syntaxes that this manager supports.
bool isInt() const
Definition: OgreGpuProgramParams.h:171
Definition: OgreGLSLLinkProgramManager.h:42
void setClearColour(const ColourValue &val)
Set the viewport clear colour (defaults to 0,0,0,0)
void destroyAllMovableObjectsByType(const String &typeName)
Destroy all MovableObjects of a given type.
@ MESH_VERSION_1_10
OGRE version v1.10+.
Definition: OgreMeshSerializer.h:48
virtual void textureCoord(const Vector3 &uvw)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual ~CGProgramWriter()
Class destructor.
@ TS_CHAIN
Definition: OgreCompositionTechnique.h:56
bool isBorderFront(const OctreeNode &root) const
Gets whether this cell is at the front of the given root cell.
Definition: OgreVolumeOctreeNode.h:287
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
#define OgreAssert(expr, mesg)
Checks a condition at runtime and throws exception/ aborts if it fails.
Definition: OgreException.h:63
Terrain * getParent() const
Get the parent terrain.
Definition: OgreTerrainLayerBlendMap.h:84
void setHardwareBufferManager(HardwareBufferManagerBase *bufferManager)
Sets the manager for the vertex and index buffers to be used when loading this Mesh.
Definition: OgreMesh.h:552
static const size_t MS_CORNERS_BOTTOM[4]
To call Marching Squares with a cube on its bottom.
Definition: OgreVolumeIsoSurface.h:81
Helper utility class that creates common parameters.
Definition: OgreShaderParameter.h:660
virtual void setEnclosureNode(PCZSceneNode *)
Set the enclosure node for this OctreeZone.
@ IS_AMBIENT
Part of the rendering which occurs without any kind of direct lighting.
Definition: OgrePass.h:51
Real getLodBias(void) const
Returns the level-of-detail bias factor currently applied to this camera.
void setResourceGroup(const String &resGroup)
Set the resource group to use when loading / saving.
Definition: OgreTerrain.h:667
void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
@ PT_INT
Definition: OgreStringInterface.h:51
void addVertex(size_t index, const Vector3 &offset)
Adds an offset to a vertex for this pose.
virtual void createNodeZoneData(PCZSceneNode *)
Create zone specific data for a node.
@ ERR_ITEM_NOT_FOUND
Definition: OgreException.h:115
void setWidth(Real width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)
AnimationState(const String &animName, AnimationStateSet *parent, Real timePos, Real length, Real weight=1.0, bool enabled=false)
Normal constructor with all params supplied.
@ ANT_VARIABLE_SET
Definition: OgreScriptCompiler.h:83
virtual void setHoldRadius(Real sz)
Set the Holding radius.
virtual const PixelBox & lock(const Box &lockBox, LockOptions options)
Lock the buffer for (potentially) reading / writing.
unsigned short submeshID
Definition: OgreLodData.h:117
void destroy(Overlay *overlay)
Destroys an existing overlay.
GLSLProgramCommon(const GLShaderList &shaders)
DriverVersion()
Definition: OgreRenderSystemCapabilities.h:229
Definition: OgreD3D11VideoModeList.h:37
size_t slicePitch
Number of elements between the top left pixel of one (depth) slice and the top left pixel of the next...
Definition: OgrePixelFormat.h:388
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
SerializeEvent
Definition: OgreMaterialSerializer.h:52
#define OGRE_ALLOC_T(T, count, category)
Allocate a block of memory for a primitive type, and indicate the category of usage.
Definition: OgreMemoryAllocatorConfig.h:181
Side getSide(const Vector3 &rkPoint) const
Definition: OgrePlane.h:103
Real getTop(void) const
Gets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:152
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
void _useLights(unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const
Returns a LiSPSM shadow camera.
RenderSystem * getRenderSystem(void)
Retrieve a pointer to the currently selected render system.
void decreaseLodLevel()
Removes highest LOD level loaded.
static Vector4 parseVector4(const String &val, const Vector4 &defaultValue=Vector4::ZERO)
Parses a Vector4 out of a String.
Definition: OgreStringConverter.h:276
static void extrudeVertices(const HardwareVertexBufferSharedPtr &vertexBuffer, size_t originalVertexCount, const Vector4 &lightPos, Real extrudeDist)
Utility method for extruding vertices based on a light.
static String toString(uint32 val)
Definition: OgreStringConverter.h:66
RenderOperation * renderOp
General render operation structure, fallback if nothing else is available.
Definition: OgreSceneQuery.h:113
PixelFormat format
Definition: OgreImageCodec.h:69
bool getReceiveDynamicShadowsLowLod() const
Whether to use shadows on low LOD material rendering (when using composite map) (default false).
Definition: OgreTerrainMaterialGeneratorA.h:149
@ ID_COMPUTE_PROGRAM_REF
Definition: OgreScriptCompiler.h:856
Instances of this class 'control' the value of another object in the system.
Definition: OgreController.h:130
CompositorInstance(CompositionTechnique *technique, CompositorChain *chain)
virtual void setSourceA(Source *a)
Sets the first operator source.
static String toString(unsigned long val, unsigned short width, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
const VertexBufferBindingMap & getBindings(void) const
Gets a read-only version of the buffer bindings.
const PixelBox & getCurrentLock()
Get the current locked region.
const MaterialPtr & _getCompositeMapMaterial() const
Internal getting of material for the terrain composite map.
Definition: OgreTerrain.h:1301
@ PT_UNSIGNED_LONG
Definition: OgreStringInterface.h:56
virtual ShadowRenderableListIterator getShadowVolumeRenderableIterator(ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, size_t *indexBufferUsedSize, bool extrudeVertices, Real extrusionDistance, unsigned long flags=0)
Definition: OgreShadowCaster.h:177
uint32 getVisibilityFlags(void) const
Get the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:1965
virtual void notifyDeviceRestored(D3D11Device *device)=0
RegionSceneQuery(SceneManager *mgr)
Standard constructor, should be called by SceneManager.
virtual void copyData(HardwareBuffer &srcBuffer)
Copy all data from another buffer into this one.
Definition: OgreHardwareBuffer.h:325
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
void neighbourModified(NeighbourIndex index, const Rect &edgerect, const Rect &shadowrect)
Notify that a neighbour has just finished updating and that this change affects this tile.
const Techniques & getTechniques(void) const
Get the Techniques in this Material.
Definition: OgreMaterial.h:227
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareIndexBuffer.h:66
CylinderEmitter(ParticleSystem *psys)
See AreaEmitter.
bool _getLastVertexPos(LodData *data, Vector3 &outVec)
Returns the last reduced vertex.
@ ACT_CAMERA_POSITION_OBJECT_SPACE
The current camera's position in object space.
Definition: OgreGpuProgramParams.h:964
size_t vertexCount
The number of vertices used in this operation.
Definition: OgreVertexIndexData.h:90
@ GPT_COUNT
Definition: OgreGpuProgram.h:58
bool getInheritOrientation(void) const
Returns true if this node is affected by orientation applied to the parent node.
Definition: OgreNode.h:339
static const Vector2 UNIT_Y
Definition: OgreVector.h:122
bsp_vertex_t * mVertices
Definition: OgreQuake3Level.h:146
virtual void removeChainElement(size_t chainIndex)
Remove an element from the 'tail' of a chain.
virtual void initialise(void)
Initialise the background queue system.
void _fireUnloadingComplete(void)
Firing of unloading complete event.
void _readRawConstants(size_t physicalIndex, size_t count, int *dest)
Read a series of integer values from the underlying integer constant buffer at the given physical ind...
void setCubicTextureName(const String *const names, bool forUVW=false)
Definition: OgreTextureUnitState.h:384
void _fireLoadingComplete(bool wasBackgroundLoaded)
Firing of loading complete event.
virtual void notifyCameraCreated(Camera *c)
Called when the scene manager creates a camera because some zone managers (like TerrainZone) need the...
virtual GpuProgramPtr load(const String &name, const String &groupName, const String &filename, GpuProgramType gptype, const String &syntaxCode)
Loads a GPU program from a file of assembly.
Real calcMaxHeightDelta
Temp calc area for max height delta.
Definition: OgreTerrainQuadTreeNode.h:140
Template struct which creates a distinct type for each exception code.
Definition: OgreException.h:181
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
void _setDepthBufferCheckEnabled(bool enabled=true)
Sets whether or not the depth buffer check is performed before a pixel write.
OperandVector & getOperandList()
Get a list of parameters this function invocation will use in the function call as arguments.
Definition: OgreShaderFunctionAtom.h:209
Basefunctionality for IteratorWrappers.
Definition: OgreIteratorWrapper.h:48
void exportNamedConstants(const GpuNamedConstants *pConsts, const String &filename, Endian endianMode=ENDIAN_NATIVE)
Level of detail strategy based on distance from camera to an object's bounding box.
Definition: OgreDistanceLodStrategy.h:164
bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
void write(const T *pT, size_t count=1)
Catch-all method to write primitive types.
Definition: OgreStreamSerialiser.h:264
@ CE_REFERENCETOANONEXISTINGOBJECT
Definition: OgreScriptCompiler.h:205
An individual profile that will be processed by the Profiler.
Definition: OgreProfiler.h:456
TextureAddressing()
Definition: OgreHlmsPbsMaterial.h:75
@ ID_TECHNIQUE
Definition: OgreScriptCompiler.h:580
@ SDLK_INSERT
Definition: OgreInput.h:116
Struct containing information about a RenderTarget Viewport-specific event.
Definition: OgreRenderTargetListener.h:53
In(const Operand &rhs)
Definition: OgreShaderFunctionAtom.h:163
DisplayMode
Definition: OgreOverlayProfileSessionListener.h:54
@ SDLK_KP_3
Definition: OgreInput.h:133
GLGpuNvparseProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
String doGet(const void *target) const
void modifyElement(unsigned short elem_index, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Modify an element in-place, params as addElement.
@ PT_STRING
Definition: OgreStringInterface.h:57
String doGet(const void *target) const
virtual void _swapAllRenderTargetBuffers()
Internal method for swapping all the buffers on all render targets, if _updateAllRenderTargets was ca...
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
const GpuProgramPtr & getGeometryProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void _updateRenderQueue(RenderQueue *queue) override
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
float * getFloatPointer(size_t pos)
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:550
static const Real PI
Definition: OgreMath.h:750
GpuProgramUsage(GpuProgramType gptype, Pass *parent)
Default constructor.
void setNamedConstant(const String &name, const Vector2 &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const Vector3 & getScale(void) const
Gets the scaling factor of this node.
Definition: OgreNode.h:309
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual, ManualResourceLoader *loader, const NameValuePairList *createParams, HardwareBuffer::Usage vertexBufferUsage, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=false, bool indexBufferShadowed=false)
Create a new mesh, or retrieve an existing one with the same name if it already exists.
void setAutoConstant(size_t index, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
Sets up a constant which will automatically be updated by the system.
@ CS_ORBIT
Definition: OgreCameraMan.h:49
const Ogre::DisplayString & getComment()
Definition: OgreTrays.h:718
float getBlendMaskEntry(size_t boneHandle) const
Get the weight for the bone identified by the given handle.
Definition: OgreAnimationState.h:167
virtual void bakeLodLevel(LodData *data, int lodIndex)
@ FILTER_NEAREST
Definition: OgreImage.h:395
General utility class for building edge lists for geometry.
Definition: OgreEdgeListBuilder.h:171
void setBindingPose(void)
Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were or...
void extractMovableObject(const String &name, const String &typeName)
Extract a previously injected MovableObject.
void setKeepParticlesInLocalSpace(bool keepLocal)
Setting carried over from ParticleSystem.
A collection of billboards (faces which are always facing the given direction) with the same (default...
Definition: OgreBillboardSet.h:111
@ TS_LOCAL
Definition: OgreCompositionTechnique.h:54
std::vector< Plane > * planes
Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION.
Definition: OgreSceneQuery.h:109
void init(String n, bool hasBlendFu=false, bool hasBlendFc1=false, bool hasBlendFc2=false, bool needsGammaCorrect=false, bool hasIntens=false, bool hasMipmapC=false, TextureType texType=TEX_TYPE_2D)
Definition: OgreHlmsPbsMaterial.h:144
D3D9Device * getActiveRenderTargetDevice()
const Affine3 & getInverseWorldViewMatrix(void) const
virtual void shutdown()
Cleans up and shuts down the context.
ScriptCompilerEvent(const String &type)
Definition: OgreScriptCompiler.h:349
bool isBorderBottom(const OctreeNode &root) const
Gets whether this cell is at the bottom of the given root cell.
Definition: OgreVolumeOctreeNode.h:254
@ SOP_ZERO
Set the stencil value to zero.
Definition: OgreRenderSystem.h:79
static Real InvSqrt(Real fValue)
Inverse square root i.e.
Definition: OgreMath.h:458
bool getCastsDynamicShadows() const
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1937
@ ID_SCOPE_LOCAL
Definition: OgreScriptCompiler.h:803
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Definition: OgreMesh.h:102
void addZoneToAffectedZonesList(PCZone *zone)
Manually add a zone to the zones affected list.
static const String & vendorToString(GPUVendor v)
Convert a vendor enum to a string.
void doSet(void *target, const String &val)
LODBucket * getParent(void)
Definition: OgreStaticGeometry.h:280
virtual ~MeshSerializer()
@ SDLK_END
Definition: OgreInput.h:119
ApplicationContextBase(const Ogre::String &appName="Ogre3D")
Built, renderable section of geometry.
Definition: OgreManualObject.h:421
@ BCT_UNKNOWN
Definition: OgreGpuProgramParams.h:59
void destroyBillboardChain(BillboardChain *obj)
Removes & destroys a BillboardChain from the SceneManager.
static Degree Abs(const Degree &dValue)
Absolute value function.
Definition: OgreMath.h:278
VectorIterator< Techniques > TechniqueIterator
Definition: OgreMaterial.h:221
const String & getType(void) const
Get the type of the object to be created.
virtual const String & getTargetLanguage(void) const =0
Get the name of the language this factory creates programs for.
Vector3 getCorner(CornerEnum cornerToGet) const
Gets the position of one of the corners.
Definition: OgreAxisAlignedBox.h:297
KeyboardEvent key
Definition: OgreInput.h:87
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
SmallVector< T, S >::iterator iterator
Definition: OgreVectorSet.h:46
virtual ~TerrainLayerBlendMap()
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
@ ID_READ_BACK_AS_TEXTURE
Definition: OgreScriptCompiler.h:848
bool _getBuffersMarkedForAnimation(void) const
Are buffers already marked as vertex animated?
Definition: OgreSubEntity.h:275
Sampler()
must be created through TextureManager
bool queryResult(MovableObject *first, MovableObject *second)
Self-callback in order to deal with execute which returns collection.
Definition: OgreGLWindow.h:38
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderCGProgramProcessor.h:60
static ControllerFunctionRealPtr create(bool deltaInput=false)
Constructor.
Definition: OgrePredefinedControllers.h:200
void updateMaterialForAllSubMeshes(void)
Iterates through all submeshes and requests them to apply their texture aliases to the material they ...
virtual void createTextureUnits(Pass *pass)
this is called once per frame if the shader has changed. (it is guaranteed that there are not texture...
Definition: OgreHlmsMaterialBase.h:59
@ ACT_LIGHT_DIRECTION_ARRAY
Array of light directions in world space (count set by extra param)
Definition: OgreGpuProgramParams.h:892
void setCastsDynamicShadows(bool s)
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1944
OctreeNode * root
The octree node to use.
Definition: OgreVolumeChunkHandler.h:74
String doGet(const void *target) const
void reset()
Definition: OgreVertexIndexData.h:300
Implements the Light Space Perspective Shadow Mapping Algorithm.
Definition: OgreShadowCameraSetupLiSPSM.h:99
bool resourceExists(ResourceHandle handle)
Returns whether a resource with the given handle exists in this manager.
Definition: OgreResourceManager.h:331
const String & getPluginStringName(void) const
Returns the string name of this Plugin (as set by the Plugin)
Definition: OgreExternalTextureSource.h:138
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
virtual ~RenderToVertexBuffer()
static Codec * getCodec(char *magicNumberPtr, size_t maxbytes)
Gets the codec that can handle the given 'magic' identifier.
void setNull()
Sets the box to a 'null' value i.e.
Definition: OgreAxisAlignedBox.h:493
int mNumLightmaps
Definition: OgreQuake3Level.h:153
Command object for specifying UV coordinates (see ParamCommand).
Definition: OgrePanelOverlayElement.h:126
PageContent(PageContentFactory *creator)
void callFunction(const char *name, const In &arg, const Out &ret) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderFunction.h:58
DeformFunc
Definition: OgreQuake3Types.h:133
void reset()
Definition: OgreAny.h:130
Quaternion orientation
Definition: OgreStaticGeometry.h:176
static void packColour(const ColourValue &colour, const PixelFormat pf, void *dest)
Pack a colour value to memory.
void doSet(void *target, const String &val)
A factory that enables creation of LayeredBlending instances.
Definition: OgreShaderExLayeredBlending.h:201
unsigned short _getTextureUnitWithContentTypeIndex(TextureUnitState::ContentType contentType, unsigned short index) const
Gets the 'nth' texture which references the given content type.
virtual void _setTextureUnitFiltering(size_t unit, FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter)
virtual bool getUseShortestRotationPath() const
Gets the method of rotation calculation.
Controller< Real > * createGpuProgramTimerParam(GpuProgramParametersSharedPtr params, size_t paramIndex, Real timeFactor=1.0f)
Creates a controller for passing a frame time value through to a vertex / fragment program parameter.
VectorBase(T _x, T _y, T _z, T _w)
Definition: OgreVector.h:59
@ VET_UINT3
Definition: OgreHardwareVertexBuffer.h:152
VertexPoseKeyFrame * getVertexPoseKeyFrame(unsigned short index) const
Returns the pose KeyFrame at the specified index.
Terrain LOD data manager.
Definition: OgreTerrainLodManager.h:53
void doSet(void *target, const String &val)
@ ID_MATERIAL
Definition: OgreScriptCompiler.h:576
@ VET_COLOUR_ABGR
GL style compact colour.
Definition: OgreHardwareVertexBuffer.h:135
RenderingAPIException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:225
void doSet(void *target, const String &val)
static String FACTORY_TYPE_NAME
Definition: OgreLight.h:608
GLES2StateCacheManager(void)
size_t calculateSize(void) const
@ ET_UVSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:253
Real getShadowDirLightTextureOffset(void) const
Gets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2845
@ SPC_NORMAL_TANGENT_SPACE
Normal in tangent space.
Definition: OgreShaderParameter.h:115
virtual void _notifyResourceTouched(Resource *res)
Notify this manager that a resource which it manages has been 'touched', i.e.
ResourcePtr getResourceByName(const String &name, const String &group=RGN_DEFAULT)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setAlphaAdjust(float alpha)
Sets the alpha adjustment to be made per second to particles.
virtual void removeAnimation(const String &name)
Removes an Animation from this skeleton.
int mNumLeafFaces
Definition: OgreQuake3Level.h:138
long getSeed(void) const
Gets the initial seed.
@ MEMCATEGORY_GENERAL
General purpose.
Definition: OgreMemoryAllocatorConfig.h:55
void _updateSharedParams()
Update the HardwareBuffer based backing of referenced shared parameters.
PlaneBoundedVolume getPlaneBoundedVolume()
Gets a world-space list of planes enclosing the frustum.
Definition: OgreEXRCodec.h:42
Plugin instance for BSPSceneManager.
Definition: OgreBspSceneManagerPlugin.h:40
static Profiler & getSingleton(void)
Get the singleton instance.
Specialized SceneManager that divides the geometry into an octree in order to facilitate spatial quer...
Definition: OgreOctreeSceneManager.h:68
uint32 BGRA
Definition: OgreColourValue.h:44
ColourValue getColourAdjust(size_t index) const
uint getVisibilityMask(void) const
Gets a per-viewport visibility mask.
Definition: OgreViewport.h:358
const String & getName() const
Get the name of the plugin.
Matrix4 getInverseViewProjMatrix(void) const
static Ogre::Vector2 sceneToScreen(Ogre::Camera *cam, const Ogre::Vector3 &pt)
Converts a 3D scene position to a 2D screen position (in relative screen size, 0.0-1....
static D3D11_BLEND get(SceneBlendFactor sbf, bool forAlpha)
return a D3D11 equivalent for a Ogre SceneBlendFactor value
virtual void updateChainElement(size_t chainIndex, size_t elementIndex, const Element &billboardChainElement)
Update the details of an existing chain element.
static unsigned long FACTORY_TYPE_FLAG
Definition: OgreAntiPortal.h:60
virtual ~GLSLProgramWriter()
Class destructor.
@ SHADER_FUNC_SQUARE
Definition: OgreQuake3Types.h:112
bool hasProperty(IdString key)
void doSet(void *target, const String &val)
uint getFSAA() const
Get the level of multisample AA to be used if this texture is a rendertarget.
Definition: OgreTexture.h:219
bool isDerivedDataUpdateInProgress() const
Calls Terrain::isDerivedDataUpdateInProgress on each loaded instance and returns true if any of them ...
void convertImageToUVSpace(size_t x, size_t y, Real *outX, Real *outY)
Convert image space (0, imageSize) to local space values (0,1).
Implements default shadow camera setup.
Definition: OgreShadowCameraSetup.h:85
Matrix3(const Real arr[3][3])
Definition: OgreMatrix3.h:76
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
ContextProfile
Definition: OgreGLNativeSupport.h:55
void setWidgetSpacing(Ogre::Real spacing)
std::vector< Real > OptimalAdjustFactorList
Definition: OgreShadowCameraSetupPSSM.h:61
void setLightScissoringEnabled(bool enabled)
Sets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are...
Definition: OgrePass.h:1511
void _forceReleaseBufferCopies(const HardwareVertexBufferSharedPtr &sourceBuffer)
Internal method that forces the release of copies of a given buffer.
static ScreenRatioPixelCountLodStrategy & getSingleton(void)
Get the singleton instance.
void install()
Perform the plugin initial installation sequence.
String mResourceGroup
Definition: OgreScriptCompiler.h:546
int refCount
Definition: OgreLodData.h:90
void removeTemplate(const String &name, bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
Class providing a much simplified interface to generating manual objects with custom geometry.
Definition: OgreManualObject.h:107
@ FBT_DEPTH
Definition: OgreCommon.h:321
Real getSurfaceAlphaRejectionValue(void) const
@ TLSS_SPECULAR
Specular reflectance.
Definition: OgreTerrainMaterialGenerator.h:64
Node(const String &name)
Constructor, should only be called by parent, not directly.
Listener()
Definition: OgreCamera.h:82
This is a class that is the base class of the query class for hardware occlusion.
Definition: OgreGLHardwareOcclusionQuery.h:73
static String _resolveIncludes(const String &source, Resource *resourceBeingLoaded, const String &fileName)
Scan the source for #include and replace with contents from OGRE resources.
A interface class defining a listener which can be used to receive notifications of RenderTarget even...
Definition: OgreRenderTargetListener.h:78
bool hasSkeleton(void) const
Returns true if this Mesh has a linked Skeleton.
void addSharedParameters(const String &sharedParamsName)
Use a set of shared parameters in this parameters object.
int firstside
Definition: OgreQuake3Types.h:246
Parameters for loading the volume.
Definition: OgreVolumeChunk.h:56
AnimationState * createAnimationState(const String &animName)
Create an AnimationState object for managing application of animations.
InstancedEntity * createInstancedEntity()
Returns a pointer to a new InstancedEntity ready to use Note it's actually preallocated,...
@ FO_LINEAR
Average of a 2x2 pixel area, denotes bilinear for MIN and MAG, trilinear for MIP.
Definition: OgreCommon.h:110
TextureUnitStateIterator getTextureUnitStateIterator(void)
Get an iterator over the TextureUnitStates contained in this Pass.
@ TAM_MIRROR
Texture flips every boundary, meaning texture is mirrored every 1.0 u or v
Definition: OgreCommon.h:124
SceneBlendOperation operation
The blend operation mode for combining colour values.
Definition: OgreBlendMode.h:281
@ GCT_MATRIX_DOUBLE_3X3
Definition: OgreGpuProgramParams.h:104
size_t getGlobalNumberOfInstances() const
Gets the global number of instances.
@ HBL_NORMAL
Normal mode, ie allows read/write and contents are preserved.
Definition: OgreHardwareBuffer.h:144
void _genMipmaps()
Internal function to update mipmaps on update of level 0.
virtual const String & getType() const
@ BUTTON_RIGHT
Definition: OgreInput.h:29
static GLRTTManager & getSingleton(void)
Get the singleton instance.
bool isCategoryRelevant(CapabilitiesCategory cat)
Return whether a category is 'relevant' or not, ie will it be reported.
Definition: OgreRenderSystemCapabilities.h:774
Radian & operator=(const Real &f)
Definition: OgreMath.h:65
virtual void textureCoord(float u)
Add a texture coordinate to the current vertex.
virtual void postqueueEntityMeshLodChanged(const EntityMeshLodChangedEvent &evt)
Called after an entity's mesh LOD has changed.
Definition: OgreLodListener.h:171
const String & getMaterialScheme(void) const
Get the material scheme which the viewport should use.
Definition: OgreViewport.h:279
const NumericTrackList & _getNumericTrackList(void) const
Fast access to NON-UPDATEABLE numeric track list.
Particle emitter which emits particles randomly from points inside an area (box, sphere,...
Definition: OgreAreaEmitter.h:56
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL).
Definition: OgreGLSLShaderCommon.h:57
ulong frameTime
The total time this profile has taken this frame.
Definition: OgreProfiler.h:100
virtual void _positionsOutOfDate(void)
Tell the object and its children to recalculate.
void _setFog(FogMode mode)
D3D11DepthBuffer(uint16 poolId, D3D11RenderSystem *renderSystem, ID3D11DepthStencilView *depthBufferView, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, bool isManual)
bool operator==(const Degree &d) const
Definition: OgreMath.h:143
virtual void changeEnableState(bool enabled)
void setDefaultStrategy(LodStrategy *strategy)
Set the default strategy.
void setDirection(Real x, Real y, Real z)
void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)
This method allows you to set all the stencil buffer parameters in one call.
@ ID_POLYGON_MODE
Definition: OgreScriptCompiler.h:670
const VertexBoneAssignmentList & getBoneAssignments() const
Gets a const reference to the list of bone assignments.
Definition: OgreMesh.h:481
void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
Class for the generation of the DualGrid.
Definition: OgreVolumeDualGridGenerator.h:71
Direct3D implementation of a few things common to low-level vertex & fragment programs.
Definition: OgreD3D9GpuProgram.h:40
@ ACT_TEXTURE_SIZE
Provides texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1175
String doGet(const void *target) const
static const eExceptionsErrorLevel getExceptionsErrorLevel()
Class representing colour.
Definition: OgreColourValue.h:58
GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
void doSet(void *target, const String &val)
Basic triangle structure.
Definition: OgreEdgeListBuilder.h:59
const Any & _getRenderSystemData() const
Definition: OgreGpuProgramParams.h:638
ForceApplication getForceApplication(void) const
Retrieves how the force vector is applied to a particle.
static D3DFILLMODE get(PolygonMode level)
return a D3D9 equivalent for a Ogre PolygonMode value
Definition: OgreAdvancedRenderControls.h:41
BillboardRotationType
The rotation type of billboard.
Definition: OgreBillboardSet.h:68
#define OGRE_WQ_RW_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:42
void setSpaceWidth(Real width)
virtual void setDefaultWidth(Real width)
See setDefaultDimensions - this sets 1 component individually.
void createScheme(const String &schemeName)
Create a scheme.
@ ID_COLOUR_OP
Definition: OgreScriptCompiler.h:729
static void bindFixedAttributes(GLuint program)
void _notifyCurrentCamera(Camera *cam) override
Internal method to notify the object of the camera to be used for the next rendering operation.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
void setSkyDome(bool enable, const String &materialName, Real curvature=10, Real tiling=8, Real distance=4000, bool drawFirst=true, const Quaternion &orientation=Quaternion::IDENTITY, int xsegments=16, int ysegments=16, int ysegments_keep=-1, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky dome' i.e.
void setTechnique(CompositionTechnique *tech, bool reuseTextures=true)
Change the technique we're using to render this compositor.
DefaultSceneManager(const String &name)
_OgreExport bool operator()(const Light *a, const Light *b) const
ComPtr & operator=(U *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:153
Matrix4(const Quaternion &rot)
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling Qua...
Definition: OgreMatrix4.h:257
@ WFT_TRIANGLE
An angular wave with a constant increase / decrease speed with pointed peaks.
Definition: OgreCommon.h:190
std::multimap< uchar, RenderTarget * > RenderTargetPriorityMap
Definition: OgreRenderSystem.h:56
@ VET_DOUBLE1
Definition: OgreHardwareVertexBuffer.h:138
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
static AngleUnit getAngleUnit(void)
Get the unit being used for angles.
void setConstant(size_t index, const Vector2 &vec)
Sets a 4-element floating-point parameter to the program via Vector2.
Real getSkirtSize() const
The default size of 'skirts' used to hide terrain cracks (default 10, set for new Terrain using Terra...
Definition: OgreTerrain.h:1204
RenderQueue * getRenderQueue(void)
Retrieves the internal render queue, for advanced users only.
@ RENDER_QUEUE_SKIES_EARLY
First queue (after backgrounds), used for skyboxes if rendered first.
Definition: OgreRenderQueue.h:58
virtual void processMeshCompleted(Mesh *mesh)=0
Allows to do changes on mesh after it's completely loaded. For example you can generate LOD levels he...
AxisAlignedBox intersection(const AxisAlignedBox &b2) const
Calculate the area of intersection of this box and another.
Definition: OgreAxisAlignedBox.h:558
static HardwareSkinningFactory & getSingleton(void)
Override standard Singleton retrieval.
GLuint getProgramID(void) const
Get the assigned GL program id.
Definition: OgreGLGpuNvparseProgram.h:54
static void NewFrame(const FrameEvent &evt)
void reinitialise()
Restart the renderer (normally following a change in settings).
NativeWindowType * native
Definition: OgreApplicationContextBase.h:78
PageID calculatePageID(int32 x, int32 y)
void setCurrentPlugIn(const String &sTexturePlugInType)
Sets active plugin (ie.
void destroyRenderWindow(const String &name)
Destroys a render window.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
void convertUVToWorldSpace(Real x, Real y, Vector3 *outWorldPos)
Helper method - convert a point in local space to worldspace based on the terrain settings.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
RuntimeAssertionException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:231
void reloadAll(bool reloadableOnly=true)
Caused all currently loaded resources to be reloaded.
Definition: OgreResourceManager.h:203
bool linkSeparable()
Only used for separable programs.
void setKeepParticlesInLocalSpace(bool keepLocal)
Sets whether particles (and any affector effects) remain relative to the node the particle system is ...
Octree implementation of AxisAlignedBoxSceneQuery.
Definition: OgreOctreeSceneQuery.h:95
void doSet(void *target, const String &val)
virtual void prepareWorldGeometry(const String &filename)
Sets the source of the 'world' geometry, i.e.
size_t triStart
Index to main triangles array, indicate the first triangle of this edge group, and all triangles of t...
Definition: OgreEdgeListBuilder.h:112
static void saveLodData(StreamSerialiser &stream, Terrain *terrain)
Save each LOD level separately compressed so seek is possible.
PlaneList planes
Publicly accessible plane list, you can modify this direct.
Definition: OgrePlaneBoundedVolume.h:54
DecodeResult decode(const DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
virtual void _notifyAttached(Page *parent)
Internal method to notify a collection that it is attached.
void getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
Definition: OgreBspLevel.h:112
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
std::vector< Pass > PassList
Definition: OgreQuake3Shader.h:107
const Vector3 getCenterFrontBottom(void) const
Gets the center of the corners 2, 3.
Definition: OgreVolumeOctreeNode.h:377
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
const SettingsBySection_ & getSettingsBySection() const
Get all the available settings grouped by sections.
Definition: OgreConfigFile.h:97
GLSurfaceDesc requestRenderBuffer(GLenum format, uint32 width, uint32 height, uint fsaa)
Request a render buffer.
bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Command object for getting/setting assembler code.
Definition: OgreD3D9HLSLProgram.h:85
GLint getMaxFSAASamples()
Definition: OgreGLES2FBORenderTexture.h:104
bool isManual() const
Manual DepthBuffers are cleared in RenderSystem's destructor.
const Vector3 getCenterBackRight(void) const
Gets the center of the corners 1, 5.
Definition: OgreVolumeOctreeNode.h:440
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer)
SharedPtr< HighLevelGpuProgram > HighLevelGpuProgramPtr
Definition: OgrePrerequisites.h:294
A class that represents a shader based program parameter.
Definition: OgreShaderParameter.h:48
const Vector3 & getCenter(void) const
Returns the center point of the sphere.
Definition: OgreSphere.h:74
T width() const
Definition: OgreCommon.h:616
void removeAllTextureDefinitions()
Remove all Texture Definitions.
virtual void addListener(RenderTargetListener *listener)
Add a listener to this RenderTarget which will be called back before & after rendering.
@ LBO_ALPHA_BLEND
Blend based on texture alpha.
Definition: OgreBlendMode.h:65
virtual ~HLSLProgramWriter()
Class destructor.
const ConfigOptionMap & getConfigOptions() const
Returns the details of this API's configuration options.
Definition: OgreRenderSystem.h:154
Definition: OgreCapsule.h:46
bool hasBlendFunc
Definition: OgreHlmsPbsMaterial.h:133
~GLSLESProgramManager(void)
GLFBORenderTexture(GLFBOManager *manager, const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
void destroyBufferResources(IDirect3DDevice9 *d3d9Device)
Destroy resources associated with the given device.
void setSkiesEnabled(bool enabled)
Tells this viewport whether it should display skies.
bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
Definition: OgreGLRenderTexture.h:138
static int getFloatCount(int mask)
Return the float count of the given mask.
SkeletonInstance * getSkeleton(void) const
Get this Entity's personal skeleton instance.
Definition: OgreEntity.h:612
virtual RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
uint flags
Definition: OgreImageCodec.h:67
Definition: OgreInput.h:57
void setTransparent(bool isTransparent)
Sets whether this panel is transparent (used only as a grouping level), or if it is actually rendered...
void beginOcclusionQuery()
Starts the hardware occlusion query.
GPUVendor getVendor() const
Definition: OgreRenderSystemCapabilities.h:395
void swap(Quaternion &other)
Exchange the contents of this quaternion with another.
Definition: OgreQuaternion.h:103
Command object for blue adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:70
VertexData(VertexDeclaration *dcl, VertexBufferBinding *bind)
Constructor.
ShaderProgramWriterGLSLFactory()
Definition: OgreShaderGLSLProgramWriter.h:127
void setBounds(const AxisAlignedBox &box, Real radius)
Set the bounds of the BillboardSet.
void undeclareResource(const String &name, const String &groupName)
Undeclare a resource.
SharedPtr< HardwareVertexBuffer > HardwareVertexBufferSharedPtr
Definition: OgrePrerequisites.h:293
GLSLSeparableProgram(const GLShaderList &shaders)
Constructor should only be used by GLSLSeparableProgramManager.
String doGet(const void *target) const
GPUDeviceNameRuleIterator getGPUDeviceNameRuleIterator() const
Get an iterator over the currently registered device name rules.
float getGreenAdjust(void) const
Gets the green adjustment to be made per second to particles.
void setDoBoneCalculations(bool doBoneCalculations)
virtual void defineTerrain(long x, long y, const Terrain::ImportData *importData)
Define the content of a 'slot' in the terrain grid.
bool getInheritScale(void) const
Returns true if this node is affected by scaling factors applied to the parent node.
Definition: OgreNode.h:359
TextureScope scope
Definition: OgreCompositionTechnique.h:78
virtual void setCastShadows(bool castShadows)
Sets whether this geometry should cast shadows.
virtual void convertGridToWorldSpace(const Vector2 &grid, Vector3 &world)
Convert a grid point to world space - note only 2 axes populated.
const String & getDefaultResourceGroup() const
Get the default resource group to use to load / save terrains.
Definition: OgreTerrain.h:2064
MemoryDataStream(const String &name, const DataStreamPtr &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a named stream which pre-buffers the contents of another stream.
@ mutYes
Definition: OgreD3D9RenderSystem.h:65
String doGet(const void *target) const
static void SetRandomValueProvider(RandomValueProvider *provider)
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
RegionIterator getRegionIterator(void)
void addConstantDefinition(const String &name, GpuConstantType constType, size_t arraySize=1)
Add a new constant definition to this shared set of parameters.
This class uses as accessor from a template SubRenderState to all of its instances that created based...
Definition: OgreShaderSubRenderState.h:173
Real getValueImpl(const MovableObject *movableObject, const Camera *camera) const
Compute the LOD value for a given movable object relative to a given camera.
@ OGREPROF_USER_DEFAULT
User default profile.
Definition: OgreProfiler.h:82
void doSet(void *target, const String &val)
const PluginInstanceList & getInstalledPlugins() const
Gets a read-only list of the currently installed plugins.
Definition: OgreRoot.h:668
Real parametric
Definition: OgreVertexIndexData.h:97
Affine3(const Matrix4 &mat)
extract the Affine part of a Matrix4
Definition: OgreMatrix4.h:357
int SafeBoolHelper::* SafeBoolType
Definition: OgreComPtr.h:186
void setRTSSWriteShadersToDisk(bool write)
make the RTSS write out the generated shaders for caching and debugging
void clear(void)
Clear the settings.
void visit(const Pass *p, RenderableList &rs)
When visiting a collection grouped by pass, this is called.
void setAutoConstantReal(size_t index, AutoConstantType acType, Real rData)
void setShadowPointLightExtrusionDistance(Real dist)
Sets the shadow extrusion distance to be used for point lights.
ObjectIterator getAttachedObjectIterator(void)
Definition: OgreSceneNode.h:229
virtual ~InstanceBatchHW_VTF()
static const IdString Normal
Definition: OgreHlmsPropertyHelper.h:50
void setStartLight(unsigned short startLight)
Sets the light index that this pass will start at in the light list.
String manualName
Only relevant if mIsLodManual is true, the name of the alternative mesh to use.
Definition: OgreMesh.h:1025
virtual bool isCompatible(RenderTarget *renderTarget) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
void setPlanePoint(const Vector3 &pos)
Sets the plane point of the deflector plane.
SceneManagerFactory()
Definition: OgreSceneManager.h:3558
PCZCamera * getLastVisibleFromCamera()
Get the lastVisibleFromCamera pointer.
Definition: OgrePCZone.h:122
bool isAlphaToCoverageEnabled() const
Gets whether to use alpha to coverage (A2C) when blending alpha rejected values.
Definition: OgrePass.h:1037
virtual Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
@ ID_MASK
Definition: OgreScriptCompiler.h:837
void _setDestinationRenderSystem(RenderSystem *sys)
Notifies the scene manager of its destination render system.
virtual void setCustomShadowCasterMaterials(const SkinningType skinningType, const MaterialPtr &caster1Weight, const MaterialPtr &caster2Weight, const MaterialPtr &caster3Weight, const MaterialPtr &caster4Weight)
Sets the list of custom shadow caster materials.
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
void importLodConfig(Ogre::LodConfig *config, const Ogre::String &filename)
MultiRenderTarget for GL.
Definition: OgreGLFBOMultiRenderTarget.h:38
void rebind(D3D11HardwarePixelBuffer *buffer)
SceneNode * createSceneNodeImpl(void)
Creates a specialized BspSceneNode.
bool isAA() const
Definition: OgreD3D9RenderWindow.h:54
#define OGRE_EXCEPT(...)
Definition: OgreException.h:292
RenderTexture * getBoundSurface(size_t index)
Get a pointer to a bound surface.
Definition: OgreRenderTexture.h:110
void updatePortalsZoneData(void)
Update the zone data for each portal.
void _setVertexTexture(size_t unit, const TexturePtr &tex)
Binds a texture to a vertex, geometry, compute, tesselation hull or tessellation domain sampler.
SceneBlendFactor getDestBlendFactor() const
Retrieves the destination blending factor for the material.
#define OGRE_STATIC_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:67
IncludeOrExclude includeOrExclude
Definition: OgreTechnique.h:126
static Real Cos(const Radian &fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:333
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
ConstMapIterator< AnimationStateMap > ConstAnimationStateIterator
Definition: OgreAnimationState.h:189
GeneralAllocatedObject RTShaderSystemAlloc
Definition: OgreShaderPrerequisites.h:47
DepthBuffer(uint16 poolId, uint16 bitDepth, uint32 width, uint32 height, uint32 fsaa, const String &fsaaHint, bool manual)
DataStream(uint16 accessMode=READ)
Constructor for creating unnamed streams.
Definition: OgreDataStream.h:197
bool contains(const Box &def) const
Return true if the other box is a part of this one.
Definition: OgreCommon.h:757
Callback class used to send out window events to client app.
Definition: OgreWindowEventUtilities.h:59
@ CE_FEWERPARAMETERSEXPECTED
Definition: OgreScriptCompiler.h:196
@ PF_R8
8-bit pixel format, all bits red.
Definition: OgrePixelFormat.h:210
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
Definition: OgreFrameListener.h:97
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
void _fireNotifyMaterialRender(uint32 pass_id, MaterialPtr &mat)
Notify listeners of a material render.
const String & getGroup(void) const
Gets the group which this resource is a member of.
const MaterialPtr & getMaterial() const
Get the material being used for the terrain.
virtual Real getHoldRadiusInCells()
Get the Hold radius as a multiple of cells.
Definition: OgreGrid2DPageStrategy.h:173
std::vector< T > type
Definition: OgrePrerequisites.h:340
std::list< PCPlane * > PCPlaneList
Definition: OgrePCZFrustum.h:62
virtual void _copyContentsToMemory(Viewport *vp, const Box &src, const PixelBox &dst, RenderWindow::FrameBuffer buffer)=0
Copies the current contents of the render target to a pixelbox.
bool resourceGroupExists(const String &name) const
virtual const Vector3 & getDirection(void) const
Returns the base direction of the emitter.
AnimationStateControllerValue(AnimationState *targetAnimationState, bool addTime=false)
Definition: OgreAnimationState.h:293
void doSet(void *target, const String &val)
virtual ~MaterialBucket()
virtual void _updateCustomGpuParameter(const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
Update a custom GpuProgramParameters constant which is derived from information only this Renderable ...
Definition: OgreRenderable.h:298
bool isFullyVisible(const Sphere &bound) const
void resetDimensions(void)
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own.
Definition: OgreBillboard.h:144
void setIlluminationStage(IlluminationStage is)
Manually set which illumination stage this pass is a member of.
Definition: OgrePass.h:1581
const Matrix4 & getSpotlightWorldViewProjMatrix(size_t index) const
SimplexNoise(unsigned long definedSeed)
Constructor with a by seed defined permutation table.
const String & getMovableType() const
Returns the type name of this object.
bool updateMaterialUsingTextureAliases(void)
The current material used by the submesh is copied into a new material and the submesh's texture alia...
virtual ChildIterator getChildIterator(void)
Gets an object for iterating over all the children of this object.
Definition: OgreInput.h:47
@ GCT_MATRIX_2X4
Definition: OgreGpuProgramParams.h:84
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
static Real AngleUnitsToDegrees(Real units)
Convert from the current AngleUnit to degrees.
LayerBlendSource source2
The second source of colour/alpha.
Definition: OgreBlendMode.h:149
void createBlendMask(size_t blendMaskSizeHint, float initialWeight=1.0f)
Create a new blend mask with the given number of entries.
Command object for setting the alignment.
Definition: OgreTextAreaOverlayElement.h:209
Edge data.
Definition: OgreEdgeListBuilder.h:74
@ RENDER_QUEUE_SKIES_LATE
Penultimate queue(before overlays), used for skyboxes if rendered last.
Definition: OgreRenderQueue.h:72
std::string getReleaseText() const
Always returns "[Hash 0x0a0100ef]" strings in any mode.
Definition: OgreIdString.h:266
TexturePtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new texture.
static void getBitShifts(PixelFormat format, unsigned char rgba[4])
Gives the bit shifts for R, G, B and A component.
ValType ValueType
Type you expect to get by funktions like peekNext(Value)
Definition: OgreIteratorWrapper.h:63
Command object for setting matrix packing in column-major order.
Definition: OgreGLSLShaderCommon.h:68
virtual void setColourRangeStart(const ColourValue &colour)
Sets the minimum colour of particles to be emitted.
std::map< String, bool > UnaryOptionList
Definition: OgreCommon.h:587
void _initialise(bool forceReinitialise=false)
Try to initialise the Entity from the underlying resources.
bool getLightCountAutoUpdate() const
Return true if this render state override the light count.
Definition: OgreShaderRenderState.h:109
String getObjectInfo(GLuint obj)
just return the info without logging it
GLCopyingRenderTexture(GLCopyingRTTManager *manager, const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
virtual ~BaseInstanceBatchVTF()
static CmdBounce msBounceCmd
Definition: OgreDeflectorPlaneAffector.h:105
void _updateRenderQueue(RenderQueue *queue, std::list< Particle * > ¤tParticles, bool cullIndividually)
Delegated to by ParticleSystem::_updateRenderQueue.
A group of edges sharing the same vertex data.
Definition: OgreEdgeListBuilder.h:103
virtual void setDefaultHeight(Real height)
See setDefaultDimensions - this sets 1 component individually.
void beginOcclusionQuery()
Starts the hardware occlusion query.
float getLodBias()
Get the scene LOD bias used by this pass.
ushort getDefaultRenderablePriority(void) const
Gets the current default renderable priority, which will be used for all renderables which do not spe...
void setCustomParameter(size_t index, const Vector4 &value)
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specifi...
Definition: OgreRenderable.h:232
bool async
Whether to load the chunks async. if set to false, the call to load waits for the whole chunk....
Definition: OgreVolumeChunk.h:97
GLContext * getContext() const
Definition: OgreGLRenderTexture.h:77
~D3D9HLSLProgramFactory()
void _markGpuParamsDirty(uint16 mask)
Method to allow you to mark gpu parameters as dirty, causing them to be updated according to the mask...
bool isCompositeMapEnabled() const
Whether to use the composite map to provide a lower LOD technique in the distance (default true).
Definition: OgreTerrainMaterialGeneratorA.h:116
Polygon(const Polygon &cpy)
void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
Sets the mode of operation for depth buffer tests from this point onwards.
bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
@ PF_BC5_UNORM
DDS (DirectDraw Surface) BC5 format (unsigned normalised)
Definition: OgrePixelFormat.h:200
virtual PagedWorldSection * getParentSection() const
Get the PagedWorldSection this page belongs to.
Definition: OgrePage.h:115
GpuNamedConstants()
Definition: OgreGpuProgramParams.h:321
void setEnabled(bool value)
Set enabled flag.
@ PFF_DEPTH
This is a depth format (for depth textures)
Definition: OgrePixelFormat.h:311
Particle * getNext(void)
Returns a pointer to the next particle, and moves the iterator on by 1 element.
void setBlendMaskEntry(size_t boneHandle, float weight)
Set the weight for the bone identified by the given handle.
static const uint32 TERRAINLAYERSAMPLERELEMENT_CHUNK_ID
Definition: OgreTerrain.h:283
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool)
Converts a uniform projection matrix to suitable for this render system.
virtual void shutdown(void)
Shut down the background queue system.
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
GLContext()
Definition: OgreGLContext.h:46
virtual void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
What this destroys is dependent on the plugin...
@ ID_BLEND_MANUAL
Definition: OgreScriptCompiler.h:746
Timer class.
Definition: OgreTimer.h:39
void setNamedConstant(const String &name, Real val)
Sets a single value constant parameter to the program.
const String & getLanguage(void) const
Returns a string that specifies the language of the gpu programs as specified in a material script.
void reset(void)
Resets the position and orientation of this Bone to the original binding position.
virtual void setSourceB(Source *b)
Sets the second operator source.
void setOrientationMode(OrientationMode orientationMode)
Set the orientation mode of the frustum.
static const size_t MS_CORNERS_RIGHT[4]
To call Marching Squares with a cube on its right.
Definition: OgreVolumeIsoSurface.h:75
size_t currentSize
Current physical size allocation.
Definition: OgreGpuProgramParams.h:369
void setGlyphAspectRatio(CodePoint id, Real ratio)
Sets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:330
void setFilenamePrefix(const String &prefix)
void unbindGpuProgram(GpuProgramType gptype)
Unbinds GpuPrograms of a given GpuProgramType.
static MeshManager & getSingleton(void)
Get the singleton instance.
Level of detail strategy based on distance from camera.
Definition: OgreDistanceLodStrategy.h:55
DefaultShadowCameraSetup()
void _notifyCameraRemoved(const Camera *cam)
Utility method to notify all render targets that a camera has been removed, in case they were referri...
Node * removeChild(Node *child)
Overridden from Node to remove any reference to octants.
bool requiresTextureFlipping() const
Definition: OgreGLES2FBOMultiRenderTarget.h:50
void addResourceLocation(const String &name, const String &locType, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME, bool recursive=false, bool readOnly=true)
Adds a location to the list of searchable locations for a Resource type.
Factory class for DeflectorPlaneAffector.
Definition: OgreDeflectorPlaneAffectorFactory.h:39
void reposition(int left, int top)
Reposition the window.
Definition: OgreD3D11RenderWindow.h:60
uint treeEnd
Definition: OgreTerrainLodManager.h:80
void setBlendValue(size_t x, size_t y, float val)
Set a single value of blend information (0 = transparent, 255 = solid)
@ SPC_POSTOLIGHT_OBJECT_SPACE6
Definition: OgreShaderParameter.h:136
void setInnerSizeY(Real y)
Sets the y component of the area inside the ellipsoid which doesn't emit particles.
TerrainQuadTreeNode * getParent() const
Get parent node.
static D3DLIGHTTYPE get(Ogre::Light::LightTypes lightType)
return a D3D9 equivalent for a Ogre LightTypes value
float r
Definition: OgreColourValue.h:76
void stopSharingTransform()
void setIsInstanceData(const bool val)
Set if this vertex buffer is an "instance data" buffer (per instance)
String doGet(const void *target) const
Abstract class defining a movable object in a scene.
Definition: OgreMovableObject.h:57
void setColourWriteEnabled(bool red, bool green, bool blue, bool alpha)
Sets which colour buffer channels are enabled for writing for this Pass.
@ VET_SHORT4
Definition: OgreHardwareVertexBuffer.h:130
bool Undef(const char *iMacroName, size_t iMacroNameLen)
Undefine a macro.
void refitContents()
Makes adjustments based on new padding, size, or alignment info.
void setShadowCasterMaterial(const Ogre::String &name)
set this material specific shadow casting specific material
time_t resourceModifiedTime(const String &group, const String &filename) const
Retrieve the modification time of a given file.
void doSet(void *target, const String &val)
void setQueryFlags(uint32 flags)
Set the default query flags for terrains.
Definition: OgreTerrain.h:1976
static const uint8 DERIVED_DATA_DELTAS
Definition: OgreTerrain.h:1157
@ M_GEOMETRY
Definition: OgreMeshFileFormat.h:87
void setTrueTypeResolution(uint ttfResolution)
Gets the resolution (dpi) of the font used to generate the texture (only required for FT_TRUETYPE).
Ogre::String getConfigFilePath(Ogre::String filename) const
Search for the given config file in a set of predefined locations.
Definition: OgreFileSystemLayer.h:73
virtual HighLevelGpuProgramPtr generateFragmentProgram(const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
void setCorners(Real left, Real top, Real right, Real bottom, bool updateAABB=true)
Sets the corners of the rectangle, in relative coordinates.
ScriptTranslator * getTranslator(const AbstractNodePtr &node)
Returns a manager for the given object abstract node, or null if it is not supported.
static void softwareVertexPoseBlend(Real weight, const std::map< size_t, Vector3 > &vertexOffsetMap, const std::map< size_t, Vector3 > &normalsMap, VertexData *targetVertexData)
Performs a software vertex pose blend, of the kind used for morph animation although it can be used f...
void removeTextureDefinition(size_t idx)
Remove and destroy a local texture definition.
const Vector4 & getLodCameraPosition(void) const
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
Definition: OgreRenderable.h:215
FogMode getFogMode(void) const
Returns the fog mode for this pass.
static void extractUniforms(GLhandleARB programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *geometryConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, GLUniformReferenceList &list)
Populate a list of uniforms based on a program object.
MemoryDataStream(void *pMem, size_t size, bool freeOnClose=false, bool readOnly=false)
Wrap an existing memory chunk in a stream.
bool _areShadowsSuppressed(void) const
Are shadows suppressed?
Definition: OgreSceneManager.h:3377
virtual void uninstall()=0
Perform the final plugin uninstallation sequence.
void setInheritOrientation(bool inherit)
Tells the node whether it should inherit orientation from it's parent node.
SceneBlendFactor getSourceBlendFactorAlpha() const
Retrieves the alpha source blending factor for the material.
ParticleSystemRenderer * createInstance(const String &name)
Creates a new object.
void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
int _findclose(intptr_t id)
virtual void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the material to be used for this billboard set.
void _findVisibleObjects(Camera *cam, RenderQueue *queue, Viewport *vp)
Internal method to put the overlay contents onto the render queue.
void deleteAllInputParameters()
Delete all input parameters from this function.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
size_t mIndex
Definition: OgreColourInterpolatorAffector.h:52
PageManager * getManager() const
_OgreBitesExport Ogre::ConfigDialog * getNativeConfigDialog()
OGRE comes with it's own renderer configuration dialog, which applications can use to easily allow th...
void enableShaderCache() const
enables the caching of compiled shaders to file
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this mesh.
void lock(const SharedPtr< T > &p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:429
SceneBlendFactor sourceFactor
multiplied by the render colour components
Definition: OgreBlendMode.h:275
virtual void setTextureStacksAndSlices(uchar stacks, uchar slices)
setTextureStacksAndSlices() will generate texture coordinate rects as if the texture for the billboar...
void setMaximumX(Real x)
Changes one of the components of the maximum corner of the box used to resize only one dimension of t...
Definition: OgreAxisAlignedBox.h:201
void _setTextureMatrix(size_t stage, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
void setSpeedFactor(Real speedFactor)
Sets a 'speed factor' on this particle system, which means it scales the elapsed real time which has ...
Definition: OgreParticleSystem.h:399
virtual void _notifyParent(OverlayContainer *parent, Overlay *overlay)
Overridden from OverlayElement.
@ SRF_EXTRUDE_TO_INFINITY
For shadow volume techniques only, indicates volume is extruded to infinity.
Definition: OgreShadowCaster.h:113
virtual bool useBoneWorldMatrices() const
Definition: OgreInstanceBatchVTF.h:198
VectorIterator< TextureDefinitions > TextureDefinitionIterator
Definition: OgreCompositionTechnique.h:87
@ SDLK_PAGEUP
Definition: OgreInput.h:118
void load(StreamSerialiser &stream)
Prepare and load the terrain in one simple call from a stream.
bool useGlobalInstancingVertexBufferIsAvailable
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if a...
Definition: OgreRenderOperation.h:130
static uint16 floatToHalfI(uint32 i)
Converts float in uint32 format to a a half in uint16 format.
Definition: OgreBitwise.h:310
@ LOADSTATE_PREPARED
Fully prepared.
Definition: OgreResource.h:113
virtual ~GL3PlusTexture()
ColourValue saturateCopy(void) const
As saturate, except that this colour value is unaffected and the saturated colour value is returned a...
Definition: OgreColourValue.h:136
virtual const Source * getSourceA() const
Gets the first operator source.
@ ACT_SURFACE_AMBIENT_COLOUR
Surface ambient colour, as set in Pass::setAmbient.
Definition: OgreGpuProgramParams.h:798
void _setPoolId(uint16 poolId)
Sets the pool id in which this DepthBuffer lives.
float lastFPS
frames per second (FPS) based on the frames rendered in the last second
Definition: OgreRenderTarget.h:79
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
ControllerFunction(bool deltaInput)
Constructor.
Definition: OgreController.h:83
@ M_EDGE_LIST_LOD
Definition: OgreMeshFileFormat.h:147
virtual void _updateRenderQueue(RenderQueue *queue) override
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
@ PM_POINTS
Only the points of each polygon are rendered.
Definition: OgreCommon.h:206
const UniformParameterList & getParameters() const
Get the list of uniform parameters of this program.
Definition: OgreShaderProgram.h:121
GL3PlusHardwareBufferManager()
@ ST_LINEAR
Definition: OgreShaderPrerequisites.h:89
const String & getMovableType(void) const override
Returns the type name of this object.
virtual void setRenderQueueGroupAndPriority(uint8 queueID, ushort priority)
Sets the render queue group and group priority this entity will be rendered through.
virtual void updateCompositeMap(const Terrain *terrain, const Rect &rect)
Update the composite map for a terrain.
const String & getName() const
Definition: OgreInstanceManager.h:162
bool _isSupported(void)
Determine if this target pass is supported on the current rendering device.
virtual MeshPtr convertToMesh(const String &meshName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Convert this object to a Mesh.
Ogre::SharedPtr< Vector3 > vertexNormalBuffer
Definition: OgreLodBuffer.h:57
virtual GLES2FBORenderTexture * createRenderTexture(const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
void doSet(void *target, const String &val)
ConstPoseIterator getPoseIterator(void) const
Get an iterator over all the poses defined.
virtual void _boundsDirty(void)
Called by InstancedEntity(s) to tell us we need to update the bounds (we touch the SceneNode so the S...
Real getTanTime_0_1(Real x) const
void updateTransforms()
Update the world transform and derived values.
GL3PlusStateCacheManager * getStateCacheManager()
bool isHeightDataModified() const
Returns whether terrain heights have been modified since the terrain was first loaded / defined.
Definition: OgreTerrain.h:763
Visibility
Visibility types.
Definition: OgrePCZCamera.h:58
virtual PCZone * updateNodeHomeZone(PCZSceneNode *pczsn, bool allowBackTouces)
Update a node's home zone.
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:60
GLES2DepthBuffer(uint16 poolId, GLES2RenderSystem *renderSystem, GLContext *creatorContext, GLES2RenderBuffer *depth, GLES2RenderBuffer *stencil, uint32 width, uint32 height, uint32 fsaa, bool isManual)
void setSplitRotated(bool split)
Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex...
Definition: OgreTangentSpaceCalc.h:149
Matrix4 getInverseTransposeProjectionMatrix() const
GLenum getGL3PlusTextureTarget(void) const
static D3DBLEND get(SceneBlendFactor sbf)
return a D3D9 equivalent for a Ogre SceneBlendFactor value
D3D9Device(D3D9DeviceManager *deviceManager, UINT adapterNumber, HMONITOR hMonitor, D3DDEVTYPE devType, DWORD behaviorFlags)
Ogre::OverlayElement * getCursorImage()
Definition: OgreTrays.h:773
static void clearShadowRenderableList(ShadowRenderableList &shadowRenderables)
Common implementation of releasing shadow renderables.
@ FFP_VS_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:45
const Affine3 & getParentEntityTransform(void) const
Gets the transform of parent entity.
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
ComPtr(ComPtr< U > const &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:136
unsigned int line
Definition: OgreScriptCompiler.h:69
virtual void sort(Mesh::MeshLodUsageList &meshLodUsageList) const
Sort mesh LOD usage list from greatest to least detail.
void setAnisotropy(unsigned int maxAniso)
Sets the anisotropy level to be used for this texture level.
Definition: OgreTextureUnitState.h:141
@ FFP_ALPHA_TEST
Definition: OgreShaderFFPRenderState.h:77
D3D11VideoModeList(IDXGIAdapterN *pAdapter)
@ MESH_VERSION_LEGACY
Legacy versions, DO NOT USE for writing.
Definition: OgreMeshSerializer.h:59
virtual const String & getType() const
Get the type of the content, which will match it's factory.
@ ACT_TIME_0_X
Single float value, which repeats itself based on given as parameter "cycle time".
Definition: OgreGpuProgramParams.h:1017
void setShadowCasterVertexProgram(const String &name)
Class for quickly loading settings from a text file.
Definition: OgreConfigFile.h:62
std::vector< GLAtomicCounterReference > GLAtomicCounterReferenceList
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:56
void calcViewMatrixRelative(const Vector3 &relPos, Matrix4 &matToUpdate) const
Calculate a view matrix for this frustum, relative to a potentially dynamic point.
void _recalculateHash(void)
Internal method for recalculating the hash.
MeshPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new mesh.
float mipmapCount
Definition: OgreHlmsPbsMaterial.h:131
void removePassGroup(Pass *p)
Remove the group entry (if any) for a given Pass.
virtual void _notifyParticleResized(void)
Internal callback used by Particles to notify their parent that they have been resized.
void loadImage(const Image &img)
Load an image into this blend layer.
void addResolveStageMask(unsigned int mask)
Add the given mask to resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:105
std::vector< int > IntConstantList
Definition of container that holds the current int constants.
Definition: OgreGpuProgramParams.h:405
virtual TerrainSlotDefinition * getTerrainDefinition(long x, long y) const
Get the definition of a slot in the terrain.
static String format(const char *fmt,...) OGRE_FORMAT_PRINTF(1
create a string from a printf expression
bool IsDirty
Definition: OgreHlmsMaterialBase.h:64
TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software morph animation.
Class representing an approach to rendering this particular Material.
Definition: OgreTechnique.h:52
String doGet(const void *target) const
FilterType
Definition: OgreCommon.h:94
BillboardParticleRenderer()
virtual const String & getTargetLanguage() const =0
Return the target language of this writer.
IdString(const char *string)
Definition: OgreIdString.h:111
ChildObjectListIterator getAttachedObjectIterator(void)
void _notifyOrigin(const String &origin)
Notify this resource of it's origin.
Definition: OgreResource.h:412
size_t vertexSet
The vertex set these vertices came from.
Definition: OgreEdgeListBuilder.h:64
GPUVendorRule(GPUVendor v, IncludeOrExclude ie)
Definition: OgreTechnique.h:129
MovableObject * getAttachedObject(const String &name)
Retrieves a pointer to an attached object.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
Definition: OgreD3D9Texture.h:41
@ PF_R8G8B8A8
32-bit pixel format, 8 bits for red, green, blue and alpha.
Definition: OgrePixelFormat.h:111
const RenderSystemList & getAvailableRenderers(void)
Retrieve a list of the available render systems.
const String & getResourceGroup(void) const
Gets the resource group of the ultimate parent Material.
bool ff(size_t count)
Step forward in cached stream by 'count' bytes.
Definition: OgreDataStream.h:123
const Sampler::UVWAddressingMode & getTextureAddressingMode(void) const
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:676
void updatePoseReference(ushort poseIndex, Real influence)
Update the influence of a pose reference.
@ VET_DOUBLE3
Definition: OgreHardwareVertexBuffer.h:140
void setNamedConstant(const String &name, const float *val, size_t count, size_t multiple=4)
Sets a multiple value constant parameter to the program.
void setStencilMask(GLuint mask)
Sets the stencil mask.
A volume source from a 16 Bit float 3D grid capable of loading volume serializations.
Definition: OgreVolumeHalfFloatGridSource.h:46
std::vector< Camera * > CameraList
Definition: OgrePageManager.h:407
void setBlendWeightsBaseElementType(VertexElementType vet)
sets the base element type used for blend weights in vertex buffers.
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
Sets the global alpha rejection approach for future renders.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
VectorIterator< TargetPasses > TargetPassIterator
Definition: OgreCompositionTechnique.h:85
virtual void nodeDestroyed(const Node *)
Node is being destroyed.
Definition: OgreNode.h:90
Math(unsigned int trigTableSize=4096)
Default constructor.
Log * getLog(const String &name)
Retrieves a log managed by this class.
void getWorldTransforms(Matrix4 *xform) const =0
Gets the world transform matrix / matrices for this renderable object.
bool isClosed(void) const
Indicates whether the window has been closed by the user.
Definition: OgreGLWindow.h:42
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
@ SPC_LIGHTPOSITION_WORLD_SPACE1
Definition: OgreShaderParameter.h:221
virtual void _notifyCurrentCamera(Camera *cam) override
Internal method to notify the object of the camera to be used for the next rendering operation.
virtual MaterialPtr generateForCompositeMap(const Terrain *terrain)=0
Generate / reuse a material for the terrain.
virtual void copyFromTemplate(OverlayElement *templateOverlay)
void setProfiles(const StringVector &profiles)
Sets the Cg profiles which can be supported by the program.
virtual void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
Instancing consumes significantly more GPU memory than regular rendering methods.
void execute(SceneQueryListener *listener)
See RaySceneQuery.
const String & getOrigin(void) const
Get the origin of this overlay, e.g.
Definition: OgreOverlay.h:269
@ LBX_BLEND_DIFFUSE_ALPHA
use interpolated alpha value from vertices to scale source1, then add source2 scaled by (1-alpha)
Definition: OgreBlendMode.h:95
@ ID_SRC_TEXTURE
Definition: OgreScriptCompiler.h:749
virtual void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
virtual void applyDeltaValue(const Any &val)
Apply delta value.
static bool pointInTri2D(const Vector2 &p, const Vector2 &a, const Vector2 &b, const Vector2 &c)
Checks whether a given point is inside a triangle, in a 2-dimensional (Cartesian) space.
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Definition: OgreGLRenderSystemCommon.h:129
void setNearClipDistance(Real nearDist)
Sets the position of the near clipping plane.
DebugRenderable(Node *parent)
void setRedAdjust2(float red)
static const Vector2 NEGATIVE_UNIT_Y
Definition: OgreVector.h:124
friend class CPreprocessor::Macro
Definition: OgreGLSLPreprocessor.h:197
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
Converts a uniform projection matrix to suitable for this render system.
const D3DCAPS9 & getD3D9DeviceCaps() const
Definition: OgreD3D9Driver.h:54
virtual void _updateAutoUpdatedViewports(bool updateStatistics=true)
Method for manual management of rendering - renders only viewports that are auto updated.
virtual PageStrategyData * getStrategyData() const
Get the data required by the PageStrategy which is specific to this world section.
Definition: OgrePagedWorldSection.h:135
bool compile(const String &str, const String &source, const String &group)
Takes in a string of script code and compiles it into resources.
uint hierarchicalLvl
The hierarchical level of this profile, 0 being the root profile.
Definition: OgreProfiler.h:141
void execute(SceneQueryListener *listener)
See SceneQuery.
uint32 getDepth(void) const
Returns the depth of the texture (only applicable for 3D textures).
Definition: OgreTexture.h:235
T * Get() const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:193
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
void labelHit(Label *label)
Toggles visibility of advanced statistics.
GeometryBucket(MaterialBucket *parent, const String &formatString, const VertexData *vData, const IndexData *iData)
void insert(iterator pos, InputIterator f, InputIterator l)
Definition: OgreCommon.h:516
@ FOG_LINEAR
Fog density increases linearly between the start and end distances.
Definition: OgreCommon.h:154
virtual ~ParamCommand()
Definition: OgreStringInterface.h:83
static String toString(const ColourValue &val)
Converts a ColourValue to a String.
virtual void readChunkEnd(uint32 id)
Finish the reading of a chunk.
const ColourValue & getAmbient(void) const
Gets the ambient colour reflectance of the pass.
virtual PageContent * createContent(const String &typeName)
Create a new PageContent within this collection.
void * getSymbol(const String &strName) const
Returns the address of the given symbol from the loaded library.
~BillboardSetFactory()
Definition: OgreBillboardSet.h:836
@ ID_INCREMENT
Definition: OgreScriptCompiler.h:840
virtual ~D3D11StereoDriverBridge()
static ControllerFunctionRealPtr create(Real sequenceTime, Real timeOffset=0.0f)
Constructor.
Definition: OgrePredefinedControllers.h:225
virtual ~ParticleEmitterFactory()
static void _removeRenderWindow(Ogre::RenderWindow *window)
@ ACT_SHADOW_SCENE_DEPTH_RANGE_ARRAY
Provides an array of information about the depth range of the scene as viewed from a given shadow cam...
Definition: OgreGpuProgramParams.h:1166
SharedPtr< D3D9HLSLProgram > D3D9HLSLProgramPtr
Definition: OgreD3D9Prerequisites.h:100
Box(uint32 l, uint32 t, uint32 r, uint32 b)
Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and b...
Definition: OgreCommon.h:719
void getActualDimensions(int &left, int &top, int &width, int &height) const
Access to actual dimensions (based on target size).
std::vector< LodData > LodsData
Definition: OgreTerrainLodManager.h:58
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
Definition: OgreDefaultHardwareBufferManager.h:174
@ SPC_TEXTURE_COORDINATE2
Definition: OgreShaderParameter.h:293
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
ParameterPtr resolveOutputParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
@ RSC_HW_GAMMA
Supports HW gamma, both in the framebuffer and as texture.
Definition: OgreRenderSystemCapabilities.h:168
TexturePtr tex
Definition: OgreHlmsPbsMaterial.h:122
CompareFunction getStencilFunc() const
Get stencil compare function.
size_t getSize(void) const
Retrieves info about the size of the resource.
const_reverse_iterator rend() const
Definition: OgreSmallVector.h:173
void setBatchesAsStaticAndUpdate(bool bStatic)
Tells this batch to stop updating animations, positions, rotations, and display all it's active insta...
~OctreeNode()
Standard destructor.
virtual GpuProgramParametersSharedPtr createParameters(void)
Creates a new GpuProgramParameters instance which can be used to bind parameters to your programs.
~BspSceneManagerFactory()
Definition: OgreBspSceneManager.h:271
void setSize(size_t size)
Sets the number of elements in the parameter (for arrays).
Definition: OgreShaderParameter.h:367
int getTargetLodLevel()
Definition: OgreTerrainLodManager.h:122
void setOrientation(const Quaternion &q)
Sets the orientation of this node via a quaternion.
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
virtual void setTextureCoordDirection(TexCoordDirection dir)
Sets the direction in which texture coords specified on each element are deemed to run along the leng...
const String & getType(void) const
Returns the factory type.
virtual void changeEnableState(bool enabled)
If the profiler disables this listener then it should hide its panels (if any exists) or stop sending...
Definition: OgreProfiler.h:216
void releasePBuffer(PixelComponentType ctype)
Release PBuffer for a certain pixel format.
ConstVectorIterator(const T &c)
Constructor.
Definition: OgreIteratorWrapper.h:232
Real getBaseKeyFrameTime() const
If a base keyframe is being used, the time of that keyframe.
Prepared IteratorWrapper for container like std::vector.
Definition: OgreIteratorWrapper.h:136
void setGeometryProgramConstantFloatCount(ushort c)
The number of floating-point constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:656
void setRotation(const Radian &rad)
Sets the current rotation.
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) and hardware instan...
Definition: OgreInstanceBatchHW_VTF.h:60
SharedPtr< Texture > TexturePtr
Definition: OgrePrerequisites.h:303
@ SPC_LIGHTDIRECTION_TANGENT_SPACE0
Light direction in tangent space index 0-7.
Definition: OgreShaderParameter.h:200
Ogre::SharedPtr< Vector3 > vertexBuffer
Definition: OgreLodBuffer.h:56
const Quaternion & getPoint(unsigned short index) const
Gets the detail of one of the control points of the spline.
Vector3 totalFrom
The back lower left corner of the world.
Definition: OgreVolumeChunkHandler.h:56
virtual void setLoadRadius(Real sz)
Set the loading radius.
uint8 getLayerCount() const
Get the number of layers in this terrain.
Definition: OgreTerrain.h:959
ObjectAbstractNode(AbstractNode *ptr)
@ RSC_DOT3
Supports fixed-function DOT3 texture blend.
Definition: OgreRenderSystemCapabilities.h:85
@ LBX_BLEND_MANUAL
as LBX_BLEND_DIFFUSE_ALPHA but use a constant manual blend value (0.0-1.0)
Definition: OgreBlendMode.h:101
bool hasOverlayElement(const String &name, bool isTemplate=false)
Tests if an element exists.
void setIsAlpha(bool isAlpha)
specify that a single channel (luminance) texture should be loaded as alpha
virtual void triangleRemoved(LodData *data, LodData::Triangle *tri)
Definition: OgreLodOutputProvider.h:46
virtual void bind(RenderTarget *target)
Bind a certain render target.
Definition: OgreGLRenderTexture.h:143
virtual SceneNode * createSceneNode(void)
Creates an instance of a SceneNode.
ResourceAllocatedObject TechniqueAlloc
Definition: OgreMemoryAllocatorConfig.h:150
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
@ GCT_UNKNOWN
Definition: OgreGpuProgramParams.h:117
static ParameterPtr createOutTexcoord4(int index, Parameter::Content content)
VertexDeclaration * getVertexDeclaration()
Get the vertex declaration that the pass will output.
void getBestDepthStencil(PixelFormat internalFormat, GLenum *depthFormat, GLenum *stencilFormat)
Get best depth and stencil supported for given internalFormat.
ushort _getSubMeshIndex(const String &name) const
Gets the index of a submesh with a given name.
virtual uint16 getPoolId() const
Gets the pool id in which this DepthBuffer lives.
AxisAlignedBox()
Definition: OgreAxisAlignedBox.h:93
float getPointAttenuationLinear(void) const
Returns the linear coefficient of point attenuation.
Definition: OgrePass.h:467
void saveMicrocodeCache(DataStreamPtr stream) const
Saves the microcode cache to disk.
virtual void postUpdateSceneGraph(SceneManager *source, Camera *camera)
Called after updating the scene graph in this SceneManager.
Definition: OgreSceneManager.h:260
virtual void postRenderTargetUpdate(const RenderTargetEvent &evt)
Called just after a RenderTarget has been rendered to.
Definition: OgreRenderTargetListener.h:111
Renderbuffer surface.
Definition: OgreGLES2HardwarePixelBuffer.h:115
AxisAlignedBox aabb
The axis-aligned bounds of the visible objects.
Definition: OgreSceneManager.h:103
void bindProgram(void)
Execute the binding functions for this program.
Technique(Material *parent, const Technique &oth)
Copy constructor.
LinearSkinning()
Class default constructor.
const String & getLanguage(void) const
Overridden from GpuProgram.
void setAlive(bool value)
Set alive/active flag.
SceneNode * getParentSceneNode(void) const
Returns the scene node to which this object is attached.
size_t prevIndexCount
Used by output providers only!
Definition: OgreLodData.h:144
virtual bool windowClosing(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:129
InterpolationMode
The types of animation interpolation available.
Definition: OgreAnimation.h:96
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
@ SOP_INVERT
Invert the bits of the stencil buffer.
Definition: OgreRenderSystem.h:91
ParticleEmitter(ParticleSystem *psys)
const D3DDISPLAYMODE & getDesktopMode() const
Definition: OgreD3D9Driver.h:60
Real dz
Definition: OgreDualQuaternion.h:166
void addEmitterFactory(ParticleEmitterFactory *factory)
Adds a new 'factory' object for emitters to the list of available emitter types.
SmallVectorTemplateBase<isPodLike = false> - This is where we put method implementations that are des...
Definition: OgreSmallVector.h:214
ptrdiff_t difference_type
Definition: OgreSmallVector.h:146
virtual const ContentList & getContentList() const
Get const access to the list of content.
Definition: OgreSimplePageContentCollection.h:90
void _removeOctreeNode(OctreeNode *)
Removes the given octree node.
size_t capacity() const
capacity - Return the total number of elements in the currently allocated buffer.
Definition: OgreSmallVector.h:180
virtual void resourceLoadEnded(void)
This event is fired when the resource has been loaded.
Definition: OgreResourceGroupManager.h:178
Real getMaxScaleCoef() const
Returns the maximum derived scale coefficient among the xyz values.
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareBuffer.h:61
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
Vector & operator/=(Real s)
Definition: OgreVector.h:588
bool getPrepareAllMeshesForShadowVolumes(void)
Retrieves whether all Meshes should prepare themselves for shadow volumes.
@ PF_R8G8B8A8_UINT
32-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int), 8 bits green (unsigned in...
Definition: OgrePixelFormat.h:152
TexturePtr getTextureInstance(const String &name, size_t mrtIndex)
Get the instance of a global texture.
ColourValue mColour
Definition: OgreBillboard.h:85
void setVisibilityFlags(uint32 flags)
Set the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:1970
DefaultSceneManagerFactory()
Definition: OgreSceneManagerEnumerator.h:51
virtual bool resolveDependencies(ProgramSet *programSet)
Billboard * createBillboard(const Vector3 &position, const ColourValue &colour=ColourValue::White)
Creates a new billboard and adds it to this set.
Terrain * terrain
Which terrain instance was hit, if any.
Definition: OgreTerrainGroup.h:396
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
GLSLLinkProgramManager(void)
VertexDataBindChoice
Identify which vertex data we should be sending to the renderer.
Definition: OgreEntity.h:773
bool linkSeparable()
Only used for separable programs.
GLenum getTarget() const
Definition: OgreGL3PlusHardwareBuffer.h:63
void _reconstructAllCompositorResources()
Internal method for forcing all active compositors to recreate their resources.
virtual void copyToTexture(TexturePtr &target)
Copies (and maybe scales to fit) the contents of this texture to another texture.
uint8 getRenderQueueGroup(void) const
Get the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1957
SharedPtr< StringVector > StringVectorPtr
Definition: OgreStringVector.h:46
const Vector3 & getPoint(unsigned short index) const
Gets the detail of one of the control points of the spline.
~D3D11HardwarePixelBuffer()
Octree * getOctant()
Returns the Octree in which this OctreeNode resides.
Definition: OgreOctreeNode.h:83
float getRedAdjust1(void) const
Gets the red adjustment to be made per second to particles.
TerrainQuadTreeNode * getChild(unsigned short child) const
Get child node.
virtual void setDebugLevel(unsigned int dbg)
Set the debug level of the material.
Definition: OgreTerrainMaterialGenerator.h:374
@ ID_FOG_OVERRIDE
Definition: OgreScriptCompiler.h:675
void requestUpdate(Node *child, bool forceParentUpdate=false)
Called by children to notify their parent that they need an update.
@ ID_TRILINEAR
Definition: OgreScriptCompiler.h:721
Vector3 convertWorldToLocalDirection(const Vector3 &worldDir, bool useScale)
Gets the local direction, relative to this node, of the given world-space direction.
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
virtual void resourceGroupScriptingStarted(const String &groupName, size_t scriptCount)
This event is fired when a resource group begins parsing scripts.
Definition: OgreResourceGroupManager.h:116
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
bool getUpdateBoundingBoxFromSkeleton() const
If true, the skeleton of the entity will be used to update the bounding box for culling.
Definition: OgreEntity.h:867
CullingMode
Hardware culling modes based on vertex winding.
Definition: OgreCommon.h:160
const EnabledAnimationStateList & getEnabledAnimationStates() const
Get an iterator over all the enabled animation states in this set.
Definition: OgreAnimationState.h:267
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
void clearAllInputs()
Clear all inputs.
void setTopSpeed(Ogre::Real topSpeed)
Sets the camera's top speed.
Definition: OgreCameraMan.h:89
@ ID_COMBINED_UVW
Definition: OgreScriptCompiler.h:711
@ M_MESH_BOUNDS
Definition: OgreMeshFileFormat.h:130
@ SDLK_F6
Definition: OgreInput.h:106
reference back()
Definition: OgreCommon.h:480
IteratorWrapper< T, IteratorType, typename T::value_type >::PointerType PointerType
Definition: OgreIteratorWrapper.h:140
void update()
Publish any changes you made to the blend data back to the blend map.
float getHeightAtTerrainPosition(Real x, Real y) const
Get the height data for a given terrain position.
BillboardChain * createBillboardChain()
Create a BillboardChain, an object which you can use to render a linked chain of billboards,...
void execute(RaySceneQueryListener *listener)
See RayScenQuery.
bool getHasAlpha() const
Returns true if the image has an alpha component.
Real aspectRatio
Definition: OgreFont.h:145
@ ID_LESS
Definition: OgreScriptCompiler.h:646
bool getShadowTextureSelfShadow(void) const
Gets whether or not texture shadows attempt to self-shadow.
Definition: OgreSceneManager.h:2880
virtual const ProfileList & getProfiles() const
Get the list of profiles that this generator supports.
Definition: OgreTerrainMaterialGenerator.h:215
virtual void _buildMapBoneByName(const Skeleton *source, BoneHandleMap &boneHandleMap) const
Build the bone handle map to use with Skeleton::_mergeSkeletonAnimations.
bool getNormaliseNormals(void) const
Returns true if this pass has auto-normalisation of normals set.
Definition: OgrePass.h:1439
void setOrientation(const Quaternion &q)
Sets the camera's orientation.
@ ID_LIGHT_SCISSOR
Definition: OgreScriptCompiler.h:653
static const Real LOG2
Stored value of log(2) for frequent use.
Definition: OgreMath.h:360
bool hasMaterialAtlasingAttributes(Ogre::Material *material, TextureAtlasAttib *attrib=NULL) const
Tells whether a specific material has atlas attributes associated with it.
void notifyContextDestroyed(GLContext *context)
Definition: OgreGLVertexArrayObject.h:56
virtual const Source * getSource(void) const
Gets the source.
void setRoughness(Real val)
Definition: OgreHlmsPbsMaterial.h:172
FFPFragmentShaderStage
Definition: OgreShaderFFPRenderState.h:56
bsp_face_t * mFaces
Definition: OgreQuake3Level.h:143
virtual ~Source(void)
Destructor.
TextureEffectType
Definition of the broad types of texture effect you can apply to a texture unit.
Definition: OgreTextureUnitState.h:247
bool hasGaps(void) const
Check whether any gaps in the bindings.
const FloatRect & getTexcoordRect(void) const
getTexcoordRect() returns the previous value set by setTexcoordRect().
Definition: OgreBillboard.h:219
@ TEXCALC_ENVIRONMENT_MAP_PLANAR
Environment map based on vertex positions.
Definition: OgreRenderSystem.h:67
Real getValue(void) const
ControllerValue implementation.
Definition: OgreAnimationState.h:307
float getTextureMipmapBias(void) const
Gets the bias value applied to the mipmap calculation.
Definition: OgreTextureUnitState.h:726
@ SDLK_KP_PERIOD
Definition: OgreInput.h:141
static ParameterPtr createOutTangent(int index)
bool operator==(const Affine3 &m2) const
Tests 2 matrices for equality.
Definition: OgreMatrix4.h:372
virtual void skip(long count)=0
Skip a defined number of bytes.
CompositorInstance * addCompositor(Viewport *vp, const String &compositor, int addPosition=-1)
Add a compositor to a viewport.
static Affine3 buildReflectionMatrix(const Plane &p)
Build a reflection matrix for the passed in plane.
Command object for renderer (see ParamCommand).
Definition: OgreParticleSystem.h:113
const Quaternion & _getDerivedOrientation(void) const
Gets the orientation of the node as derived from all parents.
bool isShadowTechniqueTextureBased(void) const
Is there a texture shadow based shadowing technique in use?
Definition: OgreSceneManager.h:3001
Definition: OgreTerrainQuadTreeNode.h:132
virtual bool isStereoEnabled(const String &renderWindowName)=0
@ ET_VSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:257
void _notifySkeleton(SkeletonPtr &pSkel)
Internal notification, used to tell the Mesh which Skeleton to use without loading it.
Nested class to allow shadows.
Definition: OgreManualObject.h:476
static const IdString UvCount5
Definition: OgreHlmsPropertyHelper.h:62
void updateToLodLevel(int lodLevel, bool synchronous=false)
@ ID_DIFFUSE
Definition: OgreScriptCompiler.h:616
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
@ TextureEffectPause
Definition: OgreExternalTextureSource.h:62
int mBaseValueInt
Definition: OgreAnimable.h:94
static const Vector3 NEGATIVE_UNIT_X
Definition: OgreVector.h:260
static void splitBaseFilename(const Ogre::String &fullName, Ogre::String &outBasename, Ogre::String &outExtention)
Method for splitting a filename into the base name and extension.
void setSplitPassesByLightingType(bool split)
Sets whether or not the queue will split passes by their lighting type, ie ambient,...
@ PT_PERSPECTIVE
Definition: OgreFrustum.h:65
@ SPC_LIGHTPOSITION_WORLD_SPACE4
Definition: OgreShaderParameter.h:224
@ TU_UAV
Texture can be bound as an Unordered Access View (imageStore/imageRead/glBindImageTexture in GL jargo...
Definition: OgreTexture.h:72
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
Shader model 2 profile target.
Definition: OgreTerrainMaterialGeneratorA.h:67
Plane plane
Definition: OgreStaticFaceGroup.h:107
ResourceAllocatedObject CompositorInstAlloc
Definition: OgreMemoryAllocatorConfig.h:118
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreD3D11HLSLProgram.h:290
virtual ID3D11Texture2D * getSurface(uint index=0) const
Command object for setting backwards compatibility.
Definition: OgreD3D11HLSLProgram.h:76
FaceGroupType fType
Definition: OgreStaticFaceGroup.h:71
void showBoundingBoxes(bool bShow)
Allows all bounding boxes of scene nodes to be displayed.
const Vector3 & getPrevDerivedCP() const
Get the previous position (centerpoint) of the portal in world coordinates.
Definition: OgrePortalBase.h:145
ConstMapIterator< NodeTrackList > NodeTrackIterator
Definition: OgreAnimation.h:376
void setMaterialSpecular(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
const ObjectMap & getAttachedObjects() const
The MovableObjects attached to this node.
Definition: OgreSceneNode.h:242
Vector(T _x, T _y, T _z)
Definition: OgreVector.h:314
ColourValue mColour
Current colour.
Definition: OgreParticle.h:90
static CmdRotationSpeedRangeStart msRotationSpeedRangeStartCmd
Definition: OgreRotationAffector.h:114
std::vector< RenderSystem * > RenderSystemList
Definition: OgreRoot.h:48
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
void setAlwaysUpdateMainSkeleton(bool update)
The skeleton of the main entity will be updated even if the an LOD entity is being displayed.
Definition: OgreEntity.h:841
PbsMaterial(const PbsMaterial &obj)
virtual void detachDepthBuffer()
static DistanceLodSphereStrategy & getSingleton(void)
Get the singleton instance.
virtual void textureUnitStateEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const TextureUnitState *textureUnit)
void setNamedConstant(const String &name, const ColourValue &colour)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
Specialisation of PageContentCollection which just provides a simple list of PageContent instances.
Definition: OgreSimplePageContentCollection.h:67
virtual void resetWindow(void)
Cancel view window.
virtual void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
static const IdString UvCount7
Definition: OgreHlmsPropertyHelper.h:64
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
void addTemplateSubRenderState(SubRenderState *subRenderState)
Add a template sub render state to this render state.
static void setDefaultQueryFlags(uint32 flags)
Set the default query flags for all future MovableObject instances.
Definition: OgreMovableObject.h:418
virtual Real getInitialWidth(size_t chainIndex) const
Get the starting ribbon width in world units.
bsp_brushside_t * mBrushSides
Definition: OgreQuake3Level.h:160
const VisibleObjectsBoundsInfo & getVisibleObjectsBoundsInfo(const Camera *cam) const
Returns a visibility boundary box for a specific camera.
virtual void _updateSceneGraph(Camera *cam)
Internal method for updating the scene graph ie the tree of SceneNode instances managed by this class...
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
MeshLodGenerator()
Generates the Lod levels for a mesh.
bool mouseReleased(const MouseButtonEvent &evt)
Processes mouse releases.
virtual void setAnimationState(const AnimationStateSet &animSet)
Changes the state of the skeleton to reflect the application of the passed in collection of animation...
virtual void setLoadRadius(Real sz)
Set the loading radius.
@ ACT_SPOTLIGHT_WORLDVIEWPROJ_MATRIX
The view/projection matrix of a given spotlight projection frustum, combined with the current world m...
Definition: OgreGpuProgramParams.h:994
void updatePortalsZoneData(void)
Update the zone data for each portal.
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
void skip(long count)
Skip a defined number of bytes.
virtual void clearResults(void)
Clears the results of the last query execution.
@ VET_COLOUR
alias to more specific colour type - use the current rendersystem's colour packing
Definition: OgreHardwareVertexBuffer.h:126
void load(DataStreamPtr &stream)
Load direct from stream.
Specialises the SceneQuery class for querying within an axis aligned box.
Definition: OgreSceneQuery.h:265
Factory for creating TextAreaOverlayElement instances.
Definition: OgreOverlayElementFactory.h:99
void _setDepthBufferCheckEnabled(bool enabled=true)
Sets whether or not the depth buffer check is performed before a pixel write.
std::pair< size_t, size_t > VertexSplit
Definition: OgreTangentSpaceCalc.h:52
virtual Camera * createCamera(const String &name)
Creates a specialized PCZCamera.
bool hasSeparateSceneBlending() const
Definition: OgreD3D9VideoMode.h:39
const Vector4f & getFogParams(void) const
@ PF_R16G16B16A16_UINT
64-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int), 16 bits green (unsigned...
Definition: OgrePixelFormat.h:160
virtual ~GLSLESLinkProgram(void)
PropertyAbstractNode(AbstractNode *ptr)
String getDeviceName() const
gets the device name for render system
Definition: OgreRenderSystemCapabilities.h:635
Affine3(const Vector3 &position, const Quaternion &orientation, const Vector3 &scale=Vector3::UNIT_SCALE)
Building a Affine3 from orientation / scale / position.
Definition: OgreMatrix4.h:325
bool frameEnded(const FrameEvent &evt)
Called just after a frame has been rendered.
Viewport(Camera *camera, RenderTarget *target, Real left, Real top, Real width, Real height, int ZOrder)
The usual constructor.
void setAntialiasColour(bool enabled)
Sets whether or not the colour of this font is antialiased as it is generated from a true type font.
Definition: OgreFont.h:397
bool affectsZone(PCZone *zone)
Check if a zone is in the list of zones affected by the light.
VertexReductionMethod reductionMethod
Reduction method to use.
Definition: OgreLodConfig.h:98
IDirect3DVertexDeclaration9 * getD3DVertexDeclaration(VertexDeclaration *globalDeclaration, bool useGlobalInstancingVertexBufferIsAvailable)
Gets the D3D9-specific vertex declaration.
Abstract factory class, archive codec plugins can register concrete subclasses of this.
Definition: OgreArchiveFactory.h:60
Command object for billboard rotation type (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:77
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
@ SDLK_UP
Definition: OgreInput.h:124
void setShadowUseInfiniteFarPlane(bool enable)
Sets whether we should use an inifinite camera far plane when rendering stencil shadows.
Definition: OgreSceneManager.h:2994
IteratorWrapper< T, IteratorType, typename T::value_type >::ValueType ValueType
Definition: OgreIteratorWrapper.h:139
DXGI_OUTPUT_DESC getDisplayMode() const
@ IM_NONE
Definition: OgreCompositionTargetPass.h:56
Slider * createThickSlider(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real valueBoxWidth, Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps)
ColourValue getColourAt(size_t x, size_t y, size_t z) const
Get colour value from a certain location in the PixelBox.
unsigned int getLastQuerysPixelcount()
Manages the organisation and rendering of a 'scene' i.e.
Definition: OgreSceneManager.h:158
void doSet(void *target, const String &val)
void unloadResourceGroup(const String &name, bool reloadableOnly=true)
Unloads a resource group.
std::pair< MovableObject *, SceneQuery::WorldFragment * > SceneQueryMovableObjectWorldFragmentPair
Definition: OgreSceneQuery.h:483
virtual uint32 getHeight(void) const
@ PF_BC4_UNORM
DDS (DirectDraw Surface) BC4 format (unsigned normalised)
Definition: OgrePixelFormat.h:196
void mergeIntoBounds(long x, long y, const Vector3 &pos)
Merge a point (relative to terrain node) into the local bounds, and that of children if applicable.
size_t getNumFaces() const
Return the number of faces this texture has.
bool getOptionValues(const String &key, StringVector &refValueList)
Method for getting all possible values for a specific option.
virtual void read(Radian *angle, size_t count=1)
void setMaterial(const MaterialPtr &material)
Sets the name of the Material to be used.
const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
void _copySharedParams()
Update the parameters by copying the data from the shared parameters.
static bool parse(const String &str, float &v)
This is the target render state.
Definition: OgreShaderRenderState.h:133
virtual void removeUnreferencedResources(bool reloadableOnly=true)
Remove all resources which are not referenced by any other object.
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
Degree & operator-=(const Degree &d)
Definition: OgreMath.h:133
virtual void shadowTextureReceiverPreViewProj(Light *light, Frustum *frustum)
This event occurs just before the view & projection matrices are set for re-rendering a shadow receiv...
Definition: OgreSceneManager.h:337
String doGet(const void *target) const
@ M_ANIMATION_POSE_KEYFRAME
Definition: OgreMeshFileFormat.h:200
const PlaneBoundedVolumeList & getVolumes() const
Gets the volume which is being used for this query.
virtual uint32 getColourDepth(void) const
@ PF_X8B8G8R8
32-bit pixel format, 8 bits for blue, 8 bits for green, 8 bits for red like Ogre::PF_A8B8G8R8,...
Definition: OgrePixelFormat.h:109
virtual Node * removeChild(unsigned short index)
Drops the specified child from this node.
unsigned short getNextIndex(void) const
Gets the highest index which has already been set, plus 1.
Definition: OgreHardwareVertexBuffer.h:561
PixelFormat
The pixel format used for images, textures, and render surfaces.
Definition: OgrePixelFormat.h:50
void setRenderSystem(RenderSystem *rs)
Notifies all SceneManagers of the destination rendering system.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
virtual ~CodecData()
Definition: OgreCodec.h:66
const Plane & getSplitPlane(void) const
Returns details of the plane which is used to subdivide the space of his node's children.
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const
Default shadow camera setup.
Pose(ushort target, const String &name=BLANKSTRING)
Constructor.
void _setCullingMode(CullingMode mode)
Sets the culling mode for the render system based on the 'vertex winding'.
int brush_start
Definition: OgreQuake3Types.h:157
Listener()
Definition: OgreRenderSystem.h:1025
void setCameraRelativeRendering(bool rel)
Set whether to use camera-relative co-ordinates when rendering, ie to always place the camera at the ...
Definition: OgreSceneManager.h:3436
static size_t getNumElemBits(PixelFormat format)
Returns the size in bits of an element of the given pixel format.
Basic progress bar widget.
Definition: OgreTrays.h:689
VectorIterator< BoneList > BoneIterator
Definition: OgreSkeleton.h:164
DefaultIntersectionSceneQuery(SceneManager *creator)
@ PF_R16G16B16_SNORM
48-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:226
void clearQueue()
Clears the internal buffer.
void findNodesIn(const PlaneBoundedVolume &volume, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *start=0)
Recurses the PCZTree, adding any nodes intersecting with the volume into the given list.
bool isBorderBack(const OctreeNode &root) const
Gets whether this cell is at the back of the given root cell.
Definition: OgreVolumeOctreeNode.h:276
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
virtual ~ScriptCompilerManager()
Definition: OgrePrerequisites.h:374
unsigned short getSource(void) const
Gets the vertex buffer index from where this element draws it's values.
Definition: OgreHardwareVertexBuffer.h:192
bool operator<=(const Radian &r) const
Definition: OgreMath.h:90
bool validateMaterial(const String &schemeName, const String &materialName, const String &groupName=RGN_DEFAULT)
Validate specific material scheme.
SceneQueryResultMovableList movables
List of movable objects in the query (entities, particle systems etc)
Definition: OgreSceneQuery.h:206
virtual ID3D11RenderTargetView * getRenderTargetView(uint index=0) const =0
void getTerrainVector(const Vector3 &inVec, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on the alignment options.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
void setAmbientLight(const ColourValue &colour)
Sets the ambient light level to be used for the scene.
void _unload(void)
Internal method for unloading this object as part of Material::unload.
@ BF_SUBTRACT
Definition: OgreHlmsPbsMaterial.h:54
Holds the results of a scene query.
Definition: OgreSceneQuery.h:204
@ ID_PARAM_INDEXED
Definition: OgreScriptCompiler.h:603
virtual unsigned short getNumViewports(void) const
Returns the number of viewports attached to this target.
virtual void frameStart(Real timeSinceLastFrame)=0
Called when the frame starts.
~ProgramManager()
Class destructor.
const String & getName() const
Get the name of the property.
Definition: OgreProperty.h:200
void setUpdateBoundingBoxFromSkeleton(bool update)
If true, the skeleton of the entity will be used to update the bounding box for culling.
void setTessellationHullProgramConstantFloatCount(ushort c)
The number of floating-point constants tessellation Hull programs support.
Definition: OgreRenderSystemCapabilities.h:786
size_t arraySize
Length of array.
Definition: OgreGpuProgramParams.h:153
bool customBlend
Definition: OgreQuake3Shader.h:82
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:79
void _setCullingMode(CullingMode mode)
Sets the culling mode for the render system based on the 'vertex winding'.
void removeListener(Listener *lis)
Remove a listener on this resource.
void doSet(void *target, const String &val)
@ ID_CLAMP
Definition: OgreScriptCompiler.h:715
Manager for rendertextures and PBuffers (offscreen rendering contexts)
Definition: OgreGLPBRenderTexture.h:56
Definition: OgreQuake3Types.h:185
IlluminationRenderStage
Describes the stage of rendering when performing complex illumination.
Definition: OgreSceneManager.h:191
void setFragmentProgramParameters(GpuProgramParametersSharedPtr params)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void execute(SceneQueryListener *listener)
See SceneQuery.
Definition: OgrePCZoneFactory.h:74
Exception(const Exception &rhs)
Copy constructor.
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLProgram.
bool requiresTextureFlipping() const
Definition: OgreD3D9RenderWindow.h:74
ushort getTessellationHullProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:801
bool _getBuffersMarkedForAnimation(void) const
Are buffers already marked as vertex animated?
Definition: OgreEntity.h:783
@ PT_RENDERSCENE
Render the scene or part of it.
Definition: OgreCompositionPass.h:58
void linkWorldGeometryToResourceGroup(const String &group, const String &worldGeometry, SceneManager *sceneManager)
Associates some world geometry with a resource group, causing it to be loaded / unloaded with the res...
virtual ~RenderableListener()
Definition: OgreRenderQueue.h:107
bool end(void)
Returns true when at the end of the particle list.
void install()
Perform the plugin initial installation sequence.
virtual void setWindow(Real left, Real top, Real right, Real bottom)
Sets the viewing window inside of viewport.
Abstract class for loading scenes from a file (DataStream).
Definition: OgreSceneLoader.h:18
@ FFP_PS_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:63
ushort getComputeProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:863
Codec specialized in loading ASTC (ARM Adaptive Scalable Texture Compression) images.
Definition: OgreASTCCodec.h:47
Definition: OgrePrerequisites.h:339
SubMesh * getSubMesh(void)
Accessor method to read mesh data.
std::vector< LodLevel > LodLevelList
Lod strategy to use.
Definition: OgreLodConfig.h:132
void setLightClipPlanesEnabled(bool enabled)
Sets whether or not this pass will be clipped by user clips planes bounding the area covered by the l...
Definition: OgrePass.h:1554
void addTriangle(const Vector3 &v0, const Vector3 &n0, const Vector3 &v1, const Vector3 &n1, const Vector3 &v2, const Vector3 &n2)
Adds a triangle to the mesh with reusing already existent vertices via their index.
Definition: OgreVolumeMeshBuilder.h:297
static void writeLayerDeclaration(const TerrainLayerDeclaration &decl, StreamSerialiser &ser)
Utility method to write a layer declaration to a stream.
virtual bool getUseSimpleOptimalAdjust() const
Gets whether or not to use a slightly simpler version of the camera near point derivation (default is...
Definition: OgreShadowCameraSetupLiSPSM.h:222
static ParticleSystemManager & getSingleton(void)
Get the singleton instance.
virtual unsigned short _getSchemeIndex(const String &name)
Internal method - returns index for a given material scheme name.
Box(uint32 l, uint32 t, uint32 ff, uint32 r, uint32 b, uint32 bb)
Define a box from left, top, front, right, bottom and back coordinates.
Definition: OgreCommon.h:739
static const String & getTypeName(PropertyType theType)
Get a string name of a property type.
int vBlankMissCount
Definition: OgreRenderTarget.h:92
Real getOverlayWidth() const
void close(void)
Close the stream; this makes further operations invalid.
virtual void read(bool *val, size_t count=1)
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
GeometryAllocatedObject ProgMeshAlloc
Definition: OgreMemoryAllocatorConfig.h:137
GL3PlusHardwareOcclusionQuery()
Default object constructor.
void _markBuffersUsedForAnimation(void)
Mark just this vertex data as animated.
@ LBX_MODULATE
multiply source1 and source2 together
Definition: OgreBlendMode.h:81
~ImportData()
Definition: OgreTerrain.h:488
void swap(DualQuaternion &other)
Exchange the contents of this dual quaternion with another.
Definition: OgreDualQuaternion.h:135
uint16 getMinBatchSize() const
Get the minimum size in vertices along one side of a batch.
RibbonTrail * createRibbonTrail()
Create a RibbonTrail, an object which you can use to render a linked chain of billboards which follow...
void setNumVertexTextureUnits(ushort n)
Set the number of vertex texture units supported.
Definition: OgreRenderSystemCapabilities.h:724
Definition: OgreD3D9Mappings.h:42
void setLodBias(Real factor=1.0)
Sets the level-of-detail factor for this Camera.
@ ID_VERTEXCOLOUR
Definition: OgreScriptCompiler.h:619
virtual void remove(const String &filename)
Delete a named file.
Definition: OgreD3D9TextureManager.h:37
@ ID_SINE
Definition: OgreScriptCompiler.h:770
void SetColumn(size_t iCol, const Vector3 &vec)
Definition: OgreMatrix3.h:112
Definition: OgrePCZone.h:296
VectorIterator(typename T::iterator start, typename T::iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:192
void setValueCaption(const Ogre::DisplayString &caption)
You can use this method to manually format how the value is displayed.
Definition: OgreTrays.h:532
@ SPC_LIGHTDIRECTION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:171
SharedPtr< TextureAtlasTable > TextureAtlasTablePtr
Definition: OgreShaderExTextureAtlasSampler.h:68
Specialises the SceneQuery class for querying within a plane-bounded volume.
Definition: OgreSceneQuery.h:299
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
PixelBox(const Box &extents, PixelFormat pixelFormat, void *pixelData=0)
Constructor providing extents in the form of a Box object.
Definition: OgrePixelFormat.h:353
virtual void _updateRenderQueue(RenderQueue *queue)=0
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
ID3D11DeviceN * operator->() const
Definition: OgreD3D11Device.h:70
bool isUsed()
Definition: OgreShaderParameter.h:371
@ ID_SCALE_X
Definition: OgreScriptCompiler.h:768
RenderSystemCapabilitiesSerializer()
default constructor
std::map< String, PropertyBase * > PropertyMap
Definition: OgreProperty.h:305
~DynLibManager()
Default destructor.
D3D11HLSLProgram * _getBoundFragmentProgram() const
@ RSC_AUTOMIPMAP_COMPRESSED
GL ES2/ES3 does not support generating mipmaps for compressed formats in hardware.
Definition: OgreRenderSystemCapabilities.h:80
bsp_shader_t * mShaders
Definition: OgreQuake3Level.h:149
void setAlphaOperation(LayerBlendOperationEx op, LayerBlendSource source1=LBS_TEXTURE, LayerBlendSource source2=LBS_CURRENT, Real arg1=1.0, Real arg2=1.0, Real manualBlend=0.0)
Sets the alpha operation to be applied to this texture.
Matrix3 Inverse(Real fTolerance=1e-06f) const
void setDisplaySkeleton(bool display)
Tells the Entity whether or not it should display it's skeleton, if it has one.
const ColourValue & getClearColour() const
Get the viewport clear colour (defaults to 0,0,0,0)
void setManuallyControlled(bool manuallyControlled)
Sets whether or not this bone is manually controlled.
virtual SceneManager * getSceneManager() const
Retrieve the SceneManager being used for this group.
Definition: OgreTerrainGroup.h:142
size_t getCurrentIndexCount(void) const
Gets the current index count based on the current subdivision level.
const Any & _getRenderSystemData() const
Definition: OgreGpuProgramParams.h:574
@ TLSS_HEIGHT
Height information for the detail texture.
Definition: OgreTerrainMaterialGenerator.h:62
MeshSerializerListener * getListener()
Gets the listener used to control mesh loading through the serializer.
void setColourWriteEnabled(bool red, bool green, bool blue, bool alpha)
Sets which colour buffer channels are enabled for writing for each Pass.
void setKeepVelocity(bool keepVelocity)
Set flag which detemines whether particle speed is changed.
void clearCache()
Clears all cached values.
Portal datastructure for connecting zones.
Definition: OgrePortal.h:52
D3D11VideoMode(DXGI_OUTPUT_DESC d3ddm, DXGI_MODE_DESC ModeDesc)
PointerType peekNextPtr() const
Returns a pointer to the next(=current) element in the collection, without advancing to the next afte...
Definition: OgreIteratorWrapper.h:164
std::vector< float > FloatConstantList
Definition of container that holds the current float constants.
Definition: OgreGpuProgramParams.h:395
virtual void copyFrom(const SubRenderState &rhs)
Animation * getAnimation(const String &name) const
Looks up an Animation object previously created with createAnimation.
virtual SceneNode * createSceneNode(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void clearChain(size_t chainIndex)
Remove all elements of a given chain (but leave the chain intact).
EventType
Definition: OgreInput.h:32
TextureUsage
Enum identifying the texture usage.
Definition: OgreTexture.h:49
void transform(const Affine3 &m)
Transforms the box according to the affine matrix supplied.
Definition: OgreAxisAlignedBox.h:473
The root class of the Ogre system.
Definition: OgreRoot.h:66
ResourceManagerIterator getResourceManagerIterator()
Get an iterator over the registered resource managers.
Definition: OgreResourceGroupManager.h:897
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLES2FBOMultiRenderTarget.h:48
EnvMapType
Enumeration to specify type of envmap.
Definition: OgreTextureUnitState.h:268
const String & getTemplate()
AutoConstantDefinition(AutoConstantType _acType, const String &_name, size_t _elementCount, ElementType _elementType, ACDataType _dataType)
Definition: OgreGpuProgramParams.h:1254
@ ID_ONE_MINUS_DEST_COLOUR
Definition: OgreScriptCompiler.h:626
@ SDLK_RETURN
Definition: OgreInput.h:98
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
const Ogre::ColourValue & getBackgroundColour()
Definition: OgreDotSceneLoader.h:35
void _updateRenderQueue(RenderQueue *queue)
Overridden from OverlayElement.
void setCalcMode(CalcMode calcMode)
Set the fog calculation mode.
Definition: OgreShaderFFPFog.h:110
Command object for billboard type (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:63
virtual PixelFormat suggestPixelFormat() const
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMem...
Definition: OgreRenderTarget.h:338
void setPointParameters(bool attenuation, const Vector4f ¶ms)
void _update(bool updateChildren, bool parentHasChanged)
Internal method to update the Node.
void operator+=(IdString idString)
Definition: OgreIdString.h:207
const ColourValue & getDiffuse(void) const
Gets the diffuse colour reflectance of the pass.
TextureUnitState * textureUnitState
Definition: OgreHlmsPbsMaterial.h:123
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreRectangle2D.h:91
const String & getVertexProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1307
Definition: OgrePrerequisites.h:331
void addError(uint32 code, const String &file, int line, const String &msg="")
Adds the given error to the compiler's list of errors.
void doSet(void *target, const String &val)
int offset
Definition: OgreQuake3Types.h:224
@ PF_DXT3
DDS (DirectDraw Surface) DXT3 format.
Definition: OgrePixelFormat.h:91
~ManualObjectFactory()
Definition: OgreManualObject.h:584
virtual void destroyAllCameras(void)
Removes (and destroys) all cameras from the scene.
Vector3 getDirection(void) const
Gets the camera's direction.
static void TensorProduct(const Vector3 &rkU, const Vector3 &rkV, Matrix3 &rkProduct)
GeneralAllocatedObject CodecAlloc
Definition: OgreMemoryAllocatorConfig.h:117
Command object for setting target assembler.
Definition: OgreD3D9HLSLProgram.h:55
void detachAllObjects(void)
Detaches all objects attached to this node.
void bindToShader(D3D11HLSLProgram *boundVertexProgram, VertexBufferBinding *binding)
PortalBase(const String &name, const PORTAL_TYPE type=PORTAL_TYPE_QUAD)
Constructor.
void _releaseManualHardwareResources() override
Notifies the movable object that hardware resources were lost.
virtual bool queryResult(MovableObject *object)=0
Called when a MovableObject is returned by a query.
Definition: OgreImGuiOverlay.h:17
Real z
Definition: OgreDualQuaternion.h:166
A factory that enables creation of FFPTexturing instances.
Definition: OgreShaderFFPTexturing.h:236
void _applyBaseKeyFrame(const VertexPoseKeyFrame *base)
CPreprocessor()
Create an empty preprocessor object.
Definition: OgreGLSLPreprocessor.h:442
Real fogDistance
Definition: OgreQuake3Shader.h:119
void logMessage(LogMessageLevel lml, const String &message, bool maskDebug=false)
Log a message to the default log (signature for backward compatibility).
Definition: OgreLogManager.h:130
void registerCustomCompositionPass(const String &name, CustomCompositionPass *customPass)
Register a custom composition pass.
bool operator!=(const Vector &v) const
Definition: OgreVector.h:384
T * iterator
Definition: OgreSmallVector.h:148
unsigned long size
Definition: OgreSearchOps.h:45
void * mEntities
Definition: OgreQuake3Level.h:125
@ SBF_ONE_MINUS_DEST_ALPHA
1 - SBF_DEST_ALPHA
Definition: OgreBlendMode.h:239
void doSet(void *target, const String &val)
Plugin instance for OctreeZone.
Definition: OgreOctreeZonePlugin.h:48
AxisAlignedBox getWorldAABB() const
Get the AABB (world coords) of the entire terrain.
bool useBackgroundQueue
Whether you want to process it immediatelly on main thread or you want to use Ogre::WorkQueue.
Definition: OgreLodConfig.h:150
virtual bool _shouldRebindBackBuffer()
Definition: OgreD3D11RenderWindow.h:77
virtual void tangent(float x, float y, float z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
static OGRE_FORCE_INLINE void advanceRawPointer(const T *&ptr, ptrdiff_t offset)
Advance the pointer with raw offset.
Definition: OgreOptimisedUtil.h:229
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
MouseWheelEvent wheel
Definition: OgreInput.h:89
Profile * getActiveProfile() const
Get the active profile.
Definition: OgreTerrainMaterialGenerator.h:244
const String & getShadowReceiverFragmentProgramName(void) const
Gets the name of the fragment program used by this pass when rendering shadow receivers.
unsigned short getTextureUnitStateIndex(const TextureUnitState *state) const
Retrieve the index of the Texture Unit State in the pass.
const_reverse_iterator rbegin() const
Definition: OgreCommon.h:430
Content getContent() const
Return the content of this parameter.
Definition: OgreShaderParameter.h:352
void initialise(bool headerOnly=false)
Utility function read the header and set up pointers.
static void scale(const PixelBox &src, const PixelBox &dst, Filter filter=FILTER_BILINEAR)
Scale a 1D, 2D or 3D image volume.
void resetToInitialState(void)
Resets the position / orientation / scale of this node to it's initial state, see setInitialState for...
virtual void notifyResourcesReleased(bool forResizeOnly)
Notification before resources have been destructed.
@ ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED_ARRAY
Array of light specular colours scaled by light power (count set by extra param)
Definition: OgreGpuProgramParams.h:881
void _beginFrame()
Signifies the beginning of a frame, i.e.
@ ID_COMPOSITOR
Definition: OgreScriptCompiler.h:791
Specialized SceneManager that uses Portal-Connected-Zones to divide the scene spatially.
Definition: OgrePCZSceneManager.h:63
Specialisation of ZipArchiveFactory for embedded Zip files.
Definition: OgreZip.h:71
bsp_vis_t * mVis
Definition: OgreQuake3Level.h:155
void addListener(ProfileSessionListener *listener)
virtual void write(const AxisAlignedBox *aabb, size_t count=1)
void extractUniformsFromGLSL(const String &src, GpuNamedConstants &constantDefs, const String &filename)
Populate a list of uniforms based on GLSL source and store them in GpuNamedConstants.
virtual Real transformBias(Real factor) const
Transform LOD bias so it only needs to be multiplied by the LOD value.
const String & getMovableType(void) const override
Returns the type name of this object.
const ColourValue & getCompositeMapAmbient() const
Get the composite map ambient light to use.
Definition: OgreTerrain.h:1921
@ M_SUBMESH_TEXTURE_ALIAS
Definition: OgreMeshFileFormat.h:83
virtual void postExtraThreadsStarted()=0
Tell the rendersystem to perform any tasks it needs to directly after other threads which might acces...
Radian mRotationSpeed
Speed of rotation in radians/sec.
Definition: OgreParticle.h:96
virtual bool eof(void) const =0
Returns true if the stream has reached the end.
PatchSurface * patchSurf
Patch surface (only applicable when fType = FGT_PATCH)
Definition: OgreStaticFaceGroup.h:110
@ PF_A8R8G8B8
32-bit pixel format, 8 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:77
Real y
Definition: OgreDualQuaternion.h:166
virtual bool setOption(const String &strKey, const void *pValue)
Method for setting a specific option of the Scene Manager.
Definition: OgreSceneManager.h:1748
bool isBatchUnused(void) const
Returns true if it no instanced entity has been requested or all of them have been removed.
Definition: OgreInstanceBatch.h:251
uint16 getGlobalColourMapSize() const
Get the size of the global colour map (if used)
Definition: OgreTerrain.h:1389
virtual void writeSourceCode(std::ostream &os, Program *program)
The class deciding on whether to split an octree node or not when building the octree.
Definition: OgreVolumeOctreeNodeSplitPolicy.h:51
bool prepare(StreamSerialiser &stream)
Prepare data - may be called in the background.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this ResourceManager.
Definition: OgreResourceManager.h:396
virtual void worldGeometryStageEnded(void)
This event is fired when a stage of loading linked world geometry has been completed.
Definition: OgreResourceGroupManager.h:189
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
VertexMorphKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
AxisAlignedBox mOctreeWorldAABB
Octree-specific world bounding box (only includes attached objects, not children)
Definition: OgreOctreeZone.h:248
bool operator!=(const LayerBlendModeEx &rhs) const
Definition: OgreBlendMode.h:194
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
static Ogre::Ray screenToScene(Ogre::Camera *cam, const Ogre::Vector2 &pt)
Converts a 2D screen coordinate (in pixels) to a 3D ray into the scene.
virtual ~TerrainLodManager()
bool hwGammaWrite
Definition: OgreCompositionTechnique.h:75
reference front()
Definition: OgreCommon.h:473
int face_count
Definition: OgreQuake3Types.h:156
String getName() const
See ParticleEmitterFactory.
Definition: OgrePointEmitterFactory.h:48
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:78
bool checkExtension(const String &ext) const
Check if an extension is available.
const Vector3 & getCorner(int index) const
Get the coordinates of one of the portal corners in local space.
Definition: OgrePortalBase.h:122
virtual bool isLoaded(void) const
Returns true if the Resource has been loaded, false otherwise.
Definition: OgreResource.h:324
ID3D11Buffer * getD3DBuffer(void)
Get the D3D-specific buffer.
Definition: OgreD3D11HardwareBuffer.h:83
void load(const String &filename)
Prepare and load the terrain in one simple call from a standalone file.
Real getTimeFactor(void) const
@ ACT_WORLD_MATRIX_ARRAY
The current array of world matrices, used for blending.
Definition: OgreGpuProgramParams.h:701
static bool isDepth(PixelFormat format)
Shortcut method to determine if the format is a depth format.
const float * getFloatPointer(size_t pos) const
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:552
void unbindGpuProgram(GpuProgramType gptype)
Unbinds GpuPrograms of a given GpuProgramType.
void setFreeOnClose(bool free)
Sets whether or not to free the encapsulated memory on close.
Definition: OgreDataStream.h:473
void setTextureAddressingMode(Ogre::TextureAddressingMode tam)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:681
size_t getNumFaces(void) const
Get the number of faces of the image.
virtual void _alertVisibleObjects(void)
Alerts each unculled object, notifying it that it will be drawn.
size_t indexBufferSize
Offset from the start of the indexBuffer.
Definition: OgreLodBuffer.h:49
ResourcePtr prepare(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, bool backgroundThread=false)
Generic prepare method, used to create a Resource specific to this ResourceManager without using one ...
void setOrthoWindow(Real w, Real h)
Sets the orthographic window settings, for use with orthographic rendering only.
void clear()
Clear all user objects from this binding.
friend std::ostream & operator<<(std::ostream &o, const Plane &p)
Definition: OgrePlane.h:249
size_t read(void *buf, size_t count)
Read data from cache to 'buf' (maximum 'count' bytes).
Definition: OgreDataStream.h:99
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:60
virtual void setEnabled(bool b)
TextureAtlasSampler()
Class default constructor.
size_t elementCount
The number of elements per individual entry in this constant Used in case people used packed elements...
Definition: OgreGpuProgramParams.h:1275
Virtual interface of the stereo driver.
Definition: OgreD3D9StereoDriverImpl.h:41
void uninstall()
Perform the final plugin uninstallation sequence.
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGL3PlusFBORenderTexture.h:58
Represents the total timing information of a profile since profiles can be called more than once each...
Definition: OgreProfiler.h:97
AnimableValuePtr createAnimableValue(const String &valueName)
Create a reference-counted AnimableValuePtr for the named value.
virtual void create(const String &name, unsigned int widthPt, unsigned int heightPt, bool fullScreen, const NameValuePairList *miscParams)=0
Creates & displays the new window.
Transform sub render state implementation of writing to GBuffers.
Definition: OgreShaderExGBuffer.h:50
std::vector< IndexData * > LODFaceList
Definition: OgreSubMesh.h:111
bool destroyLinkProgram(GLSLESProgramCommon *linkProgram)
Destroy and remove the linker program from the local cache.
uint32 getLightMask() const
Gets the light mask controlling which lights are used for this pass.
void _setTexture(size_t unit, bool enabled, const TexturePtr &texPtr)
Sets the texture to bind to a given texture unit.
@ SKELETON_ANIMATION_TRACK_KEYFRAME
Definition: OgreSkeletonFileFormat.h:96
std::vector< LodLevel * > LodLevelList
Definition: OgreTerrainQuadTreeNode.h:149
GLTextureManager(GLRenderSystem *renderSystem)
const String & getTarget(void) const
Gets the shader target to compile down to, e.g.
Definition: OgreD3D9HLSLProgram.h:172
void destroyAllInstanceManagers(void)
void setSeparateSceneBlending(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor, const SceneBlendFactor sourceFactorAlpha, const SceneBlendFactor destFactorAlpha)
Allows very fine control of blending every Pass with the existing contents of the scene,...
PixelFormat getDesiredFormat(void) const
Returns the desired pixel format for the texture surface.
virtual void loadAllTerrains(bool synchronous=false)
Load any terrain instances that have been defined but not loaded yet.
RenderTarget * getRenderTarget(const String &name)
Get the render target for a given render texture name.
const Quaternion & getOrientation(void) const
Returns the camera's current orientation.
int addPortalCullingPlanes(PortalBase *portal)
Calculate extra culling planes from portal and camera origin and add to list of extra culling planes.
Structure used to keep track of named atomic counter uniforms in the linked program object.
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:45
virtual String getType() const
Returns the type of the codec as a String.
uint32 getClearStencil() const
Get the viewport clear stencil value (defaults to 0)
const GpuConstantDefinition & getConstantDefinition(const String &name) const
Get a specific GpuConstantDefinition for a named parameter.
virtual ~StreamSerialiser()
void invalidateMaterialIlluminationPasses(const String &schemeName, const String &materialName, const String &groupName=RGN_DEFAULT)
Invalidate specific material scheme.
@ LB_BlendLuminosity
Definition: OgreShaderExLayeredBlending.h:78
void setAddressingMode(TextureAddressingMode tam)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:112
ParameterType paramType
Definition: OgreStringInterface.h:70
@ ID_TRIANGLE
Definition: OgreScriptCompiler.h:771
Definition: OgreLodOutputProviderMesh.h:43
virtual const String & getTypeName(void) const
See OverlayElement.
std::vector< IndexBufferInfo > IndexBufferInfoList
Definition: OgreLodData.h:147
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
OrientationMode
Specifies orientation mode.
Definition: OgreFrustum.h:49
void addContentCollectionFactory(PageContentCollectionFactory *f)
Add a new PageContentCollectionFactory implementation.
bool getColourWriteEnabled(void) const
Determines if colour buffer writing is enabled for this pass i.e.
void handleGenerateMaterialResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Handler for GenerateMaterial.
@ RSC_RTT_MAIN_DEPTHBUFFER_ATTACHABLE
Supports using the MAIN depth buffer for RTTs.
Definition: OgreRenderSystemCapabilities.h:171
@ SDLK_F7
Definition: OgreInput.h:107
@ ID_SAMPLER_REF
Definition: OgreScriptCompiler.h:869
GpuSharedParameters(const String &name)
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
void unloadAll(bool reloadableOnly=true)
Unloads all resources.
Definition: OgreResourceManager.h:189
void set32BitIndices(bool n32)
Set whether we need 32-bit indices.
Definition: OgreManualObject.h:454
FontType
Enumerates the types of Font usable in the engine.
Definition: OgreFont.h:45
Box(const Vector3i &size)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreCommon.h:751
static const size_t MS_CORNERS_FRONT[4]
To call Marching Squares with a cube on its front.
Definition: OgreVolumeIsoSurface.h:66
LODBucket(Region *parent, unsigned short lod, Real lodValue)
AbstractNodeType type
Definition: OgreScriptCompiler.h:96
virtual void resourceGroupPrepareEnded(const String &groupName)
This event is fired when a resource group finished preparing.
Definition: OgreResourceGroupManager.h:163
const LodLevel * getLodLevel(uint16 lod)
Get the LodLevel information for a given lod.
SharedPtr()
Definition: OgreSharedPtr.h:61
Real getCosTime_0_1(Real x) const
void removeSceneManager(SceneManager *sceneMgr)
Remove a scene manager from the shader generator scene managers list.
int fingerId
Definition: OgreInput.h:75
virtual void setDefaultDimensions(Real width, Real height)
Sets the default dimensions of the billboards in this set.
Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/.
Definition: OgreVolumeIsoSurfaceMC.h:50
static TerrainGlobalOptions * getSingletonPtr(void)
Get the singleton instance.
RenderTexture * getRenderTarget(size_t slice)
Get a render target for this PixelBuffer, or a slice of it.
CSGUnionSource(const Source *a, const Source *b)
Constructor.
uint getSplitCount() const
Get the number of splits.
Definition: OgreShadowCameraSetupPSSM.h:113
bool operator==(const SmallVectorImpl &RHS) const
Definition: OgreSmallVector.h:562
void setBoneDualQuaternions(bool enable)
Definition: OgreInstanceBatchVTF.h:182
BillboardSet * mParentSet
Definition: OgreBillboard.h:87
std::map< String, PagedWorldSectionFactory * > WorldSectionFactoryMap
Definition: OgrePageManager.h:267
A 2D element which contains other OverlayElement instances.
Definition: OgreOverlayContainer.h:57
void shutdownAll(void)
Utility method to control shutdown of the managers.
virtual bool setOption(const String &, const void *)
Sets the given option for the Zone.
bool isStatic() const
Returns true if this batch was set as static.
Definition: OgreInstanceBatchHW.h:98
ScriptLoader * _findScriptLoader(const String &pattern) const
Method used to directly query for registered script loaders.
ShadowRenderable * getLightCapRenderable(void)
Get the light cap version of this renderable.
Definition: OgreShadowCaster.h:91
void lock(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:412
@ PT_REAL
Definition: OgreStringInterface.h:50
static String standardisePath(const String &init)
Method for standardising paths - use forward slashes only, end with slash.
This abstract node represents a variable assignment.
Definition: OgreScriptCompiler.h:170
SharedPtr< Mesh > MeshPtr
Definition: OgrePrerequisites.h:297
virtual bool isStereoEnabled(const String &renderWindowName)
Class which manages blending of both colour and alpha components.
Definition: OgreBlendMode.h:140
Grid2DMode
The 2D grid mode.
Definition: OgreGrid2DPageStrategy.h:48
@ BS_DOWN
Definition: OgreTrays.h:72
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
Factory class for Cg programs.
Definition: OgreCgProgramFactory.h:44
@ VES_NORMAL
Normal, 3 reals per vertex.
Definition: OgreHardwareVertexBuffer.h:97
AbsolutePixelCountLodStrategy()
Default constructor.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:102
bool isLayerParallaxMappingEnabled() const
Whether to support parallax mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:87
void unlock(void)
Releases the lock on this buffer.
virtual GuiHorizontalAlignment getHorizontalAlignment(void) const
Gets the horizontal alignment for this element.
BatchSettings()
Definition: OgreInstanceManager.h:91
@ LBX_SUBTRACT
subtract source2 from source1
Definition: OgreBlendMode.h:93
virtual void loadingComplete(Resource *)
Called whenever the resource finishes loading.
Definition: OgreResource.h:84
void writeScript(const RenderSystemCapabilities *caps, const String &name, String filename)
Writes a RenderSystemCapabilities object to a data stream.
Capabilities
Enum describing the different hardware capabilities we want to check for OGRE_CAPS_VALUE(a,...
Definition: OgreRenderSystemCapabilities.h:76
Real getRadius(void) const
Returns the radius of the sphere.
Definition: OgreSphere.h:68
SimpleRenderable(const String &name)
Named constructor.
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
virtual WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
The handler method every subclass must implement.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
GLenum getCullFace(void) const
Sets the face culling mode.
Definition: OgreGLStateCacheManager.h:206
virtual Real getSquaredViewDepth(const Camera *cam) const =0
Returns the camera-relative squared depth of this renderable.
std::vector< T >::const_iterator const_iterator
Definition: OgrePrerequisites.h:342
OGRE_MUTEX(mGpuProgramChangeMutex)
void defineSurface(void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, PatchSurfaceType pType=PST_BEZIER, size_t uMaxSubdivisionLevel=AUTO_LEVEL, size_t vMaxSubdivisionLevel=AUTO_LEVEL, VisibleSide visibleSide=VS_FRONT)
Sets up the surface by defining it's control points, type and initial subdivision level.
void logWarning(const String &message, bool maskDebug=false)
This is an overloaded member function, provided for convenience. It differs from the above function o...
ConstMapIterator(typename T::const_iterator start, typename T::const_iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:359
void setLightCount(const Vector3i &lightCount)
Set the light count per light type.
void setVertexDeclaration(VertexDeclaration *decl)
int locateWidgetInTray(Widget *widget)
Gets a widget's position in its tray.
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001f, Real linearStart=0.0f, Real linearEnd=1.0f)
Sets the fogging mode applied to each pass.
void destroyResourcePool(ResourcePool *pool)
Destroy a resource pool.
void unload(ResourceHandle handle)
Unloads a single resource by handle.
bool isBufferBound(unsigned short index) const
Gets whether a buffer is bound to the given source index.
void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Calls the destroy method of all registered plugins...
Definition: OgreD3D11TextureManager.h:37
void setDestination(const SharedPtr< ControllerValue< T > > &dest)
Sets the output controller value.
Definition: OgreController.h:172
Real getTime_0_X(Real x) const
@ FFP_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:70
virtual ~HardwareBufferManagerBase()
OverlayElement(const String &name)
Constructor: do not call direct, use OverlayManager::createElement.
void dirty()
Mark the entire terrain as dirty.
static Real parseReal(const String &val, Real defaultValue=0)
Converts a String to a Real.
Definition: OgreStringConverter.h:189
@ SPC_LIGHTPOSITION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:216
@ FFP_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:76
virtual void resourceGroupLoadEnded(const String &groupName)
This event is fired when a resource group finished loading.
Definition: OgreResourceGroupManager.h:191
std::vector< const Chunk * > VecChunk
A list of Chunks.
Definition: OgreVolumeChunk.h:441
String name
Definition: OgreGpuProgramParams.h:1247
virtual void _setDepthBufferCheckEnabled(bool enabled=true)=0
Sets whether or not the depth buffer check is performed before a pixel write.
static LodWorkQueueInjector & getSingleton()
void deleteGLBuffer(GLenum target, GLuint buffer)
Delete an OpenGL buffer of any type.
void defaultOrganisationMode(void)
Setthe sorting / grouping mode for the solids in this group to the default.
Definition: OgreRenderQueueSortingGrouping.h:660
virtual ~ChunkHandler(void)
Destructor.
void setAllParamNames(const Ogre::StringVector ¶mNames)
virtual void setOrigin(const Vector3 &origin)
Sets the origin of the geometry.
Definition: OgreStaticGeometry.h:739
Processes requests.
Definition: OgreLodWorkQueueWorker.h:45
float getHeightAtWorldPosition(Real x, Real y, Real z) const
Get the height data for a given world position (projecting the point down on to the terrain).
static void uninitialized_copy(T1 *I, T1 *E, T2 *Dest)
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest",...
Definition: OgreSmallVector.h:284
Real getSubdivisionFactor(void) const
Gets the current level of subdivision.
void setColourWriteEnabled(bool enabled)
Sets whether or not colour buffer writing is enabled for this Pass.
GpuProgramParameters * getTargetParams() const
Definition: OgreGpuProgramParams.h:633
@ RSC_ALPHA_TO_COVERAGE
Supports Alpha to Coverage (A2C)
Definition: OgreRenderSystemCapabilities.h:163
BuiltinHashFunction
There are some default hash functions used to order passes so that render state changes are minimised...
Definition: OgrePass.h:1588
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
MapSlot
Definition: OgreHlmsPbsMaterial.h:67
@ ACT_INVERSE_WORLDVIEWPROJ_MATRIX
Provides inverse of concatenated world, view and projection matrices.
Definition: OgreGpuProgramParams.h:771
virtual void destroyRenderWindow(const String &name)
Destroys a render window.
size_t getNumVertices(void) const
Get the number of vertices in this buffer.
Definition: OgreHardwareVertexBuffer.h:70
shared_ptr< LodInputProvider > LodInputProviderPtr
Definition: OgreLodPrerequisites.h:67
virtual bool isStereoEnabled(void) const
Indicates whether stereo is currently enabled for this target.
virtual void notifyMaterialSetup(uint32 pass_id, MaterialPtr &mat)
Notification of when a render target operation involving a material (like rendering a quad) is compil...
String doGet(const void *target) const
virtual void setLoadingIntervalMs(uint32 loadingIntervalMs)
Set the interval between the loading of single pages in milliseconds (ms)
bool getQuadCorners(FloatRect &quad) const
Get quad normalised positions [-1;1]x[-1;1].
Definition: OgreCompositionPass.h:296
static const AxisAlignedBox BOX_NULL
Definition: OgreAxisAlignedBox.h:802
static const uint16 CHUNK_VERSION
Definition: OgreTerrainGroup.h:516
virtual void setEmitted(bool emitted)
Set the indication (true/false) to indicate that the emitter is emitted by another emitter.
virtual const String & getType() const
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
uint32 getAdapterNumber()
@ SPC_BINORMAL_WORLD_SPACE
Binormal in world space.
Definition: OgreShaderParameter.h:264
bool intersects(const Sphere &s) const
Tests whether this box intersects a sphere.
Definition: OgreAxisAlignedBox.h:627
D3D11RenderTexture(const String &name, D3D11HardwarePixelBuffer *buffer, uint32 zoffset, D3D11Device &device)
HardwareUniformBufferSharedPtr HardwareCounterBufferSharedPtr
Definition: OgrePrerequisites.h:292
const String & getComputeProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1309
Hashed string.
Definition: OgreIdString.h:95
std::vector< LODBucket * > LODBucketList
list of LOD Buckets in this region
Definition: OgreStaticGeometry.h:399
AdvancedRenderControls(TrayManager *trayMgr, Ogre::Camera *cam)
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:544
size_t size_type
Definition: OgreSmallVector.h:145
bool allowedToVisit(void)
Definition: OgrePCZSceneNode.h:81
const String & getLanguage(void) const
Overridden from GpuProgram.
std::vector< Triangle > TriangleList
Definition: OgreEdgeListBuilder.h:98
void setValue(Real value)
uint32 getDepth() const
Get the depth of this box.
Definition: OgreCommon.h:768
const FontPtr & getFont() const
Definition: OgreTextAreaOverlayElement.h:78
virtual void setHidden(bool hidden)
Hide (or show) the window.
Definition: OgreRenderWindow.h:158
void removeAllChildren(void)
Overridden from Node to remove any reference to octants.
virtual void _collectKeyFrameTimes(std::vector< Real > &keyFrameTimes)
Internal method to collect keyframe times, in unique, ordered format.
virtual ~ProfileInstance(void)
@ ACT_SHADOW_EXTRUSION_DISTANCE
The distance a shadow volume should be extruded when using finite extrusion programs.
Definition: OgreGpuProgramParams.h:960
GPUVendorRule()
Definition: OgreTechnique.h:127
const Semantic & getSemantic() const
Get the semantic of this parameter.
Definition: OgreShaderParameter.h:346
virtual bool setOption(const String &, const void *)=0
Sets the options for the Zone.
virtual bool pullOcclusionQuery(unsigned int *NumOfFragments)=0
Pulls the hardware occlusion query.
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
static UniformParameterPtr createUniform(GpuConstantType type, int index, uint16 variability, const String &suggestedName, size_t size)
void setMaxVertexCount(unsigned int maxVertexCount)
Set the maximum number of vertices that the buffer will hold.
Definition: OgreRenderToVertexBuffer.h:73
void doSet(void *target, const String &val)
Vector operator+(const Vector &b) const
Definition: OgreVector.h:702
virtual ProgramWriter * create(void)
Definition: OgreShaderGLSLProgramWriter.h:143
@ ID_ADD
Definition: OgreScriptCompiler.h:731
static const uint32 TERRAINDERIVEDDATA_CHUNK_ID
Definition: OgreTerrain.h:287
void doSet(void *target, const String &val)
size_t indexStart
Index in the buffer to start from for this operation.
Definition: OgreVertexIndexData.h:256
D3D11HardwareBuffer(BufferType btype, size_t sizeBytes, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer, bool streamOut)
bool operator!=(const Affine3 &m2) const
Definition: OgreMatrix4.h:382
GLenum getPolygonMode(void) const
Gets the current polygon rendering mode, fill, wireframe, points, etc.
Definition: OgreGL3PlusStateCacheManager.h:216
static bool _isBinaryCompressedFormat(DXGI_FORMAT d3dPF)
virtual void objectDetached(MovableObject *)
MovableObject has been detached from a node.
Definition: OgreMovableObject.h:71
TextureDefinitionIterator getTextureDefinitionIterator(void)
void _findNodes(const Ray &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
ManualObjectSectionShadowRenderable(ManualObject *parent, HardwareIndexBufferSharedPtr *indexBuffer, const VertexData *vertexData, bool createSeparateLightCap, bool isLightCap=false)
~GLSLESProgramFactory(void)
virtual void _setVertexTexture(size_t unit, const TexturePtr &tex)
Binds a texture to a vertex, geometry, compute, tesselation hull or tessellation domain sampler.
void _notifyModified()
Tell the page that it is modified.
Definition: OgrePage.h:188
void clip(const ConvexBody &body)
Clips the body with another body.
String doGet(const void *target) const
ResponseHandler()
Definition: OgreWorkQueue.h:200
const GPUVendorRuleList & getGPUVendorRules() const
Get the currently registered vendor rules.
Definition: OgreTechnique.h:660
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExHardwareSkinning.h:57
static size_t getTypeSize(VertexElementType etype)
Utility method for helping to calculate offsets.
std::set< PCZSceneNode * > PCZSceneNodeList
Definition: OgreOctreeZoneOctree.h:54
Ray getCameraToViewportRay(Real screenx, Real screeny) const
Gets a world space ray as cast from the camera through a viewport position.
const String & getOutputName() const
Get output local texture name.
void unload(Archive *arch)
Unloads an archive.
Matrix3 orthonormalised() const
Gram-Schmidt orthogonalisation (applied to columns of rotation matrix)
Definition: OgreMatrix3.h:188
@ ID_SCENE_BLEND
Definition: OgreScriptCompiler.h:620
TexGen texGen
Definition: OgreQuake3Shader.h:76
HighLevelGpuProgramFactory()
Definition: OgreHighLevelGpuProgramManager.h:49
void moveWidgetToTray(TrayLocation currentTrayLoc, size_t currentPlace, TrayLocation targetTrayLoc, size_t targetPlace=-1)
Definition: OgreTrays.h:1033
T operator[](size_t i) const
Definition: OgreVector.h:350
uint8 getLayerIndex() const
Get the index of the layer this is targeting.
Definition: OgreTerrainLayerBlendMap.h:86
static void packColour(const uint8 r, const uint8 g, const uint8 b, const uint8 a, const PixelFormat pf, void *dest)
Pack a colour value to memory.
double * getDoublePointer(size_t pos)
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:1676
bool needUpdate()
Returns true if portal needs update.
static D3D11_STENCIL_OP get(StencilOperation op, bool invert=false)
return a D3D11 equivalent for a Ogre StencilOperation value
virtual bool doSplit(OctreeNode *node, const Real geometricError) const
Decider for the splitting.
virtual void copyFrom(const SubRenderState &rhs)
const D3DCAPS9 & getD3D9DeviceCaps() const
The ScriptTranslatorManager manages the lifetime and access to script translators.
Definition: OgreScriptTranslator.h:124
void notifyContextDestroyed(GLContext *context)
~D3D9GpuFragmentProgram()
static ParameterPtr createConstParam(const Vector3 &val)
~OctreeSphereSceneQuery()
virtual OverlayElement * clone(const String &instanceName)
void redefine(const Vector3 &p0, const Vector3 &p1, const Vector3 &p2)
Redefine this plane based on 3 points.
Definition: OgrePlane.h:171
Quaternion(const Vector3 &xaxis, const Vector3 &yaxis, const Vector3 &zaxis)
Construct a quaternion from 3 orthonormal local axes.
Definition: OgreQuaternion.h:86
@ PF_R32G32B32A32_SINT
128-bit pixel format, 32 bits red (signed int), 32 bits blue (signed int), 32 bits green (signed int)...
Definition: OgrePixelFormat.h:192
LODFaceList mLodFaceList
Definition: OgreSubMesh.h:112
void getTerrainPositionAlign(const Vector3 &WSpos, Alignment align, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space based on a specified alignment.
void setTiling(Real x, Real y, ushort layer=0)
Sets the number of times textures should repeat.
void windowMovedOrResized()
Notify that the window has been resized.
std::vector< TerrainLayerBlendMap * > TerrainLayerBlendMapList
Definition: OgreTerrainLayerBlendMap.h:188
static void cleanupDictionary()
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with in...
bool isLeaf() const
Is this a leaf node (no children)
String getName() const
See ParticleEmitterFactory.
Definition: OgreCylinderEmitterFactory.h:49
@ ID_TESSELLATION_DOMAIN_PROGRAM_REF
Definition: OgreScriptCompiler.h:855
StreamSerialiser * _writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
bool operator!=(IdString idString) const
Definition: OgreIdString.h:245
@ BBT_ORIENTED_COMMON
Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this...
Definition: OgreBillboardSet.h:80
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:88
virtual void _alertVisibleObjects(void)
Alerts each unculled object, notifying it that it will be drawn.
std::vector< InstancedEntity * > InstancedEntityVec
Definition: OgreInstanceBatch.h:91
@ ACT_TRANSPOSE_VIEW_MATRIX
Provides transpose of view matrix.
Definition: OgreGpuProgramParams.h:715
std::vector< CompositionTargetPass * > TargetPasses
Typedefs for several iterators.
Definition: OgreCompositionTechnique.h:84
virtual unsigned int getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreRenderWindow.h:178
void nameSubMesh(const String &name, ushort index)
Gives a name to a SubMesh.
AllocPolicy ScriptingAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:93
Plugin instance for D3D11 Manager.
Definition: OgreD3D11Plugin.h:39
Virtual interface of the stereo driver.
Definition: OgreD3D11StereoDriverAMD.h:42
static PropertyType getTypeForValue(const Vector2 &val)
Definition: OgreProperty.h:168
ResourceAllocatedObject PassAlloc
Definition: OgreMemoryAllocatorConfig.h:133
void setFrameDelay(Real fd)
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
const Passes & getPasses(void) const
Gets the passes in this Technique.
Definition: OgreTechnique.h:207
void install()
Perform the plugin initial installation sequence.
Real getSquaredViewDepth(const Camera *cam) const override
Returns the camera-relative squared depth of this renderable.
ValueType getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition: OgreIteratorWrapper.h:299
TerrainPagedWorldSection(const String &name, PagedWorld *parent, SceneManager *sm)
Constructor.
void setSource(const String &source)
Sets the source assembly for this program from an in-memory string.
Command object for blue adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:70
static Matrix3 parseMatrix3(const String &val, const Matrix3 &defaultValue=Matrix3::IDENTITY)
Parses a Matrix3 out of a String.
Definition: OgreStringConverter.h:286
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
void _notifyOwner(ParticleSystem *owner)
Internal method for notifying the particle of it's owner.
HardwareBufferManagerBase * getManager() const
Definition: OgreHardwareUniformBuffer.h:59
const String & getName() const
Get the name of this profile.
Definition: OgreTerrainMaterialGenerator.h:181
A plane.
Definition: OgreVolumeCSGSource.h:79
void _cursorReleased(const Ogre::Vector2 &cursorPos)
Definition: OgreTrays.h:310
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
void removeResourceLocation(const String &name, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME)
Removes a resource location from the search path.
Definition: OgreException.h:187
D3D9VideoMode(const D3D9VideoMode &ob)
Definition: OgreD3D9VideoMode.h:46
void setTreatLuminanceAsAlpha(bool asAlpha)
specify that a single channel (luminance) texture should be loaded as alpha
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
virtual RaySceneQueryResult & getLastResults(void)
Gets the results of the last query that was run using this object, provided the query was executed us...
@ ACT_LIGHT_DIRECTION_OBJECT_SPACE
A light direction in object space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:857
Real getFogEnd(void) const
Returns the fog end distance for the scene.
Definition: OgreQuake3Types.h:153
bool contains(const Vector3 &v) const
Tests whether the given point contained by this box.
Definition: OgreAxisAlignedBox.h:714
AnyNumeric operator/(const AnyNumeric &rhs) const
Definition: OgreAny.h:344
Vector(const typename std::enable_if< N==4, Vector3 >::type &rhs, T fW=1.0f)
Definition: OgreVector.h:319
AllocatedObject GeometryAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:98
ConstVectorIterator< PoseRefList > ConstPoseRefIterator
Definition: OgreKeyFrame.h:233
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
Real getFocalLength() const
Returns focal length of frustum.
void saveGroupDefinition(const String &filename)
Save the group data only in native form to a file.
virtual void _notifyParticleRotated(void)
Optional callback notified when particles are rotated.
Definition: OgreParticleSystemRenderer.h:75
bool getInheritParentEntityScale(void) const
Returns true if this TagPoint is affected by scaling factors applied to the parent entity.
RenderSystemCapabilities * loadParsedCapabilities(const String &name)
Returns a capability loaded with RenderSystemCapabilitiesManager::parseCapabilitiesFromArchive method...
DisplayMode getDisplayMode() const
Get the display mode for the overlay.
Definition: OgreOverlayProfileSessionListener.h:91
static Codec * getCodec(const String &extension)
Gets the codec registered for the passed in file extension.
bool isIsoSurfaceNear(void) const
Gets whether the isosurface is somewhat near to this node.
Definition: OgreVolumeOctreeNode.h:530
Specialisation of the ArchiveFactory to allow reading of files from filesystem folders / directories.
Definition: OgreFileSystem.h:55
virtual ~Controller()
Default d-tor.
Definition: OgreController.h:158
void _notifyCurrentCamera(Camera *)
Overridden from MovableObject.
Definition: OgreMovablePlane.h:74
const ControllerFunctionRealPtr & getPassthroughControllerFunction(void) const
Retrieve a simple passthrough controller function.
SceneQueryMovableIntersectionList movables2movables
List of movable / movable intersections (entities, particle systems etc)
Definition: OgreSceneQuery.h:490
Abstract class defining the interface required to be implemented by classes which provide rendering c...
Definition: OgreParticleSystemRenderer.h:50
void defaultOrganisationMode(void)
Set the sorting / grouping mode for the solids in this group to the default.
virtual void seek(size_t pos)=0
Repositions the read point to a specified byte.
const SmallVector & operator=(const SmallVector &RHS)
Definition: OgreSmallVector.h:735
bool hasStaticGeometry(const String &name) const
Returns whether a static geometry instance with the given name exists.
void assign(QueuedSubMesh *qsm, ushort atLod)
Assign a queued submesh to this bucket, using specified mesh LOD.
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
void nodeUpdated(const Node *node)
virtual void processMaterialName(Mesh *mesh, String *name)=0
Called to override the loading of the given named material.
RenderWindow * initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window", const String &customCapabilitiesConfig=BLANKSTRING)
Initialises the renderer.
@ MANUAL_CULL_FRONT
Cull triangles whose normal is pointing towards the camera.
Definition: OgreCommon.h:181
String doGet(const void *target) const
virtual bool isConstParameter() const
Definition: OgreShaderParameter.h:646
void shutdown(void)
Shutdown the renderer and cleanup resources.
AnyNumeric & operator/=(const AnyNumeric &rhs)
Definition: OgreAny.h:367
void resetBounds(const Rect &rect)
Reset the bounds of this node and all its children for the region given.
SceneManager * createInstance(const String &instanceName)
Create a new instance of a SceneManager.
ulong _getLightsDirtyCounter(void) const
Advanced method to gets the lights dirty counter.
Definition: OgreSceneManager.h:1261
void install()
Perform the plugin initial installation sequence.
void getColourWriteEnabled(bool &red, bool &green, bool &blue, bool &alpha) const
Determines which colour buffer channels are enabled for writing for this pass.
void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this entity will be rendered through.
@ ID_NAMED
Definition: OgreScriptCompiler.h:780
static OverlayManager * getSingletonPtr(void)
Get the singleton instance.
void save(const String &filename) const
Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile.
@ PF_FLOAT32_GR
64-bit, 2-channel floating point pixel format, 32-bit green, 32-bit red
Definition: OgrePixelFormat.h:128
virtual void applyDeltaValue(const Degree &)
Apply delta value.
Definition: OgreAnimable.h:217
A factory that enables creation of IntegratedPSSM3 instances.
Definition: OgreShaderExIntegratedPSSM3.h:196
@ OT_TRIANGLE_FAN
A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreRenderOperation.h:60
virtual Real getDefaultWidth(void) const
See setDefaultDimensions - this gets 1 component individually.
std::vector< Vertex > VecVertex
To hold vertices.
Definition: OgreVolumeMeshBuilder.h:103
bool deleteAtomInstance(FunctionAtom *atomInstance)
Delete a function atom instance from this function.
std::vector< PoseRef > PoseRefList
Definition: OgreKeyFrame.h:211
const uchar * getData() const
Returns a const pointer to the internal image buffer.
bool unregisterProgramFactory(const String &syntaxCode)
void removeElement(VertexElementSemantic semantic, unsigned short index=0)
Remove the element with the given semantic and usage index.
void setTrueTypeSize(Real ttfSize)
Sets the size of a truetype font (only required for FT_TRUETYPE).
ParameterPtr resolveInputParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
Resolve input parameter of this function.
Definition: OgreShaderFunction.h:128
virtual void notifyCamera(Camera *cam)
Notify a world of the current camera.
@ IM_USEALL
Definition: OgreCommon.h:364
static void _populateIndexBuffer(uint16 *pIndexes, uint16 batchSize, uint16 vdatasize, uint16 vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)
Utility method to populate a (locked) index buffer.
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:85
static bool canGetCompiledShaderBuffer()
void doSet(void *target, const String &val)
void destroyAllTracks(void)
Removes and destroys all tracks making up this animation.
@ INT
Definition: OgreAnimable.h:77
size_type size() const
Definition: OgreSmallVector.h:175
Command object for inner size (see ParamCommand).
Definition: OgreHollowEllipsoidEmitter.h:56
virtual void stopDeflate()
Stop (un)compressing data.
void resize(size_type n, const T &t=T())
Definition: OgreCommon.h:548
virtual ~HardwareBufferLicensee()
Definition: OgreHardwareBufferManager.h:62
void _writeRawConstant(size_t physicalIndex, uint val)
Write a single unsigned integer parameter to the program.
virtual ushort getIndex(Real value, const Mesh::MeshLodUsageList &meshLodUsageList) const
Get the index of the LOD usage which applies to a given value.
virtual PageContent * createInstance()=0
bool isLoaded(void) const
Is this loaded?
virtual void _update(bool updateChildren, bool parentHasChanged)
Internal method to update the Node.
GLPBRTTManager(GLNativeSupport *support, RenderTarget *mainwindow)
void setDimensions(Real width, Real height)
Sets the width and height for this billboard.
virtual void setOctreeVisible(const bool visible)
Shows the debug visualization entity of the octree.
void moveWidgetToTray(Widget *widget, TrayLocation trayLoc, size_t place=-1)
Adds a widget to a specified tray at given position, or at the end if unspecified or invalid.
ulong totalCalls
The total number of times this profile was called (used to calculate average)
Definition: OgreProfiler.h:138
@ ID_BLEND_TEXTURE_ALPHA
Definition: OgreScriptCompiler.h:744
std::vector< T >::iterator iterator
Definition: OgrePrerequisites.h:341
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
Definition: OgreTerrainPagedWorldSection.h:159
virtual void setRenderingDistance(Real dist)
Sets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:673
const MeshPtr & getMesh(void) const
Gets the Mesh that this Entity is based on.
WireBoundingBox(const String &name)
void log(Log *pLog) const
Write the capabilities to the pass in Log.
void uninstall()
Perform the final plugin uninstallation sequence.
@ ID_RENDER_QUAD
Definition: OgreScriptCompiler.h:819
ParticleEmitter * addEmitter(const String &emitterType)
Adds an emitter to this particle system.
std::vector< Plane > planes
Definition: OgreBspNode.h:156
void merge(const Sphere &oth)
Merges another Sphere into the current sphere.
Definition: OgreSphere.h:101
Matrix3 transpose() const
Definition: OgreMatrix3.h:167
void setTargetZone(PCZone *zone)
Real mMeshBoundingSphereRadius
Definition: OgreLodData.h:166
@ CMPF_LESS
Write if (new_Z < existing_Z)
Definition: OgreCommon.h:67
bool hasNegativeScale() const
Determines if this matrix involves a negative scaling.
Definition: OgreMatrix3.h:179
void updateAtomicCounters(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Definition: OgreGLSLMonolithicProgram.h:74
ColourValue getAlbedo()
Definition: OgreHlmsPbsMaterial.h:165
int size
Definition: OgreQuake3Types.h:225
ParameterPtr resolveInputParameter(const ParameterPtr &out)
resolve input parameter from previous output
Definition: OgreShaderFunction.h:134
shared_ptr< LodData > LodDataPtr
Definition: OgreLodPrerequisites.h:66
const Vector4 & getCameraPositionObjectSpace(void) const
void frameRendered(const Ogre::FrameEvent &evt)
Process frame events.
virtual void setDefaultDimensions(Real width, Real height)
Sets the default dimensions of the particles in this set.
void doSet(void *target, const String &val)
void setUserAny(const Any &anything)
Definition: OgreRenderable.h:335
virtual void removeBillboard(unsigned int index)
Removes the billboard at the supplied index.
void addSceneManager(SceneManager *sceneMgr)
Add a scene manager to the shader generator scene managers list.
void removePoseReference(ushort poseIndex)
Remove reference to a given pose.
void destroyVertexBufferBinding(VertexBufferBinding *binding)
Destroys a VertexBufferBinding.
void bindProgramParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this program.
bool getReceiveShadows(void) const
Returns whether or not objects using this material will receive shadows.
Definition: OgreMaterial.h:178
void setGlyphTexCoords(CodePoint id, Real u1, Real v1, Real u2, Real v2, Real textureAspect)
Sets the texture coordinates of a glyph.
Definition: OgreFont.h:295
Command object for setting entry point.
Definition: OgreD3D9HLSLProgram.h:48
void setAlphaAdjust1(float alpha)
Sets the alpha adjustment to be made per second to particles.
bool isBackgroundLoaded(void) const
Returns whether this Resource has been earmarked for background loading.
@ VET_FLOAT4
Definition: OgreHardwareVertexBuffer.h:124
Defines a program which runs on the GPU such as a vertex or fragment program.
Definition: OgreGpuProgram.h:71
@ ACT_FPS
provides the calculated frames per second, returned as a floating point value.
Definition: OgreGpuProgramParams.h:1061
Definition: OgreQuake3Types.h:208
Specialisation to allow reading of files from a zip format source archive.
Definition: OgreZip.h:56
void remove(const String &name, const String &group=RGN_DEFAULT)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void unbind(RenderTarget *target)
Unbind a certain render target.
virtual size_t getNumChainElements(size_t chainIndex) const
Returns the number of chain elements.
virtual void setMaxTimeToLive(Real max)
Sets the maximum time each particle will live for.
virtual void _renderScene(Camera *camera, Viewport *vp, bool includeOverlays)
Prompts the class to send its contents to the renderer.
static VertexElementSemantic get(LPCSTR sem)
virtual void notifyResourcesCreated(bool forResizeOnly)
Notification after resources have been created (or recreated).
void _keyFrameDataChanged(void) const
Internal method used to tell the track that keyframe data has been changed, which may cause it to reb...
@ ACT_VIEW_MATRIX
The current view matrix.
Definition: OgreGpuProgramParams.h:709
TexGen
Definition: OgreQuake3Types.h:126
Scales the given volume source.
Definition: OgreVolumeCSGSource.h:367
const Matrix4 & getTextureTransform(void) const
Gets the current texture transformation matrix.
@ MESH_VERSION_LATEST
Latest version available.
Definition: OgreMeshSerializer.h:45
@ GCT_SAMPLER2D
Definition: OgreGpuProgramParams.h:74
bool getIsAlpha(void) const
Gets whether luminace pixel format will treated as alpha format when load this texture.
void logError(const String &message, bool maskDebug=false)
This is an overloaded member function, provided for convenience. It differs from the above function o...
GLHardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
const GpuProgramPtr & getComputeProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
float height
Definition: OgreShaderExTextureAtlasSampler.h:61
virtual void endProfileEvent(void)=0
Ends the currently active GPU profiling event.
Command object for setting profiles.
Definition: OgreCgProgram.h:63
bool isAmbientOnly(void) const
Returns whether this pass is ambient only.
float getHeightAtWorldPosition(const Vector3 &pos, Terrain **ppTerrain=0)
Get the height data for a given world position (projecting the point down on to the terrain).
void setCompositorEnabled(Viewport *vp, const String &compositor, bool value)
Set the state of a compositor on a viewport to enabled or disabled.
size_t createGeometryFromLevel
The first LOD level to create geometry for. For scenarios where the lower levels won't be visible any...
Definition: OgreVolumeChunk.h:88
virtual void changeGroupOwnership(const String &newGroup)
Change the resource group ownership of a Resource.
FloatGpuParameterControllerValue(GpuProgramParametersSharedPtr params, size_t index)
@ ID_START_LIGHT
Definition: OgreScriptCompiler.h:682
void _applyBaseKeyFrame()
Internal method to adjust keyframes relative to a base keyframe (.
size_t getIndexDataStartIndex() const
Returns the current value of the start index used for drawing.
size_t getDoubleLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the buffer, for programs which support th...
GLUniformBufferList::iterator GLUniformBufferIterator
Definition: OgreGLSLProgramCommon.h:56
virtual void destroySceneNode(SceneNode *sn)
Destroys a SceneNode.
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
const String & getType() const
Get the type of the object to be created.
Definition: OgreAntiPortal.h:62
virtual void resourceGroupLoadStarted(const String &groupName, size_t resourceCount)
This event is fired when a resource group begins loading.
Definition: OgreResourceGroupManager.h:171
@ LOADSTATE_UNLOADING
Currently unloading.
Definition: OgreResource.h:111
virtual void addLinkedSkeletonAnimationSource(const String &skelName, Real scale=1.0f)
Allows you to use the animations from another Skeleton object to animate this skeleton.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:67
virtual const String & getType() const
virtual ushort getNumberOfPosesIncluded(void) const
Returns the number of simultaneous poses the vertex program can blend, for use in pose animation.
Definition: OgreGpuProgram.h:323
MeshPtr clone(const String &newName, const String &newGroup=BLANKSTRING)
Makes a copy of this mesh object and gives it a new name.
static Radian ATan(Real fValue)
Arc tangent function.
Definition: OgreMath.h:302
@ VET_BYTE4
Definition: OgreHardwareVertexBuffer.h:154
D3D9StereoDriverImpl()
Definition: OgreD3D9StereoDriverImpl.h:43
static size_t calculateSize(size_t mipmaps, size_t faces, uint32 width, uint32 height, uint32 depth, PixelFormat format)
Static function to calculate size in bytes from the number of mipmaps, faces and the dimensions.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual void _useLights(unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
Definition: OgreRenderSystem.h:463
Real maxScreenSpaceError
The maximum accepted screen space error when choosing the LOD levels to render.
Definition: OgreVolumeChunk.h:85
virtual void getBottomLeftGridSpace(int32 x, int32 y, Vector2 &bl)
Get the (grid space) bottom-left of a cell.
Real getInnerSizeY(void) const
Gets the y component of the area inside the ellipsoid which doesn't emit particles.
@ ID_THREAD_GROUPS
Definition: OgreScriptCompiler.h:870
@ LF_ONLY_UNREFERENCED
Process only resources which are not referenced by any other object. Usefull to reduce resource consu...
Definition: OgreResource.h:126
const Plane & getPrevDerivedPlane() const
Get the previous portal plane in world coordinates.
Definition: OgrePortalBase.h:148
Ogre::uint32 IdType
Big projects with lots, lots of units for very long periods of time (MMORPGs?) may want to define thi...
Definition: OgreId.h:36
static const IdString Skeleton
These are "default" or "Base" properties common to many implementations and thus defined here.
Definition: OgreHlmsPropertyHelper.h:46
void loadLegacyTerrain(const String &cfgFilename, long x=0, long y=0, bool synchronous=true)
Load a terrain.cfg as used by the terrain scene manager into a single terrain slot.
AnimationIterator getAnimationIterator(void)
Returns a specialised MapIterator over all animations in the scene.
Definition: OgreSceneManager.h:2570
@ SPC_BLEND_INDICES
Blending indices.
Definition: OgreShaderParameter.h:246
std::map< String, OverlayElementFactory * > FactoryMap
Definition: OgreOverlayManager.h:60
Pass * createPass(void)
Creates a new Pass for this Technique.
virtual ~StringInterface()
Virtual destructor, see Effective C++.
Definition: OgreStringInterface.h:208
static ParameterPtr createOutPosition(int index)
void setShadowCameraSetup(const ShadowCameraSetupPtr &shadowSetup)
Set the shadow camera setup to use for all lights which don't have their own shadow camera setup.
bool hasAnimationState(const String &name) const
Returns whether an animation state with the given name exists.
@ SBO_MAX
Definition: OgreBlendMode.h:253
const Vector3 getCenterLeft(void) const
Gets the center of the corners 0, 3, 4, 6.
Definition: OgreVolumeOctreeNode.h:314
Ray()
Definition: OgreRay.h:51
Abstract class defining the interface to be implemented by particle emitters.
Definition: OgreParticleEmitter.h:71
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:203
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
void setCenter(const Vector3 ¢er)
Sets the center point of the sphere.
Definition: OgreSphere.h:77
TouchFingerEvent tfinger
Definition: OgreInput.h:91
uint32 back
Definition: OgreCommon.h:705
@ SRF_INCLUDE_LIGHT_CAP
For shadow volume techniques only, generate a light cap on the volume.
Definition: OgreShadowCaster.h:109
@ SPC_LIGHTPOSITIONVIEW_SPACE0
Light position in view space index 0-7.
Definition: OgreShaderParameter.h:230
void setListener(Listener *listener)
Sets a listener for this Node.
Definition: OgreNode.h:564
virtual void nodeDetached(const Node *)
Node has been detached from a parent.
Definition: OgreNode.h:94
void setDiffuse(const ColourValue &diffuse)
This is an overloaded member function, provided for convenience. It differs from the above function o...
D3D9VideoMode()
Definition: OgreD3D9VideoMode.h:45
bool isVisible() const
Indicates whether the window is visible (not minimized or obscured)
void setMaterialScheme(const String &schemeName)
Set the material scheme used by this target pass.
void setAdjust2(float red, float green, float blue, float alpha=0.0)
Archive * load(const String &filename, const String &archiveType, bool readOnly)
Opens an archive for file reading.
@ PF_FLOAT32_RGB
96-bit pixel format, 32 bits (float) for red, 32 bits (float) for green, 32 bits (float) for blue
Definition: OgrePixelFormat.h:101
String doGet(const void *target) const
void setColourWriteEnabled(bool red, bool green, bool blue, bool alpha)
Sets which colour buffer channels are enabled for writing for each Pass.
ushort getBoneCount()
Returns the number of bones in the model assigned to the material.
const StringVector & getRenderSystemEvents(void) const
Gets a list of the rendersystem specific events that this rendersystem can raise.
Definition: OgreRenderSystem.h:1068
virtual void load(bool backgroundThread=false)
Loads the resource, if it is not already.
const Matrix4 & getViewProjectionMatrix(void) const
Real squaredDistance(const Segment &otherSegment) const
~SceneMgrQueuedRenderableVisitor()
Definition: OgreSceneManager.h:382
void destroySection(const String &name)
Destroy a section of world.
virtual void _findNodes(const Sphere &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
VectorSet< Triangle *, 7 > VTriangles
Definition: OgreLodData.h:70
Skeleton(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor, don't call directly, use SkeletonManager.
void _restoreManualHardwareResources()
Notifies the scene manager that hardware resources should be restored.
virtual ~ResourceGroupListener()
Definition: OgreResourceGroupManager.h:105
Matrix4(const Real *arr)
Definition: OgreMatrix4.h:240
shared_ptr< Parameter > ParameterPtr
Definition: OgreShaderPrerequisites.h:73
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
@ ID_TARGET_WIDTH_SCALED
Definition: OgreScriptCompiler.h:799
Degree(const Radian &r)
Definition: OgreMath.h:115
bool requiresTextureFlipping() const
Definition: OgreGLFBOMultiRenderTarget.h:47
Plugin instance for GL3Plus Manager.
Definition: OgreGL3PlusPlugin.h:39
SampleTextureAtom(int groupOrder)
Definition: OgreShaderFunctionAtom.h:309
CreateCompositorScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:569
GLint mOffset
GL offset (only used for atomic counters)
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:49
void setManualCullingMode(ManualCullingMode mode)
Sets the manual culling mode, performed by CPU rather than hardware.
void unload(DynLib *lib)
Unloads the passed library.
virtual void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
virtual ~HardwareBuffer()
Definition: OgreHardwareBuffer.h:206
virtual PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)=0
Gets the format which will be natively used for a requested format given the constraints of the curre...
GL3Plus-specific implementation of a TextureManager.
Definition: OgreGL3PlusTextureManager.h:56
D3D11HLSLProgramFactory(D3D11Device &device)
void setMaterial(const MaterialPtr &mat)
Update the material in use.
bool error
Whether an error occurred.
Definition: OgreResourceBackgroundQueue.h:54
RenderOperation::OperationType getOutputOperationType(void) const
Returns the operation type that this geometry program will emit.
Definition: src/GLSL/include/OgreGLSLProgram.h:69
AnimationTrack(Animation *parent, unsigned short handle)
Constructor.
void setGpuProgram(GpuProgramType type, const GpuProgramPtr &prog, bool resetParams=true)
Sets the details of the program to use.
@ SDLK_KP_9
Definition: OgreInput.h:139
A simple structure designed just as a holder of property values between the instances of objects they...
Definition: OgreProperty.h:268
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
virtual void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
Definition: OgreRenderWindow.h:173
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:192
D3D11StereoDriverNVIDIA()
bool isVisible(void) const
Gets whether the overlay is displayed or not.
Segment mSegment
Definition: OgreCapsule.h:63
LodOutputProviderCompressedBuffer(MeshPtr mesh)
const AutoConstantEntry * findDoubleAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for double-point values.
@ SPC_BINORMAL_OBJECT_SPACE
Binormal in object space.
Definition: OgreShaderParameter.h:261
virtual void destroyInstance(SceneManager *instance)=0
Destroy an instance of a SceneManager.
void setFromOgrePlane(Plane &ogrePlane)
Copy from an Ogre Plane.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
void setTemplateFileName(const String &templateFileName)
ConstVectorIterator< GPUVendorRuleList > GPUVendorRuleIterator
Definition: OgreTechnique.h:654
static void messagePump()
Call this once per frame.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
Real getTime_0_1(Real x) const
Vector4f getTextureSize(size_t index) const
Real getTime(void) const
Gets the time of this keyframe in the animation sequence.
Definition: OgreKeyFrame.h:65
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:190
static String Type
Definition: OgreShaderExHardwareSkinning.h:145
@ ID_FRAGMENT
Definition: OgreScriptCompiler.h:778
virtual void estimateVertexCount(size_t vcount)
Estimate the number of vertices ahead of time.
D3D9Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
constructor
static String TargetLanguage
Definition: OgreShaderHLSLProgramProcessor.h:71
void setDefaultLayerTextureWorldSize(Real sz)
Set the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:2030
virtual void writeSourceCode(std::ostream &os, const String &targetLanguage) const
ushort getBoneCount()
Returns the number of bones in the model assigned to the material.
virtual void _destroyFbo(GLContext *context, uint32 fbo)
Destroy FBO immediately or defer if it was created on other context.
Definition: OgreGLRenderSystemCommon.h:155
void removeAllPasses(void)
Removes all Passes from this Technique.
std::vector< ShadowTextureConfig > ShadowTextureConfigList
Definition: OgreSceneManager.h:75
virtual void removeAllListeners(void)
Removes all listeners from this instance.
std::multimap< K, V, P > type
Definition: OgrePrerequisites.h:375
Real getScrollX(void) const
Gets the current X scroll value.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
void _initialise() override
Start up the renderer using the settings selected (Or the defaults if none have been selected).
const String & getName() const
Get the name of the plugin.
virtual void install()=0
Perform the plugin initial installation sequence.
void addContentFactory(PageContentFactory *f)
Add a new PageContentFactory implementation.
const HardwareVertexBufferSharedPtr & getBuffer(unsigned short index) const
Gets the buffer bound to the given source index.
GLuint getGLBufferId(void) const
Definition: OgreGLES2HardwareBuffer.h:71
size_t getHeight(void) const
Gets the height of the texture.
Holds a solid representation of a convex body.
Definition: OgreConvexBody.h:53
const SPFMDeleteT SPFM_DELETE_T
Definition: OgreSharedPtr.h:46
virtual Real getMaxParticleVelocity(void) const
Returns the maximum particle velocity.
void addFactory(ProgramWriterFactory *factory)
Add a new factory object for high-level programs of a given language.
PagedWorld * getWorld(const String &name)
Get a named world.
void requestPBuffer(PixelComponentType ctype, uint32 width, uint32 height)
Create PBuffer for a certain pixel format and size.
@ SBO_MIN
Definition: OgreBlendMode.h:252
VTriangles triangles
Definition: OgreLodData.h:103
@ ID_AUTO
Definition: OgreScriptCompiler.h:872
virtual void applyDeltaValue(Real)
Set value.
Definition: OgreAnimable.h:193
Ogre::OverlayContainer * getBackdropContainer()
Definition: OgreTrays.h:771
virtual Real getWidthChange(size_t chainIndex) const
Get the change in ribbon width per second.
std::vector< PortalBase * > PortalBaseList
Definition: OgrePCZone.h:73
void loadResource(Resource *resource)
Implementation of ManualResourceLoader::loadResource, called when the Texture that this font creates ...
const char * what() const
Override std::exception::what.
Definition: OgreException.h:169
@ RENDER_QUEUE_MAIN
The default render queue.
Definition: OgreRenderQueue.h:65
A surface which is defined by curves of some kind to form a patch, e.g.
Definition: OgrePatchSurface.h:53
Definition: OgreGLGpuProgramManager.h:38
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
Factory for GL Frame Buffer Objects, and related things.
Definition: OgreGLFBORenderTexture.h:68
Real getValue(const MovableObject *movableObject, const Camera *camera) const
Compute the LOD value for a given movable object relative to a given camera.
bool bind(bool recreateIfNeeded)
Bind FrameBufferObject.
void setInheritParentEntityOrientation(bool inherit)
Tells the TagPoint whether it should inherit orientation from it's parent entity.
void prepareForShadowVolume(void)
This method prepares the mesh for generating a renderable shadow volume.
const Radian & getSpotlightOuterAngle(void) const
Returns the angle covered by the spotlights outer cone.
void destroyManualObject(ManualObject *obj)
Removes & destroys a ManualObject from the SceneManager.
Degree(const Ogre::Degree &rhs)
Definition: OgreMath.h:116
Technique * getTechnique(void) const
Retrieves a pointer to the Material Technique this renderable object uses.
Specialisation of SceneNode for the BspSceneManager.
Definition: OgreBspSceneNode.h:55
helper class to implement legacy API. Notably x, y, z access
Definition: OgreVector.h:47
virtual ~PSSMShadowCameraSetup()
const Vector3 & getDerivedPosition(void) const
Gets the derived position of the camera, including any translation inherited from a node attachment a...
Codec return class for images.
Definition: OgreImageCodec.h:54
VertexMorphKeyFrame * getVertexMorphKeyFrame(unsigned short index) const
Returns the morph KeyFrame at the specified index.
bool hasInstanceData() const
Returns true if this binding has an element that contains instance data.
void unregisterCustomCompositionPass(const String &name)
@ ID_ROTATE
Definition: OgreScriptCompiler.h:762
void setShadowReceiverMaterial(const Ogre::String &name)
set this material specific shadow receiving specific material
void _cursorMoved(const Ogre::Vector2 &cursorPos, float wheelDelta)
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
void setTextureScroll(Real u, Real v)
Sets the translation offset of the texture, ie scrolls the texture.
void insert(iterator pos, size_type n, const T &x)
Definition: OgreCommon.h:523
Factory class for LinearForceAffector.
Definition: OgreLinearForceAffectorFactory.h:39
void setListener(TrayListener *listener)
Definition: OgreTrays.h:775
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:78
void doSet(void *target, const String &val)
@ SDLK_KP_4
Definition: OgreInput.h:134
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreHollowEllipsoidEmitterFactory.h:55
String getDescription() const
bool isLightmapEnabled() const
Whether to support a light map over the terrain in the shader, if it's present (default true).
Definition: OgreTerrainMaterialGeneratorA.h:108
void _addRenderSystemCapabilities(const String &name, RenderSystemCapabilities *caps)
Method used by RenderSystemCapabilitiesSerializer::parseScript.
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
void setVariable(const String &name, const String &value)
void detachFromProgramObject(const GLuint programObject)
virtual bool isStaticBufferLockable() const
Returns whether under the current render system buffers marked as TU_STATIC can be locked for update.
Definition: OgreD3D9RenderSystem.h:347
@ SPC_POSITION_PROJECTIVE_SPACE
Position in projective space.
Definition: OgreShaderParameter.h:93
@ MOUSEWHEEL
Definition: OgreInput.h:37
Simple implementation of MovableObject and Renderable for single-part custom objects.
Definition: OgreSimpleRenderable.h:51
Command object for specifying transparency (see ParamCommand).
Definition: OgrePanelOverlayElement.h:119
bool isShadowTechniqueModulative(void) const
Is there a modulative shadowing technique in use?
Definition: OgreSceneManager.h:3004
IlluminationStage
Categorisation of passes for the purpose of additive lighting.
Definition: OgrePass.h:49
PatchSurfaceType
Definition: OgrePatchSurface.h:59
void getTerrainVector(Real x, Real y, Real z, Vector3 *outVec) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
intptr_t _findfirst(const char *pattern, struct _finddata_t *data)
virtual void setCellRangeMinX(int32 minX)
Set the index range of all cells (values outside this will be ignored)
D3D11RenderWindowSwapChainBased(D3D11Device &device)
SceneBlendFactor destFactor
multiplied by the frame colour components
Definition: OgreBlendMode.h:276
static bool parse(const String &str, Vector2 &v)
const String & getLanguage(void) const
Returns a string that specifies the language of the gpu programs as specified in a material script.
A factory that enables creation of PerPixelLighting instances.
Definition: OgreShaderExPerPixelLighting.h:118
static int IAbs(int iValue)
Definition: OgreMath.h:261
const Matrix4 & getTextureWorldViewProjMatrix(size_t index) const
virtual void getShadowCamera(const Ogre::SceneManager *sm, const Ogre::Camera *cam, const Ogre::Viewport *vp, const Ogre::Light *light, Ogre::Camera *texCam, size_t iteration) const
Returns a LiSPSM shadow camera with PSSM splits base on iteration.
@ SPC_LIGHTDIRECTION_TANGENT_SPACE2
Definition: OgreShaderParameter.h:202
PageContent * createContent(const String &typeName)
Create a new instance of PageContent using the registered factories.
void setPowerScale(Real power)
Set a scaling factor to indicate the relative power of a light.
GLUniformReferenceList::iterator GLUniformReferenceIterator
Definition: OgreGLSLProgramCommon.h:53
bool getFogOverride(void) const
Returns true if this pass is to override the scene fog settings.
virtual bool isWriteable() const
Reports whether this stream is writeable.
Definition: OgreDataStream.h:208
OverlayElement * createOverlayElement(const String &typeName, const String &instanceName, bool isTemplate=false)
Creates a new OverlayElement of the type requested.
void setDirection(const Vector3 &d)
Set the "inward/outward norm" direction of AAB or SPHERE portals NOTE: UNIT_Z = "outward" norm,...
Definition: OgrePortalBase.h:82
@ ACT_LIGHT_POSITION
A light position in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:847
static ControllerManager * getSingletonPtr(void)
Get the singleton instance.
std::list< SceneQueryMovableObjectPair > SceneQueryMovableIntersectionList
Definition: OgreSceneQuery.h:484
virtual RenderTexture * createRenderTexture(const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
VertexDataBindChoice chooseVertexDataForBinding(bool hasVertexAnim)
Choose which vertex data to bind to the renderer.
Vector3 convertLocalToWorldDirection(const Vector3 &localDir, bool useScale)
Gets the world direction of a point in the node local space useful for simple transforms that don't r...
Real getTopBorderSize(void) const
Gets the size of the top border.
virtual Animation * getAnimation(unsigned short index) const =0
Retrieve an animation by index.
virtual LoadingState getLoadingState() const
Returns the current loading state.
Definition: OgreResource.h:340
std::map< String, ParamDictionary > ParamDictionaryMap
Definition: OgreStringInterface.h:150
@ SPC_POSTOLIGHT_TANGENT_SPACE2
Definition: OgreShaderParameter.h:162
void add(const In &arg0, const In &arg1, const Out &dst) const
dst = arg0 + arg1;
Definition: OgreShaderFunction.h:88
virtual bool _unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a manager the opportunity to unprepare page content procedurally.
@ TVC_NONE
Definition: OgreCommon.h:302
void getPosition(const Vector3 &TSpos, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space.
void removeListener(Listener *listener)
Remove a listener from this Serializer.
static RayTestResult intersects(const Ray &ray, const AxisAlignedBox &box)
Ray / box intersection.
void setSkirtSize(Real skirtSz)
method - the default size of 'skirts' used to hide terrain cracks (default 10)
Definition: OgreTerrain.h:1915
@ LB_BlendSaturation
Definition: OgreShaderExLayeredBlending.h:76
void deleteGLFrameBuffer(GLenum target, GLuint buffer)
Delete an OpenGL frame buffer.
int cluster
Definition: OgreQuake3Types.h:171
DualQuaternion()
Default constructor, initializes to identity rotation (aka 0°), and zero translation (0,...
Definition: OgreDualQuaternion.h:51
void doSet(void *target, const String &val)
ParameterPtr resolveLocalParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
Resolve local parameter of this function.
Definition: OgreShaderFunction.h:196
virtual void _setTextureUnitSettings(size_t texUnit, TextureUnitState &tl)
Utility function for setting all the properties of a texture unit at once.
VertexData * vertexData
Definition: OgreStaticGeometry.h:144
const Vector3 & getLocalCentre() const
Get the local centre of this node, relative to parent terrain centre.
Definition: OgreTerrainQuadTreeNode.h:229
MovableObject * createMovableObject(const String &name, const String &typeName, const NameValuePairList *params=0)
Create a movable object of the type specified.
Codec specialized in loading ETC (Ericsson Texture Compression) images.
Definition: OgreETCCodec.h:47
virtual ~GLTextureManager()
uint16 getResolutionAtLod(uint16 lodLevel) const
Gets the resolution of the entire terrain (down one edge) at a given LOD level.
@ PF_R32G32B32_SINT
96-bit pixel format, 32 bits red (signed int), 32 bits blue (signed int), 32 bits green (signed int).
Definition: OgrePixelFormat.h:190
@ TFO_ANISOTROPIC
This is the same as ’trilinear’, except the filtering algorithm takes account of the slope of the tri...
Definition: OgreCommon.h:90
void setClearDepth(GLclampf depth)
Sets the clear depth in the range from [0..1].
virtual BackgroundProcessTicket prepareResourceGroup(const String &name, Listener *listener=0)
Prepares a resource group in the background.
void removeVertex(size_t index)
Remove a vertex offset.
@ GMM_RELATIVE
'left', 'top', 'height' and 'width' are parametrics from 0.0 to 1.0
Definition: OgreOverlayElement.h:56
void appendText(const Ogre::DisplayString &text)
Definition: OgreTrays.h:277
Plane(Real a, Real b, Real c, Real _d)
Construct a plane using the 4 constants directly.
Definition: OgrePlane.h:79
void getInstancedEntitiesInUse(InstancedEntityVec &outEntities, CustomParamsVec &outParams)
Fills the input vector with the instances that are currently being used or were requested.
Definition: OgreLodCollapseCostQuadric.h:44
const String & getName() const
Get the name of this parameter.
Definition: OgreShaderParameter.h:332
void Define(const char *iMacroName, size_t iMacroNameLen, const char *iMacroValue, size_t iMacroValueLen)
Define a macro without parameters.
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:251
ImageFlags
Definition: OgreImage.h:44
std::vector< byte > MicroCode
Definition: OgreD3D11HLSLProgram.h:38
bool isVertexCompressionSupported() const
Compressed vertex format supported?
TerrainMaterialGenerator()
@ PROP_STRING
Definition: OgreProperty.h:116
void setSelfIllumination(const ColourValue &selfIllum)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void SingularValueComposition(const Matrix3 &rkL, const Vector3 &rkS, const Matrix3 &rkR)
virtual ~ProgramProcessor()
Class destructor.
void reloadUnreferencedResources(bool reloadableOnly=true)
Caused all currently loaded but not referenced by any other object resources to be reloaded.
Definition: OgreResourceManager.h:236
void setComputeProgram(const String &name, bool resetParams=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void disableTextureCoordGen(GLenum type)
Disable the specified texture coordinate generation option for the currently active texture unit.
ProfileInstance * parent
The name of the parent, null if root.
Definition: OgreProfiler.h:176
static GLenum getGLOriginFormat(PixelFormat mFormat)
Takes the OGRE pixel format and returns the appropriate GL one.
D3D9GpuVertexProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void loadFromResourceSystem(const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (using resource group locations)
TRect intersect(const TRect &rhs) const
Definition: OgreCommon.h:649
std::vector< Operand > OperandVector
Definition: OgreShaderFunctionAtom.h:200
ManualCullingMode getManualCullingMode(void) const
Retrieves the manual culling mode for this pass.
virtual void _notifyRenderTargetAttached(RenderTarget *renderTarget)
Called when a RenderTarget is attaches this DepthBuffer.
@ SOP_KEEP
Leave the stencil buffer unchanged.
Definition: OgreRenderSystem.h:77
@ SPC_POSTOLIGHT_VIEW_SPACE6
Definition: OgreShaderParameter.h:156
@ RSC_PRIMITIVE_RESTART
specifying a "-1" in the index buffer starts a new draw command.
Definition: OgreRenderSystemCapabilities.h:78
virtual ID3D11Texture2D * getSurface(uint index=0) const
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
VertexAnimationTrack * createVertexTrack(unsigned short handle, VertexData *data, VertexAnimationType animType)
Creates a VertexAnimationTrack and associates it with VertexData.
void setValue(Ogre::Real value, bool notifyListener=true)
Pass * pass
Pointer to the Pass.
Definition: OgreRenderQueueSortingGrouping.h:57
@ MIP_DEFAULT
Use TextureManager default.
Definition: OgreTexture.h:119
Octree(PCZone *zone, Octree *p)
virtual Grid2DMode getMode() const
Set the grid alignment mode.
Definition: OgreGrid2DPageStrategy.h:152
void setCustomType(const String &customType)
Set the type name of this custom composition pass.
virtual void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Pass * pass
The pass to use in this stage.
Definition: OgrePass.h:1661
Definition: OgreGLES2HardwareIndexBuffer.h:39
void setPosition(const Vector3 &position)
Set the position of the billboard.
virtual GpuProgramPtr createProgram(const String &name, const String &groupName, const String &filename, GpuProgramType gptype, const String &syntaxCode)
Create a new, unloaded GpuProgram from a file of assembly.
@ FO_ANISOTROPIC
Similar to FO_LINEAR, but compensates for the angle of the texture plane.
Definition: OgreCommon.h:114
virtual bool setOption(const String &, const void *)
Sets the given option for the SceneManager.
C++ encapsulation of GLSL program object.
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:64
virtual void save(StreamSerialiser &stream)
Save page data to a serialiser.
void bindTempCopies(VertexData *targetData, bool suppressHardwareUpload)
Utility method, binds dest copies into a given VertexData struct.
bool isVisitingZone(PCZone *zone)
bool seam
Definition: OgreLodData.h:106
virtual const String & getType() const
TextureManager * getTextureManager(void)
Retrieves a reference to the current TextureManager.
void setWorldGeometryRenderQueue(uint8 qid)
Sets the render queue that the world geometry (if any) this SceneManager renders will be associated w...
void setSourceRenderable(Renderable *source)
Set the source renderable of this object.
Definition: OgreRenderToVertexBuffer.h:116
String getObjectInfo(GLuint obj)
just return the info without logging it
void setParameterList(const NameValuePairList ¶mList)
Generic multiple parameter setting method.
void setAspectRatio(Real ratio)
Sets the aspect ratio for the frustum viewport.
const Renderable * getSourceRenderable() const
Get the source renderable of this object.
Definition: OgreRenderToVertexBuffer.h:121
void doSet(void *target, const String &val)
VectorIterator< ChildNodeMap > ChildNodeIterator
Definition: OgreNode.h:71
#define OGRE_EXCEPT_EX(code, num, desc, src)
Definition: OgreD3D11Prerequisites.h:43
static UINT _getTextureBindFlags(DXGI_FORMAT format, TextureUsage usage)
virtual void writeChunkBegin(uint32 id, uint16 version=1)
Begin writing a new chunk.
@ BLT_MANUAL_RELEASE
Licensee will only release buffer when it says so.
Definition: OgreHardwareBufferManager.h:158
AutoConstantEntry(AutoConstantType theType, size_t theIndex, size_t theData, uint16 theVariability, size_t theElemCount=4)
Definition: OgreGpuProgramParams.h:1284
FileNotFoundException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:189
@ CMPF_LESS_EQUAL
Write if (new_Z <= existing_Z)
Definition: OgreCommon.h:68
void remove2D(OverlayContainer *cont)
Removes a 2D container from the overlay.
static const uint16 TERRAIN_CHUNK_VERSION
Definition: OgreTerrain.h:275
RenderQueueInvocation * get(size_t index)
Gets the details of an invocation at a given index.
const String BLANKSTRING
Constant blank string, useful for returning by ref where local does not exist.
Definition: OgreCommon.h:585
void manualRender(RenderOperation *rend, Pass *pass, Viewport *vp, const Affine3 &worldMatrix, const Affine3 &viewMatrix, const Matrix4 &projMatrix, bool doBeginEndFrame=false)
Manual rendering method, for advanced users only.
~PCZPlaneBoundedVolumeListSceneQuery()
An object which renders geometry to a vertex.
Definition: OgreRenderToVertexBuffer.h:52
void parseDriverVersionFromString(const String &versionString)
Definition: OgreRenderSystemCapabilities.h:382
Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Vector3 zAxis(void) const
Returns the Z orthonormal axis defining the quaternion.
This class defines the interface that must be implemented by shadow casters.
Definition: OgreShadowCaster.h:119
uint32 getNumMipmaps() const
Returns the number of mipmaps contained in the image.
T right
Definition: OgreCommon.h:598
Ogre::Technique * handleSchemeNotFound(unsigned short schemeIndex, const Ogre::String &schemeName, Ogre::Material *originalMaterial, unsigned short lodIndex, const Ogre::Renderable *rend)
This is the hook point where shader based technique will be created.
virtual void destroyInstance(PageContent *)=0
void setDepthFunc(GLenum func)
Sets the current depth test function.
virtual uint8 getRenderQueueGroupID(void) const
Get the render queue group id.
Definition: OgreRenderQueueInvocation.h:90
SharedPtr< RenderSystemData > RenderSystemDataPtr
Definition: OgreRenderable.h:68
virtual const String & getType() const
static SceneManagerEnumerator & getSingleton(void)
Get the singleton instance.
virtual GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLRenderTarget.h:23
This class represents a collection of pages which make up a world.
Definition: OgrePagedWorld.h:56
@ ACT_TEXTURE_VIEWPROJ_MATRIX
The view/projection matrix of the assigned texture projection frustum.
Definition: OgreGpuProgramParams.h:978
LinearControllerFunction(const std::vector< Real > &keys, const std::vector< Real > &values, Real frequency=1, bool deltaInput=true)
Vector3 getRealDirection(void) const
Gets the real world direction vector of the camera, including any rotation inherited from a node atta...
WorldFragmentType fragmentType
The type of this world fragment.
Definition: OgreSceneQuery.h:105
int row_size
Definition: OgreQuake3Types.h:218
const ShaderParameterList & getOutputParameters() const
Return a list of output parameters.
Definition: OgreShaderFunction.h:220
void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)
This method allows you to set all the stencil buffer parameters in one call.
BillboardSetFactory()
Definition: OgreBillboardSet.h:835
ValueType get(void) const
Definition: OgreAny.h:212
static Real Sin(const Radian &fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:411
void computeNormal()
Vertex ID in the buffer associated with the submeshID.
Definition: OgreLodData.h:120
int elementStart
Index into a buffer containing vertex indices.
Definition: OgreStaticFaceGroup.h:94
@ ID_SCALE_Y
Definition: OgreScriptCompiler.h:769
void enumeratePieceFiles()
std::bitset< RENDER_QUEUE_COUNT > RenderQueueBitSet
A set of render queues to either include or exclude certain render queues.
Definition: OgreCompositorInstance.h:148
RibbonTrail * getRibbonTrail(const String &name) const
Retrieves a pointer to the named RibbonTrail.
Generic class for serialising data to / from binary stream-based files.
Definition: OgreSerializer.h:53
Class which will create instances of a given SceneManager.
Definition: OgreSceneManager.h:3551
void pushOperand(ParameterPtr parameter, Operand::OpSemantic opSemantic, Operand::OpMask opMask=Operand::OPM_ALL, int indirectionLevel=0)
Push a new operand (on the end) to the function.
virtual void setMinParticleVelocity(Real min)
Returns the minimum particle velocity.
void setVisible(bool visible, bool cascade=true)
Makes all objects attached to this node become visible / invisible.
unsigned int getResolveStageFlags() const
Get the current resolve stage flags.
Definition: OgreShaderFFPColour.h:99
String doGet(const void *target) const
static String Type
Definition: OgreShaderExIntegratedPSSM3.h:99
@ ID_ZERO
Definition: OgreScriptCompiler.h:623
Command object for enabling backwards compatibility.
Definition: OgreD3D9HLSLProgram.h:93
TexturePtr load(const String &name, const String &group, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Loads a texture from a file.
void destroyAllResourcePools()
destroy all pools
@ RSC_VERTEX_BUFFER_INSTANCE_DATA
Supports using vertex buffers for instance data.
Definition: OgreRenderSystemCapabilities.h:176
~ParticleSystemFactory()
Definition: OgreParticleSystemManager.h:346
virtual ~ParticleAffectorFactory()
String mResourceGroup
Definition: OgreScriptCompiler.h:505
unsigned int getNumInputs(void) const
bool operator>(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:245
VertexHash(LodData *gen)
Definition: OgreLodData.h:77
DynLib * load(const String &filename)
Loads the passed library.
void removeListener(Listener *l)
Remove a listener to this viewport.
static const Matrix4 IDENTITY
Definition: OgreMatrix4.h:299
@ M_EDGE_GROUP
Definition: OgreMeshFileFormat.h:160
virtual void setMaterial(size_t subIndex, const MaterialPtr &mat)
This is an overloaded member function, provided for convenience. It differs from the above function o...
CompositionPass(CompositionTargetPass *parent)
virtual void loadResource(Resource *resource)=0
Called when a resource wishes to load instead of Resource::loadImpl.
void doSet(void *target, const String &val)
virtual void rebindIndexBuffer(const HardwareIndexBufferSharedPtr &indexBuffer) override
This function informs the shadow renderable that the global index buffer from the SceneManager has be...
bool hasAutoConstants(void) const
Returns true if this instance has any automatic constants.
Definition: OgreGpuProgramParams.h:1761
GLES2TextureManager(GLES2RenderSystem *renderSystem)
Definition: OgreHlmsPropertyHelper.h:43
void _setRawAutoConstantReal(size_t physicalIndex, AutoConstantType acType, Real rData, uint16 variability, size_t elementSize=4)
As setAutoConstantReal, but sets up the auto constant directly against a physical buffer index.
~D3D11HardwareVertexBuffer()
friend ValueType * any_cast(Any *)
Definition: OgreAny.h:381
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:105
void setVisibilityMask(uint32 mask)
Set the scene visibility mask used by this pass.
@ SPC_LIGHTDIRECTION_WORLD_SPACE7
Definition: OgreShaderParameter.h:187
@ LB_BlendColorBurn
Definition: OgreShaderExLayeredBlending.h:66
bool isTransparentSortingEnabled(void) const
Returns true if this Technique has transparent sorting enabled.
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D9HLSLProgram.h:176
virtual void _threadMain()=0
Main function for each thread spawned.
std::vector< size_t > VecIndices
To hold indices.
Definition: OgreVolumeMeshBuilder.h:107
In(const Vector4 &v)
Definition: OgreShaderFunctionAtom.h:171
void setReceiveDynamicShadowsPSSM(PSSMShadowCameraSetup *pssmSettings)
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
std::vector< Profile * > ProfileList
List of profiles - NB should be ordered in descending complexity.
Definition: OgreTerrainMaterialGenerator.h:211
void removeAndDestroyAllChildren(void)
Removes and destroys all children of this node.
LoadingState
Enum identifying the loading state of the resource.
Definition: OgreResource.h:103
SphereSceneQuery(SceneManager *mgr)
Concrete impl.
Definition: OgreOverlayProfileSessionListener.h:51
Degree & operator/=(Real f)
Definition: OgreMath.h:139
void setSetting(BatchSettingId id, bool enabled, const String &materialName=BLANKSTRING)
Applies a setting for all batches using the same material_ existing ones and those that will be creat...
MeshBuilder(void)
Constructor.
void removeMovableObjectFactory(MovableObjectFactory *fact)
Removes a previously registered MovableObjectFactory.
virtual void removeAllPages()
Remove all pages immediately.
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:70
BillboardSet * getBillboardSet(const String &name) const
Retrieves a pointer to the named BillboardSet.
Definition: OgreHlmsDatablock.h:46
T squaredDistance(const Vector &rhs) const
Returns the square of the distance to another vector.
Definition: OgreVector.h:507
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
VertexSplits vertexSplits
A list of vertex indices which were split off into new vertices because of mirroring.
Definition: OgreTangentSpaceCalc.h:80
void setOrthoWindowHeight(Real h)
Sets the orthographic window height, for use with orthographic rendering only.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
Matrix4(const U *ptr)
Definition: OgreMatrix4.h:239
virtual void setDynamic(bool dyn)
Sets whether or not the buffers created for this object are suitable for dynamic alteration.
virtual void copyFrom(const SubRenderState &rhs)
_OgreExport bool operator==(const ShadowTextureConfig &lhs, const ShadowTextureConfig &rhs)
virtual void preConversion(ScriptCompiler *compiler, ConcreteNodeListPtr nodes)
Allows for responding to and overriding behavior before a CST is translated into an AST.
HardwareVertexBufferSharedPtr allocateVertexBufferCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, BufferLicenseType licenseType, HardwareBufferLicensee *licensee, bool copyData=false)
Allocates a copy of a given vertex buffer.
Interface of the NVIDIA stereo driver.
Definition: OgreD3D11StereoDriverNVIDIA.h:43
DualGridGenerator(void)
Constructor.
SimplePageContentCollectionFactory()
Definition: OgreSimplePageContentCollection.h:116
@ RSC_POINT_EXTENDED_PARAMETERS
Supports extra point parameters (minsize, maxsize, attenuation)
Definition: OgreRenderSystemCapabilities.h:130
static Listener * getSharedListener(void)
Retrieve a pointer to the current shared render system listener.
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
@ SPC_TANGENT_TANGENT_SPACE
Tangent in tangent space.
Definition: OgreShaderParameter.h:258
~Lod0Stripifier()
Definition: OgreLod0Stripifier.h:93
ColourValue colourArg2
Manual colour value for manual source2.
Definition: OgreBlendMode.h:154
virtual void read(Matrix3 *m, size_t count=1)
Real z
Definition: OgreQuaternion.h:344
HardwareBufferLockGuard(const SharedPtr< T > &p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:393
T * allocate(size_t n)
Definition: OgreAlignedAllocator.h:113
bool getSharedVertexDataAnimationIncludesNormals() const
Returns whether animation on shared vertex data includes normals.
Definition: OgreMesh.h:891
static void setPixelBoxMapping(PixelBox &box, const D3D11_MAPPED_SUBRESOURCE &mapping)
utility method, applies dataPtr/rowPitch/slicePitch from D3D11_MAPPED_SUBRESOURCE to Ogre PixelBox
const Vector3 & _getBindingPoseInversePosition(void) const
Gets the inverted binding pose position.
Definition: OgreBone.h:122
PageManager * getManager() const
Definition: OgrePageStrategy.h:88
RenderSysAllocatedObject GpuParamsAlloc
Definition: OgreMemoryAllocatorConfig.h:132
@ LOADSTATE_LOADING
Loading is in progress.
Definition: OgreResource.h:107
@ VET_FLOAT1
Definition: OgreHardwareVertexBuffer.h:121
virtual void _addNode(PCZSceneNode *)
Adds an SceneNode to this OctreeZone.
Factory object for creating ManualObject instances.
Definition: OgreManualObject.h:579
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
String getParameter(const String &name) const
Generic parameter retrieval method.
Definition: OgreStringInterface.h:270
const Vector3 & getScale() const
Retrieve the local scale.
Definition: OgreInstancedEntity.h:243
void doSet(void *target, const String &val)
uint32 getTypeFlags(void) const
Get the 'type flags' for this MovableObject.
@ PF_DEPTH16
Depth texture format.
Definition: OgrePixelFormat.h:113
const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
static OGRE_NORETURN void throwException(Exception::ExceptionCodes code, const String &desc, const String &src, const char *file, long line)
Definition: OgreException.h:276
void resize(const AxisAlignedBox &box)
Resizes the octree to the given size.
virtual void initializeSession()=0
Create the internal resources.
static bool pointInTri3D(const Vector3 &p, const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &normal)
Checks whether a given 3D point is inside a triangle.
bool isStatic() const
Returns true if this batch was set as static.
Definition: OgreInstanceBatchHW_VTF.h:104
TextureAddressingMode v
Definition: OgreHlmsPbsMaterial.h:82
void load(Ogre::DataStreamPtr &stream, const Ogre::String &groupName, Ogre::SceneNode *rootNode)
Load a scene from a file.
std::map< uint32, TerrainSlot * > TerrainSlotMap
Packed map, signed 16 bits for each axis from -32767 to +32767.
Definition: OgreTerrainGroup.h:473
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
@ PT_SHORT
Definition: OgreStringInterface.h:53
const CameraList & getCameraList() const
Returns a list of cameras being tracked.
Abstract class defining common features of hardware buffers.
Definition: OgreHardwareBuffer.h:75
virtual ~ZoneData()
Standard destructor.
ParticleType mParticleType
Determines the type of particle.
Definition: OgreParticle.h:98
const ColourValue & getCompositeMapDiffuse() const
Get the composite map iffuse light to use.
Definition: OgreTerrain.h:1925
bool createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
virtual void scriptParseEnded(const String &scriptName, bool skipped)
This event is fired when the script has been fully parsed.
Definition: OgreResourceGroupManager.h:128
SkeletonPtr pSkeleton
Definition: OgreSkeleton.h:473
PatchMeshPtr createBezierPatch(const String &name, const String &groupName, void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=true, bool ibUseShadow=true)
Creates a Bezier patch based on an array of control vertices.
ConstMapIterator(const T &c)
Constructor.
Definition: OgreIteratorWrapper.h:368
void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
GLSLProgramManager(GL3PlusRenderSystem *renderSystem)
std::vector< HardwareAnimationData > HardwareAnimationDataList
Definition: OgreVertexIndexData.h:99
virtual void readData(void *buf, size_t size, size_t count)
Read arbitrary data from a stream.
@ SPC_LIGHTPOSITIONVIEW_SPACE7
Definition: OgreShaderParameter.h:237
size_t prevOnlyIndexCount
Used by output providers only!
Definition: OgreLodData.h:143
void initialiseContext(RenderWindow *primary)
bool requiresTextureFlipping() const
Definition: OgreGL3PlusFBOMultiRenderTarget.h:50
static unsigned long FACTORY_TYPE_FLAG
Definition: OgrePortal.h:88
void extractMovableObject(MovableObject *m)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void merge(const QueuedRenderableCollection &rhs)
Merge renderable collection.
void doSet(void *target, const String &val)
UINT getSubresourceIndex(size_t box_front) const
LodCollapseCostPtr cost
Definition: OgreLodWorkQueueRequest.h:48
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
@ VET_FLOAT3
Definition: OgreHardwareVertexBuffer.h:123
Factory class for particle emitter of type "Cylinder".
Definition: OgreCylinderEmitterFactory.h:44
SDL_Window NativeWindowType
Definition: OgreApplicationContextBase.h:69
bool getShadowCastersCannotBeReceivers(void) const
Gets whether or not objects which cast shadows should be treated as never receiving shadows.
const AxisAlignedBox & getBounds(void) const
Gets the bounds of this patch, only valid after calling defineSurface.
void reset()
Reset the internal counter.
Definition: OgreNameGenerator.h:68
ushort getNumVertexAttributes(void) const
Definition: OgreRenderSystemCapabilities.h:462
bool IsWorkingUnderNsight()
const Vector3 getCenterFrontRight(void) const
Gets the center of the corners 2, 6.
Definition: OgreVolumeOctreeNode.h:449
static const Real POS_INFINITY
Definition: OgreMath.h:748
Definition of a chunk of data in a file.
Definition: OgreStreamSerialiser.h:93
unsigned char getAlphaRejectValue(void) const
Gets the alpha reject value.
Definition: OgrePass.h:1022
std::list< unsigned long > ColorList
Definition: OgreOctreeSceneManager.h:62
const String & getTessellationHullProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1305
void setVisibilityFlags(uint32 flags)
Sets the visibility flags of all the regions at once.
CompositionTargetPass * getTargetPass(size_t idx)
Get a target pass.
String getBottomLeftBorderUVString() const
virtual void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op=SBO_ADD, SceneBlendOperation alphaOp=SBO_ADD)=0
virtual Ogre::Any getValue() const =0
Return the current value as an Any.
std::unordered_map< String, ushort > SubMeshNameMap
A hashmap used to store optional SubMesh names.
Definition: OgreMesh.h:124
int getUsage() const
Returns the TextureUsage identifier for this Texture.
Definition: OgreTexture.h:264
const String & getPreprocessorDefines() const
Definition: OgreShaderProgram.h:187
void setNormalMapSampler(const SamplerPtr &sampler)
set the normal map sampler
Definition: OgreShaderExNormalMapLighting.h:155
std::vector< GLUniformReference > GLUniformReferenceList
Definition: OgreGLSLProgramCommon.h:52
@ FRUSTUM_PLANE_NEAR
Definition: OgreFrustum.h:72
bool isError() const
Definition: OgreD3D11Device.h:87
void setShaderCachePath(const String &cachePath)
Set the output shader cache path.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator) OGRE_NODISCARD
Create an instance of the SubRenderState based on script properties.
Definition: OgreShaderSubRenderState.h:264
const String & getValue() const
Returns a string value depending on the type of the AbstractNode.
Definition: OgreScriptCompiler.h:136
D3D9VideoModeList * getVideoModeList()
Vector(T _x, T _y)
Definition: OgreVector.h:313
void notifyControlPointBufferDeallocated(void)
Convenience method for telling the patch that the control points have been deleted,...
Definition: OgrePatchSurface.h:174
PoseRefIterator getPoseReferenceIterator(void)
Get an iterator over the pose references.
void setRenderQueueGroupAndPriority(uint8 queueID, ushort priority)
Sets the render queue group and group priority this entity will be rendered through.
@ TA_READ
Definition: OgreTexture.h:86
virtual Real getValue(const Vector3 &position) const
Overridden from VolumeSource.
Stream which compresses / uncompresses data using the 'deflate' compression algorithm.
Definition: OgreDeflate.h:58
void processWorkQueue(void)
Calls the process-update of the WorkQueue so it doesn't block.
const Vector3 getCenterBack(void) const
Gets the center of the corners 0, 1, 4, 5.
Definition: OgreVolumeOctreeNode.h:296
Factory class for SimplePageContentCollection.
Definition: OgreSimplePageContentCollection.h:112
void setClearStencil(uint32 value)
Set the viewport clear stencil value (defaults to 0)
bool isReverseDepthBufferEnabled() const
Returns if reverse Z-buffer is enabled.
String frames[32]
Definition: OgreQuake3Shader.h:102
ParticleSystem * createParticleSystem(const String &name, const String &templateName)
Creates a particle system based on a template.
void clip(const AxisAlignedBox &aab)
Clips the body with an AAB.
ComPtr & operator=(const ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:159
void setAutoConstant(size_t index, AutoConstantType acType, size_t extraInfo=0)
Sets up a constant which will automatically be updated by the system.
void setDepthCheckEnabled(bool enabled)
Sets whether or not each Pass renders with depth-buffer checking on or not.
virtual ~CGProgramProcessor()
Class destructor.
@ PF_R32G32B32_UINT
96-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int), 32 bits green (unsigned...
Definition: OgrePixelFormat.h:166
void setQuadFarCorners(bool farCorners, bool farCornersViewSpace)
Sets the use of camera frustum far corners provided in the quad's normals.
RenderStateCreateOrRetrieveResult createOrRetrieveRenderState(const String &schemeName)
Returns a requested render state.
bool setParameter(const String &name, const String &value)
Generic parameter setting method.
void close(void)
Close the stream; this makes further operations invalid.
DataStream(const String &name, uint16 accessMode=READ)
Constructor for creating named streams.
Definition: OgreDataStream.h:199
virtual size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
Definition: OgreDataStream.h:225
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
@ SPC_DEPTH_WORLD_SPACE
Depth in world space.
Definition: OgreShaderParameter.h:282
D3D11RenderToVertexBuffer(D3D11Device &device, D3D11HardwareBufferManagerBase *bufManager)
virtual Technique * getTechnique(void) const
Retrieves a pointer to the Material Technique this renderable object uses.
Definition: OgreRenderable.h:85
Vector3 scale
Definition: OgreStaticGeometry.h:177
@ PF_ETC1_RGB8
ETC1 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:230
@ ACT_DERIVED_LIGHT_DIFFUSE_COLOUR
The derived light diffuse colour (index determined by setAutoConstant call), with 'r',...
Definition: OgreGpuProgramParams.h:931
virtual size_t read(void *buf, size_t count)=0
Read the requisite number of bytes from the stream, stopping at the end of the file.
OgreBites::WindowEventUtilities WindowEventUtilities
Definition: OgreWindowEventUtilities.h:177
size_t indexCount
Index size: 2 or 4 byte/index is supported only.
Definition: OgreLodBuffer.h:47
Command object for red adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:86
virtual void abortRequestsByChannel(uint16 channel)=0
Abort all previously issued requests in a given channel.
bool getTransposeMatrices(void) const
Gets whether or not matrices are to be transposed when set.
Definition: OgreGpuProgramParams.h:1968
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
static const Real NEG_INFINITY
Definition: OgreMath.h:749
void swap(HashedVector< T > &rhs)
Definition: OgreCommon.h:499
int subtype
Definition: OgreTextureUnitState.h:316
@ SKELETON_ANIMATION_BASEINFO
Definition: OgreSkeletonFileFormat.h:85
void addVisibilityFlags(uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on th...
Definition: OgreMovableObject.h:435
const float * getFloatPointer(size_t pos) const
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:1672
const Vector3 getCenterFrontLeft(void) const
Gets the center of the corners 3, 7.
Definition: OgreVolumeOctreeNode.h:431
virtual Real getMaxRepeatDelay(void) const
Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
virtual bool isCaseSensitive(void) const =0
Returns whether this archive is case sensitive in the way it matches files.
SubMesh * clone(const String &newName, Mesh *parentMesh=0)
Makes a copy of this submesh object and gives it a new name.
size_t getVertexCount(void) const
Vertex count.
This is a simplistic C/C++-like preprocessor.
Definition: OgreGLSLPreprocessor.h:63
bool isNvPerfHUDEnable() const
Returns true if this window should use NV Perf HUD adapter.
ParameterPtr modControlParam
Definition: OgreShaderExLayeredBlending.h:104
bool hasBillboardChain(const String &name) const
Returns whether a billboard chain with the given name exists.
To store the generated dual cells in a vector.
Definition: OgreVolumeDualGridGenerator.h:48
@ PF_R8G8_SINT
16-bit pixel format, 8 bits red (signed int), 8 bits blue (signed int).
Definition: OgrePixelFormat.h:172
std::multimap< TextureEffectType, TextureEffect > EffectMap
Texture effects in a multimap paired array.
Definition: OgreTextureUnitState.h:329
void removeSceneNode(SceneNode *)
Removes the given PCZSceneNode.
unsigned short getNumEmitters(void) const
Returns the number of emitters for this particle system.
@ SDLK_SCROLLLOCK
Definition: OgreInput.h:114
void update(void)
Tells this controller to map it's input controller value to it's output controller value,...
Definition: OgreController.h:214
@ SPC_DEPTH_OBJECT_SPACE
Depth in object space.
Definition: OgreShaderParameter.h:279
bool isBorderLeft(const OctreeNode &root) const
Gets whether this cell is at the left of the given root cell.
Definition: OgreVolumeOctreeNode.h:232
AnimationStateSet * getAllAnimationStates(void) const
ProfileGroupMask
List of reserved profiling masks.
Definition: OgreProfiler.h:80
@ GHA_RIGHT
Definition: OgreOverlayElement.h:70
SharedPtr< AbstractNodeList > AbstractNodeListPtr
Definition: OgreScriptCompiler.h:89
OctreePlaneBoundedVolumeListSceneQuery(SceneManager *creator)
bool getUseBaseKeyFrame() const
Whether a base keyframe is being used for this Animation.
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
static const uint32 CHUNK_ID
Definition: OgreGrid2DPageStrategy.h:142
D3D11RenderingAPIException(int hr, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreD3D11Prerequisites.h:138
void destroyNumericTrack(unsigned short handle)
Destroys the numeric track with the given handle.
RenderQueueInvocationSequence(const String &name)
LodWorkQueueInjectorListener()
Definition: OgreLodWorkQueueInjectorListener.h:40
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
Definition: OgrePagedWorldSection.h:70
static bool hasAlpha(PixelFormat format)
Shortcut method to determine if the format has an alpha component.
Transform specialization for 3D Affine - encapsulating a 3x4 Matrix.
Definition: OgreMatrix4.h:319
@ ID_ANISOTROPIC
Definition: OgreScriptCompiler.h:722
virtual String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const =0
Maps a magic number header to a file extension, if this codec recognises it.
@ ACT_LIGHT_SPECULAR_COLOUR_ARRAY
Array of light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:877
UniformParameterList::const_iterator UniformParameterConstIterator
Definition: OgreShaderParameter.h:620
void prepareEntityForSkinning(const Entity *pEntity, SkinningType skinningType=ST_LINEAR, bool correctAntidpodalityHandling=false, bool shearScale=false)
Prepares an entity's material for use in the hardware skinning (HS).
CollapseCostHeap mCollapseCostHeap
Makes possible to get the vertices with the smallest collapse cost.
Definition: OgreLodData.h:156
const String & getLanguage(void) const
Overridden from GLSLESProgram.
Vector3 position
Definition: OgreBillboardChain.h:97
bool isLoading() const
Returns whether the resource is currently in the process of background loading.
virtual GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)=0
static PixelComponentType getComponentType(PixelFormat fmt)
Returns the component type for a certain pixel format.
void unbindGpuProgram(GpuProgramType gptype)
Unbinds GpuPrograms of a given GpuProgramType.
void setPortalsUpdated(bool updated)
Definition: OgrePCZone.h:243
void setVertexDeclaration(VertexDeclaration *decl, bool useGlobalInstancingVertexBufferIsAvailable)
virtual void _notifyManualBonesDirty(void)
Internal method for marking the manual bones as dirty.
static CmdForceApp msForceAppCmd
Definition: OgreLinearForceAffector.h:109
void lookAt(const Vector3 &targetPoint, TransformSpace relativeTo, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Points the local -Z direction of this node at a point in space.
int type
Definition: OgreQuake3Types.h:188
Pass * _split(unsigned short numUnits)
Splits this Pass to one which can be handled in the number of texture units specified.
void setShadowTextureSize(unsigned short size)
Set the size of the texture used for all texture-based shadows.
Definition: OgreSceneManager.h:2721
@ M_MESH_LOD_LEVEL
Definition: OgreMeshFileFormat.h:109
@ FT_TRUETYPE
Generated from a truetype (.ttf) font.
Definition: OgreFont.h:47
VariableAccessAbstractNode(AbstractNode *ptr)
void operator()(T *p)
Definition: OgreSharedPtr.h:42
@ ID_SCHEME
Definition: OgreScriptCompiler.h:608
void setSubroutine(size_t index, const String &subroutine)
Set subroutine name by slot index.
@ mutAuto
Definition: OgreD3D9RenderSystem.h:64
virtual void setValue(const Degree &)
Set value.
Definition: OgreAnimable.h:179
T * operator->() const
Definition: OgreSharedPtr.h:76
@ LB_BlendOverlay
Definition: OgreShaderExLayeredBlending.h:62
IlluminationRenderStage _getCurrentRenderStage()
Definition: OgreSceneManager.h:3466
static std::vector< String > tokenise(const String &str, const String &delims="\t\n ", const String &doubleDelims="\"", unsigned int maxSplits=0)
Returns a StringVector that contains all the substrings delimited by the characters in the passed del...
void blitFromTexture(GLTextureBuffer *src, const Box &srcBox, const Box &dstBox)
Blitting implementation.
Particle * getParticle(size_t index)
Retrieve a particle from the system for manual tweaking.
std::vector< uint32 > & _getVaoDeferredForDestruction()
VAOs deferred for destruction in proper GL context.
Definition: OgreGLContext.h:87
void unbindProgram(void)
Execute the unbinding functions for this program.
const AxisAlignedBox & getDarkCapBounds(const Light &light, Real dirLightExtrusionDist) const override
Gets the world space bounding box of the dark cap, as extruded using the light provided.
String doGet(const void *target) const
bool _fireEvent(ScriptCompilerEvent *evt, void *retval)
Adds a name exclusion to the map.
virtual void getMidPointGridSpace(int32 x, int32 y, int32 z, Vector3 &mid)
void setNormaliseNormals(bool normalise)
Sets whether or not normals are to be automatically normalised.
IsoSurfaceMC(const Source *src)
Constructor.
void install()
Perform the plugin initial installation sequence.
DistanceLodBoxStrategy()
Default constructor.
void CreateGeometryShader()
ConstPoseRefIterator getPoseReferenceIterator(void) const
Get a const iterator over the pose references.
uint32 getStencilMask(void) const
Gets the current stencil mask.
Definition: OgreGLStateCacheManagerCommon.h:117
void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderGLSLProgramProcessor.h:60
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to prepare page content procedurally.
unsigned int getNumSections(void) const
Retrieves the number of ManualObjectSection objects making up this ManualObject.
GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
virtual size_t tell(void) const =0
Returns the current byte offset from beginning.
void bind(IDirect3DDevice9 *dev, IDirect3DSurface9 *mSurface, IDirect3DSurface9 *fsaaSurface, bool writeGamma, uint fsaa, const String &srcName, IDirect3DBaseTexture9 *mipTex)
Call this to associate a D3D surface or volume with this pixel buffer.
An abstract class that contains a depth/stencil buffer.
Definition: OgreDepthBuffer.h:80
virtual bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
Definition: OgreSceneManager.h:1802
~PCZSceneNode()
Standard destructor.
static const IdString UvCount0
Definition: OgreHlmsPropertyHelper.h:57
@ OPM_ALL
Definition: OgreShaderFunctionAtom.h:81
void createZoneSpecificNodeData(PCZSceneNode *)
Create any zone-specific data necessary for all zones for the given node.
bool getDisplaySkeleton(void) const
Returns whether or not the entity is currently displaying its skeleton.
void loadImage(DataStreamPtr &stream, const String &ext=BLANKSTRING)
Load an image into this blend layer.
virtual void setColour(const ColourValue &col)
Sets the colour on elements that support it.
static const Vector4 ZERO
Definition: OgreVector.h:293
bool isHardwareFilteringSupported(TextureType, PixelFormat, int, bool) override
Returns whether this render system has hardware filtering supported for the texture format requested ...
Definition: OgreTextureManager.h:465
virtual Ogre::FloatRect const * getTextureCoords(uint16 *oNumCoords)
getTextureCoords() returns the current texture coordinate rects in effect.
virtual void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)=0
(recursive) Check the given light against all portals in the zone
@ M_ANIMATION_TRACK
Definition: OgreMeshFileFormat.h:192
Definition: OgreD3D9Driver.h:41
@ PF_FLOAT32_R
32-bit pixel format, 32 bits (float) for red
Definition: OgrePixelFormat.h:122
virtual void index(uint32 idx)
Add a vertex index to construct faces / lines / points via indexing rather than just by a simple list...
virtual bool bind(bool recreateIfNeeded)=0
Bind FrameBufferObject.
virtual const String & getType() const
@ SDLK_KP_0
Definition: OgreInput.h:140
TRect()
Definition: OgreCommon.h:599
const Vector3 getCenterBottom(void) const
Gets the center of the corners 0, 1, 2, 3.
Definition: OgreVolumeOctreeNode.h:341
SceneManager * createInstance(const String &instanceName)
Create a new instance of a SceneManager.
TextureEffectType type
Definition: OgreTextureUnitState.h:315
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
ShadowTechnique
An enumeration of broad shadow techniques.
Definition: OgreCommon.h:215
HardwareBufferManagerBase()
uint16 resolution
Definition: OgreTerrainLodManager.h:82
ushort getVertexProgramConstantIntCount(void) const
The number of integer constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:588
virtual void setPageRangeMaxY(int32 maxY)
Set the index range of all Pages (values outside this will be ignored)
@ PF_BYTE_BGR
24-bit pixel format, 8 bits for red, green and blue.
Definition: OgrePixelFormat.h:290
~GL3PlusHardwareBufferManager()
bool hasViewRelativeTextureCoordinateGeneration(void) const
Returns whether this unit has texture coordinate generation that depends on the camera.
@ ID_TEX_ADDRESS_MODE
Definition: OgreScriptCompiler.h:713
virtual void operationCompleted(BackgroundProcessTicket ticket, const BackgroundProcessResult &result)=0
Called when a requested operation completes, queued into main thread.
virtual bool canHandleResponse(const Response *res, const WorkQueue *srcQ)
Return whether this handler can process a given response.
Definition: OgreWorkQueue.h:209
~OverlayTranslatorManager()
virtual bool objectRendering(const MovableObject *, const Camera *)
Called when the movable object of the camera to be used for rendering.
Definition: OgreMovableObject.h:78
DXGI_SWAP_CHAIN_DESC_N * _getSwapChainDescription(void)
Definition: OgreD3D11RenderWindow.h:124
virtual ~AbstractNode()
Definition: OgreScriptCompiler.h:101
@ ACT_LIGHT_POWER_SCALE_ARRAY
Array of light power levels, a single scalar as set in Light::setPowerScale (count set by extra param...
Definition: OgreGpuProgramParams.h:905
CompositorPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new compositor.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void setFocalLength(Real focalLength=1.0)
Sets frustum focal length (used in stereo rendering).
static void lockDeviceAccess()
void clear(void)
Empty the collection.
virtual void materialEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Material *mat)
Called when material section event raised.
Definition: OgreMaterialSerializer.h:74
const String & getFullDescription(void) const
Returns a string with the full description of this error.
Definition: OgreD3D11Prerequisites.h:143
void execute(SceneQueryListener *listener)
See RayScenQuery.
virtual void setColourRangeEnd(const ColourValue &colour)
Sets the maximum colour of particles to be emitted.
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
virtual void setPageRangeMinX(int32 minX)
Set the index range of all Pages (values outside this will be ignored)
@ LB_BlendDarken
Definition: OgreShaderExLayeredBlending.h:53
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:89
const Any & getUserAny(void) const
Definition: OgreRenderable.h:340
Comparator for material map, for sorting materials into render order (e.g.
Definition: OgreSceneManager.h:180
virtual void addRequestHandler(uint16 channel, RequestHandler *rh)
Add a request handler instance to the queue.
static String toString(ColourBufferType val)
const String & getName(void) const
Gets the name of this overlay.
void doSet(void *target, const String &val)
@ RCP_CREATE_ON_ALL_DEVICES
Definition: OgreD3D9ResourceManager.h:50
MeshSerializerListener * getListener()
Returns the current listener.
bool isFloat() const
Definition: OgreGpuProgramParams.h:165
bool bind(bool recreateIfNeeded)
Bind FrameBufferObject.
void apply(Skeleton *skeleton, Real timePos, float weight, const AnimationState::BoneBlendMask *blendMask, Real scale)
Applies all node tracks given a specific time point and weight to a given skeleton.
std::vector< Image * > ImagePtrList
Definition: OgreImage.h:445
const String & getProgramName(void) const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:124
Real scale
Definition: OgreSkeleton.h:474
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
IlluminationPass()
Definition: OgrePass.h:1667
void _notifyNeedsRecompile(void)
Tells the pass that it needs recompilation.
virtual ~TerrainDefiner()
Definition: OgreTerrainPagedWorldSection.h:165
size_t getShaderCount(GpuProgramType type) const
Return the current number of generated shaders.
const ContentCollectionList & getContentCollectionList() const
Get the list of content collections.
void acceptVisitor(QueuedRenderableVisitor *visitor, OrganisationMode om) const
Accept a visitor over the collection contents.
A grouping level underneath RenderQueue which groups renderables to be issued at coarsely the same ti...
Definition: OgreRenderQueueSortingGrouping.h:453
static const ColourValue Blue
Definition: OgreColourValue.h:65
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program pipeline object uniforms using named and indexed parameter data from GpuProgramParame...
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
Definition: OgreFreeImageCodec.h:94
int mNumVertices
Definition: OgreQuake3Level.h:147
void getWorldTransforms(Matrix4 *xform) const override
Gets the world transform matrix / matrices for this renderable object.
Definition: OgreBspLevel.h:117
@ ID_SET_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:598
void destroyRenderTarget(RenderTarget *target)
Destroys the given RenderTarget.
Structure recording the use of a physical buffer by a logical parameter index.
Definition: OgreGpuProgramParams.h:365
Octree * mChildren[2][2][2]
3D array of children of this octree.
Definition: OgreOctree.h:107
void adjustWindow(unsigned int clientWidth, unsigned int clientHeight, unsigned int *winWidth, unsigned int *winHeight)
const String & getMaterialScheme(void) const
Get the material scheme used by this target pass.
virtual void setWorldFragmentType(enum WorldFragmentType wft)
Tells the query what kind of world geometry to return from queries; often the full renderable geometr...
ushort getVertexProgramConstantBoolCount(void) const
The number of boolean constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:593
Real getElapsedTime(void) const
virtual void setAssociatedNode(Node *node)
Sets the associated Node object which will be automatically affected by calls to 'apply'.
static ScriptCompilerManager & getSingleton(void)
Get the singleton instance.
virtual const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
Definition: OgreParticleSystem.h:369
static CompositorManager * getSingletonPtr(void)
Get the singleton instance.
void doSet(void *target, const String &val)
virtual String getType() const =0
Returns the type of the codec as a String.
@ LBS_TEXTURE
the colour derived from the texture assigned to this layer
Definition: OgreBlendMode.h:117
void readLodData(uint16 lowerLodBound, uint16 higherLodBound)
Read separated geometry data from file into allocated memory.
void FromEulerAnglesYXZ(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
bool isZeroLength() const
Returns true if this vector is zero length.
Definition: OgreVector.h:471
AxisAlignedBox mBox
The bounding box of the octree.
Definition: OgreOctree.h:85
virtual ~FrameListener()
Definition: OgreFrameListener.h:130
Class for managing Controller instances.
Definition: OgreControllerManager.h:57
void _compileBoneAssignments(void)
Must be called once to compile bone assignments into geometry buffer.
void _notifyCurrentCamera(Camera *cam)
Internal method to notify the object of the camera to be used for the next rendering operation.
D3DDEVTYPE getDeviceType() const
Controller< Real > * createController(const ControllerValueRealPtr &src, const ControllerValueRealPtr &dest, const ControllerFunctionRealPtr &func)
Creates a new controller and registers it with the manager.
PlaneBoundedVolumeListSceneQuery(SceneManager *mgr)
virtual RequestID addRequest(uint16 channel, uint16 requestType, const Any &rData, uint8 retryCount=0, bool forceSynchronous=false, bool idleThread=false)=0
Add a new request to the queue.
virtual uint32 getLoadingIntervalMs() const
Get the interval between the loading of single pages in milliseconds (ms)
std::list< T > type
Definition: OgrePrerequisites.h:351
const String & getMovableType(void) const
Returns the type name of this object.
static OGRE_FORCE_INLINE uint64 bswap64(uint64 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:76
static ParameterPtr createInBiNormal(int index)
const DoubleConstantList & getDoubleConstantList() const
Get a reference to the list of double constants.
Definition: OgreGpuProgramParams.h:568
unsigned short _getNumBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:608
virtual RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask=0xFFFFFFFF)
Creates a RaySceneQuery for this scene manager.
bool isVisible(const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
float * inputFloat
Optional list of terrainSize * terrainSize floats defining the terrain.
Definition: OgreTerrain.h:368
void setMaxSimultaneousLights(unsigned short maxLights)
Sets the maximum number of lights to be used by this pass.
void addOverlayElementFactory(OverlayElementFactory *elemFactory)
Registers a new OverlayElementFactory with this manager.
void removeAllPasses()
Remove all passes.
virtual void _setMaterial(MaterialPtr &mat)=0
Sets the material this renderer must use; called by ParticleSystem.
void doSet(void *target, const String &val)
Vector3 position
Definition: OgreSceneManager.h:84
static void Intermediate(const Quaternion &rkQ0, const Quaternion &rkQ1, const Quaternion &rkQ2, Quaternion &rka, Quaternion &rkB)
Setup for spherical quadratic interpolation.
@ SCRQM_INCLUDE
Render only the queues in the special case list.
Definition: OgreSceneManager.h:207
size_t indexSet
The set of indexes this triangle came from (NB it is possible that the triangles on one side of an ed...
Definition: OgreEdgeListBuilder.h:62
static const uint64 TERRAIN_GENERATE_MATERIAL_INTERVAL_MS
Definition: OgreTerrain.h:277
void setInitialState(void)
Sets the current transform of this node to be the 'initial state' ie that position / orientation / sc...
void doSet(void *target, const String &val)
void convertDirection(Space inSpace, const Vector3 &inDir, Space outSpace, Vector3 &outDir) const
Convert a direction from one space to another with respect to this terrain.
@ LB_BlendGlow
Definition: OgreShaderExLayeredBlending.h:74
void destroyStaticGeometry(const String &name)
Remove & destroy a StaticGeometry instance.
@ LBX_SOURCE1
use source1 without modification
Definition: OgreBlendMode.h:77
@ ID_SCROLL_Y
Definition: OgreScriptCompiler.h:767
void setAttenuation(float range, float constant, float linear, float quadratic)
Sets the attenuation parameters of the light source i.e.
Definition: OgreLight.h:163
virtual void bindProgramParameters(GpuProgramParametersSharedPtr params, uint16 mask)=0
Execute the param binding functions for this program.
@ LB_BlendHardMix
Definition: OgreShaderExLayeredBlending.h:72
ResourcePtr createResource(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Creates a new blank resource, but does not immediately load it.
bool isSupported(void) const
Overridden from GpuProgram.
virtual void copyFrom(const SubRenderState &rhs)
@ ACT_TIME_0_X_PACKED
Vector of "Time0_X", "SinTime0_X", "CosTime0_X", "TanTime0_X".
Definition: OgreGpuProgramParams.h:1027
@ LB_BlendLinearLight
Definition: OgreShaderExLayeredBlending.h:69
Implementation of HardwareBufferManager for D3D11.
Definition: OgreD3D11HardwareBufferManager.h:38
std::list< MovableObject * > SceneQueryResultMovableList
Definition: OgreSceneQuery.h:200
bsp_brush_t * mBrushes
Definition: OgreQuake3Level.h:157
CSGScaleSource(const Source *src, const Real scale)
Constructor.
void addSharedParameters(GpuSharedParametersPtr sharedParams)
Use a set of shared parameters in this parameters object.
virtual void applyDeltaValue(const Vector4 &)
Apply delta value.
Definition: OgreAnimable.h:205
Real tcModRotate
Definition: OgreQuake3Shader.h:90
virtual ~VertexDeclaration()
@ ACT_COSTIME_0_X
Cosine of "Time0_X". Equivalent to RenderMonkey's "CosTime0_X".
Definition: OgreGpuProgramParams.h:1019
void unloadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
virtual const String & getType() const
@ SPC_POSTOLIGHT_OBJECT_SPACE1
Definition: OgreShaderParameter.h:131
void setDriverVersion(const DriverVersion &version)
Set the driver version.
Definition: OgreRenderSystemCapabilities.h:377
static DistanceLodBoxStrategy & getSingleton(void)
Get the singleton instance.
Class to hold a linear sequence of RenderQueueInvocation objects.
Definition: OgreRenderQueueInvocation.h:174
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:1337
virtual bool getOption(const String &, void *)
Gets the given option for the Scene Manager.
bool getStencilCheck() const
Get stencil check enable.
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)=0
This function translates the given node into Ogre resource(s).
const Vector2 & getFrustumOffset() const
Retrieves the frustum offsets.
LoadingState getLoadingState() const
Returns the current loading state.
void bindGLVertexArray(GLuint vao)
Bind an OpenGL Vertex array object.
std::map< String, GpuSharedParametersPtr > SharedParametersMap
Definition: OgreGpuProgramManager.h:55
TRect< Real > RealRect
Structure used to define a rectangle in a 2-D floating point space, subject to double / single floati...
Definition: OgreCommon.h:693
static const IdString NumShadowMaps
Definition: OgreHlmsPropertyHelper.h:75
OctreeSceneManager(const String &name, AxisAlignedBox &box, int max_depth)
Standard Constructor.
LinkedSkeletonAnimationSource(const String &skelName, Real scl, SkeletonPtr skelPtr)
Definition: OgreSkeleton.h:477
~OctreePlaneBoundedVolumeListSceneQuery()
virtual void write(const Matrix4 *m, size_t count=1)
@ ID_ALPHA_TO_COVERAGE
Definition: OgreScriptCompiler.h:652
C++ encapsulation of GLSL Program Object.
Definition: OgreGLSLLinkProgram.h:45
virtual void destroyCamera(const String &name)
Removes a camera from the scene.
void releaseVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Manually release a vertex buffer copy for others to subsequently use.
virtual void getCornersGridSpace(int32 x, int32 y, int32 z, Vector3 *pEightPoints)
Get the (grid space) corners of a cell.
Radian operator/(Real f) const
Definition: OgreMath.h:86
void doSet(void *target, const String &val)
virtual size_t getMaxLookupTableInstances() const
Definition: OgreInstanceBatchVTF.h:201
virtual ~DDSCodec()
Definition: OgreDDSCodec.h:76
void setStaticAndUpdate(bool bStatic)
std::list< VertexSplit > VertexSplits
Definition: OgreTangentSpaceCalc.h:71
static bool parse(const String &str, Matrix3 &v)
Real distance(const Vector &rhs) const
Returns the distance to another vector.
Definition: OgreVector.h:492
uint64_t getMillisecondsCPU()
Returns milliseconds since initialisation or last reset, only CPU time measured.
void shutdown()
Shutdown the renderer and cleanup resources.
virtual ID3D11RenderTargetView * getRenderTargetView(uint index=0) const
int getSwitchingFullscreenCounter() const
Definition: OgreD3D11RenderSystem.h:216
Node * getChild(unsigned short index) const
Gets a pointer to a child node.
virtual const TerrainLayerDeclaration & getLayerDeclaration() const
Get the layer declaration that this material generator operates with.
Definition: OgreTerrainMaterialGenerator.h:263
bool StripLod0Vertices(const MeshPtr &mesh, bool stableVertexOrder=false)
Definition: OgreLod0Stripifier.h:297
GLSLLinkProgram * getActiveLinkProgram(void)
Get the program object that links the two active shader objects together if a program object was not ...
void viewportCameraChanged(Viewport *viewport)
Notification of when a new camera is set to target listening Viewport.
uint32 getVisibilityFlags(void) const
Returns the visibility flags relevant for this object.
Definition: OgreMovableObject.h:442
virtual Technique * _arbitrateMissingTechniqueForActiveScheme(Material *mat, unsigned short lodIndex, const Renderable *rend)
Internal method for sorting out missing technique for a scheme.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
@ CBT_BACK_LEFT
Definition: OgreCommon.h:329
@ PCT_UINT
Signed integer per component.
Definition: OgrePixelFormat.h:330
ValType * PointerType
Type you expect to get by funktions like peekNext(Value)Ptr.
Definition: OgreIteratorWrapper.h:65
virtual bool getPassTransformStates(void) const
Returns whether a vertex program wants transform state to be passed through fixed pipeline low level ...
Definition: OgreGpuProgram.h:386
String doGet(const void *target) const
ConstVertexOffsetIterator getVertexOffsetIterator(void) const
void widenRectByVector(const Vector3 &vec, const Rect &inRect, Rect &outRect)
Widen a rectangular area of terrain to take into account an extrusion vector.
static bool match(const String &str, const String &pattern, bool caseSensitive=true)
Simple pattern-matching routine allowing a wildcard pattern.
void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this skeleton.
virtual void initVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called from initCollapseCosts for every edge.
void addRenderable(Renderable *pRend)
Add a renderable object to the queue.
int getHighestLodPrepared() const
Definition: OgreTerrain.h:1859
virtual PlaneBoundedVolumeListSceneQuery * createPlaneBoundedVolumeQuery(const PlaneBoundedVolumeList &volumes, uint32 mask=0xFFFFFFFF)
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
void addGPUDeviceNameRule(const String &devicePattern, IncludeOrExclude includeOrExclude, bool caseSensitive=false)
Add a rule which manually influences the support for this technique based on a pattern that matches a...
SourceModifier
Definition: OgreShaderExLayeredBlending.h:83
virtual void unloadTerrain(long x, long y)
Unload a specific terrain slot.
bool hasNumericTrack(unsigned short handle) const
Does a track exist with the given handle?
@ CE_DUPLICATEOVERRIDE
Definition: OgreScriptCompiler.h:202
@ CLIPPED_ALL
Everything was clipped away.
Definition: OgreCommon.h:800
Basic separator widget.
Definition: OgreTrays.h:492
void _updateRenderQueue(RenderQueue *queue)
Overridden from OverlayContainer.
void setUseIdentityProjection(bool useIdentityProjection)
Sets whether or not to use an 'identity' projection.
void profile(const HardwareIndexBufferSharedPtr &indexBuffer)
@ ID_SOURCE1
Definition: OgreScriptCompiler.h:735
Inner helper class to implement the visitor pattern for rendering objects in a queue.
Definition: OgreSceneManager.h:375
void setFirstRenderQueue(uint8 id)
Set the first render queue to be rendered in this pass (inclusive)
bool mUseVertexNormals
Definition: OgreLodData.h:167
virtual uint getNumberOfViews() const
@ RSC_READ_BACK_AS_TEXTURE
D3D11: supports reading back the inactive depth-stencil buffer as texture.
Definition: OgreRenderSystemCapabilities.h:198
virtual void _notifyViewport()
Overridden from OverlayElement.
D3D9MultiRenderTarget(const String &name)
void setBorderMaterialName(const String &name, const String &group=DEFAULT_RESOURCE_GROUP)
Sets the name of the material to use for the borders.
virtual void setPoolSize(size_t size)
Adjusts the size of the pool of billboards available in this set.
void destroyVertexTrack(unsigned short handle)
Destroys the Vertex track with the given handle.
@ GCT_MATRIX_DOUBLE_4X2
Definition: OgreGpuProgramParams.h:106
@ SHADOWDETAILTYPE_MODULATIVE
Mask for modulative shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:223
virtual void unloadPage(Page *p, bool forceSynchronous=false)
Ask for a page to be unloaded with the given (section-relative) PageID.
void unlock(void)
Releases the lock on this buffer.
bool createShaderBasedTechnique(const Material &srcMat, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName, bool overProgrammable=false)
Create shader based technique from a given technique.
std::atomic< T > AtomicScalar
Definition: OgrePrerequisites.h:316
const SectionMap & getSections() const
Retrieve a const reference to all the sections in this world.
Definition: OgrePagedWorld.h:161
void setInheritParentEntityScale(bool inherit)
Tells the TagPoint whether it should inherit scaling factors from it's parent entity.
void showBoundingBox(bool bShow)
Allows the showing of the node's bounding box.
Definition: OgreSceneNode.h:284
const std::type_info & type() const
Definition: OgreAny.h:114
virtual void unprepare()=0
Unprepare data - may be called in the background.
virtual void getMidPointGridSpace(int32 x, int32 y, Vector2 &mid)
Get the (grid space) mid point of a cell.
virtual void getWorldTransforms(Matrix4 *xform) const =0
Gets the world transform matrix / matrices for this renderable object.
StreamSerialiser * _readWorldStream(const String &filename)
Get a serialiser set up to read PagedWorld data for the given world name.
static V lerp(const V &v0, const V &v1, const T &t)
Simulate the shader function lerp which performers linear interpolation.
Definition: OgreMath.h:399
IndexMap blendIndexToBoneIndexMap
Definition: OgreSubMesh.h:109
GeometryAllocatedObject BatchedGeometryAlloc
Definition: OgreMemoryAllocatorConfig.h:115
virtual uint16 getBitDepth() const
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreRenderable.h:323
void destroyRTShaderSystem()
Destroy the RT Shader system.
@ TL_CENTER
Definition: OgreTrays.h:60
bool _isSupported(void)
Determine if this target pass is supported on the current rendering device.
int getActualLeft(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
void setBlendFunc(GLenum source, GLenum dest, GLenum sourceA, GLenum destA)
Set the blend function for RGB and alpha separately.
void apply(Entity *entity, Real timePos, Real weight, bool software, bool hardware)
Applies all vertex tracks given a specific time point and weight to a given entity.
CalcMode
Definition: OgreShaderFFPFog.h:55
void setListener(MeshSerializerListener *listener)
Sets the listener used to control mesh loading through the serializer.
void _setLogicalIndexes(const GpuLogicalBufferStructPtr &floatIndexMap, const GpuLogicalBufferStructPtr &doubleIndexMap, const GpuLogicalBufferStructPtr &intIndexMap)
Internal method for providing a link to a logical index->physical index map for parameters.
std::vector< GL3PlusTexturePtr > GL3PlusTexturePtrList
Definition: OgreGL3PlusTextureManager.h:39
D3D9Driver * item(size_t index)
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
virtual GpuProgramPtr createProgramFromString(const String &name, const String &groupName, const String &code, GpuProgramType gptype, const String &syntaxCode)
Create a GPU program from a string of assembly code.
static bool getMicrocodeFromCache(uint32 id, GLuint programHandle)
Get the the binary data of a program from the microcode cache.
Specialisation of HardwareBuffer for a pixel buffer.
Definition: OgreHardwarePixelBuffer.h:53
virtual void _notifyViewport()
Internal method to notify the element when the viewport of parent overlay has changed.
String getObjectInfo(GLuint obj)
just return the info without logging it
MovableObject * getChildObject(void) const
StaticGeometry(SceneManager *owner, const String &name)
Constructor; do not use directly (.
Specialisation of HardwareVertexBuffer for OpenGL.
Definition: OgreGLHardwareVertexBuffer.h:38
void setNull()
Definition: OgreSharedPtr.h:93
const ParameterList & getParameters(void) const
Retrieves a list of parameters valid for this object.
void _findNodes(const Sphere &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
const String & getMaterialName() const
Gets the name of the Material in use by this instance.
const ColourValue & getTextureBorderColour() const
Definition: OgreTextureUnitState.h:693
void _beginFrame(void)
Signifies the beginning of a frame, i.e.
void setFilenameExtension(const String &extension)
std::map< String, Camera * > CameraList
Definition: OgreSceneManager.h:401
@ SHADER_FUNC_SIN
Definition: OgreQuake3Types.h:110
@ TextureEffectPlay_Looping
Video starts playing as soon as possible.
Definition: OgreExternalTextureSource.h:64
virtual void _mergeSkeletonAnimations(const Skeleton *source, const BoneHandleMap &boneHandleMap, const StringVector &animations=StringVector())
Merge animations from another Skeleton object into this skeleton.
GL-specific implementation of a TextureManager.
Definition: OgreGLTextureManager.h:39
void _destroyVao(GLContext *context, uint32 vao)
Destroy VAO immediately or defer if it was created on other context.
void setUseColumnMajorMatrices(bool value)
Tells Ogre whether auto-bound matrices should be sent in column or row-major order.
Definition: OgreShaderProgram.h:177
@ ID_CMPFUNC
Definition: OgreScriptCompiler.h:726
@ RSC_SCISSOR_TEST
Supports performing a scissor test to exclude areas of the screen.
Definition: OgreRenderSystemCapabilities.h:106
const Microcode & getMicrocodeFromCache(uint32 id) const
Returns a microcode for a program from the microcode cache.
static bool renameFile(const Ogre::String &oldpath, const Ogre::String &newpath)
Rename a file.
Class representing the invocation of queue groups in a RenderQueue.
Definition: OgreRenderQueueInvocation.h:67
virtual Real transformBias(Real factor) const
Transform LOD bias so it only needs to be multiplied by the LOD value.
@ ACT_PASS_ITERATION_NUMBER
provides the current iteration number of the pass.
Definition: OgreGpuProgramParams.h:1119
const double * getDoublePointer(size_t pos) const
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:1678
StaticCache()
Constructor.
Definition: OgreDataStream.h:56
Real getBoundingRadius() const
Get the bounding radius of the entire terrain.
@ SPC_LIGHTDIRECTION_WORLD_SPACE3
Definition: OgreShaderParameter.h:183
virtual const ColourValue & getColourRangeEnd(void) const
Gets the maximum colour of particles to be emitted.
Interface describing a manual resource loader.
Definition: OgreResource.h:487
const ColourValue & getSurfaceSpecularColour(void) const
void setNormalMapAnisotropy(unsigned int anisotropy)
Definition: OgreShaderExNormalMapLighting.h:146
@ ID_SOURCE2
Definition: OgreScriptCompiler.h:736
void _setDerivedPosition(const Vector3 &pos)
Sets the final world position of the node directly.
SceneNode * getEnclosureNode(void)
Get a pointer to the enclosure node for this PCZone.
Definition: OgrePCZone.h:102
static D3DFOGMODE get(FogMode fm)
return a D3D9 equivalent for a Ogre FogMode value
void setAutoAspectRatio(bool autoratio)
If set to true a viewport that owns this frustum will be able to recalculate the aspect ratio wheneve...
BlendMode
Definition: OgreShaderExLayeredBlending.h:48
Definition: OgreGL3PlusDepthBuffer.h:37
uint16 getAccessMode() const
Gets the access mode of the stream.
Definition: OgreDataStream.h:204
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
std::list< OverlayContainer * > OverlayContainerList
Definition: OgreOverlay.h:76
ConstVectorIterator< NodeList > NodeIterator
Definition: OgreRibbonTrail.h:87
PropertyMap * getPropertyMap()
Definition: OgreHlmsDatablock.h:50
@ PF_R16_UINT
16-bit pixel format, 16 bits red (unsigned int).
Definition: OgrePixelFormat.h:154
#define _OgreLodExport
Definition: OgreLodPrerequisites.h:90
void activate(void)
Makes a program pipeline object active by making sure it is linked and then putting it in use.
int bbox[6]
Definition: OgreQuake3Types.h:173
bool isConsecutive() const
Return whether this buffer is laid out consecutive in memory (ie the pitches are equal to the dimensi...
Definition: OgrePixelFormat.h:412
HighLevelGpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor, should be used only by factory classes.
static String toString(double val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a double to a String.
@ LB_BlendNegation
Definition: OgreShaderExLayeredBlending.h:59
void _initParticle(Particle *pParticle)
See ParticleEmitter.
static VertexElementType getBestColourVertexElementType(void)
Utility method to get the most appropriate packed colour vertex element format.
static uint32 optionalPO2(uint32 value)
Returns next power-of-two size if required by render system, in case RSC_NON_POWER_OF_2_TEXTURES is s...
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
void setAlbedo(ColourValue val)
Definition: OgreHlmsPbsMaterial.h:166
#define OGRE_WQ_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:46
Real getShadowNearClipDistance() const
Get the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Definition: OgreLight.h:446
#define OGRE_LOCK_AUTO_MUTEX
Definition: OgreThreadDefinesBoost.h:59
Utility class for manipulating Strings.
Definition: OgreString.h:85
virtual void notifyCameraCreated(Camera *c)=0
Called when the scene manager creates a camera in order to store the first camera created as the prim...
@ PT_MATRIX3
Definition: OgreStringInterface.h:59
static ParameterPtr createInPosition(int index, Parameter::Content content=Parameter::SPC_POSITION_OBJECT_SPACE)
void bindProgramParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this program.
PageManager * getManager() const
@ DEFORM_FUNC_AUTOSPRITE2
Definition: OgreQuake3Types.h:140
virtual void finalize(LodData *data)=0
void setMemoryBudget(size_t bytes)
Set a limit on the amount of memory this resource handler may use.
void setBoundingBox(const AxisAlignedBox &box)
Sets the bounding box.
Definition: OgreManualObject.h:374
int msTriangles[18][13]
Definition: OgreVolumeIsoSurfaceTablesMC.h:363
@ ID_MAX_LIGHTS
Definition: OgreScriptCompiler.h:681
void execute(RaySceneQueryListener *listener)
See RaySceneQuery.
VectorIterator< Passes > PassIterator
Definition: OgreTechnique.h:201
@ IT_32BIT
Definition: OgreHardwareIndexBuffer.h:51
void removeAnimationState(const String &name)
Remove animation state with the given name.
@ SHADOWDETAILTYPE_INTEGRATED
Mask for integrated shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:226
virtual bool frameEnded(const Ogre::FrameEvent &evt)
Called just after a frame has been rendered.
Definition: OgreApplicationContextBase.h:126
const RegionMap & getRegions() const
Get an list of the regions in this geometry.
Definition: OgreStaticGeometry.h:770
void removeFactory(SceneManagerFactory *fact)
Remove a SceneManagerFactory.
virtual void abortPendingRequestsByChannel(uint16 channel)
Abort all previously issued requests in a given channel.
@ ID_QUAD_NORMALS
Definition: OgreScriptCompiler.h:823
uint16 getSize() const
Get the size of the terrain in vertices along one side.
Definition: OgreSPIRVShaderFactory.h:39
void removeZoneFromAffectedZonesList(PCZone *zone)
Manually remove a zone from the affected list.
Real getViewportWidth() const
String doGet(const void *target) const
static const uint16 TERRAINLODDATA_CHUNK_VERSION
Definition: OgreTerrainLodManager.h:56
virtual void write(const Matrix3 *m, size_t count=1)
void clearNeedsUpdate(void)
Clear update flag.
Definition: OgrePCZLight.h:100
void removePortalCullingPlanes(PortalBase *portal)
Remove extra culling planes created from the given portal.
@ RSC_VERTEX_PROGRAM
Supports vertex programs (vertex shaders)
Definition: OgreRenderSystemCapabilities.h:100
GpuProgramType getType(void) const
Get the program type.
Definition: OgreGpuProgram.h:249
String doGet(const void *target) const
void getConstantBuffers(ID3D11Buffer **buffers, unsigned int &numBuffers, ID3D11ClassInstance **classes, unsigned int &numInstances, GpuProgramParametersSharedPtr params, uint16 variabilityMask)
uint32 getVisibilityFlags(void) const
Get the visibility flags for this terrain.
Definition: OgreTerrain.h:1320
void translate(const Matrix3 &axes, Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
This is an overloaded member function, provided for convenience. It differs from the above function o...
The log manager handles the creation and retrieval of logs for the application.
Definition: OgreLogManager.h:65
void _initialise() override
Start up the renderer using the settings selected (Or the defaults if none have been selected).
@ SPC_LIGHTPOSITION_WORLD_SPACE0
Light position in world space index 0-7.
Definition: OgreShaderParameter.h:220
void load(const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (using resource group locations)
A GeometryBucket is a the lowest level bucket where geometry with the same vertex & index format is s...
Definition: OgreStaticGeometry.h:191
TextureAddressingMode addressMode
Definition: OgreQuake3Shader.h:84
void _setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias, NB you should use the Material version of this.
@ SMT_NONE
Definition: OgreCommon.h:336
Container class for shader based programs.
Definition: OgreShaderProgramSet.h:47
@ ACT_DERIVED_LIGHT_SPECULAR_COLOUR
The derived light specular colour (index determined by setAutoConstant call), with 'r',...
Definition: OgreGpuProgramParams.h:937
uint32 _createVao()
Create VAO on current context.
static const String DEFAULT_RESOURCE_GROUP_NAME
same as RGN_DEFAULT
Definition: OgreResourceGroupManager.h:253
virtual Animation * getAnimation(const String &name) const
Returns the named vertex Animation object.
Real collapseCost
Definition: OgreLodData.h:89
virtual void createRoot()
Creates the OGRE root.
AnyNumeric operator*(Real factor) const
Definition: OgreAny.h:339
@ M_MESH_SKELETON_LINK
Definition: OgreMeshFileFormat.h:101
@ ID_TARGET_HEIGHT
Definition: OgreScriptCompiler.h:798
Controller< Real > * createTextureUScroller(TextureUnitState *layer, Real uSpeed)
Creates a basic time-based texture u coordinate modifier designed for creating scrolling textures.
Real getMinHeight() const
Get the minimum height of the terrain.
@ PF_R8G8B8_SNORM
24-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:218
static Radian parseAngle(const String &val, Radian defaultValue=Radian(0))
Converts a String to a Angle.
Definition: OgreStringConverter.h:198
const String & getName(void) const
Get the name of this sequence.
Definition: OgreRenderQueueInvocation.h:183
@ PF_R8G8B8A8_SNORM
32-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:220
void setMaterialLodBias(Real factor, ushort maxDetailIndex=0, ushort minDetailIndex=99)
Sets a level-of-detail bias for the material detail of this entity.
@ CE_UNDEFINEDVARIABLE
Definition: OgreScriptCompiler.h:198
static const String CustomAttributeString_FBO
Definition: OgreGLRenderTexture.h:115
CollapseCostHeap::iterator costHeapPosition
Definition: OgreLodData.h:107
void setCurrentRenderTarget(const RenderTarget *target)
Sets the current render target.
OctreeSphereSceneQuery(SceneManager *creator)
void updateDebugDisplay(Page *p, SceneNode *sn)
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
void writeSourceCode(std::ostream &os, const String &targetLanguage) const
Abstract method that writes a source code to the given output stream in the target shader language.
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
Sets the comparison function for the depth buffer check.
String alias
A descriptive name that is merely used to assist in recognition.
Definition: OgreTerrainMaterialGenerator.h:105
@ SKELETON_BLENDMODE
Definition: OgreSkeletonFileFormat.h:58
PCZSceneNode(SceneManager *creator)
Standard constructor.
void removeElement(unsigned short elem_index)
Remove the element at the given index from this declaration.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
SharedPtr< Y > staticCast() const
Definition: OgreSharedPtr.h:80
Definition: OgreD3D9DriverList.h:37
static ControllerFunctionRealPtr create(Real scalefactor, bool deltaInput=false)
Constructor, requires a scale factor.
Definition: OgrePredefinedControllers.h:256
bool isAttached(void) const
Returns true if this object is attached to a SceneNode or TagPoint.
Definition: OgreMovableObject.h:232
bool operator==(const TRect &rhs) const
Definition: OgreCommon.h:674
virtual Real _getRelativeWidth(void)
Gets the 'width' as derived from own width and metrics mode.
uint32 getGLFormat()
Definition: OgreGLHardwarePixelBufferCommon.h:76
bool operator<(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:244
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
@ TVC_AMBIENT
Definition: OgreCommon.h:303
virtual bool isSupported(void) const
Returns whether this program can be supported on the current renderer and hardware.
void setLogDetail(LoggingLevel ll)
const ColourValue & getAmbientLightColour(void) const
@ NONE
Definition: OgreTerrainAutoUpdateLod.h:69
@ RSC_POINT_SPRITES
Supports basic point sprite rendering.
Definition: OgreRenderSystemCapabilities.h:128
@ GCT_BOOL4
Definition: OgreGpuProgramParams.h:116
virtual StringVectorPtr list(bool recursive=true, bool dirs=false) const =0
List all file names in the archive.
Real getRoughness()
Definition: OgreHlmsPbsMaterial.h:171
bool hasNodeTrack(unsigned short handle) const
Does a track exist with the given handle?
VertexDeclaration * createVertexDeclaration(void)
Creates a new vertex declaration.
virtual void _setSampler(size_t texUnit, Sampler &s)=0
set the sampler settings for the given texture unit
Interface definition for a handler of requests.
Definition: OgreWorkQueue.h:163
void setTransposeMatrices(bool val)
Sets whether or not we need to transpose the matrices passed in from the rest of OGRE.
Definition: OgreGpuProgramParams.h:1966
reference operator[](size_type n)
Definition: OgreCommon.h:436
shared_ptr< LodCollapser > LodCollapserPtr
Definition: OgreLodPrerequisites.h:65
AxisAlignedBox worldBounds
Pre-transformed world AABB.
Definition: OgreStaticGeometry.h:168
OctreeNode(const Vector3 &from=Vector3::ZERO, const Vector3 &to=Vector3::ZERO)
Constructor.
virtual void _notifyAfterIlluminationPassesCreated(Technique *mat)
Internal method for sorting out illumination passes for a scheme.
Definition: OgreLodWorkQueueRequest.h:43
virtual void setUseTextureCoords(bool use)
Sets whether texture coordinate information should be included in the final buffers generated.
virtual void updatePortalsZoneData(void)=0
Update the zone data for each portal.
int face_count
Definition: OgreQuake3Types.h:175
GeneralAllocatedObject PageAlloc
Definition: OgrePagingPrerequisites.h:52
GL3PlusTextureManager(GL3PlusRenderSystem *renderSystem)
void postExtraThreadsStarted()
Tell the rendersystem to perform any tasks it needs to directly after other threads which might acces...
AnyNumeric & operator-=(const AnyNumeric &rhs)
Definition: OgreAny.h:355
static Real Tan(const Radian &fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:497
static void startup(void)
Static method to startup and register the DDS codec.
static IDirect3DDevice9 * getResourceCreationDevice(UINT index)
@ SPC_TEXTURE_COORDINATE4
Definition: OgreShaderParameter.h:295
@ SPC_POSITION_LIGHT_SPACE7
Definition: OgreShaderParameter.h:103
virtual void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this object will be rendered through.
void setGeometryProgramParameters(GpuProgramParametersSharedPtr params)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual ~OverlayProfileSessionListener()
ImFont * addFont(const String &name, const String &group=RGN_DEFAULT)
add font from ogre .fontdef file must be called before first show()
std::multimap< String, String > SettingsMultiMap
Definition: OgreConfigFile.h:86
void setValue(const String &name, const char *pChar)
Special-case char*, convert to String automatically.
Definition: OgreProperty.h:340
const AutoConstantEntry * _findRawAutoConstantEntryFloat(size_t physicalIndex) const
Finds an auto constant that's affecting a given physical position in the floating-point buffer.
void escalateLoading()
Escalates the loading of a background loaded resource.
void setProjectionType(ProjectionType projType)
Set the projection type of this PCZFrustum.
Definition: OgrePCZFrustum.h:117
uint treeStart
Definition: OgreTerrainLodManager.h:79
virtual bool hasAnimation(const String &name) const
Returns whether this skeleton contains the named animation.
Quaternion convertLocalToWorldOrientation(const Quaternion &localOrientation)
Gets the world orientation of an orientation in the node local space useful for simple transforms tha...
#define OgreAssertDbg(expr, mesg)
replaced with OgreAssert(expr, mesg) in Debug configuration
Definition: OgreException.h:70
@ RSC_GLSL_SSO_REDECLARE
with Separate Shader Objects the gl_PerVertex interface block must be redeclared but some drivers mis...
Definition: OgreRenderSystemCapabilities.h:213
const int * getIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1684
@ LBO_ADD
Add colour components together.
Definition: OgreBlendMode.h:61
Vector4f getTime_0_2Pi_packed(Real x) const
Command object for scale adjust (see ParamCommand).
Definition: OgreScaleAffector.h:54
void setValueMap(const PropertyValueMap &values)
Sets the current state from a given value map.
void copyData(GLuint srcBufferId, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer)
std::vector< unsigned short > IndexMap
Dedicated index map for translate blend index to bone index (only valid if useSharedVertices = false)...
Definition: OgreSubMesh.h:108
static String toString(const Quaternion &val)
Converts a Quaternion to a String.
bool tcModTurbOn
Definition: OgreQuake3Shader.h:93
bool getAutoHardwareBufferManagement() const
Definition: OgreD3D9ResourceManager.h:93
void setFOVy(const Radian &fovy)
Sets the Y-dimension Field Of View (FOV) of the frustum.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
virtual void init(TerrainGroup *grp)
Initialise this section from an existing TerrainGroup instance.
virtual uint32 getQueryMask(void) const
Returns the current mask for this query.
Specialisation of HardwareIndexBuffer for emulation.
Definition: OgreDefaultHardwareBufferManager.h:75
FilterOptions getFiltering(FilterType ftype) const
Get the texture filtering for the given type.
void addRenderable(Renderable *pRend, Technique *pTech, ushort priority)
Add a renderable to this group, with the given priority.
Definition: OgreRenderQueueSortingGrouping.h:507
InstancingTechnique getInstancingTechnique() const
Definition: OgreInstanceManager.h:207
virtual void setPoseAnimationIncluded(ushort poseCount)
Sets whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:302
bool hasMipmapCount
Definition: OgreHlmsPbsMaterial.h:130
@ WFT_SAWTOOTH
Gradual steady increase from min to max over the period with an instant return to min at the end.
Definition: OgreCommon.h:194
@ SBO_ADD
Definition: OgreBlendMode.h:249
@ BBR_TEXCOORD
Rotate the billboard's texture coordinates.
Definition: OgreBillboardSet.h:72
virtual void _beginUpdate()
Method for manual management of rendering : fires 'preRenderTargetUpdate' and initialises statistics ...
@ CNT_IMPORT
Definition: OgreScriptCompiler.h:54
void releaseRenderBuffer(const GLSurfaceDesc &surface)
Release a render buffer.
virtual ~WorkQueue()
Definition: OgreWorkQueue.h:223
static Root & getSingleton(void)
Get the singleton instance.
String doGet(const void *target) const
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
StaticGeometry * getParent(void) const
Definition: OgreStaticGeometry.h:441
static const uint32 CHUNK_ID
Definition: OgrePagedWorldSection.h:89
@ ACT_LIGHT_POWER_SCALE
Light power level, a single scalar as set in Light::setPowerScale (index determined by setAutoConstan...
Definition: OgreGpuProgramParams.h:867
String doGet(const void *target) const
static const uint32 VOLUME_CHUNK_ID
The id of volume files.
Definition: OgreVolumeSource.h:76
virtual void windowMoved(Ogre::RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:69
const PlaneList & getLightClippingPlanes(Light *l)
Retrieve a set of clipping planes for a given light.
This specific abstract node represents a script object.
Definition: OgreScriptCompiler.h:122
void addParameter(const ParameterDef ¶mDef, ParamCommand *paramCmd)
Method for adding a parameter definition for this class.
Definition: OgreStringInterface.h:132
void setFunction(const SharedPtr< ControllerFunction< T > > &func)
Sets the function object to be used by this controller.
Definition: OgreController.h:197
void setSceneBlending(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
Allows very fine control of blending every Pass with the existing contents of the scene.
virtual void _setDepthBufferWriteEnabled(bool enabled=true)=0
Sets whether or not the depth buffer is updated after a pixel write.
virtual ~GridSource(void)
Destructor.
Vector3 totalTo
The front upper rightcorner of the world.
Definition: OgreVolumeChunkHandler.h:59
void build(HardwareVertexBufferSharedPtr destVertexBuffer, size_t vertexStart, HardwareIndexBufferSharedPtr destIndexBuffer, size_t indexStart)
Tells the system to build the mesh relating to the surface into externally created buffers.
bool requiresTextureFlipping() const
Definition: OgreD3D11Texture.h:152
ImportData(const ImportData &rhs)
Definition: OgreTerrain.h:417
PCZone * mZone
Definition: OgreOctreeZoneOctree.h:171
GLGpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
int chunksBeingProcessed
The amount of chunks being processed (== loading).
Definition: OgreVolumeChunk.h:123
@ IRS_NONE
No special illumination stage.
Definition: OgreSceneManager.h:193
CalcMode getCalcMode() const
Return the current calculation mode.
Definition: OgreShaderFFPFog.h:115
static GLenum getGLOriginFormat(PixelFormat mFormat)
Takes the OGRE pixel format and returns the appropriate GL one.
virtual void _notifyManager(SceneManager *man)
Notify the object of it's manager (internal use only)
Definition: OgreMovableObject.h:181
bool empty() const
Definition: OgreSmallVector.h:134
const ColourValue & getFogColour(void) const
Returns the fog colour for the scene.
void _findNodes(const Sphere &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
@ FT_MIP
The filter used when determining the mipmap.
Definition: OgreCommon.h:100
void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)
Update params for a terrain.
bool hasEdgeList(void) override
Returns whether the object has a valid edge list.
@ M_SUBMESH
Definition: OgreMeshFileFormat.h:64
SceneManagerEnumerator::MetaDataIterator getSceneManagerMetaDataIterator(void) const
Iterate over all types of SceneManager available for construction, providing some information about e...
CapabilitiesCategory
Enumerates the categories of capabilities.
Definition: OgreRenderSystemCapabilities.h:61
virtual Real getVerticalTexelOffset(void)=0
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
void _markChanged()
Internal method - indicates that a change has been made that would require material regeneration.
Definition: OgreTerrainMaterialGenerator.h:254
VectorIterator< Techniques > TechniqueIterator
Definition: OgreCompositor.h:58
CSGPlaneSource(const Real d, const Vector3 &normal)
Constructor.
uint16 getCompositeMapSize() const
Get the requested size of composite map for this terrain.
Definition: OgreTerrain.h:1060
uint32 getID(void) const
Get the region ID of this region.
Definition: OgreStaticGeometry.h:447
SceneType
Definition: OgreSceneManager.h:3530
void skip(long count)
Skip a defined number of bytes.
@ ID_TEX_BORDER_COLOUR
Definition: OgreScriptCompiler.h:718
virtual void _setTextureUnitFiltering(size_t unit, FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter)
CSGDifferenceSource(const Source *a, const Source *b)
Constructor.
virtual bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
static void setHashFunction(BuiltinHashFunction builtin)
Sets one of the default hash functions to be used.
virtual void holdPage(PageID pageID)
Ask for a page to be kept in memory if it's loaded.
void setUvSetIndex(MapSlot mapSlot, uint index)
const String & getBlendTextureName(uint8 textureIndex) const
Get the name of the packed blend texture at a specific index.
Abstract class definition of a factory object for ParticleSystemRenderer.
Definition: OgreParticleSystemRenderer.h:134
static String FACTORY_TYPE_NAME
Definition: OgreParticleSystemManager.h:348
Defines the interface to a strategy class which is responsible for deciding when Page instances are r...
Definition: OgrePageStrategy.h:74
int getActualHeight(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
const ParamDictionary * getParamDictionary(void) const
Definition: OgreStringInterface.h:222
std::set< Pass * > PassSet
Definition: OgrePass.h:228
static Real Sign(Real fValue)
Definition: OgreMath.h:368
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
void _initParticle(Particle *pParticle)
See ParticleAffector.
MovableObject * movable
The movable, or NULL if this is not a movable result.
Definition: OgreSceneQuery.h:357
void beginGPUEvent(const String &event)
Mark the beginning of a GPU event group.
SceneCtlAllocatedObject RenderQueueAlloc
Definition: OgreMemoryAllocatorConfig.h:138
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
Factory class for ColourImageAffector.
Definition: OgreColourImageAffectorFactory.h:39
virtual bool beforeIlluminationPassesCleared(Technique *technique)
Called right before illuminated passes would be removed, so that owner of runtime generated technique...
Definition: OgreMaterialManager.h:124
const String & getName(void)
Returns the name of the stream, if it has one.
Definition: OgreDataStream.h:202
Animation * createAnimation(const String &name, Real length)
Creates an animation which can be used to animate scene nodes.
void removeContentCollectionFactory(PageContentCollectionFactory *f)
Remove a PageContentCollectionFactory implementation.
virtual ~MaterialManager()
Default destructor.
@ FGT_FACE_LIST
Definition: OgreStaticFaceGroup.h:46
virtual void setSolidsOrganisation(QueuedRenderableCollection::OrganisationMode org)
Set the organisation mode being used for solids in this queue group invocation.
Definition: OgreRenderQueueInvocation.h:98
bool shadowsEnabled
Whether shadows will be enabled.
Definition: OgreCompositorInstance.h:166
bool hasVertexAnimation(void) const
Returns whether or not this mesh has some kind of vertex animation.
virtual void start()=0
Start anything special.
ID3D11PixelShader * getPixelShader(void) const
@ RSC_VERTEX_TEXTURE_FETCH
Supports vertex texture fetch.
Definition: OgreRenderSystemCapabilities.h:132
@ GCT_INT3
Definition: OgreGpuProgramParams.h:93
static GLint convertCompareFunction(CompareFunction func)
SubMesh * createSubMesh(const String &name)
Creates a new SubMesh and gives it a name.
String doGet(const void *target) const
void _markClean()
Mark the shared set as being clean (values successfully updated by the render system).
@ SM_Source2InvModulate
Definition: OgreShaderExLayeredBlending.h:89
SceneManager(const String &instanceName)
Constructor.
uint getCustomAttribute(const String &name)
simplified API for bindings
Definition: OgreRenderTarget.h:260
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
Definition: OgreFileSystem.h:64
bool isModified() const
Returns whether this terrain has been modified since it was first loaded / defined.
Definition: OgreTerrain.h:756
Real getTextureVScroll(void) const
Get texture vscroll value.
@ GCT_MATRIX_DOUBLE_2X4
Definition: OgreGpuProgramParams.h:102
void setDirection(const Vector3 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void setDualGridVisible(const bool visible)
Shows the debug visualization entity of the dualgrid.
Real getValue(void) const
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
A class that represents a shader based program function.
Definition: OgreShaderFunction.h:102
String doGet(const void *target) const
static bool parse(const String &str, uint32 &v)
virtual void setSkeletalAnimationIncluded(bool included)
Sets whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreGpuProgram.h:275
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
static ProgramManager * getSingletonPtr()
Get the singleton instance.
static const IdString PssmSplits
Definition: OgreHlmsPropertyHelper.h:76
GpuProgram * _getBindingDelegate(void)
shortcut as we there is no low-level separation here
Definition: OgreD3D11HLSLProgram.h:341
static ControllerFunctionRealPtr create(const std::vector< Real > &keys, const std::vector< Real > &values, Real frequency=1, bool deltaInput=true)
Constructor, requires keys and values of the function to interpolate.
Definition: OgrePredefinedControllers.h:340
virtual const String & getType() const
static D3DDECLTYPE get(VertexElementType vType)
Get vertex data type.
D3D11HardwareBufferManager D3D11HardwareBufferManagerBase
Definition: OgreD3D11HardwareBufferManager.h:67
bool isDebugOutputEnabled() const
Get whether debug output is enabled for this log.
Definition: OgreLog.h:130
@ BBO_TOP_LEFT
Definition: OgreBillboardSet.h:56
static String toString(unsigned long long val)
Definition: OgreStringConverter.h:68
static Real Sin(Real fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:421
int area
Definition: OgreQuake3Types.h:172
ParticleAffector * _createAffector(const String &affectorType, ParticleSystem *psys)
Internal method for creating a new affector from a factory.
FrameBuffer
Definition: OgreRenderTarget.h:96
@ ACT_LIGHT_CASTS_SHADOWS
Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
Definition: OgreGpuProgramParams.h:952
void setFixedYawAxis(bool useFixed, const Vector3 &fixedAxis=Vector3::UNIT_Y)
Tells the camera whether to yaw around it's own local Y axis or a fixed axis of choice.
virtual void setColour(const ColourValue &colourStart, const ColourValue &colourEnd)
Sets the range of colours for emitted particles.
StreamSerialiser * _readPageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
bool eof(void) const
Returns true if the stream has reached the end.
static D3D11_USAGE _getUsage(HardwareBuffer::Usage usage)
virtual ushort _notifyZOrder(ushort newZOrder)
Overridden from OverlayElement.
float * getBlendPointer()
Get a pointer to the whole blend data.
Ogre::Any getValue() const
Return the current value as an Any.
Definition: OgreProperty.h:249
Definition: OgreLodData.h:139
UINT getAdapterNumber() const
@ BBO_BOTTOM_CENTER
Definition: OgreBillboardSet.h:63
void removeShaderProfile(const String &profile)
Remove a given shader profile, if present.
Definition: OgreRenderSystemCapabilities.h:561
@ M_SUBMESH_NAME_TABLE_ELEMENT
Definition: OgreMeshFileFormat.h:140
Real y
Definition: OgreQuaternion.h:344
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
T bottom
Definition: OgreCommon.h:598
This class defines a ParticleAffector which applies randomness to the movement of the particles.
Definition: OgreDirectionRandomiserAffector.h:53
bool isHardwareGammaReadToBeUsed() const
Indicates whether the hardware gamma is actually enabled and supported.
Definition: OgreD3D9Texture.h:160
const Plane & getFrustumPlane(unsigned short plane) const
Retrieves a specified plane of the frustum (world space).
AllocPolicy SceneObjAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:91
void doSet(void *target, const String &val)
size_t getNumCompositors()
ShadeOptions
Light shading modes.
Definition: OgreCommon.h:138
void executeCallback(MeshBuilderCallback *callback, const SimpleRenderable *simpleRenderable, size_t level, int inProcess) const
Executes a MeshBuilderCallback on this instance.
@ SPC_BINORMAL_VIEW_SPACE
Binormal in view space.
Definition: OgreShaderParameter.h:267
void clear(void)
Clears this group of renderables.
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
update the material name in use
virtual void endOcclusionQuery()=0
Ends the hardware occlusion test.
SelectMenu * createLongSelectMenu(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real boxWidth, unsigned int maxItemsShown, const Ogre::StringVector &items=Ogre::StringVector())
Vector3 mDirection
Definition: OgreSegment.h:76
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)=0
BlendFunction blendFunc
Definition: OgreHlmsPbsMaterial.h:134
HashedVector(InputIterator a, InputIterator b)
Definition: OgreCommon.h:457
virtual void _processNextRequest()
Process the next request on the queue.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
Generalised low-level GL program, can be applied to multiple types (eg ARB and NV)
Definition: OgreGLGpuProgram.h:53
Abstract interface representing a 'licensee' of a hardware buffer copy.
Definition: OgreHardwareBufferManager.h:60
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
virtual GL3PlusFBORenderTexture * createRenderTexture(const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
bool operator!=(const Radian &r) const
Definition: OgreMath.h:92
size_t compressedSize
Compressed size.
Definition: OgreArchive.h:61
void setMaterial(const MaterialPtr &material)
Sets the material to use for the whole of this entity.
TRect< long > Rect
Structure used to define a rectangle in a 2-D integer space.
Definition: OgreCommon.h:697
virtual void abortRequest(RequestID id)=0
Abort a previously issued request.
int getGeometryProgramNumOutputVertices(void) const
Get the number of vertices a single geometry program run can emit.
Definition: OgreRenderSystemCapabilities.h:751
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual void locateResources()
Finds context-wide resource groups.
Light(const String &name)
Normal constructor.
Specialisation of VertexDeclaration for OpenGL Vertex Array Object usage.
Definition: OgreGLVertexArrayObject.h:40
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)
bool dualGridVisible
Flag whether the dualgrid is visible or not.
Definition: OgreVolumeChunk.h:117
virtual const String & getResourceGroupName(void) const
Return the resource group to be used to load dependent resources.
Definition: OgreParticleSystem.h:517
@ RSC_DEBUG
Supports debugging/ profiling events.
Definition: OgreRenderSystemCapabilities.h:215
uint32 getHash() const
Get the hash value.
Definition: OgreCommon.h:567
bool isSelfOrChildRenderedAtCurrentLod() const
Returns whether this node or its children are being rendered at the current LOD level.
static Quaternion nlerp(Real fT, const Quaternion &rkP, const Quaternion &rkQ, bool shortestPath=false)
Performs Normalised linear interpolation between two quaternions, and returns the result.
void doSet(void *target, const String &val)
virtual ~GLSLProgramProcessor()
Class destructor.
Real valueRadians() const
Definition: OgreMath.h:771
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLProgram.
Definition: OgreExternalTextureSource.h:93
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void setDiffuseColour(const ColourValue &colour)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ ID_COLOUR_OP_MULTIPASS_FALLBACK
Definition: OgreScriptCompiler.h:753
void setAmbient(const ColourValue &ambient)
This is an overloaded member function, provided for convenience. It differs from the above function o...
SharedPtr< ConcreteNodeList > ConcreteNodeListPtr
Definition: OgreScriptCompiler.h:65
virtual bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreRenderWindow.h:148
void setEmittedEmitterQuota(size_t quota)
Sets the maximum number of emitted emitters this system is allowed to have active at once.
Command object for setting the caption.
Definition: OgreTextAreaOverlayElement.h:139
virtual void prepare(LodData *data)
virtual void load(bool synchronous)
Load this page.
Definition: OgreInput.h:69
@ SBO_SUBTRACT
Definition: OgreBlendMode.h:250
int type
Definition: OgreInput.h:53
void getPosition(Real x, Real y, Real z, Vector3 *outWSpos) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setNamedConstant(const String &name, uint val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
eD3DFilterUsage
enum identifying D3D9 filter usage type
Definition: OgreD3D9Mappings.h:59
MovableObject * detachObjectFromBone(const String &movableName)
Detach a MovableObject previously attached using attachObjectToBone.
const ChildNodeMap & getChildren() const
List of sub-nodes of this Node.
Definition: OgreNode.h:485
virtual ~PagedWorldSectionFactory()
Definition: OgrePagedWorldSection.h:304
VectorIterator< IlluminationPassList > IlluminationPassIterator
Definition: OgreTechnique.h:211
Definition: OgreShaderFunctionAtom.h:162
const Vector4 & getCustomParameter(uint16 index) const
Gets the custom value associated with this Light at the given index.
GLStateCacheManager * _getStateCacheManager()
Definition: OgreGLRenderSystem.h:307
Definition: OgreScriptCompiler.h:474
@ CS_FREELOOK
Definition: OgreCameraMan.h:48
static ParameterPtr createInWeights(int index)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
bool isVertexProgramInUse() const
Definition: OgreStaticGeometry.h:378
VertexElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Constructor, should not be called directly, call VertexDeclaration::addElement.
const StringVector & getAnimableValueNames(void) const
Gets a list of animable value names for this object.
Definition: OgreAnimable.h:290
@ ERR_DUPLICATE_ITEM
Definition: OgreException.h:114
void setStoreParityInW(bool enabled)
Sets whether to store tangent space parity in the W of a 4-component tangent or not.
Definition: OgreTangentSpaceCalc.h:109
uint32 zoffset
Definition: OgreGLRenderTexture.h:46
bool getNonPOW2TexturesLimited(void) const
Are non-power of two textures limited in features?
Definition: OgreRenderSystemCapabilities.h:708
int shader
Definition: OgreQuake3Types.h:186
Quake3Shader * create(const String &name)
Create implementation.
@ SKELETON_BONE
Definition: OgreSkeletonFileFormat.h:61
virtual QueuedRenderableCollection::OrganisationMode getSolidsOrganisation(void) const
Get the organisation mode being used for solids in this queue group invocation.
Definition: OgreRenderQueueInvocation.h:106
size_t calculateSize(void) const
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreCgProgram.h:142
float getLodTransition() const
Get the transition state between the current LOD and the next lower one (only valid after calculateCu...
Definition: OgreTerrainQuadTreeNode.h:251
std::vector< Plane > PlaneList
Definition: OgrePlane.h:275
static String TargetLanguage
Definition: OgreShaderCGProgramProcessor.h:72
virtual void messageLogged(const String &message, LogMessageLevel lml, bool maskDebug, const String &logName, bool &skipThisMessage)=0
Real nZ
Z component of the normal.
Definition: OgreVolumeMeshBuilder.h:65
DualCell(const Vector3 &c0, const Vector3 &c1, const Vector3 &c2, const Vector3 &c3, const Vector3 &c4, const Vector3 &c5, const Vector3 &c6, const Vector3 &c7)
Definition: OgreVolumeDualGridGenerator.h:58
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniforms using data from GpuProgramParameters.
static void splitFullFilename(const Ogre::String &qualifiedName, Ogre::String &outBasename, Ogre::String &outExtention, Ogre::String &outPath)
Method for splitting a fully qualified filename into the base name, extension and path.
@ D3D_TEX_TYPE_VOLUME
volume texture
Definition: OgreD3D9Mappings.h:52
static Affine3 getTrans(Real t_x, Real t_y, Real t_z)
Gets a translation matrix - variation for not using a vector.
Definition: OgreMatrix4.h:404
virtual void postViewportUpdate(const RenderTargetViewportEvent &evt)
Called just after a Viewport on a RenderTarget is to be updated.
Definition: OgreRenderTargetListener.h:128
unsigned short getHandle(void) const
Get the handle associated with this track.
Definition: OgreAnimationTrack.h:147
const ColourValue & getColourBottom(void) const
Gets the colour of the bottom of the letters.
~Singleton(void)
Definition: OgreSingleton.h:88
SimpleRenderable()
Constructor.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
@ SBT_MODULATE
The colour of the rendering output is multiplied with the scene contents. Generally colours and darke...
Definition: OgreBlendMode.h:220
uint16 getTexcoordIndex(void) const
getTexcoordIndex() returns the previous value set by setTexcoordIndex().
Definition: OgreBillboard.h:199
static unsigned int getFlags(PixelFormat format)
Returns the property flags for this pixel format.
void setBoundingBox(const AxisAlignedBox &box)
@ GVA_CENTER
Definition: OgreOverlayElement.h:78
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
Device manager interface.
Definition: OgreD3D9DeviceManager.h:41
TerrainGroup(SceneManager *sm, Terrain::Alignment align, uint16 terrainSize, Real terrainWorldSize)
Constructor.
long getSeed(void) const
Gets the current seed.
void setDepthMask(GLboolean mask)
Sets the current depth mask setting.
void unbindProgram()
Execute the binding functions for this program.
void getWorldTransforms(Matrix4 *) const
Gets the world transform matrix / matrices for this renderable object.
virtual void copyFrom(const SubRenderState &rhs)
void setLightmapEnabled(bool enabled)
Whether to support a light map over the terrain in the shader, if it's present (default true).
virtual void setMorphAnimationIncluded(bool included)
Sets whether a vertex program includes the required instructions to perform morph animation.
Definition: OgreGpuProgram.h:292
Billboard()
Default constructor.
const String & getType(void) const
Returns the factory type.
Polygon & operator=(const Ogre::Polygon &)
static Radian ACos(Real fValue)
Arc cosine function.
Real getWeight(void) const
Gets the weight (influence) of this animation.
const RenderSystemCapabilities * getCapabilities(void) const
Gets the capabilities of the render system.
Definition: OgreRenderSystem.h:847
void resetLinked()
reset link status of separable program
Definition: OgreGLSLShaderCommon.h:96
void _setTexture(size_t unit, bool enabled, const TexturePtr &texPtr)
Sets the texture to bind to a given texture unit.
const String & getName() const
Get the name of the plugin.
virtual ~PlaneBoundedVolumeListSceneQuery()
PlaneBoundedVolumeListSceneQuery * createPlaneBoundedVolumeQuery(const PlaneBoundedVolumeList &volumes, uint32 mask=0xFFFFFFFF)
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
void clip(const Frustum &frustum)
Clips the body with a frustum.
bool prepare(const ImportData &importData)
Prepare the terrain from some import data rather than loading from native data.
void setShadowTextureCasterMaterial(const MaterialPtr &mat)
Sets the default material to use for rendering shadow casters.
Definition: OgreSceneManager.h:2902
ConstMapIterator< InstanceBatchMap > InstanceBatchMapIterator
Definition: OgreInstanceManager.h:296
virtual void ready(const SimpleRenderable *simpleRenderable, const VecVertex &vertices, const VecIndices &indices, size_t level, int inProcess)=0
To be called with the callback function of a MeshBuilder.
size_t intBufferSize
Total size of the int buffer required.
Definition: OgreGpuProgramParams.h:317
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
static const size_t OCTREE_CHILDREN_COUNT
Even in an OCtree, the amount of children should not be hardcoded.
Definition: OgreVolumeOctreeNode.h:85
Slider * createLongSlider(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real trackWidth, Ogre::Real valueBoxWidth, Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps)
virtual const ColourValue & getColour(void) const
Gets the colour for this element.
This class is the base interface of sub part from a shader based rendering pipeline.
Definition: OgreShaderSubRenderState.h:52
static GLSLESProgramManager & getSingleton(void)
virtual ~FreeImageCodec()
Definition: OgreFreeImageCodec.h:66
TrackVertexColourType getVertexColourTracking(void) const
Gets which material properties follow the vertex colour.
Pose * getPose(ushort index)
Retrieve an existing Pose by index.
Resource * createImpl(const String &name, ResourceHandle handle, const String &group, bool, ManualResourceLoader *, const NameValuePairList *) override
Create a new resource instance compatible with this manager (no custom parameters are populated at th...
Definition: OgreTextureManager.h:468
@ PF_R5G6B5
16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
Definition: OgrePixelFormat.h:65
bool getBackwardsCompatibility(void) const
Gets whether backwards compatibility mode should be enabled.
Definition: OgreD3D9HLSLProgram.h:180
static Vector4 calculateFaceNormal(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal, including the w component which is the offset from the origin.
Definition: OgreVector.h:889
void _notifyDefaultDimensions(Real width, Real height)
Tells the renderer that the particle default size has changed.
std::map< String, OverlayElement * > ElementMap
Definition: OgreOverlayManager.h:59
This class demonstrates basic usage of the RTShader system.
Definition: OgreSGTechniqueResolverListener.h:47
@ ET_PROJECTIVE_TEXTURE
Generate texture coords based on a frustum.
Definition: OgreTextureUnitState.h:251
std::map< uint32, Region * > RegionMap
Indexed region map based on packed x/y/z region index, 10 bits for each axis.
Definition: OgreStaticGeometry.h:487
int back
Definition: OgreQuake3Types.h:166
MeshPtr createPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, int xsegments=1, int ysegments=1, bool normals=true, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=false, bool indexShadowBuffer=false)
Creates a basic plane, by default majoring on the x/y axes facing positive Z.
void clearPendingLodRequests()
MapIterator< NormalsMap > NormalsIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:76
static Real Tan(Real fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:507
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:67
const String & getName(void) const
Gets the name of the technique.
Definition: OgreTechnique.h:614
void doSet(void *target, const String &val)
@ ACT_SINTIME_0_2PI
Sine of "Time0_2PI". Equivalent to RenderMonkey's "SinTime0_2PI".
Definition: OgreGpuProgramParams.h:1051
virtual void windowResized(Ogre::RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:77
@ ID_SRC_MANUAL
Definition: OgreScriptCompiler.h:752
static CmdScaleAdjust msScaleCmd
Definition: OgreScaleAffector.h:77
void manualRender(Renderable *rend, const Pass *pass, Viewport *vp, const Affine3 &viewMatrix, const Matrix4 &projMatrix, bool doBeginEndFrame=false, bool lightScissoringClipping=true, bool doLightIteration=true, const LightList *manualLightList=0)
Manual rendering method for rendering a single object.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
~PCZAxisAlignedBoxSceneQuery()
virtual void unloadingComplete(Resource *)
Called whenever the resource has been unloaded.
Definition: OgreResource.h:98
static unsigned int modeCount
Definition: OgreD3D11VideoMode.h:35
void freeTagPoint(TagPoint *tagPoint)
Frees a TagPoint that already attached to a bone.
virtual Real getLoadRadius() const
Get the loading radius.
Definition: OgreGrid2DPageStrategy.h:165
@ SPC_LIGHTPOSITIONVIEW_SPACE4
Definition: OgreShaderParameter.h:234
DXGI_MODE_DESC getModeDesc() const
std::list< AbstractNodePtr > AbstractNodeList
Definition: OgreScriptCompiler.h:88
static ExternalTextureSourceManager & getSingleton(void)
Get the singleton instance.
D3D11HLSLProgram * _getBoundVertexProgram() const
bool getUseAggressiveFocusRegion() const
Definition: OgreShadowCameraSetupFocused.h:305
void _setTexture(size_t unit, bool enabled, const TexturePtr &tex)
Sets the texture to bind to a given texture unit.
static ShadowCameraSetupPtr create(const MovablePlane *plane)
Constructor – requires a plane of interest.
Definition: OgreShadowCameraSetupPlaneOptimal.h:79
virtual ViewPoint getSuggestedViewpoint(bool random=false)
Asks the SceneManager to provide a suggested viewpoint from which the scene should be viewed.
virtual void _findNodes(const Sphere &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
@ ID_SHADOW_RECEIVER_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:589
void setTransformFeedbackVaryings(const std::vector< String > &nameStrings)
uint8 getBlendTextureIndex(uint8 layerIndex) const
Get the index of the blend texture that a given layer uses.
void setDiffuse(float red, float green, float blue, float alpha)
Sets the diffuse colour reflectance properties of this pass.
Real getSinTime_0_2Pi(Real x) const
virtual void load(SceneNode *parent, const Vector3 &from, const Vector3 &to, size_t level, const ChunkParameters *parameters)
Loads the volume mesh with all LODs.
void _notifyOrigin(const String &origin)
Notify this overlay of it's origin.
Definition: OgreOverlay.h:271
SceneManagerEnumerator::SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
Specialisation of PageStrategyData for Grid3DPageStrategy.
Definition: OgreGrid3DPageStrategy.h:105
void _setViewMatrix(const Matrix4 &m)
Definition: OgreRenderSystem.h:247
String mFactoryTypeName
Factory type name.
Definition: OgrePCZoneFactory.h:59
TextureCubeFace
Enum identifying the frame indexes for faces of a cube map (not the composite 3D type.
Definition: OgreTextureUnitState.h:303
bool hasMinGLVersion(int major, int minor) const
Check if GL Version is supported.
@ LBT_ALPHA
Definition: OgreBlendMode.h:47
@ ENV_REFLECTION
Envmap intended to supply reflection vectors for cube mapping.
Definition: OgreTextureUnitState.h:274
void releaseSurfaces(IDirect3DDevice9 *d3d9Device)
Release surfaces held by this pixel buffer.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual ScriptTranslator * getTranslator(const AbstractNodePtr &)=0
Returns a manager for the given object abstract node, or null if it is not supported.
void setRenderSystemData(RenderSystemDataPtr val) const
Definition: OgreRenderable.h:392
@ TU_WRITE_ONLY
same as HardwareBuffer::HBU_WRITE_ONLY
Definition: OgreTexture.h:55
std::vector< ushort > BoneHandleMap
Map to translate bone handle from one skeleton to another skeleton.
Definition: OgreSkeleton.h:367
NormalsIterator getNormalsIterator(void)
@ PROP_REAL
Definition: OgreProperty.h:115
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
const Matrix4 & getProjectionMatrixWithRSDepth(void) const
Gets the depth-adjusted projection matrix for the current rendersystem, but one which still conforms ...
static DXGI_FORMAT getFormat(HardwareIndexBuffer::IndexType itype)
Get index type.
std::array< Vector3, 8 > Corners
Definition: OgreAxisAlignedBox.h:91
static void toTitleCase(String &str)
Upper-cases the first letter of each word.
LogMessageLevel
The importance of a logged message.
Definition: OgreLog.h:60
void endOcclusionQuery()
Ends the hardware occlusion test.
void setProfileGroupMask(uint32 mask)
Set the mask which all profiles must pass to be enabled.
Definition: OgreProfiler.h:315
const String & getSource() const
Gets the source function.
Definition: OgreException.h:152
DecodeResult decode(const DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void setTextureName(const String &name, TextureType ttype)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void write(const Quaternion *q, size_t count=1)
SGTechniqueResolverListener(Ogre::RTShader::ShaderGenerator *pShaderGenerator)
void removeProperty(const String &name)
Removes the named property from the property set.
std::map< String, ZoneData * > ZoneDataMap
Definition: OgrePCZSceneNode.h:57
@ TFO_TRILINEAR
2x2 box filtering is performed when magnifying and reducing a texture, and the closest 2 mipmaps are ...
Definition: OgreCommon.h:87
Keysym keysym
Definition: OgreInput.h:54
#define OGRE_MAX_SIMULTANEOUS_LIGHTS
Define max number of lights allowed per pass.
Definition: OgreConfig.h:52
std::map< String, PageStrategy * > StrategyMap
Definition: OgrePageManager.h:184
GLStateCacheManager(void)
const String & getLanguage(void) const
Overridden from GpuProgram.
const Frustum * frustum
Definition: OgreTextureUnitState.h:324
void setColourBottom(const ColourValue &col)
Sets the colour of the bottom of the letters.
@ ID_FLAT
Definition: OgreScriptCompiler.h:667
PCZCamera(const String &name, SceneManager *sm)
Real distance(const Vector3 &v) const
Returns the minimum distance between a given point and any part of the box.
Definition: OgreAxisAlignedBox.h:757
void _writeRawConstants(size_t physicalIndex, const float *val, size_t count)
Write a series of floating point values into the underlying float constant buffer at the given physic...
void setSeparateSceneBlending(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor, const SceneBlendFactor sourceFactorAlpha, const SceneBlendFactor destFactorAlpha)
Allows very fine control of blending this Pass with the existing contents of the scene.
virtual void getAABB(AxisAlignedBox &)
Get the world coordinate aabb of the zone.
@ VET_USHORT2_NORM
Definition: OgreHardwareVertexBuffer.h:159
void setStencilCheck(bool value)
Set stencil check on or off.
@ ID_SHADOW_CASTER_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:586
void markGPUEvent(const String &event)
Mark a specific, ungrouped, GPU event.
std::map< GpuSharedParametersPtr, HardwareUniformBufferSharedPtr > SharedParamsBufferMap
Definition: OgreGLSLProgramCommon.h:57
void callFunction(const char *name, const std::vector< Operand > ¶ms) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void cameraPreRenderScene(Camera *cam)
Called prior to the scene being rendered with this camera.
Definition: OgreCamera.h:86
float getHeightAtPoint(long x, long y) const
Get the height data for a given terrain point.
ShaderParameterList::const_iterator ShaderParameterConstIterator
Definition: OgreShaderParameter.h:396
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual void notifyWorldGeometryRenderQueue(uint8 qid)
Called by PCZSM during setWorldGeometryRenderQueue()
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
void addLinkedSkeletonAnimationSource(const String &skelName, Real scale=1.0f)
Allows you to use the animations from another Skeleton object to animate this skeleton.
DynLib(const String &name)
Default constructor - used by DynLibManager.
@ CE_STRINGEXPECTED
Definition: OgreScriptCompiler.h:194
D3D11VideoMode * item(const String &name)
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
GeneralAllocatedObject TimerAlloc
Definition: OgreMemoryAllocatorConfig.h:151
void push_back(const T &t)
Definition: OgreCommon.h:487
CgProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, CGcontext context)
BindingType getBindingType(void) const
Gets the type of unit these texture settings should be bound to.
LodStrategy * strategy
The mesh which we want to reduce.
Definition: OgreLodConfig.h:130
void _setTextureCoordSet(size_t stage, size_t index)
Sets the texture coordinate set to use for a texture unit.
Implementation of HardwareBufferManager for OpenGL.
Definition: OgreGL3PlusHardwareBufferManager.h:44
static ShaderGenerator & getSingleton()
Override standard Singleton retrieval.
static MeshLodGenerator * getSingletonPtr()
void setComputeProgramConstantIntCount(ushort c)
The number of integer constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:853
@ CULL_ANTICLOCKWISE
Hardware culls triangles whose vertices are listed anticlockwise in the view.
Definition: OgreCommon.h:166
InstancingTechnique
Definition: OgreInstanceManager.h:66
virtual int getExecutionOrder() const
void setTessellationDomainProgramConstantFloatCount(ushort c)
The number of floating-point constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:817
void renumerate()
Definition: OgreLod0Stripifier.h:74
void setAnimatedTextureName(const std::vector< String > &names, Real duration=0)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreTextureUnitState.h:425
String doGet(const void *target) const
This class allows users to override resource loading behavior.
Definition: OgreResourceGroupManager.h:211
RenderOperation()
Definition: OgreRenderOperation.h:132
Predefined controller function which simply scales an input to an output value.
Definition: OgrePredefinedControllers.h:242
static unsigned int floatToFixed(const float value, const unsigned int bits)
Convert floating point colour channel value between 0.0 and 1.0 (otherwise clamped) to integer of a c...
Definition: OgreBitwise.h:231
virtual const Chunk * readChunkBegin(uint32 id, uint16 maxVersion, const String &msg=BLANKSTRING)
Reads the start of the next chunk so long as it's of a given ID and version.
int brush_start
Definition: OgreQuake3Types.h:176
Archive-handling class.
Definition: OgreArchive.h:86
BGRA getAsBGRA(void) const
Retrieves colour as BGRA.
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX_ARRAY
Array of view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:990
@ MIN_TEXTURE_CHANGE
Try to minimise the number of texture changes.
Definition: OgrePass.h:1590
void _removeNode(PCZSceneNode *)
Removes an PCZscene node to this octree level.
String doGet(const void *target) const
void _clearUpdatedFlag(void)
void removeTextureAtlasTable(const String &textureName)
Removes the texture atlas information from a given texture.
@ ID_INPUT
Definition: OgreScriptCompiler.h:795
void setActiveShader(GpuProgramType type, GLSLESProgram *fragmentGpuProgram)
Set the active shader for the next rendering state.
virtual const String & getType() const
virtual void notifyRenderSingleObject(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList, bool suppressRenderStateChanges)
Event raised when render single object started.
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
Definition: OgreOverlayManager.h:56
void removeAll(void)
Overridden from ResourceManager since we have to clean up chains too.
void destroyAll(void)
Destroys all existing overlays.
Class representing a single particle instance.
Definition: OgreParticle.h:61
IDirect3DBaseTexture9 * getTexture()
retrieves a pointer to the actual texture
String doGet(const void *target) const
@ PARTIAL
Definition: OgrePCZCamera.h:60
void destroyData(PageStrategyData *d)
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
void setOrigin(const Vector3 &newOrigin)
Real getLightRoughnessOffset()
Definition: OgreHlmsPbsMaterial.h:174
HashedVector()
Definition: OgreCommon.h:450
@ SPC_POSITION_OBJECT_SPACE
Position in object space.
Definition: OgreShaderParameter.h:84
virtual void setValue(const Vector2 &)
Set value.
Definition: OgreAnimable.h:155
reference operator[](unsigned idx)
Definition: OgreSmallVector.h:187
Quaternion Inverse() const
std::list< PCZone * > ZoneList
Definition: OgrePCZLight.h:44
String doGet(const void *target) const
void unlinkWorldGeometryFromResourceGroup(const String &group)
Clear any link to world geometry from a resource group.
@ ID_DIRECTIONAL
Definition: OgreScriptCompiler.h:690
static D3DTEXTURESTAGESTATETYPE get(LayerBlendType lbt)
return a D3D9 equivalent for a Ogre LayerBlendType value
void setCurrentRenderable(const Renderable *rend)
Updates the current renderable.
void bindProgramParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this program.
static _OgreSTBICodecExport void startup(void)
Static method to startup and register the codecs.
Command object for red adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:54
@ HIGH_LOD
Definition: OgreTerrainMaterialGeneratorA.h:50
void setPageResourceGroup(const String &g)
Set the resource group that will be used to read/write files when the default load routines are used.
Definition: OgrePageManager.h:388
void destroyInstanceManager(InstanceManager *instanceManager)
void convertToImage(Image &destImage, bool includeMipMaps=false)
Populate an Image with the contents of this texture.
void setBlank(void)
Sets this texture layer to be blank.
Quaternion UnitInverse() const
Apply to non-zero quaternion.
virtual Real _getDerivedTop(void)
Gets the 'top' position as derived from own left and that of parents.
Real tempSquareDist
Temp tag used for sorting.
Definition: OgreLight.h:73
GLSurfaceDesc requestRenderBuffer(GLenum format, uint32 width, uint32 height, uint fsaa)
Request a render buffer.
const GpuProgramPtr & getVertexProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void destroyAffector(ParticleAffector *e)
Destroys the affector pointed to by the parameter (for early clean up if required).
VertexElementType getBlendWeightsBaseElementType() const
Gets the base element type used for blend weights in vertex buffers.
@ WFT_CUSTOM_GEOMETRY
Custom geometry as defined by the SceneManager.
Definition: OgreSceneQuery.h:85
IlluminationStage stage
Definition: OgrePass.h:1659
DataStream & operator>>(T &val)
virtual ID3D11Texture2D * getSurface(uint index=0) const =0
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
@ PF_R16G16_UINT
32-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int).
Definition: OgrePixelFormat.h:156
IdString(uint32 value)
Definition: OgreIdString.h:123
@ PF_BYTE_RGB
24-bit pixel format, 8 bits for blue, green and red.
Definition: OgrePixelFormat.h:288
PCZIntersectionSceneQuery(SceneManager *creator)
void lookAt(Real x, Real y, Real z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
ResourceType
Definition: OgreScriptCompiler.h:477
void removeAllShaderBasedTechniques()
Remove all shader based techniques that created by this shader generator.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
void setLastVisibleFrame(unsigned long newLVF)
Definition: OgrePCZSceneNode.h:94
virtual Ogre::Real getWidgetPadding() const
Definition: OgreTrays.h:835
Real Dot(const Quaternion &rkQ) const
Returns the dot product of the quaternion.
Definition: OgreQuaternion.h:206
uint getKeyIndex(void) const
Definition: OgreAnimationTrack.h:98
const BoneBlendMask * getBlendMask() const
Get the current blend mask (const version, may be 0)
Definition: OgreAnimationState.h:161
@ TVC_SPECULAR
Definition: OgreCommon.h:305
virtual void _notifyBillboardRotated(void)
Internal callback used by Billboards to notify their parent that they have been rotated.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
SceneManager * getActiveSceneManager()
Get the active scene manager that is doint the actual scene rendering.
void setDefaultMinPixelSize(Real pixelSize)
Set the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:972
String doGet(const void *target) const
virtual void _notifyCreator(MovableObjectFactory *fact)
Notify the object of it's creator (internal use only)
Definition: OgreMovableObject.h:177
DataStreamPtr encode(const String &formatextension)
Encode the image and return a stream to the data.
@ ACT_TEXEL_OFFSETS
Provides the texel offsets required by this rendersystem to map texels to pixels.
Definition: OgreGpuProgramParams.h:1146
@ GCT_DOUBLE1
Definition: OgreGpuProgramParams.h:96
virtual void setEnabled(bool enabled)
Sets whether or not the emitter is enabled.
virtual bool getDynamic() const
Gets whether this object is marked as dynamic.
Definition: OgreManualObject.h:174
Radian getPitch(bool reprojectAxis=true) const
Calculate the local pitch element of this quaternion.
void doSet(void *target, const String &val)
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
InputMode
Input mode of a TargetPass.
Definition: OgreCompositionTargetPass.h:55
void setLevel(const BspLevelPtr &level)
Command object for sorting (see ParamCommand).
Definition: OgreParticleSystem.h:120
static String Type
Definition: OgreShaderFFPColour.h:113
void setRenderableListener(RenderableListener *listener)
Set a renderable listener on the queue.
Definition: OgreRenderQueue.h:281
Class for managing Compositor settings for Ogre.
Definition: OgreCompositorManager.h:61
~MovablePlane()
Definition: OgreMovablePlane.h:72
GLuint getGLBufferId(void) const
Definition: OgreGLHardwareVertexBuffer.h:65
virtual int getExecutionOrder() const
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
@ RENDER_QUEUE_WORLD_GEOMETRY_1
Definition: OgreRenderQueue.h:61
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
static RayTestResult intersects(const Ray &ray, const Vector3 &a, const Vector3 &b, const Vector3 &c, bool positiveSide=true, bool negativeSide=true)
Ray / triangle intersection, returns boolean result and distance.
bool checkFormat(PixelFormat format)
Definition: OgreGLCopyingRenderTexture.h:60
virtual ~RegionSceneQuery()
virtual bool isContainer() const
returns false as this class is not a container type
Definition: OgreOverlayElement.h:434
int getNumLeaves(void) const
Gets the number of leaf nodes.
Definition: OgreBspLevel.h:95
bool cloneShaderBasedTechniques(const String &srcMaterialName, const String &srcGroupName, const String &dstMaterialName, const String &dstGroupName)
Clone all shader based techniques from one material to another.
void setShadowTexturePixelFormat(PixelFormat fmt)
Set the pixel format of the textures used for texture-based shadows.
Definition: OgreSceneManager.h:2764
void destroyRenderTarget(const String &name)
Destroys the given named RenderTarget.
float y
Definition: OgreInput.h:76
void setConstantFromTime(size_t index, Real factor)
Sets a named parameter up to track a derivation of the current time.
float Real
Software floating point type.
Definition: OgrePrerequisites.h:52
virtual bool resolveParameters(ProgramSet *programSet)=0
@ RENDER_QUEUE_WORLD_GEOMETRY_2
Definition: OgreRenderQueue.h:68
void setTextureFiltering(TextureFilterOptions filterType)
Set texture filtering for every texture unit.
@ M_EDGE_LISTS
Definition: OgreMeshFileFormat.h:145
@ LML_WARNING
Definition: OgreLog.h:63
ConstMapIterator< VertexTrackList > VertexTrackIterator
Definition: OgreAnimation.h:382
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgrePointEmitterFactory.h:54
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid2DPageStrategy.h:157
FunctionInvocation(const FunctionInvocation &rhs)
Copy constructor.
static ParameterPtr createInTexcoord(GpuConstantType type, int index, Parameter::Content content)
@ ID_EQUAL
Definition: OgreScriptCompiler.h:647
uint32 getFSAA() const
Definition: OgreDepthBuffer.h:102
RenderSystemCapabilitiesManager()
Default constructor.
#define OGRE_MAX_TEXTURE_LAYERS
Define max number of texture layers allowed per pass on any card.
Definition: OgreConfig.h:48
D3D9VideoModeList(D3D9Driver *pDriver)
ChunkHandler(void)
Constructor.
static String toString(StereoModeType val)
Converts a StereoModeType to a String.
virtual void sort(Mesh::MeshLodUsageList &meshLodUsageList) const
Sort mesh LOD usage list from greatest to least detail.
@ TEXCALC_ENVIRONMENT_MAP_NORMAL
Definition: OgreRenderSystem.h:69
void pointOrientedToScreen(const Vector2 &v, int orientationMode, Vector2 &outv)
Convert oriented input point coordinates to screen coordinates.
void doSet(void *target, const String &val)
@ ID_DEST_COLOUR
Definition: OgreScriptCompiler.h:624
PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)
void _destroyVao(GLContext *context, uint32 vao)
Destroy VAO immediately or defer if it was created on other context.
static const uint16 CHUNK_VERSION
Definition: OgrePage.h:99
@ ID_TEXTURE_SOURCE
Definition: OgreScriptCompiler.h:782
Real getLightPowerScale(size_t index) const
bool isLightCapSeparate(void) const
Does this renderable require a separate light cap?
Definition: OgreShadowCaster.h:88
@ ipmRelative
Definition: OgreShaderExTextureAtlasSampler.h:217
virtual ~LodListener()
Definition: OgreLodListener.h:121
uint32 _createVao()
Create VAO on current context.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
virtual void setMaxParticleVelocity(Real max)
Returns the maximum particle velocity.
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void setAsRGBA(RGBA val)
Sets colour as RGBA.
@ GPU_MS_SOFTWARE
Microsoft software device.
Definition: OgreRenderSystemCapabilities.h:268
Node * removeChild(const String &name)
Overridden from Node to remove any reference to octants.
void setProperty(IdString key, int32 value)
ID3D11ShaderResourceView * getSrvView()
retrieves a pointer to the actual texture
Definition: OgreD3D11Texture.h:58
virtual void unbindSurface(size_t attachment)
Unbind attachment.
Definition: OgreRenderTexture.h:88
virtual void removeNode(PCZSceneNode *)
Removes all references to a SceneNode from this Zone.
@ FRUSTUM_PLANE_LEFT
Definition: OgreFrustum.h:74
RenderTarget * getRenderTarget(const String &name)
Retrieves a pointer to a named render target.
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL ES has one pr...
Definition: OgreGLSLESProgramManager.h:53
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
void setGeometryProgram(const String &name, bool resetParams=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
virtual size_t estimateWorldGeometry(const String &filename)
Estimate the number of loading stages required to load the named world geometry.
Definition: OgreSceneManager.h:1706
virtual bool requestTypeFlags(void) const
Does this factory require the allocation of a 'type flag', used to selectively include / exclude this...
Definition: OgreMovableObject.h:628
MapIterator(T &c)
Constructor.
Definition: OgreIteratorWrapper.h:335
const HardwareVertexBufferSharedPtr & _getHardwareVertexBuffer(const VertexData *origData) const
Get a hardware vertex buffer version of the vertex offsets.
void setVertexProgramConstantIntCount(ushort c)
The number of integer constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:646
static DWORD get(TexCoordCalcMethod m, const D3DCAPS9 &caps)
return a D3D9 equivalent for a Ogre TexCoordCalsMethod value
ConstMapIterator< MovableObjectFactoryMap > MovableObjectFactoryIterator
Definition: OgreRoot.h:909
@ WFT_SQUARE
Half of the time is spent at the min, half at the max with instant transition between.
Definition: OgreCommon.h:192
const String & getName(void) const
Get the name of the Texture Unit State.
Definition: OgreTextureUnitState.h:1064
@ VES_SPECULAR
Specular colours.
Definition: OgreHardwareVertexBuffer.h:101
Real maxTimeMillisecs
The maximum frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:121
LodLevelList levels
Definition: OgreLodConfig.h:133
virtual Real transformBias(Real factor) const =0
Transform LOD bias so it only needs to be multiplied by the LOD value.
@ MOUSEMOTION
Definition: OgreInput.h:38
static bool isInt(GpuConstantType c)
Definition: OgreGpuProgramParams.h:172
Definition: OgreVolumeCSGSource.h:392
unsigned int getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreGLWindow.h:49
unsigned int getRefreshRate() const
Definition: OgreD3D9VideoMode.h:56
int skyPlaneXSegments
Definition: OgreSceneManager.h:227
void setShadowDirLightTextureOffset(Real offset)
Sets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2841
void setNamedConstant(const String &name, const float *val, size_t count)
void bindProgram(void)
Execute the binding functions for this program.
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
Definition: OgreOverlayElement.h:193
void EigenSolveSymmetric(Real afEigenvalue[3], Vector3 akEigenvector[3]) const
Eigensolver, matrix must be symmetric.
void setBottomBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom edge of the border.
ushort getNumberOfPosesIncluded(void) const
Returns the number of simultaneous poses the vertex program can blend, for use in pose animation.
std::map< String, HighLevelGpuProgramFactory * > FactoryMap
Definition: OgreHighLevelGpuProgramManager.h:76
void flush()
Definition: OgreVertexIndexData.h:301
Specialisation of HighLevelGpuProgram to provide support for nVidia's CG language.
Definition: OgreCgProgram.h:52
Normal Map Lighting extension sub render state implementation.
Definition: OgreShaderExNormalMapLighting.h:54
const Radian & getRotation(void) const
Get the rotation of the billboard.
Definition: OgreBillboard.h:105
@ SPC_LIGHTDIRECTION_WORLD_SPACE0
Light direction in world space index 0-7.
Definition: OgreShaderParameter.h:180
Camera * getCamera(const String &name) const
Retrieves a pointer to the named camera.
PagedWorld(const String &name, PageManager *manager)
Constructor.
Particle emitter which emits particles randomly from points inside a cylinder.
Definition: OgreCylinderEmitter.h:53
static UniformParameterPtr createSampler2D(int index)
bool isNaN() const
Check whether this vector contains valid values.
Definition: OgreVector.h:548
bool skyDome
Definition: OgreQuake3Shader.h:111
Vector3 normal
Definition: OgrePlane.h:65
int16 refreshRate
Definition: OgreGLRenderSystemCommon.h:80
uint getRenderWindowCount() const
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreD3D11RenderWindow.h:130
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
Definition: OgreTerrain.h:1334
This struct is a base class for events which can be thrown by the compilers and caught by subscribers...
Definition: OgreScriptCompiler.h:345
@ MSE_WRITE_BEGIN
Definition: OgreMaterialSerializer.h:54
void reset()
Reset this render state.
Rectangle2D(const String &name, bool includeTextureCoordinates=false, HardwareBuffer::Usage vBufUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY)
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
void setActiveShader(GpuProgramType type, GLSLProgram *gpuProgram)
Set the active fragment shader for the next rendering state.
Camera(const String &name, SceneManager *sm)
Standard constructor.
static const String replaceAll(const String &source, const String &replaceWhat, const String &replaceWithWhat)
Replace all instances of a sub-string with a another sub-string.
bool isFullyVisible(const PortalBase *portal) const
VectorImpl::reverse_iterator reverse_iterator
Definition: OgreCommon.h:402
void setLayerTextureName(uint8 layerIndex, uint8 samplerIndex, const String &textureName)
Set the name of the texture bound to a given index within a given layer.
void _renderVisibleObjects(void)
Sends visible objects found in _findVisibleObjects to the rendering engine.
ManualObject * createManualObject(const String &name)
Create a ManualObject, an object which you populate with geometry manually through a GL immediate-mod...
@ PF_L16
16-bit pixel format, all bits luminance.
Definition: OgrePixelFormat.h:57
Profile(const String &profileName, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT)
Definition: OgreProfiler.h:459
size_t getNumInputs() const
Get the number of inputs used.
ConstEnabledAnimationStateIterator getEnabledAnimationStateIterator(void) const
Get an iterator over all the enabled animation states in this set.
@ FFP_PS_COLOUR_BEGIN
Definition: OgreShaderFFPRenderState.h:58
Real getOwnHeight(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:128
void updateNodeOctant(OctreeZoneData *zoneData)
Checks the given OctreeNode, and determines if it needs to be moved to a different octant.
Stream stream(LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Get a stream object targeting this log.
static DataStreamPtr openFileStream(const String &filename, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Helper method to assist you in accessing readable file streams.
static const PassSet & getDirtyHashList(void)
Static method to retrieve all the Passes which need their hash values recalculated.
Definition: OgrePass.h:1444
virtual ~ParticleSystem()
reverse_iterator rend()
Definition: OgreCommon.h:429
@ ACT_NEAR_CLIP_DISTANCE
This variable provides the near clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1104
bool isVisible(PortalBase *portal, FrustumPlane *culledBy=0) const
BoneAssignmentIterator getBoneAssignmentIterator(void)
Definition: OgreLodData.h:99
Definition: OgreGL3PlusStateCacheManager.h:40
void setPolygonMode(GLenum mode)
Sets the current polygon rendering mode.
virtual unsigned short getNumAnimations(void) const
Gets the number of animations on this skeleton.
Definition: OgreScriptCompiler.h:463
DefaultZone(PCZSceneManager *, const String &)
void doSet(void *target, const String &val)
void setFormat(PixelFormat pf)
Sets the desired pixel format for the texture surface; can only be set before load().
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
static int getPriority(String shaderLanguage)
LayerBlendOperation blend
Definition: OgreQuake3Shader.h:78
std::map< String, PagedWorldSection * > SectionMap
Definition: OgrePagedWorld.h:159
static int ISign(int iValue)
Definition: OgreMath.h:264
static Vector3 calculateBasicFaceNormal(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal, no w-information.
Definition: OgreVector.h:883
std::vector< Widget * > WidgetList
Definition: OgreTrays.h:189
RenderTexture * getRenderTarget(size_t slice)
Get a render target for this PixelBuffer, or a slice of it.
const Mesh::IndexMap * _getIndexToBoneMap() const
Definition: OgreInstanceBatch.h:187
ProjectionType getProjectionType(void) const
Retrieves info on the type of projection used (orthographic or perspective).
virtual ~Any()
Definition: OgreAny.h:78
Defines the behaviour of an automatic renderer configuration dialog.
Definition: OgreConfigDialog.h:45
void getCameraToViewportBoxVolume(Real screenLeft, Real screenTop, Real screenRight, Real screenBottom, PlaneBoundedVolume *outVolume, bool includeFarPlane=false)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void lookAt(const Vector3 &targetPoint)
Points the camera at a location in worldspace.
const String & getFrameTextureName(unsigned int frameNumber) const
Gets the name of the texture associated with a frame number.
TerrainAutoUpdateLodStrategy
Definition: OgreTerrainAutoUpdateLod.h:68
ColourValue getDerivedAmbientLightColour(void) const
HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:384
virtual GpuProgramPtr loadFromString(const String &name, const String &groupName, const String &code, GpuProgramType gptype, const String &syntaxCode)
Loads a GPU program from a string of assembly code.
@ VERTEX_BUFFER
Definition: OgreD3D11HardwareBuffer.h:45
virtual void visit(RenderablePass *rp)=0
Called when visiting a RenderablePass, i.e.
Predefined controller function for dealing with animation.
Definition: OgrePredefinedControllers.h:211
ParticleVisualData()
Definition: OgreParticle.h:54
void needUpdate(bool forceParentUpdate=false) override
bool getCreateShaderOverProgrammablePass() const
Returns whether shaders are created for passes with shaders.
Definition: OgreShaderGenerator.h:420
TerrainLodManager(Terrain *t, DataStreamPtr &stream)
void getTerrainPosition(Real x, Real y, Real z, Vector3 *outTSpos) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual bool windowClosing(Ogre::RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:86
MapIterator< PCZoneFactoryMap > PCZoneFactoryIterator
Definition: OgrePCZoneFactory.h:90
Real y
Definition: OgreVector.h:132
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
virtual ~ConstParameter()
Definition: OgreShaderParameter.h:638
virtual void destroy(void)
Destroys the window.
bool getShowBoundingBox() const
This allows scene managers to determine if the node's bounding box should be added to the rendering q...
Definition: OgreSceneNode.h:304
void insertVertex(const Vector3 &vdata, size_t vertexIndex)
Inserts a vertex at a specific position.
virtual const String & getActiveScheme(void) const
Returns the name of the active material scheme.
void fastForward(Real time, Real interval=0.1f)
Fast-forwards this system by the required number of seconds.
FaceGroupType
A type of face group, i.e.
Definition: OgreStaticFaceGroup.h:45
virtual void _releaseManualHardwareResources()
Notifies the movable object that hardware resources were lost.
Definition: OgreMovableObject.h:191
virtual ~GLNativeSupport()
Definition: OgreGLNativeSupport.h:62
Definition: OgreException.h:211
void releasePrograms(const ProgramSet *programSet)
Release CPU/GPU programs set associated with the given ProgramSet.
@ ID_COLOUR_OP_EX
Definition: OgreScriptCompiler.h:734
ManualObject * getManualObject(const String &name) const
Retrieves a pointer to the named ManualObject.
@ PF_PVRTC_RGB4
PVRTC (PowerVR) RGB 4 bpp.
Definition: OgrePixelFormat.h:136
virtual void setLoadRadius(Real sz)
Set the loading radius.
TextBox(const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real height)
Do not instantiate any widgets directly. Use TrayManager.
static Quaternion Squad(Real fT, const Quaternion &rkP, const Quaternion &rkA, const Quaternion &rkB, const Quaternion &rkQ, bool shortestPath=false)
Spherical quadratic interpolation.
void setNamedConstant(const String &name, const uint *val, size_t count)
String value
Definition: OgreHlmsShaderGenerator.h:67
std::vector< Function * > ShaderFunctionList
Definition: OgreShaderFunction.h:310
Class for converting the core Ogre data types to/from Strings.
Definition: OgreStringConverter.h:63
TextureAddressing(TextureAddressingMode inU, TextureAddressingMode inV)
Definition: OgreHlmsPbsMaterial.h:78
virtual void setMaxDuration(Real max)
Sets the maximum duration of this emitter in seconds (see setDuration for more details)
@ ACT_VIEW_DIRECTION
This variable provides the view direction vector (world space).
Definition: OgreGpuProgramParams.h:1088
void setExternalTextureSource(const String &sTexturePlugInType, ExternalTextureSource *pTextureSystem)
Called from plugin to register itself.
void Define(const char *iMacroName, size_t iMacroNameLen, long iMacroValue)
Define a numerical macro.
bool operator<=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:246
void reset()
Resets timer.
@ SPC_POSTOLIGHT_VIEW_SPACE4
Definition: OgreShaderParameter.h:154
virtual ~PageContentCollection()
void setTimeStampEnabled(bool timeStamp)
const MaterialPtr & _getMaterial() const
Internal getting of material.
Definition: OgreTerrain.h:1297
void destroyAllAnimationStates(void)
Removes all animation states created using this SceneManager.
NoAddRefRelease< T > * operator->() const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:198
virtual void _notifyCameraRemoved(const Camera *cam)
Utility method to notify a render target that a camera has been removed, incase it was referring to i...
bool hasIntensity
Definition: OgreHlmsPbsMaterial.h:127
HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
const_reference front() const
Definition: OgreSmallVector.h:199
unsigned int height
Definition: OgreCommon.h:808
bool requiresTextureFlipping() const
Definition: OgreGLWindow.h:52
virtual void notifyBeginRenderScene(void)
Called when a _renderScene is called in the SceneManager.
void FromRotationMatrix(const Matrix3 &kRot)
void _updateDimensions(void)
Notifies the viewport of a possible change in dimensions.
@ SPC_POINTSPRITE_SIZE
point sprite size
Definition: OgreShaderParameter.h:304
MeshPtr getByName(const String &name, const String &groupName=RGN_DEFAULT)
Retrieves a pointer to a resource by name, or null if the resource does not exist.
void setColourAt(ColourValue const &cv, size_t x, size_t y, size_t z)
Set colour value at a certain location in the image.
Vector & operator+=(Real s)
Definition: OgreVector.h:597
unsigned short getNumAffectors(void) const
Returns the number of affectors for this particle system.
std::vector< TargetOperation > CompiledState
Definition: OgreCompositorInstance.h:168
bool mouseMoved(const MouseMotionEvent &evt)
Updates cursor position.
virtual ~ResourceManager()
static bool isFloat(GpuConstantType c)
Definition: OgreGpuProgramParams.h:166
void exportLodConfig(Ogre::LodConfig &config, Ogre::DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
static ControllerValueRealPtr create(TextureUnitState *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false)
Constructor.
Definition: OgrePredefinedControllers.h:136
void CreateVertexShader()
virtual ~ShadowRenderable()
Definition: OgreShadowCaster.h:61
@ RSC_TEXTURE_FLOAT
Supports float textures and render targets.
Definition: OgreRenderSystemCapabilities.h:122
void _setBoneBoundingRadius(Real radius)
Manually set the bone bounding radius.
void setLoop(bool loop)
Sets whether or not an animation loops at the start and end of the animation if the time continues to...
Definition: OgreAnimationState.h:118
void setComment(const Ogre::DisplayString &comment)
Definition: OgreTrays.h:723
void baseVertexPointerToElement(void *pBase, void **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:258
Specific render system operation.
Definition: OgreCompositorInstance.h:104
@ VET_INT2
Definition: OgreHardwareVertexBuffer.h:147
ValueType getType(void) const
Gets the value type of this animable value.
Definition: OgreAnimable.h:141
Real getLeftBorderSize(void) const
Gets the size of the left border.
@ TT_TRANSLATE_U
Definition: OgreTextureUnitState.h:283
@ SPC_BINORMAL_TANGENT_SPACE
Binormal in tangent space.
Definition: OgreShaderParameter.h:270
Controller< Real > * createTextureAnimator(TextureUnitState *layer, Real sequenceTime)
Creates a texture layer animator controller.
virtual bool isStereoEnabled(const String &renderWindowName)
Ogre::Real outsideWeight
Faces inside a house can't be seen from far away.
Definition: OgreLodConfig.h:160
BufferLicenseType
Definition: OgreHardwareBufferManager.h:156
Class for recording Quake3 shaders.
Definition: OgreQuake3Shader.h:56
VertexData * sharedVertexData
Shared vertex data.
Definition: OgreMesh.h:309
virtual bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreGpuProgram.h:284
virtual bool removeRenderWindow(const String &renderWindowName)
static const Vector3 UNIT_Y
Definition: OgreVector.h:258
Vector3 getPlaneNormal(void) const
Gets the plane normal of the deflector plane.
float getBlueAdjust1(void) const
Gets the blue adjustment to be made per second to particles.
HardwareSkinning()
Class default constructor.
ParticleRendererFactoryIterator getRendererFactoryIterator(void)
Return an iterator over the renderer factories currently registered.
void _initialise(void)
Initialises the manager, only to be called by OGRE internally.
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
FileStreamDataStream(const String &name, std::fstream *s, size_t size, bool freeOnClose=true)
Construct named read-write stream from an STL stream, and tell it the size.
@ SDLK_KP_6
Definition: OgreInput.h:136
LayerInstanceList layerList
List of layer structures, one for each layer required.
Definition: OgreTerrain.h:398
void addListener(Listener *listener)
Register a listener to this Serializer.
@ SPC_POSTOLIGHT_OBJECT_SPACE5
Definition: OgreShaderParameter.h:135
std::vector< GPUDeviceNameRule > GPUDeviceNameRuleList
Definition: OgreTechnique.h:144
PCZFrustum()
Standard constructor.
int currentQueueGroupID
Current group ID.
Definition: OgreCompositorInstance.h:132
void append(in_iter in_start, in_iter in_end)
append - Add the specified range to the end of the SmallVector.
Definition: OgreSmallVector.h:387
virtual bool setOption(const String &, const void *)
Sets the given option for the SceneManager.
std::vector< VideoMode > VideoModes
Definition: OgreGLRenderSystemCommon.h:85
Class representing a font in the system.
Definition: OgreFont.h:67
void setDimensions(Real left, Real top, Real width, Real height)
Sets the dimensions (after creation).
ushort getTessellationHullProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:806
@ RSC_ADVANCED_BLEND_OPERATIONS
Supports Blending operations other than +.
Definition: OgreRenderSystemCapabilities.h:166
void setBlendMode(unsigned short index, BlendMode mode)
Set the blend mode of the given texture unit layer with the previous layer.
@ LB_BlendLinearBurn
Definition: OgreShaderExLayeredBlending.h:68
String name
Definition: OgreScriptCompiler.h:148
Lowest level collection of renderables.
Definition: OgreRenderQueueSortingGrouping.h:103
virtual bool hasAnimation(const String &name) const
Returns whether this mesh contains the named vertex animation.
Definition: OgreLodBuffer.h:77
TagPoint * attachObjectToBone(const String &boneName, MovableObject *pMovable, const Quaternion &offsetOrientation=Quaternion::IDENTITY, const Vector3 &offsetPosition=Vector3::ZERO)
Attaches another object to a certain bone of the skeleton which this entity uses.
void _render(const RenderOperation &op)
Render something to the active viewport.
Real getFarClipDistance() const
D3D9HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useSystemMem, bool useShadowBuffer)
Real getCharHeight() const
void setShadowsEnabled(bool enabled)
Indicate whether a given queue group will be doing any shadow setup.
Definition: OgreRenderQueueSortingGrouping.h:573
static CmdAlphaAdjust msAlphaCmd
Definition: OgreColourFaderAffector.h:141
Label(const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width)
Do not instantiate any widgets directly. Use TrayManager.
void setSplitMirrored(bool split)
Sets whether or not to split vertices when a mirrored tangent space transition is detected (matrix pa...
Definition: OgreTangentSpaceCalc.h:128
const AnimationStateMap & getAnimationStates()
Returns a specialised Map over all animation states in the scene.
Definition: OgreSceneManager.h:2584
Definition: OgreScriptCompiler.h:67
IDirect3DVertexShader9 * getVertexShader(void)
Gets the vertex shader.
void setDepthWriteEnabled(bool enabled)
Sets whether or not this pass renders with depth-buffer writing on or not.
InstanceIterator getCompositors()
ulong currTime
The time this profile was started.
Definition: OgreProfiler.h:186
void removeDuplicates(void)
Removes duplicate vertices from a polygon.
@ REAL_FLOAT
Real is stored as float, reducing precision if you're using OGRE_DOUBLE_PRECISION.
Definition: OgreStreamSerialiser.h:85
void useImportData()
Set to use import data.
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
@ VET_USHORT3
Definition: OgreHardwareVertexBuffer.h:144
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
uint calls
The number of times this profile was called this frame.
Definition: OgreProfiler.h:103
bool buffersCheckedOut(bool positions=true, bool normals=true) const
Detect currently have buffer copies checked out and touch it.
@ OT_TRIANGLE_STRIP
A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreRenderOperation.h:58
void setSize(const Vector3 &size)
Sets the size of the area from which particles are emitted.
void load()
Load node and children (perform GPU tasks, will be render thread)
A factory that enables creation of TextureAtlasSampler instances.
Definition: OgreShaderExTextureAtlasSampler.h:213
@ CMPF_EQUAL
Write if (new_Z == existing_Z)
Definition: OgreCommon.h:69
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
void setSpotlightFalloff(Real val)
Sets the falloff between the inner and outer cones of the spotlight.
Image & loadRawData(const DataStreamPtr &stream, uint32 width, uint32 height, PixelFormat format)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreImage.h:196
const SharedPtr< ControllerValue< T > > & getSource(void) const
Gets the input controller value.
Definition: OgreController.h:167
void setTarget(const String &target)
Sets the shader target to compile down to, e.g.
Class exposing an interface to a blend map for a given layer.
Definition: OgreTerrainLayerBlendMap.h:61
bool addTexutreAtlasDefinition(DataStreamPtr stream, TextureAtlasTablePtr textureAtlasTable=TextureAtlasTablePtr())
void setUVs(const Ogre::Vector2 &topLeft, const Ogre::Vector2 &bottomLeft, const Ogre::Vector2 &topRight, const Ogre::Vector2 &bottomRight)
Sets the UVs of the rectangle.
@ SHADOWDETAILTYPE_STENCIL
Mask for stencil shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:229
std::set< SubRenderState * > SubRenderStateSet
Definition: OgreShaderSubRenderState.h:161
virtual void prepare(LodData *data)=0
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
void setAlphaRejectValue(unsigned char val)
Gets the alpha reject value.
void close(void)
Close the stream; this makes further operations invalid.
void _dumpTextures(const String &prefix, const String &suffix)
Dump textures to files.
int face_start
Definition: OgreQuake3Types.h:155
Degree & operator*=(Real f)
Definition: OgreMath.h:137
@ AUTO_LEVEL
Definition: OgrePatchSurface.h:67
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual std::pair< bool, T > removeItem()
Get the next item from the pool.
Definition: OgreResourceManager.h:58
virtual void setVerticalAlignment(GuiVerticalAlignment gva)
Sets the vertical origin for this element.
virtual void setPriority(uchar priority)
Sets the priority of this render target in relation to the others.
Definition: OgreRenderTarget.h:290
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
GLES2HardwareOcclusionQuery()
Default object constructor.
Real getTextureUScroll(void) const
Get texture uscroll value.
void determineGridLocation(const Vector3 &gridpos, int32 *x, int32 *y, int32 *z)
Convert a grid position into a row and column index.
Semantic
Definition: OgreShaderParameter.h:52
Exception(int number, const String &description, const String &source)
Default constructor.
void setDesiredIntegerBitDepth(ushort bits)
Sets desired bit depth for integer pixel format textures.
GpuProgram * _getBindingDelegate()
Returns the GpuProgram which should be bound to the pipeline.
void setText(const Ogre::DisplayString &text)
Sets text box content.
void unload(const String &filename)
Unloads an archive by name.
virtual void registerThread()=0
Register the an additional thread which may make calls to rendersystem-related objects.
virtual void setShadingType(ShadeOptions so)
Sets the type of light shading required (default = Gouraud).
Definition: OgreRenderSystem.h:280
virtual void removeChild(const String &name)
Removes a named element from this container.
void setVertexTextureUnitsShared(bool shared)
Set whether the vertex texture units are shared with the fragment processor.
Definition: OgreRenderSystemCapabilities.h:734
void updateFromParentImpl() const
Class-specific implementation of _updateFromParent.
MapIterator< ChildMap > ChildIterator
Definition: OgreOverlayContainer.h:60
virtual ~HardwareSkinningTechnique()
@ ID_MODULATE_X2
Definition: OgreScriptCompiler.h:737
virtual void preparingComplete(Resource *)
Called whenever the resource finishes preparing (paging into memory).
Definition: OgreResource.h:95
bool nothingToStrip() const
Definition: OgreLod0Stripifier.h:81
@ BF_DARKEN
Definition: OgreHlmsPbsMaterial.h:60
TextureTransformType
Useful enumeration when dealing with procedural transforms.
Definition: OgreTextureUnitState.h:282
ushort getTessellationDomainProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:832
@ PROP_BOOL
Definition: OgreProperty.h:121
bool watchForLimit(const String &profileName, Real limit, bool greaterThan=true)
Returns true if the specified profile goes over or under the given limit frame time.
Command object for force application (see ParamCommand).
Definition: OgreLinearForceAffector.h:69
Matrix4 getTransposeViewMatrix() const
static size_t getElementSize(GpuConstantType ctype, bool padToMultiplesOf4)
Get the number of elements of a given type, including whether to pad the elements into multiples of 4...
Definition: OgreGpuProgramParams.h:194
@ CNT_WORD
Definition: OgreScriptCompiler.h:53
@ PF_R9G9B9E5_SHAREDEXP
32-bit pixel format, 9 bits for blue, green, red plus a 5 bit exponent.
Definition: OgrePixelFormat.h:194
virtual bool isSorted(const Mesh::LodValueList &values) const
Determine if the LOD values are sorted from greatest detail to least detail.
static Real Floor(Real fValue)
Floor function Returns the largest previous integer.
Definition: OgreMath.h:355
const String & getFunctionName() const
Return the function name.
Definition: OgreShaderFunctionAtom.h:259
static D3D11_FILL_MODE get(PolygonMode level)
return a D3D11 equivalent for a Ogre PolygonMode value
@ SDLK_LSHIFT
Definition: OgreInput.h:142
The profiler allows you to measure the performance of your code.
Definition: OgreProfiler.h:236
HardwareBufferLockGuard HardwareIndexBufferLockGuard
Definition: OgreHardwareIndexBuffer.h:78
GLint convertCompareFunction(CompareFunction func) const
bool isShadowTechniqueInUse(void) const
Is there any shadowing technique in use?
Definition: OgreSceneManager.h:3013
MemoryDataStream(const String &name, size_t size, bool freeOnClose=true, bool readOnly=false)
Create a named stream with a brand new empty memory chunk.
@ LBT_COLOUR
Definition: OgreBlendMode.h:46
virtual void setActiveProfile(Profile *p)
Set the active Profile.
Definition: OgreTerrainMaterialGenerator.h:235
virtual unsigned int getDebugLevel() const
Get the debug level of the material.
Definition: OgreTerrainMaterialGenerator.h:383
static D3D9DeviceManager * getDeviceManager()
bool isNull() const
Definition: OgreCommon.h:624
void setGreenAdjust1(float green)
Sets the green adjustment to be made per second to particles.
int windowID
Definition: OgreInput.h:61
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:558
ParameterPtr resolveOutputParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
Resolve output parameter of this function.
Definition: OgreShaderFunction.h:159
ResourceAllocatedObject ResourceAlloc
Definition: OgreMemoryAllocatorConfig.h:141
void setExternalMicrocode(const void *pMicrocode, size_t size)
Tells the program to load from some externally created microcode instead of a file or source.
void disableReflection(void)
Disables reflection modification previously turned on with enableReflection.
uint16 getLayerBlendMapSize() const
Get the requested size of the blend maps used to blend between layers for this terrain.
Definition: OgreTerrain.h:1043
virtual unsigned short getNumAnimations(void) const
Gets the number of morph animations in this mesh.
bool load(StreamSerialiser &stream)
Load this data from a stream (returns true if successful)
size_t elementSize
Number of raw buffer slots per element (some programs pack each array element to float4,...
Definition: OgreGpuProgramParams.h:151
float getGamma(void) const
Returns the gamma adjustment factor applied to this texture on loading.
Definition: OgreTexture.h:170
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreMovableObject.h:355
uint32 getNameForMicrocodeCache()
virtual ~TextAreaOverlayElement()
bool getDisplaySceneNodes(void) const
Returns true if all scene nodes axis are to be displayed.
Definition: OgreSceneManager.h:2238
@ ID_ANTICLOCKWISE
Definition: OgreScriptCompiler.h:660
virtual void _updateRenderQueue(RenderQueue *queue)
Overridden from OverlayElement.
void setFarClipDistance(Real farDist)
Sets the distance to the far clipping plane.
virtual void notifyDeviceLost(D3D11Device *device)=0
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
virtual bool isHardwareGammaEnabled() const
Indicates whether on rendering, linear colour space is converted to sRGB gamma colour space.
Definition: OgreRenderTarget.h:372
bool compile(const ConcreteNodeListPtr &nodes, const String &group)
Compiles resources from the given concrete node list.
PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)
void _destroyFbo(GLContext *context, uint32 fbo)
Destroy FBO immediately or defer if it was created on other context.
~UnifiedHighLevelGpuProgramFactory()
Integrated PSSM shadow receiver with 3 splits sub render state implementation.
Definition: OgreShaderExIntegratedPSSM3.h:54
@ SPC_LIGHTPOSITIONVIEW_SPACE1
Definition: OgreShaderParameter.h:231
static const uint16 SUBCLASS_CHUNK_VERSION
Definition: OgreSimplePageContentCollection.h:71
@ BUTTON_LEFT
Definition: OgreInput.h:27
virtual uint8 getMaxLayers(const Terrain *terrain) const =0
Get the number of layers supported.
aligned_vector< Vector4 > TriangleFaceNormalList
Array of 4D vector of triangle face normal, which is unit vector orthogonal to the triangles,...
Definition: OgreEdgeListBuilder.h:91
ParticleSystem()
Default constructor required for STL creation in manager.
void setDefaultResourceGroup(const String &grp)
Set the default resource group to use to load / save terrains.
Definition: OgreTerrain.h:2060
@ ID_MATERIAL_SCHEME
Definition: OgreScriptCompiler.h:813
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreRenderable.h:346
@ PF_RG8
16-bit pixel format, 8 bits red, 8 bits green.
Definition: OgrePixelFormat.h:212
static void setDefaultNonVisibleUpdateTimeout(Real timeout)
Set the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:456
void destroyStaticGeometry(StaticGeometry *geom)
Remove & destroy a StaticGeometry instance.
@ SHADER_ALPHAFUNC
Definition: OgreQuake3Types.h:100
void createZoneSpecificNodeData(PCZone *)
Create any zone-specific data necessary for all nodes for the given zone.
@ SPC_LIGHTDIRECTION_VIEW_SPACE6
Definition: OgreShaderParameter.h:196
StringVectorPtr findResourceNames(const String &groupName, const String &pattern, bool dirs=false) const
Find all file or directory names matching a given pattern in a resource group.
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:78
void removeLayer(uint8 index)
Remove a layer from the terrain.
Octree implementation of RaySceneQuery.
Definition: OgreOctreeSceneQuery.h:65
static Real Pow(Real fBase, Real fExponent)
Definition: OgreMath.h:366
const LodStrategy * getLodStrategy() const
Get LOD strategy used by this material.
@ TFO_NONE
No filtering or mipmapping is used.
Definition: OgreCommon.h:81
virtual void setActive(bool state)
Used to set the active state of the render target.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
Specialization of HighLevelGpuProgram to provide support for D3D11 High-Level Shader Language (HLSL).
Definition: OgreD3D11HLSLProgram.h:51
virtual Real getLoadRadius() const
Get the loading radius.
void determineFSAASettings(uint fsaa, const String &fsaaHint, DXGI_FORMAT format, DXGI_SAMPLE_DESC *outFSAASettings)
virtual void setResponseProcessingTimeLimit(unsigned long ms)
Set the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
Definition: OgreWorkQueue.h:469
void moveWidgetToTray(TrayLocation currentTrayLoc, const Ogre::String &name, TrayLocation targetTrayLoc, size_t place=-1)
Definition: OgreTrays.h:1027
GLSLProgramWriter()
Class constructor.
virtual void shadowTextureCasterPreViewProj(Light *light, Camera *camera, size_t iteration)
This event occurs just before the view & projection matrices are set for rendering into a shadow text...
Definition: OgreSceneManager.h:320
void setNamedConstant(const String &name, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
void _setCullingMode(CullingMode mode)
Sets the culling mode for the render system based on the 'vertex winding'.
void setListener(ScriptCompilerListener *listener)
Sets the listener used for compiler instances.
virtual void techniqueEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Technique *tech)
Called when technique section event raised.
Definition: OgreMaterialSerializer.h:85
const AutoConstantEntry * _findRawAutoConstantEntryInt(size_t physicalIndex) const
Finds an auto constant that's affecting a given physical position in the integer buffer.
@ ACT_LIGHT_CUSTOM
Binds custom per-light constants to the shaders.
Definition: OgreGpuProgramParams.h:1211
@ GCT_SAMPLER1DSHADOW
Definition: OgreGpuProgramParams.h:78
Ogre::Real getTopSpeed()
Definition: OgreCameraMan.h:94
void setNamedAutoConstantReal(const String &name, AutoConstantType acType, Real rData)
void move(const Vector3 &vec)
Moves the camera's position by the vector offset provided along world axes.
Command object for common up-vector (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:91
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void doSet(void *target, const String &val)
virtual void prepareWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
This is an overloaded member function, provided for convenience. It differs from the above function o...
BspNode(BspLevel *owner, bool isLeaf)
Constructor, only to be used by BspLevel.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
SharedPtr< HardwareBuffer > HardwareBufferPtr
Definition: OgrePrerequisites.h:288
AllocPolicy AnimationAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:89
void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
static void setExceptionsErrorLevel(const Ogre::String &exceptionsErrorLevel)
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
Root(const String &pluginFileName="plugins.cfg", const String &configFileName="ogre.cfg", const String &logFileName="Ogre.log")
Constructor.
@ SBF_DEST_ALPHA
The existing pixel alpha value.
Definition: OgreBlendMode.h:237
PageStrategy * getStrategy(const String &name)
Get a PageStrategy.
void swap(ComPtr< T > &a, ComPtr< T > &b)
Definition: OgreComPtr.h:240
NodeAnimationTrack * createNodeTrack(unsigned short handle)
Creates a NodeAnimationTrack for animating a Node.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE2
Definition: OgreShaderParameter.h:172
int content_flags
Definition: OgreQuake3Types.h:205
Definition: OgreShaderExLayeredBlending.h:94
virtual void collapse(LodData *data, LodCollapseCost *cost, LodOutputProvider *output, int vertexCountLimit, Real collapseCostLimit)
Reduces vertices until vertexCountLimit or collapseCostLimit is reached.
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
Definition: OgrePortalBase.h:203
virtual BackgroundProcessTicket unload(const String &resType, ResourceHandle handle, Listener *listener=0)
Unload a single resource in the background.
const String & getShadowCasterFragmentProgramName(void) const
AllocPolicy ResourceAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:92
virtual ushort getPreferredFloatBitDepth(void) const
Gets preferred bit depth for float pixel format textures.
void setMaterial(const MaterialPtr &mat)
Definition: OgreSubMesh.h:142
shared_ptr< GLSLShader > GLSLShaderPtr
Definition: OgreGL3PlusPrerequisites.h:51
bool getShowDebugShadows(void) const
Are debug shadows shown?
Definition: OgreSceneManager.h:2628
virtual void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
void _setProjectionMatrix(Matrix4 m)
const AutoConstantEntry * findFloatAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for floating-point values.
@ HWInstancingVTF
Needs SM 3.0+, HW instancing support & VTF.
Definition: OgreInstanceManager.h:70
bool bind(bool recreateIfNeeded)
Bind FrameBufferObject.
@ ERR_INTERNAL_ERROR
Definition: OgreException.h:117
virtual void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the material to be used for this billboard set.
MaterialManager()
Default constructor.
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreCgProgram.h:144
SortMode
Sort mode for billboard-set and particle-system.
Definition: OgreCommon.h:311
virtual void preFindVisibleObjects(SceneManager *source, IlluminationRenderStage irs, Viewport *v)
Called prior to searching for visible objects in this SceneManager.
Definition: OgreSceneManager.h:272
virtual void update(void)
Update data if necessary.
std::list< PCZone * > PCZoneList
Definition: OgrePCZone.h:70
Particle * createEmitterParticle(const String &emitterName)
Manually add an emitter particle to the system.
size_t getAutoConstantCount(void) const
Gets the number of int constants that have been set.
Definition: OgreGpuProgramParams.h:1754
DualQuaternion(Real fW, Real fX, Real fY, Real fZ, Real fdW, Real fdX, Real fdY, Real fdZ)
Construct from an explicit list of values.
Definition: OgreDualQuaternion.h:57
virtual void shutdown()
Shut down the queue.
Class for managing Quake3 custom shaders.
Definition: OgreQuake3ShaderManager.h:60
OrientationMode getOrientationMode() const
Get the orientation mode of the viewport.
Texturing sub render state implementation of layered blending.
Definition: OgreShaderExLayeredBlending.h:45
ResourceType mResourceType
Definition: OgreScriptCompiler.h:483
Real alphaArg1
Manual alpha value for manual source1.
Definition: OgreBlendMode.h:156
virtual bool isVisible(void) const
Are the batches visible?
Definition: OgreStaticGeometry.h:689
A billboard is a primitive which always faces the camera in every frame.
Definition: OgreBillboard.h:69
void setEntryPointFunction(Function *function)
Definition: OgreShaderProgram.h:133
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:165
Quake3Shader * getByName(const String &name)
Retrieve a Quake3Shader by name.
@ SDLK_ESCAPE
Definition: OgreInput.h:99
void setSeparateSceneBlending(const SceneBlendType sbt, const SceneBlendType sbta)
Sets the kind of blending every pass has with the existing contents of the scene, using individual fa...
bool isLeaf(void) const
Returns true if this node is a leaf (i.e.
virtual void _findVisibleObjects(Camera *cam, RenderQueue *queue, Viewport *vp)
Internal method to put the overlay contents onto the render queue.
void setEnvironmentMap(TexturePtr tex, float intensityFactor=1.0f)
void readData(size_t offset, size_t length, void *pDest)
void setSkyDomeEnabled(bool enable)
Enables / disables a 'sky dome'.
Definition: OgreSceneManager.h:2115
void setVertexColourTracking(TrackVertexColourType tracking)
Sets which material properties follow the vertex colour.
static String TargetLanguage
Definition: OgreShaderCGProgramWriter.h:76
static String FACTORY_TYPE_NAME
Definition: OgreRibbonTrail.h:232
void setShadowCasterFragmentProgramParameters(GpuProgramParametersSharedPtr params)
String generateFilename(long x, long y) const
Generate a file name based on the current naming convention.
static GLenum getGLImageInternalFormat(PixelFormat format)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format for i...
void setCaption(const Ogre::DisplayString &caption)
Definition: OgreTrays.h:713
StencilOperation getStencilDepthFailOp() const
Get stencil depth fail operation.
VectorImpl::const_reverse_iterator const_reverse_iterator
Definition: OgreCommon.h:403
@ ENDIAN_BIG
Use big endian (0x1000 is serialised as 0x10 0x00)
Definition: OgreStreamSerialiser.h:76
const ColourValue & getSurfaceEmissiveColour(void) const
@ SHADER_FUNC_SAWTOOTH
Definition: OgreQuake3Types.h:113
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
void mergeNonRenderedButInFrustum(const AxisAlignedBox &boxBounds, const Sphere &sphereBounds, const Camera *cam)
Merge an object that is not being rendered because it's not a shadow caster, but is a shadow receiver...
CompositionPass * createPass(CompositionPass::PassType type=CompositionPass::PT_RENDERQUAD)
Create a new pass, and return a pointer to it.
void closeGapsInSource(void)
Remove any gaps in the source buffer list used by this declaration.
std::list< DataStreamPtr > DataStreamList
List of DataStream items.
Definition: OgreDataStream.h:308
void _setSubMeshLodFaceList(unsigned short subIdx, unsigned short level, IndexData *facedata)
Internal methods for loading LOD, do not use.
Definition: OgreQuake3Shader.h:73
Real mHeight
Personal height if mOwnDimensions == true.
Definition: OgreParticle.h:80
virtual ~MovableObject()
Virtual destructor - read Scott Meyers if you don't know why this is needed.
void setOptimalAdjustFactor(size_t splitIndex, Real factor)
Set the LiSPSM optimal adjust factor for a given split (call after configuring splits).
LoadingFlags
Enum that allow to choose subset of unloaded/reloaded resources and to adjust reloading behavior.
Definition: OgreResource.h:120
uint16 getLayerBlendMapSize() const
Get the default size of the blend maps for a new terrain.
Definition: OgreTerrain.h:2016
ParticleEmitterFactoryIterator getEmitterFactoryIterator(void)
Return an iterator over the emitter factories currently registered.
virtual void buildConstantDefinitions() const
Build the constant definition map, must be overridden.
virtual void setNormaliseNormals(bool normalise)
Sets whether or not normals are to be automatically normalised.
Definition: OgreRenderSystem.h:828
void setDoLightCalculations(bool val)
Definition: OgreShaderExHardwareSkinningTechnique.h:96
Basic check box widget.
Definition: OgreTrays.h:637
void setMaskToParamType()
automatically set swizzle to match parameter arity
AngleUnit
The angular units used by the API.
Definition: OgreMath.h:212
Shader generator system main interface.
Definition: OgreShaderGenerator.h:62
static String toString(const StringVector &val)
Converts a StringVector to a string.
virtual bool load(StreamSerialiser &stream)
Load this section from a stream (returns true if successful)
uint32 getTypeFlags(void) const
Override to return specific type flag.
void setTexParameterf(GLenum target, GLenum pname, GLfloat param)
Sets a float parameter value per texture target.
const String & getName() const
Get the name of the pool.
void setNamedConstant(const String &name, const uint *val, size_t count, size_t multiple=4)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreLodOutputProvider.h:39
General purpose request structure.
Definition: OgreWorkQueue.h:85
PortalIntersectResult
Definition: OgrePortalBase.h:163
bool isVisible(const AxisAlignedBox &bound) const
virtual void swapBuffers()
Override needed to deal with multisample buffers.
ID3D11Buffer * getD3DVertexBuffer(void) const
Get the D3D-specific vertex buffer.
bool _isIn(AxisAlignedBox &box)
void removeListener(Listener *l)
Remove a listener.
@ PF_A2B10G10R10
32-bit pixel format, 10 bits for blue, green and red, 2 bits for alpha.
Definition: OgrePixelFormat.h:85
void setDirection(const Vector3 &vec, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Matrix3 Transpose() const
virtual int32 getPageRangeMaxY() const
get the index range of all Pages (values outside this will be ignored)
virtual bool isVertexCompressionSupported() const
Return whether this material generator supports using a compressed vertex format.
Definition: OgreTerrainMaterialGenerator.h:278
static void destroy_range(T *, T *)
Definition: OgreSmallVector.h:271
virtual void clear()
Clear the pool.
Definition: OgreResourceManager.h:83
virtual ~GLPBuffer()
Definition: OgreGLPBuffer.h:44
Real getBoundingRadius() const
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgrePortalBase.h:195
void _setNormalMapRequired(bool normalMap)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
void unbind(RenderTarget *target)
Unbind a certain render target.
ushort getTessellationDomainProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:837
Command object for attaching another GLSL Program.
Definition: OgreGLSLShaderCommon.h:61
virtual bool isPaused() const
Return whether the queue is paused ie not sending more work to workers.
void setLightMapSize(uint16 sz)
Sets the default size of lightmaps for a new terrain.
Definition: OgreTerrain.h:2048
virtual Bone * createBone(const String &name, unsigned short handle)
Creates a brand new Bone owned by this Skeleton.
virtual const ShadowRenderableList & getShadowVolumeRenderableList(ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, size_t *indexBufferUsedSize, bool extrudeVertices, Real extrusionDistance, unsigned long flags=0)
Gets an list of the renderables required to render the shadow volume.
Definition: OgreShadowCaster.h:165
void setNull()
Definition: OgreCommon.h:628
Real getPointMinSize(void) const
Get the minimum point size, when point attenuation is in use.
Real lodValue
LOD value as determined by LOD strategy.
Definition: OgreLodListener.h:63
void setShadowTextureFadeStart(Real fadeStart)
Sets the proportional distance at which texture shadows begin to fade out.
Definition: OgreSceneManager.h:2853
virtual bool queryResult(MovableObject *movable, SceneQuery::WorldFragment *fragment)=0
Called when a movable intersects a world fragment.
static HashFunc * getBuiltinHashFunction(BuiltinHashFunction builtin)
Get the builtin hash function.
@ ACT_INVERSE_PROJECTION_MATRIX
Provides inverse of projection matrix.
Definition: OgreGpuProgramParams.h:726
VertexAnimationTrack * createVertexTrack(unsigned short handle, VertexAnimationType animType)
Creates a VertexAnimationTrack for animating vertex position data.
virtual bool isPrimary(void) const
Indicates whether the window is the primary window.
void setGlobalInstanceVertexBuffer(const HardwareVertexBufferSharedPtr &val)
Sets the global instance vertex buffer.
virtual size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
void _OgreExport MurmurHash3_x86_32(const void *key, size_t len, uint32_t seed, void *out)
String doGet(const void *target) const
bool hasCompositorChain(const Viewport *vp) const
Returns whether exists compositor chain for a viewport.
@ TS_PARENT
Transform is relative to the space of the parent node.
Definition: OgreNode.h:66
void clear(void)
Clear and delete all invocations in this sequence.
void convertTerrainToImageSpace(Real x, Real y, size_t *outX, size_t *outY)
Convert terrain space values (0,1) to image space (0, imageSize).
const LightList & getLights() const override
Gets a list of lights, ordered relative to how close they are to this renderable.
Definition: OgreBspLevel.h:128
unsigned short _getEmissionCount(Real timeElapsed)
See ParticleEmitter.
const Archive * archive
The archive in which the file has been found (for info when performing multi-Archive searches,...
Definition: OgreArchive.h:53
uint32 getVisibilityFlags() const
Returns the visibility flags of the regions.
static OptimisedUtil * getImplementation(void)
Gets the implementation of this class.
Definition: OgreOptimisedUtil.h:73
virtual ~GeometryBucket()
Command object for running the GLSL optimiser.
Definition: OgreGLSLESProgram.h:42
NumericAnimationTrack(Animation *parent, unsigned short handle, AnimableValuePtr &target)
Constructor, associates with an AnimableValue.
String mResourceGroup
Definition: OgreScriptCompiler.h:566
@ PCT_SINT
32 bit float per component
Definition: OgrePixelFormat.h:329
virtual const String & getName() const =0
@ ID_ONE_MINUS_SRC_ALPHA
Definition: OgreScriptCompiler.h:631
Listener which gets called back on MovableObject events.
Definition: OgreMovableObject.h:62
@ VES_TEXTURE_COORDINATES
Texture coordinates.
Definition: OgreHardwareVertexBuffer.h:103
bool isSupported(void) const
Overridden from GpuProgram.
virtual ~OptimisedUtil()
Definition: OgreOptimisedUtil.h:66
@ SPC_TANGENT_WORLD_SPACE
Tangent in world space.
Definition: OgreShaderParameter.h:252
static void processPendingPassUpdates(void)
Process all dirty and pending deletion passes.
virtual DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
uint8 elementStart
The colour element at which this element starts.
Definition: OgreTerrainMaterialGenerator.h:76
virtual void swapBuffers()
Override needed to deal with multisample buffers.
virtual void addMarchingCubesTriangles(const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const
Overridden from IsoSurface.
MapIterator< AnimationStateMap > AnimationStateIterator
Definition: OgreAnimationState.h:188
void enableCustomNearClipPlane(const MovablePlane *plane)
Links the frustum to a custom near clip plane, which can be used to clip geometry in a custom manner ...
@ SM_Source1InvModulate
Definition: OgreShaderExLayeredBlending.h:88
String generate()
Generate a new name.
Definition: OgreNameGenerator.h:59
String doGet(const void *target) const
@ ID_ILLUMINATION_STAGE
Definition: OgreScriptCompiler.h:656
const String & getShadowCasterVertexProgramName(void) const
MapIterator< TerrainSlotMap > TerrainIterator
Definition: OgreTerrainGroup.h:474
bool isSupported(void) const
Returns whether this program can be supported on the current renderer and hardware.
ConstVectorIterator< GPUDeviceNameRuleList > GPUDeviceNameRuleIterator
Definition: OgreTechnique.h:688
@ ID_EMITTER
Definition: OgreScriptCompiler.h:788
@ LOADSTATE_LOADED
Fully loaded.
Definition: OgreResource.h:109
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
Definition: OgreExternalTextureSource.h:87
TimeIndex(Real timePos, uint keyIndex)
Construct time index object by the given time position and global keyframe index.
Definition: OgreAnimationTrack.h:82
bool hasScale() const
Determines if this matrix involves a scaling.
Definition: OgreMatrix3.h:263
bool requestTypeFlags() const
Return true here as we want to get a unique type flag.
Definition: OgreAntiPortal.h:68
void addOutputParameter(ParameterPtr parameter)
Add output parameter to this function.
void setFindVisibleObjects(bool find)
Sets whether the SceneManager should search for visible objects, or whether they are being manually h...
Definition: OgreSceneManager.h:3260
ushort getNumVertexBlendMatrices(void) const
Definition: OgreRenderSystemCapabilities.h:496
MeshBuilder * meshBuilder
The MeshBuilder to use.
Definition: OgreVolumeChunkHandler.h:68
static const uint32 CHUNK_ID
Definition: OgrePageContentCollection.h:61
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
@ SPC_LIGHTPOSITION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:213
@ SPC_POSTOLIGHT_OBJECT_SPACE3
Definition: OgreShaderParameter.h:133
void setBlendEquation(GLenum eqRGB, GLenum eqA)
Set the blend equation for RGB and alpha separately.
void _setLineWidth(float width)
Set the line width when drawing as RenderOperation::OT_LINE_LIST/ RenderOperation::OT_LINE_STRIP.
TargetMode getTargetMode(void) const
Get the target mode.
Definition: OgreAnimationTrack.h:546
GLSLProgramProcessor()
Class constructor.
VectorIterator< Instances > InstanceIterator
Definition: OgreCompositorChain.h:58
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Sets the colour buffer that the render system will to draw.
Definition: OgreRenderSystem.h:1152
virtual PCZone * updateNodeHomeZone(PCZSceneNode *pczsn, bool allowBackTouces)=0
Update a node's home zone.
virtual Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for vertex animating this mesh.
void setOutputOperationType(RenderOperation::OperationType operationType)
Set the operation type that this geometry program will emit.
Definition: src/GLSL/include/OgreGLSLProgram.h:82
Definition: OgreQuake3Types.h:202
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
@ HBU_STATIC_WRITE_ONLY
Combination of HBU_STATIC and HBU_WRITE_ONLY This is the optimal buffer usage setting.
Definition: OgreHardwareBuffer.h:114
static DECL_MALLOC void * allocate(size_t size, size_t alignment)
Allocate memory with given alignment.
virtual int getExecutionOrder() const
static PropertyType getTypeForValue(const unsigned int &val)
Definition: OgreProperty.h:163
@ GCT_MATRIX_2X3
Definition: OgreGpuProgramParams.h:83
void setCompareFunction(CompareFunction function)
Definition: OgreTextureUnitState.h:187
virtual void setStencilCheckEnabled(bool enabled)=0
Turns stencil buffer checking on or off.
void addRendererFactory(ParticleSystemRendererFactory *factory)
Registers a factory class for creating ParticleSystemRenderer instances.
Definition: OgreResource.h:72
@ ID_INVERSE_SAWTOOTH
Definition: OgreScriptCompiler.h:774
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLWindow.h:53
String getSetting(const String &key, const String §ion=BLANKSTRING, const String &defaultValue=BLANKSTRING) const
Gets the first setting from the file with the named key.
void _autoTrack(void)
Internal method used by OGRE to update auto-tracking cameras.
static ProgramManager & getSingleton()
Override standard Singleton retrieval.
const Radian & getRotationSpeedRangeStart(void) const
Gets the minimum rotation speed of particles to be emitted.
@ RSC_32BIT_INDEX
Supports 32bit hardware index buffers.
Definition: OgreRenderSystemCapabilities.h:97
HardwareVertexBufferSharedPtr getWBuffer(void)
Definition: OgreManualObject.h:491
Plane()
Default constructor - sets everything to 0.
Definition: OgrePlane.h:71
void setCompositeMapDiffuse(const ColourValue &c)
Set the composite map diffuse light to use.
Definition: OgreTerrain.h:1927
@ GMM_PIXELS
Positions & sizes are in absolute pixels.
Definition: OgreOverlayElement.h:58
const TerrainLayerDeclaration & getLayerDeclaration() const
Get the declaration which describes the layers in this terrain.
Definition: OgreTerrain.h:962
IndexData * clone(bool copyData=true, HardwareBufferManagerBase *mgr=0) const
Clones this index data, potentially including replicating the index buffer.
static HardwareBufferManager & getSingleton(void)
Get the singleton instance.
static bool fileExists(const Ogre::String &path)
Test if the given file exists.
bool isInfinite(void) const
Returns true if the box is infinite.
Definition: OgreAxisAlignedBox.h:521
@ ANT_IMPORT
Definition: OgreScriptCompiler.h:82
SpecialCaseRenderQueueMode
Enumeration of the possible modes allowed for processing the special case render queue list.
Definition: OgreSceneManager.h:205
AtomAbstractNode(AbstractNode *ptr)
void setLastVisibleFromCamera(PCZCamera *camera)
Set the lastVisibleFromCamera pointer.
Definition: OgrePCZone.h:119
TexturePtr createManual(const String &name, const String &group, TextureType texType, uint width, uint height, int numMipmaps, PixelFormat format, int usage=TU_DEFAULT, ManualResourceLoader *loader=0, bool hwGammaCorrection=false, uint fsaa=0, const String &fsaaHint=BLANKSTRING)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreTextureManager.h:283
void prepareResourceGroup(const String &name, bool prepareMainResources=true, bool prepareWorldGeom=true)
Prepares a resource group.
@ FFP_PS_COLOUR_END
Definition: OgreShaderFFPRenderState.h:61
virtual void destroyInstance(PageContentCollection *)=0
static Affine3 getScale(const Vector3 &v)
Gets a scale matrix.
Definition: OgreMatrix4.h:413
Struct containing information about a LOD change event for movable objects.
Definition: OgreLodListener.h:45
@ CAPS_CATEGORY_D3D9
Definition: OgreRenderSystemCapabilities.h:64
@ PF_ASTC_RGBA_12X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 12x10)
Definition: OgrePixelFormat.h:268
~OctreeIntersectionSceneQuery()
void _cursorPressed(const Ogre::Vector2 &cursorPos)
@ ID_DEPTH_POOL
Definition: OgreScriptCompiler.h:809
@ FINGERUP
Definition: OgreInput.h:40
void addStrategy(LodStrategy *strategy)
Add a strategy to the manager.
#define OGRE_RESOURCE_GROUP_INIT
Definition: OgreResourceGroupManager.h:49
This class represents a render target that renders to multiple RenderTextures at once.
Definition: OgreRenderTexture.h:71
size_t getNumParticles(void) const
Gets the number of individual particles in the system right now.
@ ID_LESS_EQUAL
Definition: OgreScriptCompiler.h:645
Page strategy which loads new pages based on a regular 3D grid.
Definition: OgreGrid3DPageStrategy.h:204
VectorBase(Real _x, Real _y)
Definition: OgreVector.h:71
const String & getFilenameExtension() const
Definition: OgreTerrainGroup.h:161
std::vector< QueuedGeometry * > QueuedGeometryList
Definition: OgreStaticGeometry.h:179
CompositorChain * _getActiveCompositorChain() const
Gets the active compositor chain of the current scene being rendered.
Definition: OgreSceneManager.h:3041
bool hasShadowReceiverFragmentProgram(void) const
Returns true if this pass uses a shadow receiver fragment program.
Definition: OgrePass.h:278
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
PCZCamera * getLastVisibleFromCamera()
Definition: OgrePCZSceneNode.h:96
PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for any Page.
Definition: OgrePageManager.h:316
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for any Page.
Definition: OgrePageManager.h:313
const RenderSystemDataPtr & getRenderSystemData() const
Definition: OgreRenderable.h:387
VertexAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
virtual ~MovableObjectFactory()
Definition: OgreMovableObject.h:598
void showYesNoDialog(const Ogre::DisplayString &caption, const Ogre::DisplayString &question)
Pops up a question dialog with Yes and No buttons.
@ OGREPROF_RENDERING
Rendering.
Definition: OgreProfiler.h:90
static size_t _getNumIndexesForBatchSize(uint16 batchSize)
Utility method to get the number of indexes required to render a given batch.
@ PF_R16G16B16A16_SINT
64-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int), 16 bits green (signed int),...
Definition: OgrePixelFormat.h:184
AllocPolicy SceneCtlAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:90
static void setDefaultIterationInterval(Real iterationInterval)
Set the default iteration interval for all ParticleSystem instances.
Definition: OgreParticleSystem.h:428
virtual ~ParticleVisualData()
Definition: OgreParticle.h:55
void _addOctreeNode(OctreeNode *, Octree *octree, int depth=0)
Adds the Octree Node, starting at the given octree, and recursing at max to the specified depth.
Real getMaxSupportedAnisotropy() const
Get the maximum supported anisotropic filtering.
Definition: OgreRenderSystemCapabilities.h:718
Operand & w()
Definition: OgreShaderFunctionAtom.h:115
@ ID_TRANSPARENCY_CASTS_SHADOWS
Definition: OgreScriptCompiler.h:597
uint32 getStencilMask() const
Get stencil mask.
@ QUATERNION
Definition: OgreAnimable.h:82
size_t getNumInstancesPerBatch(const String &meshName, const String &groupName, const String &materialName, InstanceManager::InstancingTechnique technique, size_t numInstancesPerBatch, uint16 flags=0, unsigned short subMeshIdx=0)
std::vector< DynLib * > PluginLibList
Definition: OgreRoot.h:72
void findVisibleNodes(PCZCamera *, NodeList &visibleNodeList, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters, bool displayNodes, bool showBoundingBoxes)
Find and add visible objects to the render queue.
virtual FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false) const =0
Find all files or directories matching a given pattern in this archive and get some detailed informat...
PSSMShadowCameraSetup * getReceiveDynamicShadowsPSSM() const
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
Definition: OgreTerrainMaterialGeneratorA.h:137
const LightList & queryLights(void) const
Gets a list of lights, ordered relative to how close they are to this movable object.
virtual const AnyNumeric & getValue(void) const
Get the value at this keyframe.
std::map< String, ProfileInstance * > ProfileChildren
Definition: OgreProfiler.h:153
RenderSystem * getDestinationRenderSystem()
Get the rendersystem subclass to which the output of this Scene Manager gets sent.
void setShadowFarDistance(Real distance)
Sets the default maximum distance away from the camera that shadows will be visible.
const String & getTessellationDomainProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1303
IDirect3DIndexBuffer9 * getD3DIndexBuffer(void)
Get the D3D-specific index buffer.
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
const Vector3 getCenterBackBottom(void) const
Gets the center of the corners 0, 1.
Definition: OgreVolumeOctreeNode.h:359
bool intersects(const Sphere &s) const
Returns whether or not this sphere intersects another sphere.
Definition: OgreSphere.h:80
WaveType rgbGenWave
Definition: OgreQuake3Shader.h:87
void setQuadCorners(Real left, Real top, Real right, Real bottom)
PixelFormat suggestPixelFormat() const
Override since windows don't usually have alpha.
Definition: OgreRenderWindow.h:211
@ PROP_MATRIX4
Definition: OgreProperty.h:124
virtual void inject()
Definition: OgreLodOutputProvider.h:48
Pool()
Definition: OgreResourceManager.h:52
CGProgramProcessor()
Class constructor.
static bool initialize()
Initialize the Shader Generator System.
void resetOrganisationModes(void)
Reset the organisation modes required for the solids in this group.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
ProgramWriter * createProgramWriter(const String &language)
Create a new, unloaded HighLevelGpuProgram.
GLES2HardwareBufferManager()
virtual const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
PCZCamera::Visibility getVisibility(const AxisAlignedBox &bound)
Returns the detailed visibility of the box.
GLDepthBuffer(uint16 poolId, GLRenderSystem *renderSystem, GLContext *creatorContext, GLRenderBuffer *depth, GLRenderBuffer *stencil, uint32 width, uint32 height, uint32 fsaa, bool isManual)
Definition: OgreGL3PlusHardwarePixelBuffer.h:37
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:237
virtual void updateParams(const SM2Profile *prof, const MaterialPtr &mat, const Terrain *terrain, bool compositeMap)
static String Type
Definition: OgreShaderFFPTexturing.h:82
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
Definition: OgreAdvancedRenderControls.h:65
Base interface for an instance of a property.
Definition: OgreProperty.h:193
Enumerates the SceneManager classes available to applications.
Definition: OgreSceneManagerEnumerator.h:88
IDXGIFactoryN * GetDXGIFactory()
Definition: OgreD3D11Device.h:64
static TerrainAutoUpdateLod * getAutoUpdateLod(uint32 strategy)
Definition: OgreTerrainAutoUpdateLod.h:94
AnimationState * getAnimationState(const String &name) const
void CreateComputeShader()
Command object for setting matrix packing in column-major order.
Definition: OgreD3D9HLSLProgram.h:62
std::map< String, SettingsMultiMap * > SettingsBySection
Gets an iterator for stepping through all the keys / values in the file.
Definition: OgreConfigFile.h:89
virtual BackgroundProcessTicket initialiseAllResourceGroups(Listener *listener=0)
Initialise all resource groups which are yet to be initialised in the background.
static ParticleSystemManager * getSingletonPtr(void)
Get the singleton instance.
void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
virtual void setMaterial(const MaterialPtr &mat)
SceneQuery(SceneManager *mgr)
Standard constructor, should be called by SceneManager.
virtual ~AnimableObject()
Definition: OgreAnimable.h:287
Interface for compositor logics, which can be automatically binded to compositors,...
Definition: OgreCompositorLogic.h:47
AutoConstantType
Defines the types of automatically updated values that may be bound to GpuProgram parameters,...
Definition: OgreGpuProgramParams.h:683
RenderTexture * createRenderTexture(const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
Definition: OgreGLCopyingRenderTexture.h:56
bool isCustomProjectionMatrixEnabled(void) const
Returns whether a custom projection matrix is in use.
Definition: OgreFrustum.h:420
void setCullFace(GLenum face)
Sets the face culling setting.
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:47
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderGLSLProgramWriter.h:135
Real cloudHeight
Definition: OgreQuake3Shader.h:112
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
GpuLogicalIndexUse(size_t bufIdx, size_t curSz, uint16 v)
Definition: OgreGpuProgramParams.h:375
void setOptimisedSource(const String &src)
Sets the optimised GLSL source.
Definition: OgreGLSLESProgram.h:68
void setNormalMapSpace(NormalMapSpace normalMapSpace)
Set the normal map space.
Definition: OgreShaderExNormalMapLighting.h:126
virtual void setInitialColour(size_t chainIndex, const ColourValue &col)
Set the starting ribbon colour for a given segment.
Definition: OgreGLES2StateCacheManager.h:38
FileSystemLayer(const Ogre::String &subdir)
Creates a concrete platform-dependent implementation of FileSystemLayer.
Definition: OgreFileSystemLayer.h:54
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:69
size_t getPolygonCount(void) const
Returns the current number of polygons.
std::list< AntiPortal * > AntiPortalList
Definition: OgrePCZone.h:72
virtual void setMaxChainElements(size_t maxElements)
Set the maximum number of chain elements per chain.
const SubRenderStateSet & getSubRenderStateInstanceSet() const
Return a set of all instances of the template SubRenderState.
Definition: OgreShaderSubRenderState.h:198
StencilOperation getStencilPassOp() const
Get stencil pass operation.
virtual uint8 getRenderQueueGroup(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
virtual void dirtyNodeByMovingPortals(void)=0
Mark nodes dirty base on moving portals.
static String TargetLanguage
Definition: OgreShaderGLSLProgramWriter.h:74
virtual void initConfigOptions(void)
The class represents a polygon in 3D space.
Definition: OgrePolygon.h:53
@ PF_FLOAT16_GR
32-bit, 2-channel s10e5 floating point pixel format, 16-bit green, 16-bit red
Definition: OgrePixelFormat.h:126
@ ID_1D
Definition: OgreScriptCompiler.h:700
size_t bufferSize
Shortcut to know the buffer size needs.
Definition: OgreGpuProgramParams.h:387
virtual bool hasEdgeList(void)=0
Returns whether the object has a valid edge list.
TriangleList mTriangleList
Definition: OgreLodData.h:153
void setRedAdjust(float red)
Sets the red adjustment to be made per second to particles.
Vector & operator-=(const Vector &b)
Definition: OgreVector.h:618
Function * createFunction(const String &name, const String &desc, const Function::FunctionType functionType)
Allows the rendering of a wireframe bounding box.
Definition: OgreWireBoundingBox.h:49
const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
Node * getParent(void) const
Gets this node's parent (NULL if this is the root).
Definition: OgreNode.h:240
void decomposition(Vector3 &position, Vector3 &scale, Quaternion &orientation) const
Decompose to orientation / scale / position.
GpuProgramParameters & operator=(const GpuProgramParameters &oth)
Operator = overload.
GL3PlusFrameBufferObject(GL3PlusFBOManager *manager, uint fsaa)
CameraStyle getStyle()
Definition: OgreCameraMan.h:104
bool isSystemMemory(void) const
Returns whether this buffer is held in system memory.
Definition: OgreHardwareBuffer.h:361
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual const StringVector & getScriptPatterns(void) const =0
Gets the file patterns which should be used to find scripts for this class.
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
Plane(const Vector3 &rkNormal, Real fConstant)
Construct a plane through a normal, and a distance to move the plane along the normal.
Definition: OgrePlane.h:73
void _restoreManualHardwareResources() override
Notifies the movable object that hardware resources should be restored.
String doGet(const void *target) const
static bool parse(const String &str, bool &v)
virtual unsigned long getFrameLastHeld()
Get the frame number in which this Page was last loaded or held.
Definition: OgrePage.h:121
virtual unsigned short getNumBones(void) const
Returns the number of bones in this skeleton.
@ SHADER_GEN_WAVE
Definition: OgreQuake3Types.h:121
virtual const String & getTargetLanguage() const
Definition: OgreShaderCGProgramWriter.h:74
void _writeRawConstant(size_t physicalIndex, const Vector< 4, double > &vec, size_t count=4)
This is an overloaded member function, provided for convenience. It differs from the above function o...
SkinningType
Definition: OgreShaderPrerequisites.h:88
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:58
TechniqueIterator getSupportedTechniqueIterator(void)
Gets an iterator over all the Techniques which are supported by the current card.
void notifyDelta(uint16 x, uint16 y, uint16 lod, Real delta)
Notify the node (and children) of a height delta value.
static NeighbourIndex getOppositeNeighbour(NeighbourIndex index)
Get the opposite neighbour relationship (useful for finding the neighbour index from the perspective ...
virtual void _restoreManualHardwareResources()
Notifies the movable object that hardware resources should be restored.
Definition: OgreMovableObject.h:199
Base class responsible for setting up a common context for applications.
Definition: OgreApplicationContextBase.h:86
const Vector4 & _getCustomParam(InstancedEntity *instancedEntity, unsigned char idx)
uchar * getColourMask()
Gets the current colour mask setting.
Definition: OgreGLStateCacheManagerCommon.h:107
void _notifyCurrentCamera(Camera *cam) override
Internal method to notify the object of the camera to be used for the next rendering operation.
uint16 version
Version of the chunk (stored)
Definition: OgreStreamSerialiser.h:97
virtual void setCameraLightDirectionThreshold(Degree angle)
Sets the threshold between the camera and the light direction below which the LiSPSM projection is 'f...
const Affine3 & getInverseWorldMatrix(void) const
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
@ VET_INT1
Definition: OgreHardwareVertexBuffer.h:146
virtual void copyFrom(const SubRenderState &rhs)
virtual void _findVisibleObjects(Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters)
Recurses through the PCZTree determining which nodes are visible.
RenderTarget * detachRenderTarget(RenderTarget *pWin)
Detaches a RenderTarget from the active render system and returns a pointer to it.
@ RSC_WBUFFER
the renderer will try to use W-buffers when available W-buffers are enabled by default for 16bit dept...
Definition: OgreRenderSystemCapabilities.h:202
@ ACT_TANTIME_0_1
Tangent of "Time0_1". Equivalent to RenderMonkey's "TanTime0_1".
Definition: OgreGpuProgramParams.h:1038
ushort getTessellationDomainProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:842
void setAllParamValues(const Ogre::StringVector ¶mValues)
Controller< Real > * createTextureRotater(TextureUnitState *layer, Real speed)
Creates a basic time-based texture coordinate modifier designed for creating rotating textures.
Vector4f getTime_0_X_packed(Real x) const
Vector4 getAs4DVector(bool cameraRelativeIfSet=false) const
Gets the details of this light as a 4D vector.
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
Get the squared depth from camera to the LOD object.
virtual void setValue(const Radian &)
Set value.
Definition: OgreAnimable.h:175
virtual void _notifyDefaultDimensions(Real width, Real height)=0
Tells the renderer that the particle default size has changed.
ID3D11VertexShader * getVertexShader(void) const
const ColourValue & getShadowColour() const
Vector & operator-=(Real s)
Definition: OgreVector.h:604
static locale_t _numLocale
Definition: OgreStringConverter.h:346
static bool parse(const String &str, unsigned long &v)
@ ID_REVERSE_SUBTRACT
Definition: OgreScriptCompiler.h:634
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
Definition: OgreRectangle2D.h:88
VectorIterator< ChildObjectList > ChildObjectListIterator
Definition: OgreEntity.h:588
Radian operator*(Real a, const Radian &b)
Definition: OgreMath.h:791
@ PF_R16G16_SNORM
32-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:224
Usage
Enums describing buffer usage; not mutually exclusive.
Definition: OgreHardwareBuffer.h:80
static eExceptionsErrorLevel mExceptionsErrorLevel
Definition: OgreD3D11Device.h:98
void hideFrameStats()
Hides frame statistics widget set.
ParameterPtr getLocalParameter(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderFunction.h:211
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:155
AxisAlignedBox & _getLocalAABB()
Returns the local bounding box of this OctreeNode.
Definition: OgreOctreeNode.h:114
uint32 RGBA
Definition: OgreColourValue.h:41
~DefaultHardwareBufferManagerBase()
SharedPtr< GpuSharedParameters > GpuSharedParametersPtr
Definition: OgrePrerequisites.h:285
HighLevelGpuProgramManager()
void uninstall()
Perform the final plugin uninstallation sequence.
PassList pass
Definition: OgreQuake3Shader.h:108
virtual StreamSerialiser * _readPageStream(PageID pageID)
Get a serialiser set up to read Page data for the given PageID.
Abstract class that can be implemented by the user application to provide a way to retrieve or genera...
Definition: OgrePageManager.h:58
static const IdString QTangent
Definition: OgreHlmsPropertyHelper.h:51
void setEnabled(bool enabled)
Sets whether this animation is enabled.
Vector3 singleIntersection
Single intersection point, only applicable for WFT_SINGLE_INTERSECTION.
Definition: OgreSceneQuery.h:107
StaticGeometry * createStaticGeometry(const String &name)
Creates a StaticGeometry instance suitable for use with this SceneManager.
ProjectionType getProjectionType() const
Get the projection type of this PCZFrustum.
Definition: OgrePCZFrustum.h:120
static int IFloor(float fValue)
Definition: OgreMath.h:263
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask)
Update automatic parameters.
@ SDLK_PAUSE
Definition: OgreInput.h:115
AnimationState * createAnimationState(const String &animName, Real timePos, Real length, Real weight=1.0, bool enabled=false)
Create a new AnimationState instance.
bool operator<(IdString idString) const
Definition: OgreIdString.h:224
const String & getOrigin(void) const
Get the origin of this particle system, e.g.
Definition: OgreParticleSystem.h:524
void setFiltering(TextureFilterOptions filterType)
Set the texture filtering for this unit, using the simplified interface.
const MaterialBucketMap & getMaterialBuckets() const
Get an iterator over the materials in this LOD.
Definition: OgreStaticGeometry.h:370
Manages particle systems, particle system scripts (templates) and the available emitter & affector fa...
Definition: OgreParticleSystemManager.h:75
@ BCT_UINT
Definition: OgreGpuProgramParams.h:55
void dirtyLightmap()
Mark a the entire lightmap as dirty.
@ ID_PARAM_NAMED
Definition: OgreScriptCompiler.h:604
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreGLHardwarePixelBuffer.h:73
const SPFMNone SPFM_NONE
Definition: OgreSharedPtr.h:51
static bool isNativeEndian(PixelFormat format)
Shortcut method to determine if the format is in native endian format.
Profile(const Profile &prof)
Definition: OgreTerrainMaterialGenerator.h:175
static bool parse(const String &str, int32 &v)
Alternative listener class for dealing with RaySceneQuery.
Definition: OgreSceneQuery.h:330
virtual bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
bool registerProgramFactory(const String &syntaxCode, CreateGpuProgramCallback createFn)
PoolId
Definition: OgreDepthBuffer.h:83
GL3PlusTextureBuffer(GL3PlusTexture *parent, GLint face, GLint level, uint32 width, uint32 height, uint32 depth)
Texture constructor.
struct z_stream_s z_stream
Definition: OgreDeflate.h:39
virtual int getExecutionOrder() const
void _forceReleaseBufferCopies(HardwareVertexBuffer *sourceBuffer)
Internal method that forces the release of copies of a given buffer.
virtual bool isStatic() const
Returns true if this batch was set as static.
Definition: OgreInstanceBatch.h:303
void setManualNamedConstantsFile(const String ¶mDefFile)
Specifies the name of a file from which to load named parameters mapping for a program which would no...
Real maxHeightDelta
Maximum delta height between this and the next lower lod.
Definition: OgreTerrainQuadTreeNode.h:138
PixelFormat getFormat() const
Gets the native pixel format of this buffer.
Definition: OgreHardwarePixelBuffer.h:184
struct Ogre::Volume::ChunkTreeSharedData ChunkTreeSharedData
Internal shared values of the chunks which are equal in the whole tree.
Quaternion(const Ogre::Quaternion &rhs)
Copy constructor.
Definition: OgreQuaternion.h:65
@ PF_B5G6R5
16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
Definition: OgrePixelFormat.h:67
const Vector3 getCenterTop(void) const
Gets the center of the corners 4, 5, 6, 7.
Definition: OgreVolumeOctreeNode.h:332
uint32 getCurrentChunkID() const
Get the ID of the chunk that's currently being read/written, if any.
DefaultWorkQueueBase(const String &name=BLANKSTRING)
Constructor.
OptimisationLevel
Shader optimisation level.
Definition: OgreD3D9HLSLProgram.h:138
void operator()(void *)
Definition: OgreSharedPtr.h:49
@ ID_TARGET_HEIGHT_SCALED
Definition: OgreScriptCompiler.h:800
const RenderQueueGroupMap & _getQueueGroups() const
Internal method, returns the queue groups.
Definition: OgreRenderQueue.h:240
@ PF_R8G8_SNORM
16-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:216
size_t cacheData(const void *buf, size_t count)
Cache data pointed by 'buf'.
Definition: OgreDataStream.h:65
void setLightMapDirection(const Vector3 &v)
Set the shadow map light direction to use (world space).
Definition: OgreTerrain.h:1919
bool queryResult(MovableObject *movable, SceneQuery::WorldFragment *fragment)
Self-callback in order to deal with execute which returns collection.
size_t getPassIterationNumberIndex() const
Definition: OgreGpuProgramParams.h:2009
const String & getMessages() const
Get any diagnostic messages about the process.
Definition: OgreWorkQueue.h:142
virtual const String & getMovableType(void) const =0
Returns the type name of this object.
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const =0
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
This class records the usage of a set of shared parameters in a concrete set of GpuProgramParameters.
Definition: OgreGpuProgramParams.h:591
void build(bool stencilShadows)
Build.
MapIterator< MaterialBucketMap > MaterialIterator
Iterator over the materials in this LOD.
Definition: OgreStaticGeometry.h:368
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const
Returns a uniform shadow camera with a focused view.
const String & getName() const
Get the name of the plugin.
Ogre::Overlay * getBackdropLayer()
Definition: OgreTrays.h:768
void setVertexProgramConstantBoolCount(ushort c)
The number of boolean constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:651
@ BBT_POINT
Standard point billboard (default), always faces the camera completely and is always upright.
Definition: OgreBillboardSet.h:78
ManualObjectSection * getSection(unsigned int index) const
Gets a pointer to a ManualObjectSection, i.e.
const QueuedRenderableCollection & getSolidsDecal(void) const
Get the collection of solids currently queued for decal passes (only applicable in additive shadow mo...
Definition: OgreRenderQueueSortingGrouping.h:364
const String & getType(void) const
Returns the name of the type of affector.
Definition: OgreParticleAffector.h:118
@ VET_SHORT1
Definition: OgreHardwareVertexBuffer.h:127
Fixed Function Pipeline render state builder.
Definition: OgreShaderFFPRenderStateBuilder.h:50
This abstract listener interface lets you get notifications of completed background processes instead...
Definition: OgreResourceBackgroundQueue.h:94
Factory class for ScaleAffector.
Definition: OgreScaleAffectorFactory.h:39
iterator begin()
Definition: OgreCommon.h:414
virtual ~Chunk(void)
Destructor.
static RayTestResult intersects(const Ray &ray, const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &normal, bool positiveSide=true, bool negativeSide=true)
Ray / triangle intersection, returns boolean result and distance.
IdType getId() const
Get the unique id of this object.
Definition: OgreId.h:74
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
static void bswapChunks(void *pData, size_t size, size_t count)
Reverses byte order of chunks in buffer, where 'size' is size of one chunk.
Definition: OgreBitwise.h:108
bool validate(D3D9RenderWindow *renderWindow)
virtual void addMarchingSquaresTriangles(const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const
Overridden from IsoSurface.
PCZSphereSceneQuery(SceneManager *creator)
virtual void calculateFaceNormals(const float *positions, const EdgeData::Triangle *triangles, Vector4 *faceNormals, size_t numTriangles)=0
Calculate the face normals for the triangles based on position information.
void _notifyAttached(Node *parent, bool isTagPoint=false)
Internal method called to notify the object that it has been attached to a node.
Any & operator=(const ValueType &rhs)
Definition: OgreAny.h:92
Real getDepth(void) const
Gets the depth (local y size) of the emitter.
void _setCreator(const HardwareSkinningFactory *pCreator)
Set the factory which created this sub render state.
Definition: OgreShaderExHardwareSkinning.h:143
@ ST_EXTERIOR_REAL_FAR
Definition: OgreSceneManager.h:3534
virtual Animation * createAnimation(const String &name, Real length)=0
Create a new animation with a given length owned by this container.
@ SPC_LIGHTPOSITION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:211
Definition: OgreScriptCompiler.h:503
@ SPC_LIGHTPOSITIONVIEW_SPACE5
Definition: OgreShaderParameter.h:235
void _writeRawConstant(size_t physicalIndex, const Matrix3 &m, size_t elementCount)
This is an overloaded member function, provided for convenience. It differs from the above function o...
MeshPtr createCurvedIllusionPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, Real curvature, int xsegments=1, int ysegments=1, bool normals=true, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, const Quaternion &orientation=Quaternion::IDENTITY, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=false, bool indexShadowBuffer=false, int ySegmentsToKeep=-1)
Creates a plane, which because of it's texture coordinates looks like a curved surface,...
static String Type
Definition: OgreShaderExGBuffer.h:88
This is the main starting point for the new instancing system.
Definition: OgreInstanceManager.h:63
GpuSharedParametersUsage(GpuSharedParametersPtr sharedParams, GpuProgramParameters *params)
Construct usage.
static CmdPlaneNormal msPlaneNormalCmd
Definition: OgreDeflectorPlaneAffector.h:104
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
int major
Definition: OgreRenderSystemCapabilities.h:224
void writeContentsToFile(const String &filename)
Writes the current contents of the render target to the named file.
void setSubroutine(GpuProgramType gptype, const String &slotName, const String &subroutineName)
@ LOW_LOD
Definition: OgreTerrainMaterialGeneratorA.h:51
static const uint16 TERRAINLAYERDECLARATION_CHUNK_VERSION
Definition: OgreTerrain.h:280
bool closeTo(const PortalBase *otherPortal)
Check if portal touches another portal.
GLFBOManager(bool atimode)
void setOutputName(const String &out)
Set output local texture name.
virtual void write(const Plane *plane, size_t count=1)
static AbsolutePixelCountLodStrategy & getSingleton(void)
Get the singleton instance.
bool hasOwnDimensions(void) const
Returns true if this particle deviates from the ParticleSystem's default dimensions (i....
Definition: OgreParticle.h:122
@ BF_LIGHTEN
Definition: OgreHlmsPbsMaterial.h:59
TextBox * createTextBox(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real height)
@ SPC_POSTOLIGHT_OBJECT_SPACE0
Light vector in object space index 0-7.
Definition: OgreShaderParameter.h:130
RenderQueue * renderQueue
Definition: OgreSceneManager.h:964
Listener allowing you to override certain behaviour of a track, for example to drive animation proced...
Definition: OgreAnimationTrack.h:131
PixelFormat format
Definition: OgreSceneManager.h:68
void setCustomParameter(uint16 index, const Vector4 &value)
Sets a custom parameter for this Light, which may be used to drive calculations for this specific Ren...
const ColourValue & getColour(void) const
Gets the colour of the text.
AnyNumeric operator*(const AnyNumeric &rhs) const
Definition: OgreAny.h:334
ETCCodec(const String &type)
Real getFogDensity(void) const
Returns the fog density for the scene.
void removePose(ushort index)
Destroy a pose by index.
void updateGeometryWithoutNotifyNeighbours()
Performs an update on the terrain geometry based on the dirty region.
void setStencilCheckEnabled(bool enabled)
Turns stencil buffer checking on or off.
void addShaderProfile(const String &profile)
Adds the profile to the list of supported profiles.
Definition: OgreRenderSystemCapabilities.h:553
@ OR_DEGREE_90
Definition: OgreFrustum.h:51
@ ID_ONE_MINUS_DEST_ALPHA
Definition: OgreScriptCompiler.h:630
@ CULL_CLOCKWISE
Hardware culls triangles whose vertices are listed clockwise in the view (default).
Definition: OgreCommon.h:164
@ SPC_TEXTURE_COORDINATE5
Definition: OgreShaderParameter.h:296
void _keyFrameListChanged(void)
Internal method used to tell the animation that keyframe list has been changed, which may cause it to...
Definition: OgreAnimation.h:452
void callFunction(const char *name, const In &arg0, const In &arg1, const Out &ret) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderFunction.h:60
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:103
Implements texture atlas sampling.
Definition: OgreShaderExTextureAtlasSampler.h:130
void setInheritScale(bool inherit)
Tells the node whether it should inherit scaling factors from it's parent node.
static TextureType _getTexType(D3D11_SRV_DIMENSION type)
static unsigned int intRead(const void *src, int n)
Read a n*8 bits integer value to memory in native endian.
Definition: OgreBitwise.h:277
A factory that enables creation of FFPColour instances.
Definition: OgreShaderFFPColour.h:145
static ColourValue parseColourValue(const String &val, const ColourValue &defaultValue=ColourValue::Black)
Parses a ColourValue out of a String.
Definition: OgreStringConverter.h:316
bool movePass(const unsigned short sourceIndex, const unsigned short destinationIndex)
Move a pass from source index to destination index.
const ColourValue & getSelfIllumination(void) const
Gets the self illumination colour of the pass.
void setFaceCamera(bool faceCamera, const Vector3 &normalVector=Vector3::UNIT_X)
Sets whether the billboard should always be facing the camera or a custom direction set by each point...
virtual bool _prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to prepare page content procedurally.
size_t indexSize
Definition: OgreLodBuffer.h:46
virtual ~LogListener()
Definition: OgreLog.h:71
APKFileSystemArchiveFactory(AAssetManager *assetMgr)
Definition: OgreFileSystem.h:78
virtual void optimiseAllAnimations(bool preservingIdentityNodeTracks=false)
Optimise all of this skeleton's animations.
virtual String validateConfigOptions(void)=0
Validates the options set for the rendering system, returning a message if there are problems.
void updateDerivedValues() const
Update the derived values.
static String Type
Definition: OgreShaderExPerPixelLighting.h:67
StreamType
Requested stream type.
Definition: OgreDeflate.h:64
bool getVertexAnimationIncludesNormals() const
Returns whether animation on dedicated vertex data includes normals.
Definition: OgreSubMesh.h:223
MeshPtr load(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=false, bool indexBufferShadowed=false)
Loads a mesh from a file, making it immediately available for use.
void adjustNodeToMatch(SceneNode *node)
Adjust the portal so that it is centered and oriented on the given node.
void dirtyHash()
Definition: OgreCommon.h:405
void _getChildIndexes(const AxisAlignedBox &, int *x, int *y, int *z) const
Returns the appropriate indexes for the child of this octree into which the box will fit.
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniforms using data from GpuProgramParameters.
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
const SamplerPtr & getSampler(const String &name) const
retrieve an named sampler
Definition: OgreTextureManager.h:81
bool positionEquals(const Vector &rhs, Real tolerance=1e-03f) const
Returns whether this vector is within a positional tolerance of another vector.
Definition: OgreVector.h:376
void blit(const PixelBox &src, const Box &dstBox)
Blits a set of values into a region on the blend map.
Pre-transforms and batches up meshes for efficient use as static geometry in a scene.
Definition: OgreStaticGeometry.h:121
void destroyAllWidgetsInTray(TrayLocation trayLoc)
Destroys all widgets in a tray.
void setValue(Real value)
Vector< 3, T > xyz() const
Swizzle-like narrowing operations.
Definition: OgreVector.h:339
const Vector3 & _getDerivedScale(void) const
Gets the scaling factor of the node as derived from all parents.
virtual ~MeshSerializerListener()
Definition: OgreMeshSerializer.h:182
void _generateManualLodLevels(LodConfig &lodConfig)
If you only use manual Lod levels, then you don't need to build LodData mesh representation.
virtual void _compileOutputOperation(TargetOperation &finalState)
Compile the final (output) operation.
const float * ptr() const
Pointer accessor for direct copying.
Definition: OgreColourValue.h:165
Vector< 2, int > Vector2i
Definition: OgrePrerequisites.h:252
void getVectorAlign(const Vector3 &inVec, Alignment align, Vector3 *outVec) const
Translate a vector into world space based on a specified alignment.
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual void clearResults(void)
Clears the results of the last query execution.
@ ID_SHARED_PARAM_NAMED
Definition: OgreScriptCompiler.h:784
PortalFactory()
Definition: OgrePortal.h:84
void setType(LightTypes type)
Sets the type of light - see LightTypes for more info.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
void destroyOverlayElement(const String &instanceName, bool isTemplate=false)
Destroys a OverlayElement.
void markUsedIndices(IDX *indices, size_t indexCount)
Definition: OgreLod0Stripifier.h:68
~D3D9HardwareIndexBuffer()
@ ERR_RT_ASSERTION_FAILED
Definition: OgreException.h:118
Definition: OgreD3D11HardwarePixelBuffer.h:40
virtual void initialise(void)
Initialise gui element.
IndexData * indexData
Definition: OgreStaticGeometry.h:145
A factory that enables creation of TriplanarMapping instances.
Definition: OgreShaderExTriplanarTexturing.h:189
void setExtents(Real mx, Real my, Real mz, Real Mx, Real My, Real Mz)
Definition: OgreAxisAlignedBox.h:228
Ogre::Real getValue()
Definition: OgreTrays.h:539
static Quaternion parseQuaternion(const String &val, const Quaternion &defaultValue=Quaternion::IDENTITY)
Parses a Quaternion out of a String.
Definition: OgreStringConverter.h:306
Factory object for creating Portal instances.
Definition: OgrePortalBase.h:294
GLSLESProgramWriter()
Class constructor.
bool getEmitting() const
Returns true if the particle system emitting flag is turned on.
void setUseIdentityView(bool useIdentityView)
Sets whether or not to use an 'identity' view.
virtual const Quaternion & getOrientationForViewUpdate(void) const
Get the derived orientation of this frustum.
HardwareIndexBuffer::IndexType minimalIndexType() const
Definition: OgreLod0Stripifier.h:82
PatchMesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group)
Constructor.
void removeEdge(const Edge &edge)
D3D9VideoMode * item(size_t index)
void setPointRenderingEnabled(bool enabled)
Set whether or not the BillboardSet will use point rendering rather than manually generated quads.
Frame Buffer Object abstraction.
Definition: OgreGLFrameBufferObject.h:39
bool isVSync() const
Definition: OgreD3D9RenderWindow.h:53
GpuProgramParametersSharedPtr getGeometryProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void doSet(void *target, const String &val)
virtual void setWorkersCanAccessRenderSystem(bool access)
Set whether worker threads will be allowed to access render system resources.
ResourceManager * getCreator(void)
Gets the manager which created this resource.
Definition: OgreResource.h:403
const GLSurfaceDesc & getSurface(size_t attachment) const
Definition: OgreGLRenderTexture.h:83
virtual void _timeUpdate(Real time)
Perform any fading / width delta required; internal method.
void _unprepare(void)
Internal method for undoing the preparation this object as part of Material::unprepare.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit)
Bone * createChild(unsigned short handle, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new Bone as a child of this bone.
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Alignment
The alignment of the terrain.
Definition: OgreTerrain.h:312
void copyParametersTo(StringInterface *dest) const
Method for copying this object's parameters to another object.
Definition: OgreStringInterface.h:301
This class translates script AST (abstract syntax tree) into Ogre resources.
Definition: OgreScriptTranslator.h:50
Vector3 getUp(void) const
Gets the camera's up vector.
OpSemantic
Definition: OgreShaderFunctionAtom.h:53
void initializeCache()
See GL3PlusStateCacheManager.initializeCache.
const Vector3 getCenterLeftBottom(void) const
Gets the center of the corners 0, 3.
Definition: OgreVolumeOctreeNode.h:395
unsigned int _getNumRenderedFaces(void) const
Internal method to retrieve the number of visible faces in the last render.
size_t getNumSubMeshes(void) const
Gets the number of sub meshes which comprise this mesh.
Definition: OgreMesh.h:259
Response(const Request *rq, bool success, const Any &data, const String &msg=BLANKSTRING)
Radian getYaw(bool reprojectAxis=true) const
Calculate the local yaw element of this quaternion.
Factory object for creating BillboardChain instances.
Definition: OgreBillboardChain.h:366
AbstractNode(AbstractNode *ptr)
@ KMOD_GUI
Definition: OgreInput.h:145
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
BspNode * getBack(void) const
Returns a pointer to a BspNode containing the subspace on the negative side of the splitting plane.
MovableObject * createMovableObject(const String &typeName, const NameValuePairList *params=0)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Factory for BspSceneManager.
Definition: OgreBspSceneManager.h:266
void setLength(Real len)
Sets the total length of this animation (may be shorter than whole animation)
static ExternalTextureSourceManager * getSingletonPtr(void)
Get the singleton instance.
@ SPC_POSTOLIGHT_WORLD_SPACE1
Definition: OgreShaderParameter.h:141
const QueuedRenderableCollection & getTransparents(void) const
Get the collection of transparent objects currently queued.
Definition: OgreRenderQueueSortingGrouping.h:374
size_t size(void) const
Get the number of invocations in this sequence.
Definition: OgreRenderQueueInvocation.h:203
@ SDLK_KP_MINUS
Definition: OgreInput.h:128
const String & getMovableType(void) const override
Returns the type name of this object.
OctreeZoneData(PCZSceneNode *, PCZone *)
Standard Constructor.
Simple, copying manager/factory for RenderTextures.
Definition: OgreGLCopyingRenderTexture.h:54
Ogre::Any val
Definition: OgreProperty.h:270
void _notifyWorldGeometryStageStarted(const String &description) const
Notify this manager that one stage of world geometry loading has been started.
Angle(Real angle)
Definition: OgreMath.h:166
RenderQueueInvocationIterator iterator(void)
Get an iterator over the invocations.
MovableObject * detachObject(const String &name)
Detaches the named object from this node and returns a pointer to it.
virtual size_t estimateWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreSceneManager.h:1715
static void shutdown(void)
Static method to shutdown and unregister the PVRTC codec.
void removeTextureUnitState(unsigned short index)
Removes the indexed texture unit state from this pass.
virtual void sort(Mesh::MeshLodUsageList &meshLodUsageList) const =0
Sort mesh LOD usage list from greatest to least detail.
void setStaticAndUpdate(bool bStatic)
static const Real fRad2Deg
Definition: OgreMath.h:754
const GpuProgramPtr & getGpuProgram(GpuProgramType type) const
Get the shader GPU program.
static ParameterPtr createInTexcoord1(int index, Parameter::Content content)
virtual const GpuProgramParametersPtr & getFixedFunctionParams(TrackVertexColourType tracking, FogMode fog)
Definition: OgreRenderSystem.h:237
bool setDrawBuffer(const ColourBufferType colourBuffer) const
CompositionTechnique * getSupportedTechnique(const String &schemeName=BLANKSTRING)
Get a pointer to a supported technique for a given scheme.
virtual void setOtherTextureCoordRange(Real start, Real end)
Set the range of the texture coordinates generated across the width of the chain elements.
Real rgbGenParams[4]
Definition: OgreQuake3Shader.h:88
void _setLodInfo(unsigned short numLevels)
Internal methods for loading LOD, do not use.
virtual void resourceStreamOpened(const String &name, const String &group, Resource *resource, DataStreamPtr &dataStream)=0
This event is called when a resource stream has been opened, but not processed yet.
void doSet(void *target, const String &val)
virtual void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Set the material name to use for rendering.
virtual void _findVisibleObjects(Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters)
Internal method which parses the scene to find visible objects to render.
virtual ~ScriptTranslatorManager()
Definition: OgreScriptTranslator.h:127
void buildPresentParameters(D3DPRESENT_PARAMETERS *presentParams)
Build the presentation parameters used with this window.
ParticleSystemRenderer * getRenderer(void) const
Gets the ParticleRenderer to be used to render this particle system.
static void addWindowEventListener(Ogre::RenderWindow *window, WindowEventListener *listener)
void destroyLog(const String &name)
Closes and removes a named log.
void setOptimisationLevel(OptimisationLevel opt)
Sets the optimisation level to use.
Definition: OgreD3D9HLSLProgram.h:184
void resize(unsigned N, const T &NV)
Definition: OgreSmallVector.h:343
void ToAxes(Vector3 *akAxis) const
Gets the 3 orthonormal axes defining the quaternion.
Base definition of a hardware buffer manager.
Definition: OgreHardwareBufferManager.h:108
void clearCache()
Clears all cached values.
virtual bool getCullIndividually(void) const
Returns whether or not billboards in this are tested individually for culling.
bool operator()(FunctionInvocation const &lhs, FunctionInvocation const &rhs) const
virtual void setDefaultNumMipmaps(uint32 num)
Sets the default number of mipmaps to be used for loaded textures, for when textures are loaded autom...
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
Query the real capabilities of the GPU and driver in the RenderSystem.
virtual const Ray & getRay(void) const
Gets the ray which is to be used for this query.
GuiMetricsMode
Enum describing how the position / size of an element is to be recorded.
Definition: OgreOverlayElement.h:54
bool getInheritParentEntityOrientation(void) const
Returns true if this TagPoint is affected by orientation applied to the parent entity.
static ShadowCameraSetupPtr create()
Constructor, defaults to 3 splits.
Definition: OgreShadowCameraSetupPSSM.h:77
static bool isLuminance(PixelFormat format)
Shortcut method to determine if the format is a luminance format.
uint getShaderID(void) const
Get the OGRE assigned shader ID.
Definition: OgreGLSLShaderCommon.h:99
A factory that enables creation of GBuffer instances.
Definition: OgreShaderExGBuffer.h:104
std::vector< SubEntity * > SubEntityList
Definition: OgreEntity.h:88
Separator(const Ogre::String &name, Ogre::Real width)
Do not instantiate any widgets directly. Use TrayManager.
virtual ~OverlayContainer()
void _renderUsingReadBackAsTexture(unsigned int passNr, Ogre::String variableName, unsigned int StartSlot)
render using the feature of reading back the inactive depth-stencil buffers as texture
virtual void destroyAllLights(void)
Removes and destroys all lights in the scene.
void setVolumes(const PlaneBoundedVolumeList &volumes)
Sets the volume which is to be used for this query.
RayTestResult intersects(const AxisAlignedBox &box) const
Tests whether this ray intersects the given box.
Definition: OgreRay.h:135
GLHardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
virtual const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON)
Edge(Vertex *destination)
Real absDotProduct(const VectorBase &vec) const
Calculates the absolute dot (scalar) product of this vector with another.
Definition: OgreVector.h:194
ushort getDesiredIntegerBitDepth(void) const
gets desired bit depth for integer pixel format textures.
unsigned int getNumWidgets()
Gets the number of widgets in total.
static String toString(const Vector4 &val)
Converts a Vector4 to a String.
int bbox[6]
Definition: OgreQuake3Types.h:167
static ControllerValueRealPtr create(AnimationState *targetAnimationState, bool addTime=false)
create an instance of this class
Definition: OgreAnimationState.h:301
void setBinding(unsigned short index, const HardwareVertexBufferSharedPtr &buffer)
Set a binding, associating a vertex buffer with a given index.
virtual void swapBuffers()
Override needed to deal with multisample buffers.
TexturePtr prepare(const String &name, const String &group, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Prepares to loads a texture from a file.
@ ID_DEPTH_CHECK
Definition: OgreScriptCompiler.h:638
unsigned int fsaa
Definition: OgreSceneManager.h:69
Specialized viewpoint from which an PCZone Scene can be rendered.
Definition: OgrePCZCamera.h:53
@ ANT_ATOM
Definition: OgreScriptCompiler.h:79
AnyNumeric()
Definition: OgreAny.h:226
bool _compile(AbstractNodeListPtr nodes, const String &group, bool doImports=true, bool doObjects=true, bool doVariables=true)
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
virtual OctreeNode * createInstance(const Vector3 &from, const Vector3 &to)
Factory method to create octree nodes.
static OGRE_FORCE_INLINE bool isPO2(T n)
Determines whether the number is power-of-two or not.
Definition: OgreBitwise.h:155
virtual ~Visitor()
Virtual destructor needed as class has virtual methods.
Definition: OgreRenderable.h:372
Page * getParentPage() const
Definition: OgrePageContentCollection.h:68
ColourBlendState()
Definition: OgreBlendMode.h:284
Vector3 mC1
Definition: OgreVolumeDualGridGenerator.h:51
virtual bool requiresZoneSpecificNodeData(void)
Indicates whether or not this zone requires zone-specific data for each scene node.
SM2Profile(TerrainMaterialGenerator *parent, const String &name, const String &desc)
Definition: OgreGLHardwareIndexBuffer.h:38
void clearEventTimes(void)
Clears the history of all event times.
virtual void _findNodes(const Ray &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
InstanceBatchHW(InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
Pose * getPose(const String &name)
Retrieve an existing Pose by name.
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
InternalErrorException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:219
virtual Bone * createBone(const String &name)
Creates a brand new Bone owned by this Skeleton.
size_t size(void) const
Returns the total size of the data to be read from the stream, or 0 if this is indeterminate for this...
Definition: OgreDataStream.h:299
void makeFloor(const Vector &cmp)
Sets this vector's components to the minimum of its own and the ones of the passed in vector.
Definition: OgreVector.h:415
void reserve(size_t t)
Definition: OgreCommon.h:472
void setLightMask(uint32 mask)
Sets the light mask which can be matched to specific light flags to be handled by this pass.
void setPlaneNormal(const Vector3 &normal)
Sets the plane normal of the deflector plane.
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
uint32 getFsaa() const
Definition: OgreDepthBuffer.h:104
@ LBX_ADD
add source1 and source2 together
Definition: OgreBlendMode.h:87
static T & getSingleton(void)
Get the singleton instance.
Definition: OgreSingleton.h:94
static PropertyType getTypeForValue(const Real &val)
Definition: OgreProperty.h:166
virtual ~D3D11RenderToVertexBuffer(void)
DecodeResult decode(const DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
virtual ~Listener()
Definition: OgreResource.h:74
virtual FilterOptions getDefaultTextureFiltering(FilterType ftype) const
Get the default texture filtering.
NodeAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
MovablePlane(const Plane &rhs)
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
@ FFP_TEXTURING
Definition: OgreShaderFFPRenderState.h:74
Real length() const
Returns the length (magnitude) of the vector.
Definition: OgreVector.h:483
@ PROP_UNSIGNED_LONG
Definition: OgreProperty.h:114
Vector3 normal
Definition: OgreLodData.h:101
SubMeshLodGeometryLink * geometry
Definition: OgreStaticGeometry.h:174
PixelFormat suggestPixelFormat() const
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMem...
Log * getDefaultLog()
Returns a pointer to the default log.
bool hasNamedParameters() const
Does this parameter set include named parameters?
Definition: OgreGpuProgramParams.h:1383
unsigned int getSubroutineSlot(const String &subroutineSlotName) const
void setListener(ScriptCompilerListener *listener)
Sets the listener used by the compiler.
SceneNode * getSceneNode(const String &name, bool throwExceptionIfNotFound=true) const
Retrieves a named SceneNode from the scene graph.
virtual void setDirPositionReference(const Vector3 &position, bool enable)
Sets the direction of the emitter.
HardwareBuffer::Usage getIndexBufferUsage(void) const
Gets the usage setting for this meshes index buffers.
Definition: OgreMesh.h:607
static Ogre::String getDefaultMediaDir()
the directory where the media files were installed
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:62
@ PF_ATC_RGB
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:238
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
std::map< ushort, ushort > BindingIndexMap
Definition: OgreHardwareVertexBuffer.h:567
void _setRenderSystemData(const Any &data) const
Definition: OgreGpuProgramParams.h:636
void initializeCache()
See GLStateCacheManager.initializeCache.
Definition: OgreQuake3Types.h:236
Matrix4 transpose() const
Definition: OgreMatrix4.h:432
void destroyAllNodeTracks(void)
Removes and destroys all tracks making up this animation.
void _notifyAllResourcesRemoved(ResourceManager *manager) const
Internal method called by ResourceManager when all resources for that manager are removed.
static void useSizedFormats()
use sized pixel formats. (to be used with GLES3)
void setBindingType(BindingType bt)
Sets the type of unit these texture settings should be bound to.
void _notifyParent(Pass *parent)
Notify this object that its parent has changed.
Base implementation of a D3D11 buffer, dealing with all the common aspects.
Definition: OgreD3D11HardwareBuffer.h:41
GridSource(bool trilinearValue, bool trilinearGradient, bool sobelGradient)
int mcEdges[256]
Marching Cubes tables from the public domain code found on http://local.wasp.uwa.edu....
Definition: OgreVolumeIsoSurfaceTablesMC.h:43
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere surrounding this mesh.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer)
Override so we can attach the depth buffer to the FBO.
void clear()
Reset the calculation object.
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
uint32 getSrcDepth(void) const
Returns the original depth of the input texture (only applicable for 3D textures).
Definition: OgreTexture.h:247
A class that represents function invocation code from shader based program function.
Definition: OgreShaderFunctionAtom.h:240
friend bool getValue(const AbstractNodePtr &node, T &result)
GL3PlusDepthBuffer(uint16 poolId, GL3PlusRenderSystem *renderSystem, GLContext *creatorContext, GL3PlusRenderBuffer *depth, GL3PlusRenderBuffer *stencil, uint32 width, uint32 height, uint32 fsaa, bool manual)
Entity * getOctreeGrid(SceneManager *sceneManager)
Getter for the octree debug visualization of the octree starting with this node.
char * name
Definition: OgreSearchOps.h:43
void unload(void)
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
void reserve(unsigned N)
Definition: OgreSmallVector.h:355
static const Affine3 IDENTITY
Definition: OgreMatrix4.h:429
@ WFT_NONE
Return no world geometry hits at all.
Definition: OgreSceneQuery.h:79
virtual GLPBuffer * createPBuffer(PixelComponentType format, size_t width, size_t height)
Definition: OgreGLNativeSupport.h:70
virtual bool hasManualBones(void) const
Are there any manually controlled bones?
Definition: OgreSkeleton.h:364
static const AutoConstantDefinition * getAutoConstantDefinition(const size_t idx)
gets the auto constant definition using an index into the auto constant definition array.
bool isVisible(const Sphere &bound) const
PageStrategyData * createData()
Create a PageStrategyData instance containing the data specific to this PageStrategy.
const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreD3D11RenderWindow.h:128
@ PF_SHORT_RGBA
64-bit pixel format, 16 bits for red, green, blue and alpha
Definition: OgrePixelFormat.h:116
const Plane & getReflectionPlane(void) const
Returns the reflection plane of the frustum if appropriate.
Definition: OgreFrustum.h:565
void doSet(void *target, const String &val)
virtual void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
Definition: OgreRenderSystem.h:553
void writeComment(unsigned short level, const String &comment, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:346
virtual void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
Definition: OgreHardwareBuffer.h:213
void _updateFromShadow(void)
See HardwareBuffer.
CompositorChain * activeChain
Definition: OgreSceneManager.h:967
FreeImageCodec(const String &type, unsigned int fiType)
@ MESH_VERSION_1_4
OGRE version v1.4+.
Definition: OgreMeshSerializer.h:54
Base class interface for shader program writers.
Definition: OgreShaderProgramWriter.h:52
int attrib
Definition: OgreSearchOps.h:44
virtual ~APKFileSystemArchiveFactory()
Definition: OgreFileSystem.h:79
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
void ToAngleAxis(Radian &rfAngle, Vector3 &rkAxis) const
@ ID_REF_VALUE
Definition: OgreScriptCompiler.h:836
@ ID_FIRST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:821
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
const Vector3 & getRealPosition(void) const
Gets the real world position of the camera, including any translation inherited from a node attachmen...
bool hasAnimationState(const String &name) const
Returns whether the AnimationState with the given name exists.
@ SPC_LIGHTPOSITION_OBJECT_SPACE2
Definition: OgreShaderParameter.h:212
Real calculate(Real source)
@ ACT_INVERSE_VIEWPORT_WIDTH
This variable represents 1.0/ViewportWidth.
Definition: OgreGpuProgramParams.h:1074
virtual void setWindowGrab(NativeWindowType *win, bool grab=true)
When input is grabbed the mouse is confined to the window.
Definition: OgreApplicationContextBase.h:179
Command object for specifying border sizes (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:195
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
void _update(void)
Overridden from OverlayElement.
virtual const AxisAlignedBox & getWorldBoundingBox(bool derive=false) const
Retrieves the axis-aligned bounding box for this object in world coordinates.
@ ACT_POINT_PARAMS
Point params: size; constant, linear, quadratic attenuation.
Definition: OgreGpuProgramParams.h:1213
Command object for setting the char height.
Definition: OgreTextAreaOverlayElement.h:149
virtual const String & getTypeName(void) const
See OverlayElementFactory.
void setElapsedTime(Real elapsedTime)
Set the elapsed time.
@ SPC_POSITION_LIGHT_SPACE5
Definition: OgreShaderParameter.h:101
std::vector< double > DoubleConstantList
Definition of container that holds the current double constants.
Definition: OgreGpuProgramParams.h:400
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
void setQueryFlags(uint32 flags)
Set the query flags for this terrain.
Definition: OgreTerrain.h:1331
SubMesh * getSubMesh(const String &name) const
Gets a SubMesh by name.
@ PF_R8G8B8A8_SINT
32-bit pixel format, 8 bits red (signed int), 8 bits blue (signed int), 8 bits green (signed int),...
Definition: OgrePixelFormat.h:176
Resource holding data about a dynamic library.
Definition: OgreDynLib.h:85
Default implementation of RaySceneQuery.
Definition: OgreSceneManager.h:3485
std::vector< QueuedSubMesh * > QueuedSubMeshList
Definition: OgreStaticGeometry.h:170
SphereSceneQuery * createSphereQuery(const Sphere &sphere, uint32 mask)
Creates a SphereSceneQuery for this scene manager.
void setNamedConstant(const String &name, const ColourValue &colour)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Specialisation of HardwareVertexBuffer for OpenGL ES.
Definition: OgreGLES2HardwareVertexBuffer.h:40
Factory for GL ES 2 Frame Buffer Objects, and related things.
Definition: OgreGLES2FBORenderTexture.h:74
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)
void unsetAllBindings(void)
Removes all the bindings.
int getPassNumber(void) const
ControllerValue wrapper class for AnimationState.
Definition: OgreAnimationState.h:287
Summary class collecting together vertex source information.
Definition: OgreVertexIndexData.h:50
@ PF_SHORT_L
Definition: OgrePixelFormat.h:58
int addPortalCullingPlanes(PortalBase *portal)
Calculate culling planes from portal and Frustum origin and add to list of culling planes.
@ BIND_ORIGINAL
Definition: OgreEntity.h:774
void setRenderQueueGroup(uint8 queueID)
Sets which render queue group this renderer should target with it's output.
void updateUniforms(const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
this is called for every renderable before it is renderd with the given pass
const GpuLogicalBufferStructPtr & getDoubleLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1649
GLHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
Direct3D implementation of low-level fragment programs.
Definition: OgreD3D9GpuProgram.h:142
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D9GpuProgram.h:68
virtual void preUpdateSceneGraph(SceneManager *source, Camera *camera)
Called prior to updating the scene graph in this SceneManager.
Definition: OgreSceneManager.h:251
bool isBlendWeightsGpuRedundant() const
Returns whether blend weights information needs to be passed to the GPU see setBlendWeightsGpuRedunda...
Definition: OgreRoot.h:966
Real getPowerScale(void) const
Set the scaling factor which indicates the relative power of a light.
virtual ~Archive()
Default destructor.
Definition: OgreArchive.h:104
const SceneManagerMetaData * getMetaData(const String &typeName) const
Get more information about a given type of SceneManager.
@ PF_R32_SINT
32-bit pixel format, 32 bits red (signed int).
Definition: OgrePixelFormat.h:186
GLRenderTexture(const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
size_t logicalIndex
Logical index - used to communicate this constant to the rendersystem.
Definition: OgreGpuProgramParams.h:148
void destroyAllByShader(GLSLShaderCommon *shader)
Destroy all programs which referencing this shader.
Texture addressing mode for each texture coordinate.
Definition: OgreTextureUnitState.h:55
void showOkDialog(const Ogre::DisplayString &caption, const Ogre::DisplayString &message)
Pops up a message dialog with an OK button.
static const size_t MS_CORNERS_LEFT[4]
To call Marching Squares with a cube on its left.
Definition: OgreVolumeIsoSurface.h:72
virtual bool queryResult(SceneQuery::WorldFragment *fragment)=0
Called when a WorldFragment is returned by a query.
ResourcePool * getResourcePool(const String &name)
Create a resource pool, or reuse one that already exists.
String doGet(const void *target) const
String doGet(const void *target) const
void uninstallPlugin(Plugin *plugin)
Uninstall an existing plugin.
@ ACDT_INT
the auto constant requires data of type int
Definition: OgreGpuProgramParams.h:1225
MovablePlane(const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
void resize(unsigned N)
Definition: OgreSmallVector.h:331
const SceneManagerEnumerator::MetaDataList & getSceneManagerMetaData() const
get all types of SceneManager available for construction
@ PF_A4R4G4B4
16-bit pixel format, 4 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:69
TechniqueIterator getTechniqueIterator(void)
Get an iterator over the Techniques in this Material.
const int * getIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:560
GLSurfaceDesc requestRenderBuffer(GLenum format, uint32 width, uint32 height, uint fsaa)
Request a render buffer.
void load(const DataStreamPtr &stream)
Load world data from a stream.
TerrainMaterialGeneratorA()
HLSL target language writer implementation.
Definition: OgreShaderHLSLProgramWriter.h:48
bool getCameraRelativeRendering() const
Get whether to use camera-relative co-ordinates when rendering, ie to always place the camera at the ...
Definition: OgreSceneManager.h:3441
std::vector< DualCell > VecDualCell
To hold dual cells.
Definition: OgreVolumeDualGridGenerator.h:66
MapIterator< ResourceHandleMap > ResourceMapIterator
Definition: OgreResourceManager.h:523
uchar * getTopLeftFrontPixelPtr() const
Return a data pointer pointing to top left front pixel of the pixel box.
virtual void textureCoord(float x, float y, float z, float w)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setDepthWriteEnabled(bool enabled)
Sets whether or not each Pass renders with depth-buffer writing on or not.
Element(const Vector3 &position, Real width, Real texCoord, const ColourValue &colour, const Quaternion &orientation)
virtual DataStreamPtr open(const String &filename, bool readOnly=true) const =0
Open a stream on a given file.
TextureAccess
Enum identifying the texture access privilege.
Definition: OgreTexture.h:85
void setReferenceView(Real viewportWidth, Real viewportHeight, Radian fovY)
Sets the reference view upon which the distances were based.
virtual uint16 getTerrainSize() const
Retrieve the size of each terrain instance in number of vertices down one side.
Definition: OgreTerrainGroup.h:133
static void intWrite(void *dest, const int n, const unsigned int value)
Write a n*8 bits integer value to memory in native endian.
Definition: OgreBitwise.h:249
A class that represents a shader based program.
Definition: OgreShaderProgram.h:49
const Quaternion & getOrientation() const
Retrieve the orientation.
Definition: OgreInstancedEntity.h:238
@ FFP_FOG
Definition: OgreShaderFFPRenderState.h:75
const ColourValue & getAmbientLight(void) const
Returns the ambient light level to be used for the scene.
@ RSC_TESSELLATION_HULL_PROGRAM
Supports hardware tessellation hull programs.
Definition: OgreRenderSystemCapabilities.h:186
void setHidden(bool hidden)
Hide (or show) the window.
Factory class for GLSL ES programs.
Definition: OgreGLSLESProgramFactory.h:42
std::map< String, String > BinaryOptionList
Definition: OgreCommon.h:588
SubRenderStateList::iterator SubRenderStateListIterator
Definition: OgreShaderSubRenderState.h:158
void setLeft(Real left)
Sets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
ConstVectorIterator< ChildNodeMap > ConstChildNodeIterator
Definition: OgreNode.h:72
void setEmissive(float red, float green, float blue)
Sets the amount of self-illumination an object has.
Definition: OgrePass.h:383
const ShadowRenderableList & getShadowVolumeRenderableList(ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, size_t *indexBufferUsedSize, bool extrudeVertices, Real extrusionDist, unsigned long flags=0)
Implement this method to enable stencil shadows.
@ D3D_FUSAGE_MAG
mag filter
Definition: OgreD3D9Mappings.h:63
Vector3 mOrigin
Definition: OgreSegment.h:75
LodProfile profile
If the algorithm makes errors, you can fix it, by adding the edge to the profile.
Definition: OgreLodConfig.h:165
static Real Abs(Real fValue)
Absolute value function.
Definition: OgreMath.h:272
void unloadingComplete(Resource *prog)
Called whenever the resource has been unloaded.
Definition: OgreGLTextureCommon.h:40
virtual void destroyEmitter(ParticleEmitter *e)
Destroys the emitter pointed to by the parameter (for early clean up if required).
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
void copyDetailsTo(MaterialPtr &mat) const
Copies the details of this material into another, preserving the target's handle and name (unlike ope...
@ SDLK_PRINTSCREEN
Definition: OgreInput.h:113
static String Type
Definition: OgreShaderExNormalMapLighting.h:93
virtual ~RenderQueueListener()
Definition: OgreRenderQueueListener.h:59
void resourceGroupLoadStarted(const Ogre::String &groupName, size_t resourceCount)
Definition: OgreTrays.h:1099
bool hasFragmentProgram(void) const
Returns true if this pass uses a programmable fragment pipeline.
Definition: OgrePass.h:262
ParameterPtr resolveLocalParameter(const String &name, GpuConstantType type)
Resolve local parameter of this function
Definition: OgreShaderFunction.h:183
void bind(Renderable *rend, HlmsMaterialBase *material, const String &passName)
Factory object for creating AntiPortal instances.
Definition: OgreAntiPortal.h:52
void setIdentifier(uint32 id)
Set an identifier for this pass.
TextureUnitState(Pass *parent)
Default constructor.
@ RSC_SHADER_SUBROUTINE
Supports dynamic linkage/shader subroutine.
Definition: OgreRenderSystemCapabilities.h:180
@ PF_R32G32_UINT
64-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int).
Definition: OgrePixelFormat.h:164
static IDirect3DDevice9 * getActiveD3D9DeviceIfExists()
@ TU_STATIC
same as HardwareBuffer::HBU_STATIC
Definition: OgreTexture.h:51
HardwareSkinningFactory()
void setTexParameteri(GLenum target, GLenum pname, GLint param)
Sets an integer parameter value per texture target.
void setLayerParallaxMappingEnabled(bool enabled)
Whether to support parallax mapping per layer in the shader (default true).
Octree implementation of SphereSceneQuery.
Definition: OgreOctreeSceneQuery.h:75
@ SOP_DECREMENT_WRAP
Decrease the stencil value by 1, wrapping when decrementing 0.
Definition: OgreRenderSystem.h:89
Class that encapsulates an GL context.
Definition: OgreGLContext.h:44
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1682
@ ID_SOURCE
Definition: OgreScriptCompiler.h:600
SceneManager * getSceneManager() const
Definition: OgreTerrain.h:510
virtual Real getBaseValue() const =0
Get the value of the first (highest) level of detail.
String mLanguage
Definition: OgreScriptCompiler.h:530
Affine3 & operator=(const Matrix3 &mat3)
Definition: OgreMatrix4.h:365
ForceApplication
Choice of how to apply the force vector to particles.
Definition: OgreLinearForceAffector.h:76
virtual bool getOctreeVisible(void) const
Gets whether the debug visualization entity of the octree is visible.
virtual ~DefaultShadowCameraSetup()
bool getFindVisibleObjects(void)
Gets whether the SceneManager should search for visible objects, or whether they are being manually h...
Definition: OgreSceneManager.h:3265
void setConstant(size_t index, const Vector4 &vec)
Sets a 4-element floating-point parameter to the program.
D3D11Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
constructor
static String eventType
Definition: OgreScriptCompiler.h:485
void translate(Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
This is an overloaded member function, provided for convenience. It differs from the above function o...
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
virtual ~Viewport()
Default destructor.
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
Image & loadTwoImagesAsRGBA(const String &rgbFilename, const String &alphaFilename, const String &groupName, PixelFormat format=PF_BYTE_RGBA)
Utility method to combine 2 separate images into this one, with the first image source supplying the ...
virtual void resourceCreated(const ResourcePtr &resource)
This event is fired when a resource was just created.
Definition: OgreResourceGroupManager.h:195
void initialisePointers(void)
Utility function read the header and set up pointers.
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
BaseConstantType
Definition: OgreGpuProgramParams.h:51
virtual GLContext * clone() const OGRE_NODISCARD=0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
void loadPlugin(const String &pluginName)
Manually load a Plugin contained in a DLL / DSO.
@ FB_FRONT
Definition: OgreRenderTarget.h:97
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D9RenderWindow.h:55
int getFPS() const
Gets currently set frames per second.
Definition: OgreExternalTextureSource.h:121
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
virtual T getValue(void) const =0
Real getSquaredViewDepth(const Camera *cam) const override
Returns the camera-relative squared depth of this renderable.
virtual void read(Vector2 *vec, size_t count=1)
read a Vector3
virtual void reset(void)
Clears any of the entities / nodes added to this geometry and destroys anything which has already bee...
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
void toTransformationMatrix(Affine3 &kTrans) const
Convert a dual quaternion to a 4x4 transformation matrix.
~RenderQueueInvocationSequence()
void setSpecular(const ColourValue &specular)
This is an overloaded member function, provided for convenience. It differs from the above function o...
#define INVALID_IDX
Definition: OgreD3D11HLSLProgram.h:154
virtual void textureUnitStateEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const TextureUnitState *textureUnit)
Called when texture unit state section event raised.
Definition: OgreMaterialSerializer.h:133
std::map< size_t, Vector3 > VertexOffsetMap
A collection of vertex offsets based on the vertex index.
Definition: OgrePose.h:68
Implementation of HardwareBufferManager for D3D9.
Definition: OgreD3D9HardwareBufferManager.h:38
void setPosition(const Vector3 &pos)
Set the position of the terrain centre in world coordinates.
@ RSC_FRAGMENT_PROGRAM
Supports fragment programs (pixel shaders)
Definition: OgreRenderSystemCapabilities.h:103
void removeCompositor(Viewport *vp, const String &compositor)
Remove a compositor from a viewport.
void setEnvironmentMap(bool enable, EnvMapType envMapType=ENV_CURVED)
Turns on/off texture coordinate effect that makes this layer an environment map.
IteratorWrapper(IteratorType start, IteratorType last)
Constructor.
Definition: OgreIteratorWrapper.h:90
const GpuConstantDefinition & getConstantDefinition(const String &name) const
Get a specific GpuConstantDefinition for a named parameter.
virtual ushort getPreferredIntegerBitDepth(void) const
Gets preferred bit depth for integer pixel format textures.
void savePrevPosition(void)
PassType getType() const
Get the type of composition pass.
bool isRenderQueuePrioritySet(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
Definition: OgreSubEntity.h:189
Command object for point rendering (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:98
@ TL_NORMAL
Definition: OgreShaderExGBuffer.h:57
@ ID_BLEND_DIFFUSE_ALPHA
Definition: OgreScriptCompiler.h:743
virtual Light * createLight(const String &name)
Creates a light for use in the scene.
void extractLightmaps(void) const
TextureUnitState * getTextureUnitState(unsigned short index) const
Retrieves a const pointer to a texture unit state.
void setDiffuse(const ColourValue &diffuse)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setDirection(Real x, Real y, Real z, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Sets the node's direction vector ie it's local -z.
Vector3 getViewDirection() const
String validateConfigOptions(void)
Validates the options set for the rendering system, returning a message if there are problems.
@ PF_R32G32_SINT
64-bit pixel format, 32 bits red (signed int), 32 bits blue (signed int).
Definition: OgrePixelFormat.h:188
void destroyParticleSystem(const String &name)
Removes & destroys a ParticleSystem from the SceneManager.
@ CAPS_CATEGORY_COMMON_2
Definition: OgreRenderSystemCapabilities.h:63
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
Struct used to hold hardware morph / pose vertex data information.
Definition: OgreVertexIndexData.h:95
HardwareIndexBufferSharedPtr indexBuffer
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true.
Definition: OgreVertexIndexData.h:253
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer)
Override so we can attach the depth buffer to the FBO.
bool getSplitRotated() const
Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex...
Definition: OgreTangentSpaceCalc.h:153
Class for serialising skeleton data to/from an OGRE .skeleton file.
Definition: OgreSkeletonSerializer.h:70
bool getDepthCheckEnabled(void) const
Returns whether or not this pass renders with depth-buffer checking on or not.
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
const GeometryBucketList & getGeometryList() const
Get a list of the contained geometry.
Definition: OgreStaticGeometry.h:295
Real getSquaredViewDepth(const Camera *cam) const
Overridden from Renderable.
Definition: OgreOverlayElement.h:459
DeflateStream(const String &name, const DataStreamPtr &compressedStream, StreamType streamType, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating named stream wrapping another stream.
virtual void shutdown()=0
Shut down the queue.
virtual Bone * getBone(unsigned short handle) const
Gets a bone by it's handle.
Real getMaximumDepthInputValue()
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
String doGet(const void *target) const
iterator erase(iterator S, iterator E)
Definition: OgreSmallVector.h:429
D3D9StereoDriverBridge(StereoModeType stereoMode)
void transform(const Matrix4 &matrix)
Transforms the box according to the matrix supplied.
Definition: OgreAxisAlignedBox.h:408
size_t getElementCount(void) const
Get the number of elements in the declaration.
Definition: OgreHardwareVertexBuffer.h:353
Vector3 convertPosition(Space inSpace, const Vector3 &inPos, Space outSpace) const
Convert a position from one space to another with respect to this terrain.
VertexDeclaration * clone(HardwareBufferManagerBase *mgr=0) const OGRE_NODISCARD
Clones this declaration.
VertexElementType getColourVertexElementType(void) const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
Definition: OgreGLRenderSystemCommon.h:131
GLSLLinkProgram(const GLShaderList &shaders)
Constructor should only be used by GLSLLinkProgramManager.
virtual T * createInstance(const String &name)=0
Creates a new object.
static HashFunc * getHashFunction(void)
Get the hash function used for all passes.
Definition: OgrePass.h:1626
SubEntity * getSubEntity(const String &name) const
Gets a pointer to a SubEntity by name.
NodeAnimationTrack * getNodeTrack(unsigned short handle) const
Gets a node track by it's handle.
virtual void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)=0
Update params for a terrain.
Node * removeChild(unsigned short index)
Overridden from Node to remove any reference to octants.
const Instances & getCompositorInstances() const
The compositor instances.
Definition: OgreCompositorChain.h:107
Factory class for particle emitter of type "Box".
Definition: OgreBoxEmitterFactory.h:43
const String & getReferencedCompositorName() const
Gets the name of the compositor that this texture referneces.
Definition: OgreTextureUnitState.h:1032
HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
Definition: OgreException.h:223
@ SPC_LIGHTPOSITION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:217
double * getDoublePointer(size_t pos)
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:554
static const String CustomAttributeString_GLCONTEXT
Definition: OgreGLRenderTexture.h:117
void setGLMapBufferThreshold(const size_t value)
D3D11HardwarePixelBuffer(D3D11Texture *parentTexture, D3D11Device &device, UINT mipLevel, size_t width, size_t height, size_t depth, UINT face, PixelFormat format, HardwareBuffer::Usage usage)
uint16 getLodCount() const
Get the number of LOD levels this node can represent itself (only > 1 for leaf nodes)
@ ID_PHONG
Definition: OgreScriptCompiler.h:669
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
String writeString(const RenderSystemCapabilities *caps, const String &name)
Writes a RenderSystemCapabilities object to a string.
@ OT_LINE_STRIP
A strip of connected lines, 1 vertex per line plus 1 start vertex.
Definition: OgreRenderOperation.h:54
void resetDimensions(void)
Utility method to reset this particle.
Abstract factory interface for creating SubRenderState implementation instances.
Definition: OgreShaderSubRenderState.h:228
GpuLogicalBufferStruct()
Definition: OgreGpuProgramParams.h:388
void setVertexDeclaration(VertexDeclaration *decl, VertexBufferBinding *binding)
Subclasses of this class are responsible for performing a function on an input value for a Controller...
Definition: OgreController.h:56
Class representing a general-purpose node an articulated scene graph.
Definition: OgreNode.h:57
void removeInputListener(InputListener *lis)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreApplicationContextBase.h:253
const FloatConstantList & getFloatConstantList() const
Get a reference to the list of float constants.
Definition: OgreGpuProgramParams.h:566
Specialized version of Ogre::Light which caches which zones the light affects.
Definition: OgrePCZLight.h:52
virtual void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreRenderWindow.h:163
@ SHADER_TCGEN_ENV
Definition: OgreQuake3Types.h:103
static String DEFAULT_SCHEME_NAME
Default material scheme.
Definition: OgreMaterialManager.h:151
void setPlayMode(eTexturePlayMode eMode)
Sets a play mode.
Definition: OgreExternalTextureSource.h:123
void resourceLoadStarted(const Ogre::ResourcePtr &resource)
This event is fired when a declared resource is about to be loaded.
Definition: OgreTrays.h:1106
void addRequest(const ChunkRequest &req)
Adds a new ChunkRequest to be loaded to the WorkQueue.
virtual void processSkeletonName(Mesh *mesh, String *name)=0
Called to override the reference to a skeleton.
static const Vector2 UNIT_X
Definition: OgreVector.h:121
static Real Ceil(Real fValue)
Ceiling function Returns the smallest following integer.
Definition: OgreMath.h:318
Common subclass of DataStream for handling data from C-style file handles.
Definition: OgreDataStream.h:612
void QDUDecomposition(Matrix3 &rkQ, Vector3 &rkD, Vector3 &rkU) const
Orthogonal Q, diagonal D, upper triangular U stored as (u01,u02,u12)
Alignment
Definition: OgreTextAreaOverlayElement.h:48
@ ID_TEXTURE_REF
Definition: OgreScriptCompiler.h:802
Definition: OgreOctreeZone.h:61
String skeletonName
Definition: OgreSkeleton.h:472
static CodecIterator getCodecIterator(void)
Gets the iterator for the registered codecs.
Definition: OgreCodec.h:105
@ TL_DEPTH
Definition: OgreShaderExGBuffer.h:56
GpuProgramParametersSharedPtr getFragmentProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void _updateFromShadow(void)
See HardwareBuffer.
void getTerrainPosition(const Vector3 &WSpos, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space.
void setMaximum(const Vector3 &vec)
Sets the maximum corner of the box.
Definition: OgreAxisAlignedBox.h:184
Real d
Definition: OgrePlane.h:66
int Keycode
Definition: OgreInput.h:45
EmbeddedZipArchiveFactory()
Real calculate(Real source)
void _removeChild(const String &name)
void setNamedAutoConstant(const String &name, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
Sets up a constant which will automatically be updated by the system.
virtual Degree getCameraLightDirectionThreshold() const
Sets the threshold between the camera and the light direction below which the LiSPSM projection is 'f...
void update(void *controlPointBuffer, size_t width, size_t height, size_t uMaxSubdivisionLevel, size_t vMaxSubdivisionLevel, PatchSurface::VisibleSide visibleSide)
Update the mesh with new control points positions.
@ CE_UNEXPECTEDTOKEN
Definition: OgreScriptCompiler.h:203
void extractUniformsFromProgram(GLuint programObject, const GpuConstantDefinitionMap *(&constantDefs)[6], GLUniformReferenceList &uniformList, GLAtomicCounterReferenceList &counterList, GLCounterBufferList &counterBufferList)
Populate a list of uniforms based on an OpenGL program object.
const String & getFSAAHint() const
Definition: OgreDepthBuffer.h:103
void unpackIndex(uint32 key, long *x, long *y)
Convert a packed integer index to coordinates.
void sphereIntersects(const Sphere &sphere, TerrainList *resultList) const
Test intersection of a sphere with the terrain.
Pass * getPass(const String &name) const
Retrieves the Pass matching name.
virtual DataStreamPtr resourceLoading(const String &name, const String &group, Resource *resource)=0
This event is called when a resource beings loading.
@ IM_VTFBESTFIT
The num.
Definition: OgreCommon.h:350
Image & flipAroundX()
Flips (mirrors) the image around the X-axis.
Represents a Direct3D rendering resource.
Definition: OgreD3D9Resource.h:41
void destroyBillboardChain(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual bool getUseVertexColours(void) const
Gets whether vertex colour information should be included in the final buffers generated.
Definition: OgreBillboardChain.h:189
bool hasOwnDimensions(void) const
Returns true if this billboard deviates from the BillboardSet's default dimensions (i....
float getPointAttenuationConstant(void) const
Returns the constant coefficient of point attenuation.
Definition: OgrePass.h:465
RealRect getFrustumExtents() const
Get the extents of the frustum in view space.
int * mLeafFaces
Definition: OgreQuake3Level.h:137
Data representing the output of the Mesh reduction. Used by LodOutputProviderBuffer.
Definition: OgreLodBuffer.h:75
Light()
Default constructor (for Python mainly).
const char * glErrorToString(GLenum glErr)
Definition: OgreGLPrerequisites.h:71
virtual const Plane * getFrustumPlanes(void) const
Retrieves the clipping planes of the frustum (world space).
CompositorInstance * getCompositor(const String &name)
Get compositor instance by name.
std::reverse_iterator< iterator > reverse_iterator
Definition: OgreSmallVector.h:152
void setSourceFile(const String &filename)
Sets the filename of the source assembly for this program.
@ ID_ROTATE_ANIM
Definition: OgreScriptCompiler.h:763
uint32 _getCombinedVisibilityMask(void) const
Internal method for getting the combination between the global visibility mask and the per-viewport v...
virtual Real getMinDuration(void) const
Gets the minimum duration of this emitter in seconds (see setDuration for more details)
void setRenderQueueGroupAndPriority(uint8 queueID, ushort priority) override
Sets the render queue group and group priority this entity will be rendered through.
static int intersect_call
Definition: OgreOctreeSceneManager.h:76
IntersectionSceneQuery(SceneManager *mgr)
Particle * createParticle(void)
Manually add a particle to the system.
virtual bool removeRenderWindow(const String &renderWindowName)=0
CSGDifferenceSource(void)
Constructor, sets the sources to null.
virtual void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)=0
SceneManager * getSceneManager() const
void registerPCZoneFactory(PCZoneFactory *factory)
bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreGLWindow.h:45
bool intersects(const Capsule &) const
Definition: OgreGLHardwarePixelBufferCommon.h:40
@ SBT_TRANSPARENT_ALPHA
The alpha value of the rendering output is used as a mask.
Definition: OgreBlendMode.h:217
void _load(void)
Internal load method, derived from call to Material::load.
static ShadowCameraSetupPtr create(bool useAggressiveRegion=true)
Create an instance.
Definition: OgreShadowCameraSetupFocused.h:290
void addFrameTextureName(const String &name)
Add a Texture name to the end of the frame container.
bool operator!=(const ColourValue &rhs) const
virtual ResourcePtr getResourceByName(const String &name, const String &groupName=RGN_DEFAULT)
Retrieves a pointer to a resource by name, or null if the resource does not exist.
uint * getUnsignedIntPointer(size_t pos)
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:1686
virtual void copyFrom(const SubRenderState &rhs)
static void softwareVertexMorph(Real t, const HardwareVertexBufferSharedPtr &b1, const HardwareVertexBufferSharedPtr &b2, VertexData *targetVertexData)
Performs a software vertex morph, of the kind used for morph animation although it can be used for ot...
@ ACT_TRANSPOSE_WORLDVIEW_MATRIX
Provides transpose of concatenated world and view matrices.
Definition: OgreGpuProgramParams.h:758
@ MATERIAL
Definition: OgreScriptCompiler.h:479
const String & getType(void) const
Get the type of the object to be created.
Ogre::OverlayContainer * getTrayContainer(TrayLocation trayLoc)
Definition: OgreTrays.h:767
unsigned short getLodIndex(void) const
Gets the level-of-detail index assigned to this Technique.
Definition: OgreTechnique.h:570
static const uint8 DERIVED_DATA_NORMALS
Definition: OgreTerrain.h:1158
Definition: OgreOctreeZone.h:221
virtual void destroyRenderTarget(const String &name)
Destroys a render target of any sort.
void moveWidgetToTray(const Ogre::String &name, TrayLocation trayLoc, size_t place=-1)
Definition: OgreTrays.h:1022
static String toString(const Matrix4 &val)
Converts a Matrix4 to a String.
static Real gaussianDistribution(Real x, Real offset=0.0f, Real scale=1.0f)
Generates a value based on the Gaussian (normal) distribution function with the given offset and scal...
ImportData & operator=(const ImportData &rhs)
Definition: OgreTerrain.h:434
@ ACT_WORLD_DUALQUATERNION_ARRAY_2x4
The current array of world matrices transformed to an array of dual quaternions, represented as a 2x4...
Definition: OgreGpuProgramParams.h:704
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
Image & loadDynamicImage(uchar *data, uint32 width, uint32 height, PixelFormat format)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreImage.h:167
@ MANUAL_CULL_NONE
No culling so everything is sent to the hardware.
Definition: OgreCommon.h:177
static const uint16 TERRAINDERIVEDDATA_CHUNK_VERSION
Definition: OgreTerrain.h:288
void disableCustomNearClipPlane(void)
Disables any custom near clip plane.
~DefaultHardwareBufferManager()
Definition: OgreDefaultHardwareBufferManager.h:159
@ ACT_LIGHT_DIFFUSE_COLOUR_ARRAY
Array of light diffuse colours (count set by extra param)
Definition: OgreGpuProgramParams.h:875
virtual const String & getMaterialName(void) const
Get the material name in use.
Definition: OgreBillboardChain.h:257
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
uint64_t getMicroseconds()
Returns microseconds since initialisation or last reset.
void setSphere(const Sphere &sphere)
Sets the sphere which is to be used for this query.
const ColourValue & getSpecularColour(void) const
Returns the colour of specular light given off by this light source.
Real calculate(Real source)
void setSyntaxCode(const String &syntax)
Sets the syntax code for this program e.g.
virtual void _notifyWorldTransforms(const Matrix4 &xform)
Overridden from OverlayElement.
OctreeNode(SceneManager *creator)
Standard constructor.
Ogre::SharedPtr< unsigned char > indexBuffer
size of the index buffer in bytes
Definition: OgreLodBuffer.h:50
@ GPU_APPLE
Apple Software Renderer.
Definition: OgreRenderSystemCapabilities.h:266
bool isSupported(void) const
Overridden from GpuProgram.
Specialisation of HighLevelGpuProgram which just delegates its implementation to one other GpuProgram...
Definition: OgreUnifiedHighLevelGpuProgram.h:62
ComPtr(const ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:130
const SamplerPtr & getNormalMapSampler() const
return the normal map sampler
Definition: OgreShaderExNormalMapLighting.h:152
PageManager * getManager() const
virtual ushort getMaxResults(void) const
Gets the maximum number of results returned from the query (only relevant if results are being sorted...
GPUVendor
Enumeration of GPU vendors.
Definition: OgreRenderSystemCapabilities.h:260
void setShadingType(ShadeOptions so)
Sets the type of light shading required (default = Gouraud).
@ ID_ONLY_INITIAL
Definition: OgreScriptCompiler.h:810
LodValueIterator getUserLodValueIterator(void) const
Implementation of HardwareBufferManager for OpenGL.
Definition: OgreGLHardwareBufferManager.h:43
IDXGIAdapterN * getDeviceAdapter() const
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
Vector reflect(const Vector &normal) const
Calculates a reflection vector to the plane with the given normal .
Definition: OgreVector.h:578
virtual ~TrayManager()
Destroys background, cursor, widgets, and trays.
RGBA getAsRGBA(void) const
Retrieves colour as RGBA.
@ ANIMBLEND_CUMULATIVE
Animations are applied by calculating a weighted cumulative total.
Definition: OgreSkeleton.h:52
void doSet(void *target, const String &val)
SharedPtr(Y *ptr, Deleter d)
Definition: OgreSharedPtr.h:65
void close(void)
Close the stream; this makes further operations invalid.
virtual ProgramWriter * create(void)
Definition: OgreShaderCGProgramWriter.h:137
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
GeneralAllocatedObject ControllerAlloc
Definition: OgreMemoryAllocatorConfig.h:120
virtual bool hasViewportWithZOrder(int ZOrder)
Returns true if and only if a viewport exists at the given Z-order.
static LodWorkQueueWorker * getSingletonPtr()
@ KMOD_SHIFT
Definition: OgreInput.h:146
const IntConstantList & getIntConstantList() const
Get a reference to the list of int constants.
Definition: OgreGpuProgramParams.h:570
Controller< Real > * createTextureUVScroller(TextureUnitState *layer, Real speed)
Creates a basic time-based texture uv coordinate modifier designed for creating scrolling textures.
Real totalTimePercent
The total percentage of frame time this profile has taken.
Definition: OgreProfiler.h:132
void setCenterValue(Vector4 value)
Raw setter for the center value.
Definition: OgreVolumeOctreeNode.h:512
UniformParameterPtr resolveParameter(GpuProgramParameters::AutoConstantType autoType, size_t data=0)
Resolve uniform auto constant parameter.
String doGet(const void *target) const
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
@ ID_POINTS
Definition: OgreScriptCompiler.h:673
void addRenderable(Renderable *pRend, uint8 groupId)
Add a renderable object to the queue.
RayResult rayIntersects(const Ray &ray, Real distanceLimit=0) const
Test for intersection of a given ray with any terrain in the group.
const String & getType() const
Returns the factory type.
virtual const Radian & getAngle(void) const
Returns the maximum angle which the initial particle direction can deviate from the emitters base dir...
void setNormaliseNormals(bool normalise)
Sets whether or not normals are to be automatically normalised.
Definition: OgrePrerequisites.h:358
In(float f)
Definition: OgreShaderFunctionAtom.h:168
D3D9RenderWindow * getRenderWindow(uint index)
@ IM_FORCEONEWEIGHT
All techniques are forced to one weight per vertex.
Definition: OgreCommon.h:362
void _render(const RenderOperation &op)
Render something to the active viewport.
void remove(size_t index)
Removes (and deletes) an invocation by index.
@ RENDER_QUEUE_8
Definition: OgreRenderQueue.h:69
unsigned int getVertexID(const Vertex *v) const
Implementation of GL ES 2.x as a rendering system.
Definition: OgreGLES2RenderSystem.h:64
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:50
InOut(ParameterPtr p)
Definition: OgreShaderFunctionAtom.h:184
String doGet(const void *target) const
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
Sets the comparison function for the depth buffer check.
void bindGLVertexArray(GLuint vao)
Bind an OpenGL Vertex array object.
static const uint16 CHUNK_VERSION
Definition: OgrePageContentCollection.h:62
void setAdapterOrdinalIndex(D3D9RenderWindow *renderWindow, uint adapterOrdinalInGroupIndex)
void addSubRenderStateInstance(SubRenderState *subRenderState) const
Add SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:177
AutoConstantType acType
Definition: OgreGpuProgramParams.h:1246
virtual void _notifyCurrentCamera(Camera *cam)
Internal method to notify the object of the camera to be used for the next rendering operation.
bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
const Affine3 & getWorldMatrix(void) const
SharedPtr< Resource > ResourcePtr
Definition: OgrePrerequisites.h:300
void setRandomness(Real force)
Sets the randomness to apply to the particles in a system.
Definition: OgreQuake3Types.h:170
std::vector< std::pair< IdString, String > > HlmsParamVec
Definition: OgreHlmsShaderCommon.h:48
void setMaterial(const MaterialPtr &mat)
Set the material to be used by the shadow, should be set by the caller before adding to a render queu...
Definition: OgreShadowCaster.h:65
void destroyRenderQueueInvocationSequence(const String &name)
Destroy a RenderQueueInvocationSequence.
@ ACT_DERIVED_AMBIENT_LIGHT_COLOUR
The derived ambient light colour, with 'r', 'g', 'b' components filled with product of surface ambien...
Definition: OgreGpuProgramParams.h:918
virtual BackgroundProcessTicket unloadResourceGroup(const String &name, Listener *listener=0)
Unloads a resource group in the background.
void flushGpuProgramsCache()
Flush the local GPU programs cache.
void _setSurfaceTracking(TrackVertexColourType tracking)
virtual void okDialogClosed(const Ogre::DisplayString &message)
Definition: OgreTrays.h:96
virtual BackgroundProcessTicket load(const String &resType, const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, Listener *listener=0)
Load a single resource in the background.
std::vector< EdgeGroup > EdgeGroupList
Definition: OgreEdgeListBuilder.h:120
TerrainLayerSampler()
Definition: OgreTerrainMaterialGenerator.h:114
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
#define CAPS_CATEGORY_MASK
Definition: OgreRenderSystemCapabilities.h:47
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
Patch specialisation of Mesh.
Definition: OgrePatchMesh.h:48
void setCurrentCamera(const Camera *cam, bool useCameraRelative)
Updates the current camera.
void _setTextureCoordCalculation(size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
void doSet(void *target, const String &val)
UserObjectBindings()=default
Real getFogEnd(void) const
Returns the fog end distance for this pass.
void setNamedConstant(const String &name, const int *val, size_t count)
IDirect3DCubeTexture9 * getCubeTexture()
retrieves a pointer to the cube texture
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:319
virtual void write(const Sphere *sphere, size_t count=1)
PageManager * getManager() const
virtual void finializeSession()
virtual void handleResponse(const Response *res, const WorkQueue *srcQ)=0
The handler method every subclass must implement.
const size_t RENDER_QUEUE_COUNT
Definition: OgreCompositorInstance.h:45
bool removeShaderBasedTechnique(const Technique *srcTech, const String &dstTechniqueSchemeName)
Remove shader based technique from a given technique.
void setPagingOperationsEnabled(bool enabled)
Pause or unpause all paging operations.
Definition: OgrePageManager.h:430
String validateConfigOptions()
Validates the options set for the rendering system, returning a message if there are problems.
Definition: OgreGLRenderSystemCommon.h:111
SharedPtr< RenderToVertexBuffer > RenderToVertexBufferSharedPtr
Definition: OgrePrerequisites.h:299
void _resized(ID3D11DepthStencilView *depthBufferView, uint32 width, uint32 height)
internal method, gets called when the renderwindow was resized
void moveRelative(const Vector3 &vec)
Moves the camera's position by the vector offset provided along it's own axes (relative to orientatio...
void updateGeometry()
Performs an update on the terrain geometry based on the dirty region.
virtual void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)=0
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
StringVectorPtr listResourceNames(const String &groupName, bool dirs=false) const
List all file or directory names in a resource group.
virtual void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams Pages in this section.
Definition: OgrePagedWorldSection.h:268
GLSLESProgramCommon * getActiveProgram(void)
Get the program object that links the two active shader objects together if a program object was not ...
static const String INTERNAL_RESOURCE_GROUP_NAME
same as RGN_INTERNAL
Definition: OgreResourceGroupManager.h:255
void convertPosition(Space inSpace, const Vector3 &inPos, Space outSpace, Vector3 &outPos) const
Convert a position from one space to another with respect to this terrain.
void setSubdivisionFactor(Real factor)
Alters the level of subdivision for this surface.
bool isInitialised(void) const
Gets whether the overlay is initialised or not.
Definition: OgreOverlay.h:132
MovablePlane(const Vector3 &rkNormal, Real fConstant)
Construct a plane through a normal, and a distance to move the plane along the normal.
uint32 PageID
Identifier for a page.
Definition: OgrePagingPrerequisites.h:58
virtual ~GLES2TextureBuffer()
void freeTemporaryResources()
Free as many resources as possible for optimal run-time memory use.
PCPlane(const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
Alternative constructor.
Factory class for DirectionRandomiserAffector.
Definition: OgreDirectionRandomiserAffectorFactory.h:39
TechniqueType
Definition: OgreTerrainMaterialGeneratorA.h:49
void setShadowReceiverVertexProgramParameters(GpuProgramParametersSharedPtr params)
Sets the vertex program parameters for rendering as a shadow receiver.
friend Quaternion operator*(Real s, const Quaternion &q)
Definition: OgreQuaternion.h:190
void setTransformLookupNumber(uint16 num)
Sets the transformation look up number.
Definition: OgreInstancedEntity.h:230
unsigned short getIndex(void) const
Gets the index of this element, only applicable for repeating elements.
Definition: OgreHardwareVertexBuffer.h:200
IndexType getType(void) const
Get the type of indexes used in this buffer.
Definition: OgreHardwareIndexBuffer.h:68
void getHSB(float *hue, float *saturation, float *brightness) const
Definition: OgreColourValue.h:318
Real normalise()
Normalises the vector.
Definition: OgreVector.h:521
const MeshLodUsage & getLodLevel(ushort index) const
Gets details of the numbered level of detail entry.
unsigned usedCount
Definition: OgreLod0Stripifier.h:87
void removeSubRenderStateInstance(SubRenderState *subRenderState)
Remove sub render state from this render state.
SettingsIterator getSettingsIterator(const String §ion=BLANKSTRING)
@ M_ANIMATION
Definition: OgreMeshFileFormat.h:184
static const String MOVABLE_TYPE_NAME
The type name.
Definition: OgreVolumeChunk.h:319
void clear()
Clear the pool.
size_t getVertexSize(void) const
Gets the size in bytes of a single vertex in this buffer.
Definition: OgreHardwareVertexBuffer.h:68
@ ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED
Light specular colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:873
Plugin instance for GL Manager.
Definition: OgreGLPlugin.h:39
const EffectMap & getEffects(void) const
Get texture effects in a multimap paired array.
virtual void setCellRangeMaxX(int32 maxX)
Set the index range of all cells (values outside this will be ignored)
virtual bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Return whether this handler can process a given response.
void parseVendorFromString(const String &vendorString)
Parse and set vendor.
Definition: OgreRenderSystemCapabilities.h:406
virtual void setEmittedEmitter(const String &emittedEmitter)
Sets the name of the emitter to be emitted.
void setPosition(const Vector3 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
void applyFixedFunctionParams(const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
shared_ptr< GLES2Texture > GLES2TexturePtr
Definition: OgreGLES2Prerequisites.h:86
void setParamValue(const Ogre::DisplayString ¶mName, const Ogre::DisplayString ¶mValue)
LodStrategy * getDefaultStrategy()
Get the current default strategy.
void _renderScene(Viewport *vp, bool includeOverlays)
Tells the Camera to contact the SceneManager to render from it's viewpoint.
SkeletonAnimationBlendMode
Definition: OgreSkeleton.h:48
virtual const String & getMovableType(void) const override
Returns the type name of this object.
NodeAnimationTrack(Animation *parent, unsigned short handle, Node *targetNode)
Constructor, associates with a Node.
int skyDomeYSegments_keep
Definition: OgreSceneManager.h:219
virtual void _initParticle(Particle *pParticle)
Initialises a particle based on the emitter's approach and parameters.
Definition: OgreParticleEmitter.h:391
GL3PlusStateCacheManager * getStateCacheManager()
Define the interface to a factory class that will create subclasses of PageContent.
Definition: OgrePageContentFactory.h:51
AllocatedObject SceneCtlAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:100
static CgFxScriptLoader * getSingletonPtr(void)
Get the singleton instance.
@ M_ANIMATION_MORPH_KEYFRAME
Definition: OgreMeshFileFormat.h:196
This is technique requires true instancing hardware support.
Definition: OgreInstanceBatchHW.h:62
TerrainMaterialGeneratorPtr getDefaultMaterialGenerator()
Get the default material generator.
IdString operator+(IdString idString) const
Definition: OgreIdString.h:217
static GLenum getGLOriginFormat(PixelFormat format)
Takes the OGRE pixel format and returns the appropriate GL one.
virtual void setSortingEnabled(bool sortenable)
Enables sorting for this BillboardSet.
Real getSquaredViewDepth(const Ogre::Camera *) const
Returns the camera-relative squared depth of this renderable.
void _unload(void)
Unload this usage.
void _setCullingMode(CullingMode mode)
Sets the culling mode for the render system based on the 'vertex winding'.
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
Definition: OgreZip.h:66
Structure recording the use of an automatic parameter.
Definition: OgreGpuProgramParams.h:1266
@ SPC_LIGHTDIRECTION_TANGENT_SPACE4
Definition: OgreShaderParameter.h:204
DecodeResult decode(const DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
@ SPC_LIGHTDIRECTION_WORLD_SPACE4
Definition: OgreShaderParameter.h:184
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
virtual void copyFrom(const SubRenderState &rhs)
void removeAndDestroyChild(unsigned short index)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setAmbient(const ColourValue &ambient)
This is an overloaded member function, provided for convenience. It differs from the above function o...
PCPlane(const Vector3 &rkNormal, const Vector3 &rkPoint)
Alternative constructor.
bool isDepthCheckEnabled(void) const
Is depth checking going to occur on this technique?
bool hasBinding(Renderable *rend, const String &passName)
virtual unsigned short getNumAnimations(void) const =0
Gets the number of animations in this container.
@ GPU_VENDOR_COUNT
placeholder
Definition: OgreRenderSystemCapabilities.h:275
@ WFT_SINE
Standard sine wave which smoothly changes from low to high and back again.
Definition: OgreCommon.h:188
virtual ~OctreeNode(void)
Destructor.
@ KMOD_CTRL
Definition: OgreInput.h:144
Viewport * source
The source of the event being raised.
Definition: OgreRenderTargetListener.h:55
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
bool isInSceneGraph(void) const
Determines whether this node is in the scene graph, i.e.
Definition: OgreSceneNode.h:172
bool operator>(const Radian &r) const
Definition: OgreMath.h:94
Description of a sampler that will be used with each layer.
Definition: OgreTerrainMaterialGenerator.h:103
@ PROP_MATRIX3
Definition: OgreProperty.h:123
bool isLogoVisible()
Definition: OgreTrays.h:919
void removeWidgetFromTray(const Ogre::String &name)
Definition: OgreTrays.h:1047
Real cost
Definition: OgreLodConfig.h:47
void initApp()
This function initializes the render system and resources.
@ Right
Definition: OgreTextAreaOverlayElement.h:50
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
uint16 numChildren(void) const
Reports the number of child nodes under this one.
Definition: OgreNode.h:465
Command object for local space (see ParamCommand).
Definition: OgreParticleSystem.h:127
virtual void pitch(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the X-axis.
void load(int lodLevel=0, bool synchronous=true)
Load the terrain based on the data already populated via prepare methods.
static ScreenRatioPixelCountLodStrategy * getSingletonPtr(void)
Get the singleton instance.
void setDefaultAnisotropy(unsigned int maxAniso)
Sets the default anisotropy level to be used for loaded textures, for when textures are loaded automa...
unsigned int getTexCoordIndex() const
Return the index of the input vertex shader texture coordinate set.
Definition: OgreShaderExNormalMapLighting.h:90
ushort getNumLodLevels(void) const
Returns the number of levels of detail that this mesh supports.
RealStorageFormat
The storage format of Real values.
Definition: OgreStreamSerialiser.h:83
Matrix3()
Default constructor.
Definition: OgreMatrix3.h:75
@ ACT_INVERSE_WORLD_MATRIX
The current world matrix, inverted.
Definition: OgreGpuProgramParams.h:687
GLSurfaceDesc()
Definition: OgreGLRenderTexture.h:49
void log(Log *l)
Debugging method.
#define OGRE_FREE(ptr, category)
Free the memory allocated with OGRE_MALLOC or OGRE_ALLOC_T. Category is required to be restated to en...
Definition: OgreMemoryAllocatorConfig.h:183
void insertVertex(const Vector3 &vdata)
Inserts a vertex at the end of the polygon.
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:465
bool addTexutreAtlasDefinition(const Ogre::String &filename, TextureAtlasTablePtr textureAtlasTable=TextureAtlasTablePtr())
Adds a texture atlas definition from a stream.
void addScriptPattern(const String &pattern)
Adds a script extension that can be handled (e.g. *.material, *.pu, etc.)
@ IF_3D_TEXTURE
Definition: OgreImage.h:47
virtual ~ShaderProgramWriterCGFactory()
Definition: OgreShaderCGProgramWriter.h:124
void reposition(int left, int top)
Reposition the window.
void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)
See RenderSystem.
virtual void destroySceneNode(SceneNode *sn)
Deletes a scene node & corresponding PCZSceneNode.
An animation container interface, which allows generic access to sibling animations.
Definition: OgreAnimation.h:57
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Definition: OgreBorderPanelOverlayElement.h:340
SkeletonChunkID
Definition of the OGRE .skeleton file format.
Definition: OgreSkeletonFileFormat.h:55
MeshBuilderCallback * lodCallback
Callback for a specific LOD level.
Definition: OgreVolumeChunk.h:79
std::vector< Plane > PlaneList
Definition: OgrePlaneBoundedVolume.h:52
@ BF_SCREEN
Definition: OgreHlmsPbsMaterial.h:57
bool removeRenderWindow(const String &renderWindowName) const
virtual const MaterialPtr & getMaterial(void) const =0
Retrieves a weak reference to the material this renderable object uses.
void setUseAggressiveFocusRegion(bool aggressive)
Sets whether or not to use the more aggressive approach to deciding on the focus region or not.
Definition: OgreShadowCameraSetupFocused.h:303
void prepareImpl()
Internal implementation of the meat of the 'prepare' action.
bool _getSwitchingFullscreen() const
Are we in the middle of switching between fullscreen and windowed.
virtual void setCurrentStateAsBaseValue(void)=0
Sets the current state as the 'base' value; used for delta animation.
@ LML_CRITICAL
Definition: OgreLog.h:64
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreBoxEmitterFactory.h:54
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:244
Factory for creating BorderPanelOverlayElement instances.
Definition: OgreOverlayElementFactory.h:86
@ LML_TRIVIAL
Definition: OgreLog.h:61
Real getInverseViewportWidth() const
void setDepthFunction(CompareFunction func)
Sets the function used to compare depth values when depth checking is on.
unsigned short getNumAnimations(void) const
Gets the number of animations on this skeleton.
Definition: OgreOverlayTranslator.h:55
ShadowRenderableFlags
A set of flags that can be used to influence ShadowRenderable creation.
Definition: OgreShadowCaster.h:107
const String & getShadowReceiverVertexProgramName(void) const
Gets the name of the vertex program used by this pass when rendering shadow receivers.
void waitForDerivedProcesses()
virtual void endCurrent()=0
This is called before another context is made current.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
void doSet(void *target, const String &val)
static const uint16 TERRAINLAYERSAMPLERELEMENT_CHUNK_VERSION
Definition: OgreTerrain.h:284
virtual Real getMaxDuration(void) const
Gets the maximum duration of this emitter in seconds (see setDuration for more details)
virtual void addListener(Listener *l, const Ogre::String &schemeName=BLANKSTRING)
Add a listener to handle material events.
virtual const SharedParametersMap & getAvailableSharedParameters() const
Get (const) access to the available shared parameter sets.
virtual ~Texture()
Definition: OgreTexture.h:137
void _endFrame(void)
Ends rendering of a frame to the current viewport.
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
ushort positionOffset
Definition: OgreShaderExTextureAtlasSampler.h:228
void setGeometryProgramConstantBoolCount(ushort c)
The number of boolean constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:666
void doSet(void *target, const String &val)
RenderState * getRenderState(const String &schemeName)
Return a global render state associated with the given scheme name.
Real w
Definition: OgreQuaternion.h:344
@ ACT_WORLD_SCALE_SHEAR_MATRIX_ARRAY_3x4
The scale and shear components of the current array of world matrices.
Definition: OgreGpuProgramParams.h:706
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
Definition: OgreDefaultHardwareBufferManager.h:180
virtual void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const =0
Codes the data in the input chunk and saves the result in the output filename provided.
VisibleObjectsBoundsInfo()
virtual void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Y-axis.
VertexData * _getSkelAnimVertexData(void)
Advanced method to get the temporarily blended vertex information for entities which are software ski...
void setTimeFactor(Real tf)
Set the relative speed to update frame time based controllers.
static String toString(int32 val, unsigned short width, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
std::map< K, V, P >::iterator iterator
Definition: OgrePrerequisites.h:368
void setShadowCasterFragmentProgram(const String &name)
BoxEmitter(ParticleSystem *psys)
virtual void _updateBounds(void)
Tells the SceneNode to update the world bound info it stores.
SharedPtr< PatchMesh > PatchMeshPtr
Definition: OgrePrerequisites.h:298
virtual ~GLRenderToVertexBuffer()
D'tor.
float getLightCount() const
PixelComponentType
Pixel component format.
Definition: OgrePixelFormat.h:324
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
ID3D11Texture1D * GetTex1D()
Definition: OgreD3D11Texture.h:61
bool createDualGridVisualization
Whether to create the dualgrid debug visualization entity with false as default.
Definition: OgreVolumeChunk.h:73
void setRenderQueueGroupAndPriority(uint8 queueID, ushort priority)
Sets the render queue group and group priority this entity will be rendered through.
size_t getSliceSkip() const
Get the number of elements between one past the right bottom pixel of one slice and the left top pixe...
Definition: OgrePixelFormat.h:407
@ CMPF_ALWAYS_PASS
Always writes a pixel to the render target.
Definition: OgreCommon.h:66
@ RSC_TEXTURE_COMPRESSION_BC4_BC5
Supports compressed textures in BC4 and BC5 format (DirectX feature level 10_0)
Definition: OgreRenderSystemCapabilities.h:155
void merge(const RenderPriorityGroup *rhs)
Merge group of renderables.
virtual uint32 operator()(const Pass *p) const =0
void clearAutoConstant(size_t index)
Unbind an auto constant so that the constant is manually controlled again.
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
bool hasSeparateSceneBlendingOperations() const
BillboardSet * createBillboardSet(unsigned int poolSize=20)
Creates a new BillboardSet for use with this scene manager.
String filename
The file's fully qualified name.
Definition: OgreArchive.h:55
void setUsed(bool used)
track whether this was used
Definition: OgreShaderParameter.h:370
@ ID_LINE_WIDTH
Definition: OgreScriptCompiler.h:867
SceneQueryResultWorldFragmentList worldFragments
List of world fragments.
Definition: OgreSceneQuery.h:208
Real lodValue
LOD value as determined by LOD strategy.
Definition: OgreLodListener.h:82
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreWireBoundingBox.h:77
MovableObjectFactoryIterator getMovableObjectFactoryIterator(void) const
Real reductionValue
The value, which depends on reductionMethod.
Definition: OgreLodConfig.h:103
void doSet(void *target, const String &val)
Real scale
The scale of the volume with 1.0 as default.
Definition: OgreVolumeChunk.h:82
@ ID_SPHERICAL
Definition: OgreScriptCompiler.h:756
virtual String getType() const
Returns the type of the codec as a String.
void _unregisterContext(GLContext *context)
Unregister a render target->context mapping.
Real y
Y coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:53
static MeshManager * getSingletonPtr(void)
Get the singleton instance.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
This class responsible for translating core features of the RT Shader System for Ogre material script...
Definition: OgreShaderMaterialSerializerListener.h:48
GLES2HardwareBuffer(GLenum target, size_t sizeInBytes, GLenum usage)
static PixelFormat _getPF(D3DFORMAT d3dPF)
utility method, convert D3D9 pixel format to Ogre pixel format
~SimplePageContentCollectionFactory()
Definition: OgreSimplePageContentCollection.h:117
Real frequency
Definition: OgreTextureUnitState.h:320
void preFindVisibleObjects(SceneManager *source, SceneManager::IlluminationRenderStage irs, Viewport *v)
Overridden from SceneManager::Listener.
virtual void frameEnd(Real timeElapsed, PagedWorldSection *section)
Called when the frame ends.
Definition: OgrePageStrategy.h:93
void _notifyViewport(Viewport *viewport)
Notifies this camera that a viewport is using it.
Definition: OgreCamera.h:548
@ ID_2D
Definition: OgreScriptCompiler.h:701
~DefaultIntersectionSceneQuery()
@ RSC_SEPARATE_SHADER_OBJECTS
Support for Separate Shader Objects.
Definition: OgreRenderSystemCapabilities.h:208
virtual void setDefaultWidth(Real width)
See setDefaultDimensions - this sets 1 component individually.
static DWORD get(StencilOperation op, bool invert=false)
return a D3D9 equivalent for a Ogre StencilOperation value
const MovableObjectMap & getMovableObjects(const String &typeName)
Get all MovableObect instances of a given type.
Triangle()
Definition: OgreEdgeListBuilder.h:71
PCZone * findZoneForPoint(Vector3 &point)
Find the smallest zone which contains the point.
OverlayContainer * getChild(const String &name)
void setCurrentPass(const Pass *pass)
Sets the current pass.
const TexturePtr & _getTexturePtr(size_t frame) const
Get the texture pointer for a given frame.
OpMask
Definition: OgreShaderFunctionAtom.h:64
virtual void textureCoord(float u, float v, float w)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void getWorldTransforms(Matrix4 *xform) const override
Gets the world transform matrix / matrices for this renderable object.
PixelFormat suggestPixelFormat() const
Irrelevant implementation since cannot copy.
Definition: OgreRenderTexture.h:103
virtual ~PanelOverlayElement()
void destroyResourceGroup(const String &name)
Destroys a resource group, clearing it first, destroying the resources which are part of it,...
ushort getFragmentProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:623
MapIterator< RegionMap > RegionIterator
Iterator for iterating over contained regions.
Definition: OgreStaticGeometry.h:768
virtual void _notifyParticleExpired(Particle *particle)
Optional callback notified when particle expired.
Definition: OgreParticleSystemRenderer.h:85
void _setDepthBufferCheckEnabled(bool enabled=true)
Sets whether or not the depth buffer check is performed before a pixel write.
GL3PlusFBOMultiRenderTarget(GL3PlusFBOManager *manager, const String &name)
bool isLeafVisible(const BspNode *from, const BspNode *to) const
Determines if one leaf node is visible from another.
const AutoConstantEntry * _findRawAutoConstantEntryBool(size_t physicalIndex) const
Finds an auto constant that's affecting a given physical position in the boolean buffer.
static NeighbourIndex getNeighbourIndex(long offsetx, long offsety)
Get the neighbour enum for a given offset in a grid (signed).
Real getOptimalAdjustFactor() const
Overridden, recommended internal use only since depends on current iteration.
std::unordered_map< size_t, String >::const_iterator SubroutineIterator
Definition: OgreGpuProgramParams.h:1302
const TexturePtr & _getWarningTexture()
Internal method to create a warning texture (bound when a texture unit is blank)
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
Specialisation of the SceneManager class to deal with indoor scenes based on a BSP tree.
Definition: OgreBspSceneManager.h:70
@ RENDER_QUEUE_4
Definition: OgreRenderQueue.h:63
Mesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by MeshManager.
virtual const Vector3 & getPositionForViewUpdate(void) const
Get the derived position of this frustum.
::std::hash< _StringBase > _StringHash
Definition: OgreString.h:220
virtual bool getAutoextend(void) const
Returns true if the billboard pool automatically extends.
Vector3 normal
Definition: OgreLodData.h:115
Terrain automatic LOD loading.
Definition: OgreTerrainAutoUpdateLod.h:54
void setTextureAtlasTable(const String &textureName, const TextureAtlasTablePtr &atlasData, bool autoBorderAdjust=true)
Set the texture atlas information for a given texture.
void _initParticle(Particle *pParticle)
See ParticleEmitter.
@ TEX_TYPE_3D
3D volume texture, used in combination with 3D texture coordinates
Definition: OgreTexture.h:100
InstanceBatchShader(InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
FileStreamDataStream(std::fstream *s, bool freeOnClose=true)
Construct a read-write stream from an STL stream.
static void queueNeedUpdate(Node *n)
Queue a 'needUpdate' call to a node safely.
CodePoint codePoint
Definition: OgreFont.h:143
void load(bool backgroundThread=false)
Loads the resource, if it is not already.
unsigned char uint8
Definition: OgrePlatform.h:256
void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Y-axis.
Information about a remapped index.
Definition: OgreTangentSpaceCalc.h:56
Program * getCpuProgram(GpuProgramType type) const
Get the shader CPU program.
NODE_LIST_TYPE
Definition: OgrePCZone.h:86
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
Get the squared depth from camera to the LOD object.
virtual void _updateSceneGraph(Camera *cam)
Does nothing more.
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
const AxisAlignedBox & getBoundingBox(void) const
Overridden from MovableObject.
Definition: OgreMovablePlane.h:76
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
friend String getPropertyName(const ScriptCompiler *compiler, uint32 id)
ushort getFragmentProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:618
const MicroCode & getMicroCode(void) const
Controller< Real > * createTextureVScroller(TextureUnitState *layer, Real vSpeed)
Creates a basic time-based texture v coordinate modifier designed for creating scrolling textures.
CSGNegateSource(const Source *src)
Constructor.
void destroyBillboardSet(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool isSubdivided(void) const
Gets whether this cell has any children.
Definition: OgreVolumeOctreeNode.h:179
unsigned int vertexID[3]
ID of the submesh. Usable with mMesh.getSubMesh() function.
Definition: OgreLodData.h:118
bool operator!=(const Degree &d) const
Definition: OgreMath.h:144
virtual void setAdjacencyInfoRequired(bool r)
Definition: OgreGpuProgram.h:334
const FunctionAtomInstanceList & getAtomInstances()
Return list of atom instances composing this function.
static String eventType
Definition: OgreScriptCompiler.h:467
void doSet(void *target, const String &val)
void setLodBias(float bias)
Set the scene LOD bias used by this pass.
bool getUseIdentityView(void) const
Returns whether or not to use an 'identity' view.
Definition: OgreRenderable.h:194
Real lastCFactor
The cFactor value used to calculate transitionDist.
Definition: OgreTerrainQuadTreeNode.h:144
void _renderScene(Camera *cam, Viewport *vp, bool includeOverlays)
Overridden from basic scene manager.
bool isBool() const
Definition: OgreGpuProgramParams.h:177
void _restoreManualHardwareResources() override
Notifies the movable object that hardware resources should be restored.
const String & getType(void) const
Get the type of the object to be created.
@ PF_R16_SINT
16-bit pixel format, 16 bits red (signed int).
Definition: OgrePixelFormat.h:178
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
void _initParticle(Particle *pParticle)
static GpuProgramPtr createGpuProgram(const String &name, const String &code, HlmsDatablock *dataBlock)
AnimationState * getAnimationState(const String &name) const
For entities based on animated meshes, gets the AnimationState object for a single animation.
D3D11Driver * item(const String &name)
void licenseExpired(HardwareBuffer *buffer)
Overridden member from HardwareBufferLicensee.
Singleton Class which handles the registering and control of texture plugins.
Definition: OgreExternalTextureSourceManager.h:56
Real deformParams[5]
Definition: OgreQuake3Shader.h:114
void setScope(Real force)
Sets the scope (percentage of particles which are randomised).
void _notifyCurrentCamera(Camera *cam)
Delegated to by ParticleSystem::_notifyCurrentCamera.
Vector3 getPoint(Real t) const
Gets the position of a point t units along the ray.
Definition: OgreRay.h:66
@ PF_PVRTC_RGBA4
PVRTC (PowerVR) RGBA 4 bpp.
Definition: OgrePixelFormat.h:138
void _upload() const
upload parameter data to GPU memory. Must have a HardwareBuffer
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
virtual void setProjectionType(ProjectionType pt)
Sets the type of projection to use (orthographic or perspective).
@ ID_UNLIMITED
Definition: OgreScriptCompiler.h:705
SceneQuery::WorldFragment * worldFragment
The world fragment, or NULL if this is not a fragment result.
Definition: OgreSceneQuery.h:359
@ M_GEOMETRY_COLOURS
Definition: OgreMeshFileFormat.h:240
void setCullFace(GLenum face)
Sets the face culling setting.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create counter buffer.
Definition: OgreDefaultHardwareBufferManager.h:192
void frameRendered(const Ogre::FrameEvent &evt)
IndexBufferPointer buf
Definition: OgreLodData.h:142
const TexturePtr & getCompositeMap() const
Get access to the composite map, if enabled (as requested by the material generator)
Definition: OgreTerrain.h:1063
void execute(SceneQueryListener *listener)
See SceneQuery.
void resetCustomShadowCameraSetup(void)
Reset the shadow camera setup to the default.
void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)
(recursive) check the given light against all portals in the zone
void loadLegacyTerrain(const ConfigFile &cfg, long x=0, long y=0, bool synchronous=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void assign(const std::vector< Operand > ¶ms) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
IndexType
Definition: OgreHardwareIndexBuffer.h:49
static UniformParameterPtr createSampler1D(int index)
static ParameterPtr createInTangent(int index)
bool equals(const Quaternion &rhs, const Radian &tolerance) const
Equality with tolerance (tolerance is max angle difference)
Definition: OgreQuaternion.h:265
@ SDLK_NUMLOCKCLEAR
Definition: OgreInput.h:125
size_t getSize(void) const
Gets the size of this element in bytes.
static GLSLLinkProgramManager * getSingletonPtr(void)
CompositionTechnique * getSupportedTechnique(size_t idx)
Get a supported technique.
@ CE_OBJECTNAMEEXPECTED
Definition: OgreScriptCompiler.h:199
GpuLogicalIndexUse()
Definition: OgreGpuProgramParams.h:373
static GLenum getGLInternalFormat(PixelFormat mFormat, bool hwGamma=false)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
Definition: OgreMeshSerializer.h:180
static Real DegreesToRadians(Real degrees)
Definition: OgreMath.h:511
void setSplitNoShadowPasses(bool split)
Sets whether or not the queue will split passes which have shadow receive turned off (in their parent...
~GLHardwareOcclusionQuery()
Object destructor.
void installPlugin(Plugin *plugin)
Install a new plugin.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
void addRenderSystem(RenderSystem *newRend)
Adds a new rendering subsystem to the list of available renderers.
const GpuProgramPtr & getFragmentProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
static LodStrategyManager & getSingleton(void)
Get the singleton instance.
virtual ResourcePtr create(const String &name, const String &group, GpuProgramType gptype, const String &syntaxCode, bool isManual=false, ManualResourceLoader *loader=0)
General create method, using specific create parameters instead of name / value pairs.
Real nY
Y component of the normal.
Definition: OgreVolumeMeshBuilder.h:62
VertexElement()
Constructor, should not be called directly, only needed because of list.
Definition: OgreHardwareVertexBuffer.h:187
Real _getLeft(void) const
Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
Definition: OgreOverlayElement.h:242
@ GPT_FRAGMENT_PROGRAM
Definition: OgreGpuProgram.h:51
virtual ~ApplicationContextBase()
SmallVector - This is a 'vector' (really, a variable-sized array), optimized for the case when the ar...
Definition: OgreSmallVector.h:693
const Affine3 & getInverseViewMatrix(void) const
virtual SceneNode * createSceneNodeImpl(void)
override this to ensure specialised PCZSceneNode is used.
virtual OverlayElement * createOverlayElement(const String &instanceName) OGRE_NODISCARD=0
Creates a new OverlayElement instance with the name supplied.
Real fData
Definition: OgreGpuProgramParams.h:1279
void addLayer(Real worldSize=0, const StringVector *textureNames=0)
Add a new layer to this terrain.
const SceneManagerEnumerator::Instances & getSceneManagers(void) const
Get all the existing SceneManager instances.
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
void setBounds(const AxisAlignedBox &aabb)
Set the (initial) bounds of the particle system manually.
const String & getPreprocessorDefines(void) const
Gets the preprocessor defines used to compile the program.
Definition: OgreHighLevelGpuProgram.h:133
void unload(uint16 depthStart, uint16 depthEnd)
Unload node and children in a depth range (perform GPU tasks, will be render thread)
size_t getRequiredIndexCount(void) const
Based on a previous call to defineSurface, establishes the number of indexes required to hold this pa...
uint32 height
Definition: OgreImageCodec.h:61
void setFogProperties(FogMode fogMode, const ColourValue &fogColour, float fogStart, float fogEnd, float fogDensity)
Set the fog properties this fog sub render state should emulate.
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
void createInternalResources(void)
Creates the internal texture resources for this texture.
virtual void read(AxisAlignedBox *aabb, size_t count=1)
virtual void initConfigOptions()
const String & getName() const
Get the name of the work queue.
void setDiffuseColour(float red, float green, float blue)
Sets the colour of the diffuse light given off by this source.
Command object for plane point (see ParamCommand).
Definition: OgreDeflectorPlaneAffector.h:56
const SkyDomeGenParameters & getSkyDomeGenParameters(void) const
Get the parameters used to generate the current SkyDome, if any.
Definition: OgreSceneManager.h:2124
void setEnabled(bool enabled)
Sets whether this profiler is enabled.
virtual Animation * getAnimation(unsigned short index) const
Gets a single morph animation by index.
Real getMaxClampedAbsoluteDensity(void) const
Gets the maximum absolute density value to be written into the data when combining,...
@ WFT_PWM
Pulse Width Modulation.
Definition: OgreCommon.h:199
#define OGRE_NEW
Definition: OgreMemoryAllocatorConfig.h:201
ResourceBackgroundQueue()
@ SDLK_F2
Definition: OgreInput.h:102
Resource holding data about 3D mesh.
Definition: OgreMesh.h:88
Real getSplitPadding() const
Get the padding factor to apply to the near & far distances when matching up splits to one another,...
Definition: OgreShadowCameraSetupPSSM.h:111
void setTessellationHullProgramParameters(GpuProgramParametersSharedPtr params)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
unsigned short getLightCountPerIteration(void) const
If light iteration is enabled, determine the number of lights per iteration.
Struct containing information about a RenderTarget event.
Definition: OgreRenderTargetListener.h:45
RadixSort()
Definition: OgreRadixSort.h:237
static uint32 getDefaultVisibilityFlags()
Get the default visibility flags for all future MovableObject instances.
Definition: OgreMovableObject.h:450
@ ACT_PROJECTION_MATRIX
The current projection matrix.
Definition: OgreGpuProgramParams.h:722
const Affine3 * _getBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:606
DualQuaternion(Real *valptr)
Construct a dual quaternion from 8 manual w/x/y/z/dw/dx/dy/dz values.
Definition: OgreDualQuaternion.h:76
bool has_value() const
Definition: OgreAny.h:106
AnimableValue(ValueType t)
Definition: OgreAnimable.h:137
void setWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Specialised from SceneManager to support Quake3 bsp files.
virtual AxisAlignedBoxSceneQuery * createAABBQuery(const AxisAlignedBox &box, uint32 mask=0xFFFFFFFF)
Creates an AxisAlignedBoxSceneQuery for this scene manager.
When thrown, provides information about an error that has occurred inside the engine.
Definition: OgreException.h:95
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer)
void scale(const Vector3 &s)
Scales the AABB by the vector given.
Definition: OgreAxisAlignedBox.h:614
void setZoneData(PCZone *zone, ZoneData *zoneData)
float dist
Definition: OgreQuake3Types.h:150
NameValuePairList miscParams
Definition: OgreCommon.h:810
void _beginUpdate()
Method for manual management of rendering : fires 'preRenderTargetUpdate' and initialises statistics ...
bool keyReleased(const KeyboardEvent &evt)
Processes key releases for free-look style movement.
std::map< String, MovableObjectFactory * > MovableObjectFactoryMap
Definition: OgreRoot.h:71
virtual void prepareResource(Resource *resource)
Called when a resource wishes to prepare instead of Resource::prepareImpl.
Definition: OgreResource.h:499
Quaternion operator-() const
Definition: OgreQuaternion.h:194
@ ID_TESSELLATION_DOMAIN
Definition: OgreScriptCompiler.h:860
CameraIterator getCameraIterator(void)
Returns a specialised MapIterator over all cameras in the scene.
Definition: OgreSceneManager.h:2562
virtual OverlayElement * findElementAt(Real x, Real y)
Returns true if xy is within the constraints of the component.
void setSceneBlending(const SceneBlendType sbt)
Sets the kind of blending every pass has with the existing contents of the scene.
virtual const String & getType()
Get the type name of this section.
virtual unsigned short _getActiveSchemeIndex(void) const
Internal method - returns the active scheme index.
const Radian & getFOVy(void) const
Retrieves the frustums Y-dimension Field Of View (FOV).
static UINT getResourceCreationDeviceCount()
bool hasVertexAnimation(void) const
Returns whether or not this entity is either morph or pose animated.
static const uint32 CHUNK_CONTENTCOLLECTION_DECLARATION_ID
Definition: OgrePage.h:101
LightTypes getType(void) const
Returns the light type.
FileStreamDataStream(const String &name, std::ifstream *s, size_t size, bool freeOnClose=true)
Construct named read-only stream from an STL stream, and tell it the size.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Definition: OgreHardwareVertexBuffer.h:336
void setClearDepth(GLclampf depth)
Sets the clear depth in the range from [0..1].
virtual bool removeRenderWindow(const String &renderWindowName)
const String & getName(void) const
Return the instance name of this SceneManager.
Definition: OgreSceneManager.h:1136
Expression()
Definition: OgreHlmsShaderGenerator.h:69
void ToAxes(Vector3 &xAxis, Vector3 &yAxis, Vector3 &zAxis) const
void removeTechnique(unsigned short index)
Removes the technique at the given index.
virtual ~D3D9StereoDriverBridge()
void dirtyLightmapRect(const Rect &rect)
Mark a region of the lightmap as dirty.
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
GL3PlusSampler(GL3PlusRenderSystem *rs)
Technique * getTechnique(void) const override
Retrieves a pointer to the Material Technique this renderable object uses.
unsigned int _getNumRenderedFaces(void) const
Gets the number of rendered faces in the last update.
std::map< size_t, Vector3 > NormalsMap
A collection of normals based on the vertex index.
Definition: OgrePose.h:74
virtual void detachDepthBuffer()
Terrain(SceneManager *sm)
Constructor.
Real worldSize
The world size of the texture to be applied in this layer.
Definition: OgreTerrain.h:301
virtual ~HLSLProgramProcessor()
Class destructor.
virtual void getMetrics(unsigned int &width, unsigned int &height, unsigned int &colourDepth)
Retrieve information about the render target.
virtual size_t getMaxChainElements(void) const
Get the maximum number of chain elements per chain.
Definition: OgreBillboardChain.h:126
SceneNode * _getRootSceneNode() const
Get the root scene node for the terrain (internal use only)
virtual bool isSorted(const Mesh::LodValueList &values) const =0
Determine if the LOD values are sorted from greatest detail to least detail.
void removePass(unsigned short index)
Removes the Pass with the given index.
@ PFF_HASALPHA
This format has an alpha channel.
Definition: OgrePixelFormat.h:304
virtual void forwardIntersect(const Plane &worldPlane, std::vector< Vector4 > *intersect3d) const
Forward projects frustum rays to find forward intersection with plane.
virtual bool frameEnded(const FrameEvent &evt)
Called just after a frame has been rendered.
Definition: OgreFrameListener.h:127
const String & getAnimationName() const
Gets the name of the animation to which this state applies.
static ShadowCameraSetupPtr create(Real n=0.1f, bool useSimpleNOpt=true, Degree angle=Radian(0.451f))
Definition: OgreShadowCameraSetupLiSPSM.h:184
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
FrameBufferType
Defines the frame buffer types.
Definition: OgreCommon.h:319
VectorBase()
Definition: OgreVector.h:268
Definition: OgreInput.h:73
virtual const Plane & getFrustumPlane(unsigned short plane) const
Retrieves a specified plane of the frustum (world space).
InstanceManagerFlags
Flags for the Instance Manager when calculating ideal number of instances per batch.
Definition: OgreCommon.h:342
@ CMPF_GREATER
Write if (new_Z >= existing_Z)
Definition: OgreCommon.h:72
void split(const OctreeNodeSplitPolicy *splitPolicy, const Source *src, const Real geometricError)
Splits this cell if the split policy says so.
const LightList & getLights(void) const override
Gets a list of lights, ordered relative to how close they are to this renderable.
GpuProgramPtr getGpuProgram(HlmsDatablock *dataBlock)
@ ACT_SHADOW_SCENE_DEPTH_RANGE
Provides information about the depth range of the scene as viewed from a given shadow camera.
Definition: OgreGpuProgramParams.h:1159
void setSelfIllumination(float red, float green, float blue)
Sets the amount of self-illumination of every Pass in every Technique.
SharedPtr< Compositor > CompositorPtr
Definition: OgrePrerequisites.h:280
void setParameters(const GpuProgramParametersSharedPtr ¶ms)
Sets the program parameters that should be used; because parameters can be shared between multiple us...
bool operator==(IdString idString) const
Definition: OgreIdString.h:235
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
ushort getGeometryProgramConstantBoolCount(void) const
The number of boolean constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:608
void setColourOpMultipassFallback(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
Sets the multipass fallback operation for this layer, if you used TextureUnitState::setColourOperatio...
void removeCustomParameter(size_t index)
Removes a custom value which is associated with this Renderable at the given index.
Definition: OgreRenderable.h:241
WireBoundingBox * getWireBoundingBox()
Creates the wire frame bounding box for this octant.
@ M_GEOMETRY_VERTEX_BUFFER
Definition: OgreMeshFileFormat.h:96
@ ID_GEOMETRY_PROGRAM_REF
Definition: OgreScriptCompiler.h:584
@ RSC_USER_CLIP_PLANES
Supports user clipping planes.
Definition: OgreRenderSystemCapabilities.h:114
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
const String & getType(void) const
Get the type of the object to be created.
virtual void unlock(void)
Releases the lock on this buffer.
Definition: OgreHardwareBuffer.h:263
virtual bool isCloneable() const
Definition: OgreOverlayElement.h:440
SharedPtr< BspLevel > BspLevelPtr
Definition: OgreBspLevel.h:260
size_t getFloatLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the buffer, for programs which support th...
void setSelfIllumination(float red, float green, float blue)
Sets the amount of self-illumination an object has.
~ChunkTreeSharedData(void)
Destructor.
Definition: OgreVolumeChunk.h:137
static Root * getSingletonPtr(void)
Get the singleton instance.
const GpuProgramParametersSharedPtr & getParameters(void) const
Gets the parameters being used here.
virtual uint32 getDefaultNumMipmaps()
Gets the default number of mipmaps to be used for loaded textures.
Definition: OgreTextureManager.h:413
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
int skyDomeXSegments
Definition: OgreSceneManager.h:217
virtual Real getBaseValue() const
Get the value of the first (highest) level of detail.
virtual void postRender(SceneManager *sm, RenderSystem *rsys)
Called immediately after the Renderable has been rendered.
Definition: OgreRenderable.h:119
UTFString DisplayString
Definition: OgreOverlayElement.h:49
Definition: OgreInput.h:52
Definition: OgreGLTexture.h:41
void addSpecialCaseRenderQueue(uint8 qid)
Adds an item to the 'special case' render queue list.
Plugin instance for Octree Manager.
Definition: OgreOctreePlugin.h:39
SceneNode * createSceneNodeImpl(const String &name)
Creates a specialized BspSceneNode.
const String & getTextureNameAlias(void) const
Gets the Texture Name Alias of the Texture Unit.
Definition: OgreTextureUnitState.h:1073
virtual void notifyRenderSingleObject(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList, bool suppressRenderStateChanges)=0
Event raised when render single object started.
void _setDimensions(Real width, Real height)
Sets the width and height of this element in relation to the screen (where 1.0 = screen width)
GLSLProgramManagerCommon()
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
void invalidateStateForTexture(GLuint texture)
Invalidates the state associated with a particular texture ID.
Renderable * renderable
Pointer to the Renderable details.
Definition: OgreRenderQueueSortingGrouping.h:55
virtual void show(void)
Shows this element if it was hidden.
A class that represents a function operand (its the combination of a parameter the in/out semantic an...
Definition: OgreShaderFunctionAtom.h:48
void destroyAllBillboardSets(void)
Removes & destroys all BillboardSets.
@ RSC_PERSTAGECONSTANT
Is DirectX feature "per stage constants" supported.
Definition: OgreRenderSystemCapabilities.h:196
void setBoundsPaddingFactor(Real paddingFactor)
Sets the factor by which the bounding box of an entity is padded.
virtual VertexElementType getColourVertexElementType(void) const =0
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
Specialisation of VertexDeclaration for D3D9.
Definition: OgreD3D9VertexDeclaration.h:39
void setColourWriteEnabled(bool enabled)
Sets whether or not colour buffer writing is enabled for each Pass.
@ BIND_SOFTWARE_MORPH
Definition: OgreEntity.h:776
bool requiresTextureFlipping() const
Definition: OgreD3D11RenderWindow.h:75
const ColourValue & getFogColour(void) const
void _notifyResourceGroupChanged(const String &oldGroup, Resource *res) const
Internal method to notify the group manager that a resource has changed group (only applicable for au...
virtual void _notifyAttached(PageContentCollection *parent)
Internal method to notify a page that it is attached.
OctreeNodeSplitPolicy(const Source *src, const Real maxCellSize)
Constructur.
@ RADIAN
Definition: OgreAnimable.h:84
const String & getName()
Get the name of this shared parameter set.
Definition: OgreGpuProgramParams.h:460
Real phase
Definition: OgreTextureUnitState.h:321
virtual void _setRenderTarget(RenderTarget *target)=0
Set current render target to target, enabling its device context if needed.
static Affine3 makeViewMatrix(const Vector3 &position, const Quaternion &orientation, const Affine3 *reflectMatrix=0)
This creates a view matrix.
void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Bind Gpu program parameters.
virtual void setUseSimpleOptimalAdjust(bool s)
Sets whether or not to use a slightly simpler version of the camera near point derivation (default is...
Definition: OgreShadowCameraSetupLiSPSM.h:218
Particle emitter which emits particles from a single point.
Definition: OgrePointEmitter.h:50
virtual void setRenderOperation(const RenderOperation &rend)
MapIterator< ZoneMap > ZoneIterator
ZoneMap iterator for read-only access to the zonemap.
Definition: OgrePCZSceneManager.h:324
uint32 width
Definition: OgreGLRenderSystemCommon.h:78
TexCoordModifierControllerValue(TextureUnitState *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false)
Injects the output of a request to the mesh in a thread safe way.
Definition: OgreLodWorkQueueInjector.h:45
bool autoBorderAdjust
Definition: OgreShaderExTextureAtlasSampler.h:229
void define(const AxisAlignedBox &aab)
Build a new polygon representation from an AAB.
const AxisAlignedBox & getWorldBoundingBox(bool derive=false) const override
Retrieves the axis-aligned bounding box for this object in world coordinates.
virtual ushort getIndex(Real value, const Material::LodValueList &materialLodValueList) const
Get the index of the LOD usage which applies to a given value.
LodOutputProviderPtr output
Definition: OgreLodWorkQueueRequest.h:47
virtual void setCellRange(int32 minX, int32 minY, int32 minZ, int32 maxX, int32 maxY, int32 maxZ)
Set the index range of all cells (values outside this will be ignored)
void _render(const RenderOperation &op)
Render something to the active viewport.
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
Radian(Real r=0)
Definition: OgreMath.h:62
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
bool hasBillboardSet(const String &name) const
Returns whether a billboardset with the given name exists.
void doSet(void *target, const String &val)
void setMetricsMode(GuiMetricsMode gmm)
Tells this element how to interpret the position and dimension values it is given.
std::vector< RaySceneQueryResultEntry > RaySceneQueryResult
Definition: OgreSceneQuery.h:367
PagedWorldSection * createSection(SceneManager *sceneMgr, const String &typeName, const String §ionName=BLANKSTRING)
Create a new section of the world based on a specialised type.
Radian & operator/=(Real f)
Definition: OgreMath.h:87
struct Ogre::Volume::ChunkParameters ChunkParameters
Parameters for loading the volume.
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const =0
Function to implement – must set the shadow camera properties.
@ SPS_UNKNOWN
Unknown semantic.
Definition: OgreShaderParameter.h:54
void getHSB(float &hue, float &saturation, float &brightness) const
Convert the current colour to Hue, Saturation and Brightness values.
@ PROP_LONG
Definition: OgreProperty.h:113
const MaterialPtr & getMaterial() const
Get the material used by this pass.
@ PCT_FLOAT16
Short per component (16 bit fixed 0.0..1.0))
Definition: OgrePixelFormat.h:327
void setGLMapBufferThreshold(const size_t value)
void suppressHardwareUpdate(bool suppress)
Pass true to suppress hardware upload of shadow buffer changes.
Definition: OgreHardwareBuffer.h:369
void doSet(void *target, const String &val)
unsigned long getDirtyFrameNumber(void) const
Get the latest animation state been altered frame number.
Definition: OgreAnimationState.h:250
const ColourValue & getShadowColour(void) const
Get the colour used to modulate areas in shadow.
String doGet(const void *target) const
void SingularValueDecomposition(Matrix3 &rkL, Vector3 &rkS, Matrix3 &rkR) const
Singular value decomposition.
TechniqueIterator getTechniqueIterator(void)
Get an iterator over the Techniques in this compositor.
Structure recording a queued geometry for low level builds.
Definition: OgreStaticGeometry.h:173
void setPosition(Real x, Real y, Real z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
unsigned long long int getNext() const
Get the internal counter.
Definition: OgreNameGenerator.h:82
void ToAngleAxis(Vector3 &rkAxis, Degree &rfAngle) const
Definition: OgreMatrix3.h:227
ButtonType
Definition: OgreInput.h:26
bool intersects(const AxisAlignedBox &aab)
Check if portal intersects an aab.
virtual bool addFunctionInvocations(ProgramSet *programSet)=0
virtual Bone * createBone(unsigned short handle)
Creates a brand new Bone owned by this Skeleton.
void addListener(Listener *s)
Add a listener which will get called back on scene manager events.
friend std::ostream & operator<<(std::ostream &o, BspNode &n)
~D3D9HardwarePixelBuffer()
void _setDepthBufferWriteEnabled(bool enabled=true)
Sets whether or not the depth buffer is updated after a pixel write.
@ VAT_POSE
Pose animation is made up of a single delta pose keyframe.
Definition: OgreAnimationTrack.h:475
size_t calculateSize(void) const
Calculate the expected size of the shared parameter buffer based on constant definition data types.
NameGenerator(const NameGenerator &rhs)
Definition: OgreNameGenerator.h:53
virtual bool hasCompileError(void) const
Did this program encounter a compile error when loading?
Definition: OgreGpuProgram.h:395
void setSource(const String &source)
Sets the source of the font.
void _setCompositeMapRequired(bool compositeMap)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
uint32 id
Definition: OgreScriptCompiler.h:113
void set_size(unsigned N)
set_size - Set the array size to
Definition: OgreSmallVector.h:584
@ SPC_NORMAL_WORLD_SPACE
Normal in world space.
Definition: OgreShaderParameter.h:109
const GpuProgramPtr & getProgram() const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:122
#define _OgreD3D9Export
Definition: OgreD3D9Prerequisites.h:122
void notifyResourceCreated(D3D11DeviceResource *deviceResource)
virtual void _notifyParticleMoved(std::list< Particle * > ¤tParticles)
Optional callback notified when particles moved.
Definition: OgreParticleSystemRenderer.h:87
const GpuProgramPtr & getTessellationDomainProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void _destroyAffector(ParticleAffector *affector)
Internal method for destroying an affector.
Billboard * createBillboard(Real x, Real y, Real z, const ColourValue &colour=ColourValue::White)
Creates a new billboard and adds it to this set.
PixelCountLodStrategyBase(const String &name)
Default constructor.
virtual Real getMinimumDepthInputValue(void)=0
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
unsigned int getVSyncInterval() const
Returns the vertical sync interval.
size_t getOffsetFromChunkStart() const
Get the current byte position relative to the start of the data section of the last chunk that was re...
const String & getValue() const
Returns a string value depending on the type of the AbstractNode.
Definition: OgreScriptCompiler.h:165
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
virtual bool isEmitted(void) const
Return true if the emitter is emitted by another emitter.
An instance of a Compositor object for one Viewport.
Definition: OgreCompositorInstance.h:51
String doGet(const void *target) const
virtual ~MeshBuilderCallback()
Definition: OgreVolumeMeshBuilder.h:115
static TextureManager & getSingleton(void)
Get the singleton instance.
Image(const Image &img)
Copy-constructor - copies all the data from the target image.
PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)
Get the page ID for a given world position.
Class implementing dispatch methods in order to construct by-value exceptions of a derived type based...
Definition: OgreException.h:251
void _destroyNodeTracks(const TrackHandleList &tracks)
Internal method for destroy given node tracks.
Pass * getPass(unsigned short index) const
Retrieves the Pass with the given index.
void setDirection(const Vector3 &dir)
Sets the direction of the ray.
Definition: OgreRay.h:61
void enableSky(bool)
Enable/disable sky rendering.
GpuProgramType getType(void) const
Gets the type of program we're trying to link to.
Definition: OgreGpuProgramUsage.h:101
D3D9HLSLProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreD3D11HardwarePixelBuffer.h:97
@ PF_BC7_UNORM
DDS (DirectDraw Surface) BC7 format (unsigned normalised)
Definition: OgrePixelFormat.h:208
void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
bool eof(void) const
Returns true if the stream has reached the end.
Bridge interface from the render system to the stereo driver.
Definition: OgreD3D9StereoDriverBridge.h:45
TrayListener * getListener()
Definition: OgreTrays.h:780
ButtonState
enumerator values for button states
Definition: OgreTrays.h:69
static TextureAtlasSamplerFactory & getSingleton(void)
MultiheadUseType getMultiheadUse() const
Returns how multihead should be activated.
Definition: OgreD3D9RenderSystem.h:395
void unload()
Unload the library.
const String & getShaderProfiles(GpuProgramType type) const
Get the output shader target profiles.
const Vector3 & getDerivedPosition(bool cameraRelativeIfSet=false) const
Retrieves the position of the light including any transform from nodes it is attached to.
AnimationState * getAnimationState(const String &animName) const
Retrieves animation state as previously created using createAnimationState.
const String & getGpuProgramName(GpuProgramType type) const
Gets the name of the program used by this pass.
TextInputEvent text
Definition: OgreInput.h:92
@ FBT_STENCIL
Definition: OgreCommon.h:322
@ RENDER_COMPOSITE_MAP
Definition: OgreTerrainMaterialGeneratorA.h:52
Source * src
The volume source.
Definition: OgreVolumeChunk.h:61
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
void assign(unsigned NumElts, const T &Elt)
Definition: OgreSmallVector.h:412
@ SPC_POSTOLIGHT_TANGENT_SPACE3
Definition: OgreShaderParameter.h:163
virtual void renderQueueEnded(uint8 queueGroupId, const String &invocation, bool &repeatThisInvocation)
Event raised after a queue group is rendered.
Definition: OgreRenderQueueListener.h:96
virtual void renderQueueStarted(uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
virtual void write(const Vector4 *vec, size_t count=1)
@ GCT_DOUBLE4
Definition: OgreGpuProgramParams.h:99
Class which represents the renderable aspects of a set of shadow volume faces.
Definition: OgreShadowCaster.h:54
static const uint16 VOLUME_CHUNK_VERSION
The version of volume files.
Definition: OgreVolumeSource.h:79
static PropertyType getTypeForValue(const unsigned long &val)
Definition: OgreProperty.h:165
static String getFileExtFromMagic(DataStreamPtr stream)
Static function to get an image type string from a stream via magic numbers.
static Real DegreesToAngleUnits(Real degrees)
Convert from degrees to the current AngleUnit.
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
Gets an iterator over the named GpuConstantDefinition instances as defined by the program for which t...
const DXGI_ADAPTER_DESC1 & getAdapterIdentifier() const
const Quaternion & _getBindingPoseInverseOrientation(void) const
Gets the inverted binding pose orientation.
Definition: OgreBone.h:124
Parameter(GpuConstantType type, const String &name, const Semantic &semantic, int index, const Content &content, size_t size=0)
Class constructor.
@ ID_INCLUDE
Definition: OgreScriptCompiler.h:612
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
void setWindowGrab(bool grab=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreApplicationContextBase.h:182
const StringVector & getProfiles(void) const
Gets the Cg profiles which can be supported by the program.
Definition: OgreGLSLESCgProgram.h:76
virtual const AxisAlignedBox & getDarkCapBounds(const Light &light, Real dirLightExtrusionDist) const =0
Gets the world space bounding box of the dark cap, as extruded using the light provided.
int customNum
Definition: OgreShaderExLayeredBlending.h:102
@ MEMCATEGORY_RESOURCE
Other resources.
Definition: OgreMemoryAllocatorConfig.h:65
GLHardwarePixelBufferCommon * getStencilBuffer() const
Definition: OgreGLDepthBufferCommon.h:38
virtual void close(void)=0
Close the stream; this makes further operations invalid.
Factory class for ColourFaderAffector.
Definition: OgreColourFaderAffectorFactory.h:39
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:216
virtual const Ogre::String & getType() const
void grow(size_t MinSize=0)
grow - double the size of the allocated memory, guaranteeing space for at least one more element or M...
Definition: OgreSmallVector.h:293
Vector3 mPosition
Definition: OgreBillboard.h:82
bool needsGammaCorrection
Definition: OgreHlmsPbsMaterial.h:142
@ VES_BINORMAL
Binormal (Y axis if normal is Z)
Definition: OgreHardwareVertexBuffer.h:105
virtual bool getVolumeVisible(void) const
Gets whether the volume mesh is visible.
void load()
Load all the enabled plugins.
const String & getType(void) const
Returns the factory type.
const String & getMaterialScheme(void) const
Get the material scheme used by this pass.
PixelBox()
Parameter constructor for setting the members manually.
Definition: OgrePixelFormat.h:344
@ OGREPROF_ALL
All in-built Ogre profiling will match this mask.
Definition: OgreProfiler.h:84
std::vector< IlluminationPass * > IlluminationPassList
Definition: OgrePass.h:1670
StageFlags
Definition: OgreShaderFFPColour.h:53
BufferType
Definition: OgreD3D11HardwareBuffer.h:44
void unsetCapability(const Capabilities c)
Remove a capability flag.
Definition: OgreRenderSystemCapabilities.h:528
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11Texture.h:65
Represents the state of an animation and the weight of its influence.
Definition: OgreAnimationState.h:56
uint16 getLODLevelWhenVertexEliminated(long x, long y) const
Utility method, get the first LOD Level at which this vertex is no longer included.
Abstract definition of a 2D element to be displayed in an Overlay.
Definition: OgreOverlayElement.h:104
virtual ~GLFrameBufferObjectCommon()
Definition: OgreGLRenderTexture.h:57
Manages the locating and loading of BSP-based indoor levels.
Definition: OgreBspSceneLoader.h:46
@ ID_EXCLUDE
Definition: OgreScriptCompiler.h:613
const Vector3 getCenterRight(void) const
Gets the center of the corners 1, 2, 5, 6.
Definition: OgreVolumeOctreeNode.h:323
void _setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias, NB you should use the Material version of this.
String basename
Base filename.
Definition: OgreArchive.h:59
@ FO_NONE
No filtering, used for FT_MIP to turn off mipmapping.
Definition: OgreCommon.h:106
ScreenRatioPixelCountLodStrategy()
Default constructor.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
bool hasSky(void)
Definition: OgrePCZone.h:110
Real getSpaceWidth() const
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreGLWindow.h:47
TextureDefinition * getTextureDefinition(const String &name)
Get a local texture definition with a specific name.
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a uniform buffer.
void clearSpecialCaseRenderQueues(void)
Clears the 'special case' render queue list.
virtual void destroy(GpuProgram *prog)
Definition: OgreHighLevelGpuProgramManager.h:56
bool isSkyPlaneEnabled(void) const
Return whether a key plane is enabled.
Definition: OgreSceneManager.h:1966
PolygonMode getPolygonMode(void) const
Returns the type of light shading to be used.
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
virtual void execute(RaySceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
virtual bool display()
Displays the dialog.
virtual void _sortBillboards(Camera *cam)
Sort the billboard set.
void setVertexBufferBinding(VertexBufferBinding *binding)
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
virtual void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
virtual bool unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to unload page content procedurally.
Definition: OgrePageManager.h:84
String doGet(const void *target) const
void dirtyRect(const Rect &rect)
Mark a region of the terrain as dirty.
void setDepthCheckEnabled(bool enabled)
Sets whether or not this pass renders with depth-buffer checking on or not.
bool getKeepDeclarationOrder() const
Gets whether or not the declaration order is to be kept or not.
Definition: OgreManualObject.h:398
Manager for LOD strategies.
Definition: OgreLodStrategyManager.h:46
void getPointTransform(Matrix4 *outXform) const
Get a transform which converts Vector4(xindex, yindex, height, 1) into an object-space position inclu...
virtual void addChildImpl(OverlayContainer *cont)
Add a nested container to this container.
int getHighestLodPrepared()
Definition: OgreTerrainLodManager.h:120
@ SPC_TEXTURE_COORDINATE3
Definition: OgreShaderParameter.h:294
bool _areRenderStateChangesSuppressed(void) const
Are render state changes suppressed?
Definition: OgreSceneManager.h:3335
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreRingEmitterFactory.h:55
virtual ~PageContentFactory()
Definition: OgrePageContentFactory.h:54
bool projectSphere(const Sphere &sphere, Real *left, Real *top, Real *right, Real *bottom) const
Project a sphere onto the near plane and get the bounding rectangle.
virtual void setEnclosureNode(PCZSceneNode *)=0
Set the enclosure node for this PCZone.
StringInterface()
Definition: OgreStringInterface.h:205
void setNumVertexAttributes(ushort num)
Definition: OgreRenderSystemCapabilities.h:457
bool isMoved(void)
Definition: OgrePCZSceneNode.h:102
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
@ CE_NUMBEREXPECTED
Definition: OgreScriptCompiler.h:195
bool _isIn(AxisAlignedBox &box)
Determines if the center of this node is within the given box.
void addResourceGroupListener(ResourceGroupListener *l)
Adds a ResourceGroupListener which will be called back during resource loading events.
void setSkyZone(PCZone *zone)
Set the zone which contains the sky node.
void closeGaps(BindingIndexMap &bindingIndexMap)
Remove any gaps in the bindings.
@ GPV_PER_OBJECT
Varies per object (based on an auto param usually), but not per light setup.
Definition: OgreGpuProgramParams.h:128
void createDummyScene()
Creates dummy scene to allow rendering GUI in viewport.
@ GPU_WEBKIT
WebGL on WebKit/Chrome base browser.
Definition: OgreRenderSystemCapabilities.h:273
~PCPlane()
Standard destructor.
IteratorType iterator
Typedef to fulfill container interface.
Definition: OgreIteratorWrapper.h:74
@ PROP_QUATERNION
Definition: OgreProperty.h:122
HardwareBuffer * pBuf
Definition: OgreHardwareBuffer.h:436
SubRenderStateFactory()
Definition: OgreShaderSubRenderState.h:231
bool hasGpuProgram(GpuProgramType programType) const
Definition: OgreGLES2RenderToVertexBuffer.h:45
@ CULL_NONE
Hardware never culls triangles and renders everything it receives.
Definition: OgreCommon.h:162
Vector3 position
Position at which the intersection occurred.
Definition: OgreTerrainGroup.h:398
int mNumNodes
Definition: OgreQuake3Level.h:132
bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
void destroyAnimation(const String &name)
Destroys an Animation.
DXGI_FORMAT getFormat() const
bool mouseWheelRolled(const MouseWheelEvent &evt)
int brush_count
Definition: OgreQuake3Types.h:177
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
Sets the comparison function for the depth buffer check.
WireBoundingBox * mWireBoundingBox
Definition: OgreOctree.h:92
size_t getTextureAliasCount(void) const
Definition: OgreSubMesh.h:204
void setTextureCoordSet(unsigned int set)
Sets which texture coordinate set is to be used for this texture layer.
void writeUniformParameter(std::ostream &os, const UniformParameterPtr ¶meter)
Write a uniform parameter.
ACDataType
Defines the type of the extra data item used by the auto constant.
Definition: OgreGpuProgramParams.h:1221
Quaternion(const Matrix3 &rot)
Construct a quaternion from a rotation matrix.
Definition: OgreQuaternion.h:76
std::set< const MovableObject * > IntersectingObjectSet
Definition: OgreBspNode.h:152
uint16 getXOffset() const
Get the horizontal offset into the main terrain data of this node.
Definition: OgreTerrainQuadTreeNode.h:97
@ VET_USHORT2
Definition: OgreHardwareVertexBuffer.h:143
virtual ~GLRenderSystemCommon()
Definition: OgreGLRenderSystemCommon.h:89
size_t skipLine(const String &delim="\n")
Skip a single line from the stream.
Definition: OgreComPtr.h:185
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:54
@ SHADER_SKY
Definition: OgreQuake3Types.h:89
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:54
virtual void scriptParseStarted(const String &scriptName, bool &skipThisScript)
This event is fired when a script is about to be parsed.
Definition: OgreResourceGroupManager.h:124
#define OGRE_APPEND_DEBUG_STRING(_Expression)
Definition: OgreIdString.h:42
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
MovableObject * getMovableObject(const String &name, const String &typeName) const
Get a reference to a previously created MovableObject.
void setPortal(PortalBase *o)
Sets the Portal that was used to create this plane.
Definition: OgrePCPlane.h:79
void setIterationDepthBias(float biasPerIteration)
Sets a factor which derives an additional depth bias from the number of times a pass is iterated.
void setBlendFunc(GLenum source, GLenum dest, GLenum sourceA, GLenum destA)
Set the blend function for RGB and alpha separately.
void _setTop(Real top)
Sets the top of this element in relation to the screen (where 1.0 = screen width)
String getName() const
See ParticleEmitterFactory.
Definition: OgreHollowEllipsoidEmitterFactory.h:49
void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Bind Gpu program parameters.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
virtual void setMaterial(const MaterialPtr &material)
Sets the name of the material to be used for this billboard set.
STL compatible wrapper for AlignedMemory.
Definition: OgreAlignedAllocator.h:104
Entity * createEntity(const String &entityName, PrefabType ptype)
Create an Entity (instance of a discrete mesh) from a range of prefab shapes.
const D3D11_SIGNATURE_PARAMETER_DESC & getOutputParamDesc(unsigned int index) const
@ ID_TESSELLATION_HULL_PROGRAM
Definition: OgreScriptCompiler.h:851
ScriptCompilerListener * getListener()
Returns the currently set listener.
void copyFromFramebuffer(uint32 zoffset)
Copy from framebuffer.
virtual RenderTarget * detachRenderTarget(const String &name)
Detaches the render target with the passed name from the render system and returns a pointer to it.
@ FINGERDOWN
Definition: OgreInput.h:39
void setConfigPaths(const Ogre::StringVector &paths)
Definition: OgreFileSystemLayer.h:114
bool getAutoUpdate(void) const
Return the auto update state of this billboard set.
Definition: OgreBillboardSet.h:816
void removeAllTextureAliases(void)
virtual void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)
Update parameters for the given terrain composite map using the active profile.
Definition: OgreTerrainMaterialGenerator.h:359
@ GPV_PASS_ITERATION_NUMBER
Varies with pass iteration number.
Definition: OgreGpuProgramParams.h:132
virtual Grid2DPageStrategyData * getGridStrategyData() const
Convenience method - this section always uses a grid strategy.
SphereSceneQuery * createSphereQuery(const Sphere &sphere, uint32 mask=0xFFFFFFFF)
Creates a SphereSceneQuery for this scene manager.
bool getTransparencyCastsShadows(void) const
Returns whether or not objects using this material be classified as opaque to the shadow caster syste...
Definition: OgreMaterial.h:190
static String toString(int32 val)
Definition: OgreStringConverter.h:65
@ SHADER_DEPTHWRITE
Definition: OgreQuake3Types.h:88
Real distance
Distance to swap the Lod.
Definition: OgreLodConfig.h:91
void setThreadGroups(Vector3i g)
Definition: OgreCompositionPass.h:327
static Quake3ShaderManager & getSingleton(void)
Get the singleton instance.
Plane(const Vector3 &p0, const Vector3 &p1, const Vector3 &p2)
Definition: OgrePlane.h:86
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
@ ET_ROTATE
Constant rotation.
Definition: OgreTextureUnitState.h:259
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
const OctreeNode * getChild(const size_t i) const
Gets an octree child.
Definition: OgreVolumeOctreeNode.h:194
virtual void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)
(recursive) Check the given light against all portals in the zone
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
@ GCT_SAMPLERRECT
Definition: OgreGpuProgramParams.h:77
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
bool isClosed
Flag indicate the mesh is manifold.
Definition: OgreEdgeListBuilder.h:133
void setListener(MeshSerializerListener *listener)
Sets the listener for this serializer.
SharedPtr< Y > dynamicCast() const
Definition: OgreSharedPtr.h:83
@ VECTOR3
Definition: OgreAnimable.h:80
ManualObjectFactory()
Definition: OgreManualObject.h:583
NormalMapSpace
Normal map space definition.
Definition: OgreShaderExNormalMapLighting.h:97
@ RENDER_QUEUE_1
Definition: OgreRenderQueue.h:59
bool getLightClipPlanesEnabled() const
Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the l...
Definition: OgrePass.h:1558
bool getNormaliseNormalsOnScale() const
Get whether to automatically normalise normals on objects whenever they are scaled.
Definition: OgreSceneManager.h:3280
void disableProfile(const String &profileName)
Disables a profile.
float getPointAttenuationQuadratic(void) const
Returns the quadratic coefficient of point attenuation.
Definition: OgrePass.h:469
std::ostream & operator<<(std::ostream &o, const TRect< T > &r)
Definition: OgreCommon.h:680
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:62
void hideBackdrop()
Definition: OgreTrays.h:795
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables)
void _markBuffersUsedForAnimation(void)
Mark all vertex data as animated.
virtual ushort getIndex(Real value, const Mesh::MeshLodUsageList &meshLodUsageList) const
Get the index of the LOD usage which applies to a given value.
QueryTypeMask
Definition: OgreSceneManager.h:161
virtual void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this skeleton.
Vector3 operator*(Real t) const
Gets the position of a point t units along the ray.
Definition: OgreRay.h:71
void _setTexturePtr(const TexturePtr &texptr)
Set the texture pointer for the current frame (internal use only!).
void setAmbient(float red, float green, float blue)
Sets the ambient colour reflectance properties for every Pass in every Technique.
ushort getLodIndex(Real value) const
Retrieves the level of detail index for the given LOD value.
virtual ~LodCollapser()
Definition: OgreLodCollapser.h:48
void writeSourceCode(std::ostream &os, const String &targetLanguage) const
Abstract method that writes a source code to the given output stream in the target shader language.
std::map< String, PropertyDef > PropertyDefMap
Map from property name to shared definition.
Definition: OgreProperty.h:188
SharedPtr< GpuProgram > GpuProgramPtr
Definition: OgrePrerequisites.h:282
T::value_type PairType
Unused, just to make it clear that map/set::value_type is not a ValueType.
Definition: OgreIteratorWrapper.h:263
virtual void bind(RenderTarget *target)
Bind a certain render target.
@ FFT_VS_MAIN
Definition: OgreShaderFunction.h:110
void _unregisterScriptLoader(ScriptLoader *su)
Internal method for unregistering a ScriptLoader.
float worstFPS
worst frames per second (FPS) since call to Root::startRendering
Definition: OgreRenderTarget.h:85
@ PORTAL_TYPE_QUAD
Definition: OgrePortalBase.h:51
const OverlayElement * getSourceTemplate() const
Returns the SourceTemplate for this element.
Definition: OgreOverlayElement.h:477
virtual void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this entity will be rendered through.
const String & getValue() const
Returns a string value depending on the type of the AbstractNode.
Definition: OgreScriptCompiler.h:154
void setInitialized()
Definition: OgreGLContext.h:60
virtual uint32 getStrategyId()=0
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
@ SPC_LIGHTPOSITION_OBJECT_SPACE4
Definition: OgreShaderParameter.h:214
void _calcBoundsFromVertexBuffer(VertexData *vertexData, AxisAlignedBox &outAABB, Real &outRadius, bool updateOnly=false)
Calculates.
virtual void write(const Ray *ray, size_t count=1)
GLSL target language writer implementation.
Definition: OgreShaderGLSLProgramWriter.h:52
void setProjectionType(ProjectionType pt)
Sets the type of projection to use (orthographic or perspective).
SectionIterator getSectionIterator(void)
void setUseBaseKeyFrame(bool useBaseKeyFrame, Real keyframeTime=0.0f, const String &baseAnimName=BLANKSTRING)
Sets a base keyframe which for the skeletal / pose keyframes in this animation.
void setReceiveShadows(bool enabled)
Sets whether objects using this material will receive shadows.
Definition: OgreMaterial.h:176
IDirect3DSurface9 * getSurface(IDirect3DDevice9 *d3d9Device)
Accessor for surface.
IncludeOrExclude includeOrExclude
Definition: OgreTechnique.h:136
void declareResource(const String &name, const String &resourceType, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, const NameValuePairList &loadParameters=NameValuePairList())
Declares a resource to be a part of a resource group, allowing you to load and unload it as part of t...
void serialize(const Vector3 &from, const Vector3 &to, float voxelWidth, Real maxClampedAbsoluteDensity, const String &file)
Same as the other serialize function but with a user definable maximum absolute density value.
ParticleSystem * createParticleSystem(size_t quota=500, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Create a blank particle system with a generated name.
void _updateAnimation(void)
Advanced method to perform all the updates required for an animated entity.
String doGet(const void *target) const
Plugin instance for D3D9 Manager.
Definition: OgreD3D9Plugin.h:39
@ SPC_POSITION_LIGHT_SPACE3
Definition: OgreShaderParameter.h:99
String mName
Definition: OgreScriptCompiler.h:484
PagedWorld * loadWorld(const DataStreamPtr &stream, const String &name=BLANKSTRING)
Load a new PagedWorld from a stream.
virtual void triangleChanged(LodData *data, LodData::Triangle *tri)
Definition: OgreLodOutputProvider.h:47
virtual ID3D11RenderTargetView * getRenderTargetView(uint index=0) const
std::deque< T > type
Definition: OgrePrerequisites.h:332
String doGet(const void *target) const
GpuProgramParametersPtr GpuProgramParametersSharedPtr
Definition: OgrePrerequisites.h:287
void _disableTextureUnit(size_t texUnit)
Turns off a texture unit.
const_reference operator[](size_type n) const
Definition: OgreCommon.h:442
virtual const ColourValue & getColour(void) const
Gets the colour of particles to be emitted.
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
void exportMesh(const Mesh *pMesh, const String &filename, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in the latest format.
void setWorldResourceGroupName(const String &groupName)
Sets the resource group that 'world' resources will use.
Definition: OgreResourceGroupManager.h:836
@ SPC_POSTOLIGHT_WORLD_SPACE3
Definition: OgreShaderParameter.h:143
static const IdString UvCount
Definition: OgreHlmsPropertyHelper.h:56
FunctionType
Definition: OgreShaderFunction.h:108
VectorImpl::const_iterator const_iterator
Definition: OgreCommon.h:401
void destroyDummyScene()
Destroys dummy scene.
Command object for setting the width of a space.
Definition: OgreTextAreaOverlayElement.h:159
bool getGlobalColourMapEnabled() const
Get whether a global colour map is enabled on this terrain.
Definition: OgreTerrain.h:1387
virtual bool getSuppressRenderStateChanges(void) const
Gets whether shadows are suppressed when invoking this queue.
Definition: OgreRenderQueueInvocation.h:145
void _cursorPressed(const Ogre::Vector2 &cursorPos)
virtual ~ProfileSessionListener()
Definition: OgreProfiler.h:204
static void unpackColour(ColourValue *colour, PixelFormat pf, const void *src)
Unpack a colour value from memory.
Image & loadRawData(const DataStreamPtr &stream, uint32 width, uint32 height, uint32 depth, PixelFormat format, size_t numFaces=1, uint32 numMipMaps=0)
Loads raw data from a stream.
static D3D9ResourceManager * getResourceManager()
virtual void defineTerrain(long x, long y)
Define a 'slot' in the terrain grid - in this case to be loaded from a generated file name.
void clearAffectedZones(void)
Clear the affectedZonesList.
static _OgreSTBICodecExport void shutdown(void)
Static method to shutdown and unregister the codecs.
const Vector4 getCameraRelativePosition(void) const
Camera * getCamera(void) const
Retrieves a pointer to the camera for this viewport.
DebugRenderable * getDebugRenderable(Real scaling)
Get a debug renderable for rendering the Node.
void removeAllAffectors(void)
Removes all the affectors from this system.
static void convertColourValue(VertexElementType srcType, VertexElementType dstType, uint32 *ptr)
Utility method for converting colour from one packed 32-bit colour type to another.
static MeshLodGenerator & getSingleton()
String doGet(const void *target) const
virtual void initialise(void)
Initialise.
uint32 offset
Location of the chunk (header) in bytes from the start of a stream (derived)
Definition: OgreStreamSerialiser.h:101
void remove(const ResourcePtr &r)
Remove a single resource.
virtual bool isClosed(void) const =0
Indicates whether the window has been closed by the user.
@ PORTAL_TYPE_AABB
Definition: OgrePortalBase.h:52
RenderTexture * getRenderTarget(size_t)
Get a render target for this PixelBuffer, or a slice of it.
DefaultHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
std::vector< MovableObject * > ObjectMap
Definition: OgreSceneNode.h:61
bool operator<(const Radian &r) const
Definition: OgreMath.h:89
virtual MaterialPtr generate(const Terrain *terrain)=0
Generate / reuse a material for the terrain.
PolygonMode getPolygonMode(void) const
Retrieves the level of detail that the camera will render.
BillboardChain * createBillboardChain(const String &name)
Create a BillboardChain, an object which you can use to render a linked chain of billboards.
Controller< Real > * createTextureWaveTransformer(TextureUnitState *layer, TextureUnitState::TextureTransformType ttype, WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1)
Creates a very flexible time-based texture transformation which can alter the scale,...
UniqueVertexSet mUniqueVertexSet
Provides position based vertex lookup. Position is the real identifier of a vertex.
Definition: OgreLodData.h:150
uint getGLID() const
Definition: OgreGLTextureCommon.h:48
std::vector< T > VectorImpl
Definition: OgreCommon.h:374
@ TT_TRANSLATE_V
Definition: OgreTextureUnitState.h:284
const Affine3 & getViewMatrix(void) const
Gets the view matrix for this frustum.
Defines a generic resource handler.
Definition: OgreResourceManager.h:102
void setRenderSystem(RenderSystem *system)
Sets the rendering subsystem to be used.
@ RSC_TWO_SIDED_STENCIL
Supports separate stencil updates for both front and back faces.
Definition: OgreRenderSystemCapabilities.h:108
String doGet(const void *target) const
void doSet(void *target, const String &val)
void setSize(Real x, Real y, Real z)
Sets the size of the area from which particles are emitted.
GpuProgramParametersSharedPtr getTessellationHullProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool isUsingShader(GLSLShaderCommon *shader) const
query if the program is using the given shader
Definition: OgreGLSLProgramCommon.h:77
void define(const Frustum &frustum)
Build a new polygon representation from a frustum.
Specialisation of PageStrategyData for Grid2DPageStrategy.
Definition: OgreGrid2DPageStrategy.h:118
uint32 getIdentifier() const
Get the identifier for this pass.
const char * chars
Definition: OgreInput.h:81
int mNumBrushSides
Definition: OgreQuake3Level.h:161
ParticleSystem * getTemplate(const String &name)
Retrieves a particle system template for possible modification.
PORTAL_TYPE
Definition: OgrePortalBase.h:50
SceneObjAllocatedObject SubEntityAlloc
Definition: OgreMemoryAllocatorConfig.h:148
void linkRenderWindow(D3D9RenderWindow *renderWindow)
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgrePass.h:1642
void setUpdateDisplayFrequency(uint freq)
Sets the Profiler so the display of results are updated every n frames.
const ColourValue & getDiffuseColour(void) const
Returns the colour of the diffuse light given off by this light source (see setDiffuseColour for more...
DualGridGenerator * dualGridGenerator
The DualGridGenerator to use.
Definition: OgreVolumeChunkHandler.h:71
virtual Real getEmissionRate(void) const
Returns the emission rate set for this emitter.
Radian & operator+=(const Radian &r)
Definition: OgreMath.h:76
void setCommonProperties()
Inserts common properties about the current Renderable, such as hlms_skeleton hlms_uv_count,...
void getWorldTransforms(Matrix4 *xform) const override
Gets the world transform matrix / matrices for this renderable object.
void convertUVToImageSpace(Real x, Real y, size_t *outX, size_t *outY)
Convert local space values (0,1) to image space (0, imageSize).
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
Real mWidth
Personal width if mOwnDimensions == true.
Definition: OgreParticle.h:78
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLCopyingRenderTexture.h:47
Colour sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPColour.h:48
void _handleLodEvents()
Handle LOD events.
@ SHADER_NOMIPMAPS
Definition: OgreQuake3Types.h:90
virtual bool getRequestsAccepted() const
Returns whether requests are being accepted right now.
@ LB_BlendPinLight
Definition: OgreShaderExLayeredBlending.h:71
virtual void setParticleVelocity(Real min, Real max)
Sets the initial velocity range of particles emitted.
@ SPC_LIGHTPOSITIONVIEW_SPACE2
Definition: OgreShaderParameter.h:232
void save(StreamSerialiser &stream)
Save world data to a serialiser.
virtual ~RenderObjectListener()
Definition: OgreRenderObjectListener.h:46
void _defragmentBatch(bool optimizeCulling, InstancedEntityVec &usedEntities, CustomParamsVec &usedParams)
String doGet(const void *target) const
void _updateFromShadow(void)
See HardwareBuffer.
SharedPtr< D3D9GpuProgram > D3D9GpuProgramPtr
Definition: OgreD3D9Prerequisites.h:97
virtual void setZoneGeometry(const String &zoneName, PCZSceneNode *parentNode, const String &filename)
Set the "main" geometry of the zone.
#define OGRE_AUTO_MUTEX
Definition: OgreThreadDefinesBoost.h:66
Command object for inner size (see ParamCommand).
Definition: OgreRingEmitter.h:59
Bone(unsigned short handle, Skeleton *creator)
Constructor, not to be used directly (use Bone::createChild or Skeleton::createBone)
virtual void sceneManagerDestroyed(SceneManager *source)
Event notifying the listener of the SceneManager's destruction.
Definition: OgreSceneManager.h:367
void uninstall()
Perform the final plugin uninstallation sequence.
Definition: OgrePixelCountLodStrategy.h:81
bool isTransparent(void) const
Returns whether this panel is transparent.
@ PF_R8G8B8_SINT
24-bit pixel format, 8 bits red (signed int), 8 bits blue (signed int), 8 bits green (signed int).
Definition: OgrePixelFormat.h:174
const String & getName() const
Definition: OgrePageStrategy.h:87
link between a renderwindow and a platform specific window
Definition: OgreApplicationContextBase.h:76
static D3DTEXTUREADDRESS get(TextureAddressingMode tam, const D3DCAPS9 &devCaps)
return a D3D9 equivalent for a Ogre TextureAddressingMode value
void manualStop()
Manually stops the camera when in free-look mode.
StringVector getMultiSetting(const String &key, const String §ion=BLANKSTRING) const
Gets all settings from the file with the named key.
virtual VertexMorphKeyFrame * createVertexMorphKeyFrame(Real timePos)
Creates a new morph KeyFrame and adds it to this animation at the given time index.
size_t outUniqueVertexCount
This is set by ProgressiveMeshGenerator::build() function.
Definition: OgreLodConfig.h:120
static String Type
The type.
Definition: OgreShaderFFPAlphaTest.h:73
Real getBoundsPaddingFactor(void)
Gets the factor by which the bounding box of an entity is padded.
const String & getName() const
Get the name of the plugin.
void setCompositeMapSize(uint16 sz)
Sets the default size of composite maps for a new terrain.
Definition: OgreTerrain.h:2056
void setNamedConstant(const String &name, const Vector4 &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
D3D11TextureManager(D3D11Device &device)
GeneralAllocatedObject LogAlloc
Definition: OgreMemoryAllocatorConfig.h:128
Abstract class defining the interface all renderable objects must implement.
Definition: OgreRenderable.h:64
Wrapper class which indicates a given angle value is in Radians.
Definition: OgreMath.h:58
void addListener(LogListener *listener)
virtual void triangleChanged(LodData *data, LodData::Triangle *tri)
@ GCT_INT2
Definition: OgreGpuProgramParams.h:92
virtual Viewport * addViewport(Camera *cam, int ZOrder=0, float left=0.0f, float top=0.0f, float width=1.0f, float height=1.0f)
Adds a viewport to the rendering target.
static const IdString BonesPerVertex
Definition: OgreHlmsPropertyHelper.h:47
Out(UniformParameterPtr p)
Definition: OgreShaderFunctionAtom.h:178
Factory class for GLSL shaders.
Definition: OgreGLSLShaderFactory.h:42
void _injectRenderWithPass(Pass *pass, Renderable *rend, bool shadowDerivation=true, bool doLightIteration=false, const LightList *manualLightList=0)
Render something as if it came from the current queue.
virtual bool isVisible(const Sphere &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
VertexElementType getColourVertexElementType(void) const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
bool hasManualLodLevel(void) const
Returns true if this mesh has a manual LOD level.
Definition: OgreMesh.h:504
virtual bool createCpuSubPrograms(ProgramSet *programSet)
virtual void insertListener(RenderTargetListener *listener, const unsigned int pos=0)
same as addListener, but force the position in the vector, so we can control the call order
void calcDirectionAndRadius() const
Calculate the local direction and radius of the portal.
Specialisation of HardwareVertexBuffer for D3D11.
Definition: OgreD3D11HardwareVertexBuffer.h:38
virtual SortMode _getSortMode(void) const =0
Gets the desired particles sort mode of this renderer.
Definition: OgreGLPBRenderTexture.h:40
@ RSC_STENCIL_WRAP
Supports wrapping the stencil value at the range extremeties.
Definition: OgreRenderSystemCapabilities.h:110
String materialScheme
Which material scheme this op will use.
Definition: OgreCompositorInstance.h:164
BillboardType getBillboardType(void) const
Returns the billboard type in use.
const String & getName() const
Get the name of the plugin.
virtual int getNumBillboards(void) const
Returns the number of active billboards which currently make up this set.
virtual void setListener(Listener *l)
Set a listener for this track.
Definition: OgreAnimationTrack.h:239
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
D3D9HardwarePixelBuffer(HardwareBuffer::Usage usage, D3D9Texture *ownerTexture)
void freeAllBuffers()
Free any buffers we're holding.
A node in a quad tree used to store a patch of terrain.
Definition: OgreTerrainQuadTreeNode.h:81
@ RSC_PBUFFER
Support for PBuffer.
Definition: OgreRenderSystemCapabilities.h:206
void setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias to be used for each Pass.
virtual void setCellSize(const Vector3 &sz)
Set the size of the cells in the grid.
void destroyAnimationState(const String &name)
Destroys an AnimationState.
virtual ~PortalBase()
Destructor.
bool intersects(const AxisAlignedBox &b2) const
Returns whether or not this box intersects another.
Definition: OgreAxisAlignedBox.h:527
void storeEdges(EdgeMap *edgeMap) const
Stores the edges of the polygon in ccw order.
ZoneData(PCZSceneNode *, PCZone *)
Standard Constructor.
NameValuePairList parameters
Definition: OgreResourceGroupManager.h:266
virtual void preViewportUpdate(const RenderTargetViewportEvent &evt)
Called just before a Viewport on a RenderTarget is to be updated.
Definition: OgreRenderTargetListener.h:120
const String & getName() const
Get the name of the plugin.
void setMaterialAmbient(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
@ LBX_ADD_SIGNED
as LBX_ADD, but subtract 0.5 from the result
Definition: OgreBlendMode.h:89
static String FACTORY_TYPE_NAME
Definition: OgrePortal.h:87
virtual void registerVertexBufferSourceAndCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, const HardwareVertexBufferSharedPtr ©)
Registers a vertex buffer as a copy of another.
Alternative listener class for dealing with IntersectionSceneQuery.
Definition: OgreSceneQuery.h:456
const Affine3 & getViewMatrix(void) const
Gets the view matrix for this frustum.
A factory that enables creation of HardwareSkinning instances.
Definition: OgreShaderExHardwareSkinning.h:181
virtual bool postCreateGpuPrograms(ProgramSet *programSet)=0
Called after creation of the GPU programs.
virtual bool hasLight(const String &name) const
Returns whether a light with the given name exists.
void FromEulerAnglesZXY(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
IndexRemapList indexesRemapped
A list of indexes which were affected by splits.
Definition: OgreTangentSpaceCalc.h:83
@ ID_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:583
BspSceneNode(SceneManager *creator)
Definition: OgreBspSceneNode.h:60
virtual void setPaused(bool pause)
Set whether to pause further processing of any requests.
@ SM_None
Definition: OgreShaderExLayeredBlending.h:85
virtual bool hasOption(const String &strKey) const
Method for verifying whether the scene manager has an implementation-specific option.
Definition: OgreSceneManager.h:1776
virtual void bindSurface(size_t attachment, RenderTexture *target)
Bind a surface to a certain attachment point.
void _updatePCZSceneNode(PCZSceneNode *)
Checks the given SceneNode, and determines if it needs to be moved to a different PCZone or be added ...
Page strategy which loads new pages based on a regular 2D grid.
Definition: OgreGrid2DPageStrategy.h:229
GLenum getDepthFunc(void) const
Gets the current depth test function.
Definition: OgreGLStateCacheManager.h:149
@ D3D_CORRUPTION
Definition: OgreD3D11Device.h:92
const String & _getDerivedResourceGroup() const
Get the final resource group to use when loading / saving.
virtual void setRepeatDelay(Real duration)
Sets the time between repeats of the emitter.
@ MSE_WRITE_END
Definition: OgreMaterialSerializer.h:55
void freeEdgeList(void)
Destroys and frees the edge lists this mesh has built.
virtual void setCellRangeMaxY(int32 maxY)
Set the index range of all cells (values outside this will be ignored)
BlendMode blendMode
Definition: OgreShaderExLayeredBlending.h:98
std::vector< DepthBuffer * > DepthBufferVec
Definition: OgreRenderSystem.h:53
virtual void clearScene(void)
Empties the entire scene, inluding all SceneNodes, Entities, Lights, BillboardSets etc.
void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 mask)
Bind Gpu program parameters.
float getBlueAdjust2(void) const
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:67
void addCamera(Camera *c)
Tells the paging system to start tracking a given camera.
bool operator!=(const SmallVectorImpl &RHS) const
Definition: OgreSmallVector.h:566
void loadDirect(const String &filename, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (not using resource group locations)
void setRenderQueueGroupAndPriority(uint8 queueID, ushort priority)
Sets the render queue group and group priority this SubEntity will be rendered through.
virtual void setWorkerThreadCount(size_t c)
Set the number of worker threads that this queue will start when startup() is called (default 1).
CreateGpuSharedParametersScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:549
@ HBL_DISCARD
Discards the entire buffer while locking.
Definition: OgreHardwareBuffer.h:157
Builds the intersection between two sources.
Definition: OgreVolumeCSGSource.h:225
~PortalFactory()
Definition: OgrePortal.h:85
void bind(RenderTarget *target)
Bind a certain render target if it is a FBO.
Renderable * _getRenderable()
Returns the internal renderable object for this node.
GL ES-specific implementation of a TextureManager.
Definition: OgreGLES2TextureManager.h:40
@ EXTENT_FINITE
Definition: OgreAxisAlignedBox.h:61
virtual bool getManualBonesDirty(void) const
Have manual bones been modified since the skeleton was last updated?
Definition: OgreSkeleton.h:362
virtual void _endUpdate()
Method for manual management of rendering - finishes statistics calculation and fires 'postRenderTarg...
Capsule(const Segment &, Real)
@ ID_DOT_PRODUCT
Definition: OgreScriptCompiler.h:747
void install()
Perform the plugin initial installation sequence.
void destroyInactiveRenderDevices()
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
virtual const AxisAlignedBox & getLightCapBounds(void) const =0
Gets the world space bounding box of the light cap.
@ RSC_WIDE_LINES
Supports linewidth != 1.0.
Definition: OgreRenderSystemCapabilities.h:87
RenderQueueInvocation(uint8 renderQueueGroupID, const String &invocationName=BLANKSTRING)
Constructor.
void FromAxes(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis)
Definition: OgreMatrix3.h:119
static Vector3 calculateBasicFaceNormalWithoutNormalize(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal without normalize, no w-information.
Definition: OgreVector.h:895
virtual void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)=0
This method allows you to set all the stencil buffer parameters in one call.
void removeStrategy(PageStrategy *strategy)
Remove a PageStrategy implementation.
@ OR_DEGREE_270
Definition: OgreFrustum.h:53
Degree operator-() const
Definition: OgreMath.h:130
@ ACT_SURFACE_EMISSIVE_COLOUR
Surface emissive colour, as set in Pass::setSelfIllumination.
Definition: OgreGpuProgramParams.h:804
MapIterator< CameraList > CameraIterator
Definition: OgreSceneManager.h:2556
Image & combineTwoImagesAsRGBA(const Image &rgb, const Image &alpha, PixelFormat format=PF_BYTE_RGBA)
Utility method to combine 2 separate images into this one, with the first image source supplying the ...
Image & load(const String &filename, const String &groupName)
Loads an image file.
void getPoint(long x, long y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
Vector3 interpolate(unsigned int fromIndex, Real t) const
Interpolates a single segment of the spline given a parametric value.
void setLineWidth(float width)
set the line width for this pass
Definition: OgrePass.h:400
bool getSortingEnabled(void) const
Gets whether particles are sorted relative to the camera.
Definition: OgreParticleSystem.h:541
HlmsDatablock * getVertexDatablock()
Definition: OgreHlmsMaterialBase.h:50
std::vector< AutoConstantEntry > AutoConstantList
Definition: OgreGpuProgramParams.h:1296
std::multimap< K, V, P >::const_iterator const_iterator
Definition: OgrePrerequisites.h:377
bool watchForMax(const String &profileName)
Vector3 getViewUpVector() const
GpuBufferAllocator * getGpuBufferAllocator()
Get the current buffer allocator.
void translate(const Matrix3 &axes, const Vector3 &move, TransformSpace relativeTo=TS_PARENT)
Moves the node along arbitrary axes.
virtual RenderOperation build(const SubMesh *baseSubMesh)
Constructs all the data needed to use this batch, as well as the InstanceEntities.
void setPointSize(Real ps)
Sets the point size properties for every Pass in every Technique.
Factory for creating PanelOverlayElement instances.
Definition: OgreOverlayElementFactory.h:73
void clearNamedAutoConstant(const String &name)
Unbind an auto constant so that the constant is manually controlled again.
const ColourBlendState & getBlendState() const
Retrieves the complete blend state of this pass.
Definition: OgrePass.h:648
_OgreRTSSExport void operator<<(std::ostream &o, const HardwareSkinning::SkinningData &data)
@ KMOD_NUM
Definition: OgreInput.h:147
virtual const ColourValue & getInitialColour(size_t chainIndex) const
Get the starting ribbon colour.
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreEllipsoidEmitterFactory.h:55
VertexElementType getType(void) const
Gets the data format of this element.
Definition: OgreHardwareVertexBuffer.h:196
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Camera &c)
Function for outputting to a stream.
unsigned short getNumVertexTracks(void) const
Gets the number of VertexAnimationTrack objects contained in this animation.
String doGet(const void *target) const
virtual int getExecutionOrder() const
float getPixelRatio() const
@ CBT_BACK
Definition: OgreCommon.h:328
Interface definition for a factory class which produces a certain kind of MovableObject,...
Definition: OgreMovableObject.h:588
const String & getName() const
Definition: OgreSimplePageContentCollection.h:119
virtual void attachObject(MovableObject *obj)
Adds an instance of a scene object to this node.
Real getOverlayHeight() const
Definition: src/GLSL/include/OgreGLSLProgram.h:39
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
MapIterator< ParticleTemplateMap > ParticleSystemTemplateIterator
Definition: OgreParticleSystemManager.h:321
virtual void softwareVertexSkinning(const float *srcPosPtr, float *destPosPtr, const float *srcNormPtr, float *destNormPtr, const float *blendWeightPtr, const unsigned char *blendIndexPtr, const Affine3 *const *blendMatrices, size_t srcPosStride, size_t destPosStride, size_t srcNormStride, size_t destNormStride, size_t blendWeightStride, size_t blendIndexStride, size_t numWeightsPerVertex, size_t numVertices)=0
Performs software vertex skinning.
ColourValue getF0()
Definition: OgreHlmsPbsMaterial.h:168
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
static const Real TWO_PI
Definition: OgreMath.h:751
@ FT_MAG
The filter used when magnifying a texture.
Definition: OgreCommon.h:98
virtual void activate(void)=0
Makes a program object active by making sure it is linked and then putting it in use.
virtual void concatenateAffineMatrices(const Affine3 &baseMatrix, const Affine3 *srcMatrices, Affine3 *dstMatrices, size_t numMatrices)=0
Concatenate an affine matrix to an array of affine matrices.
virtual void setBillboardType(BillboardType bbt)
Sets the type of billboard to render.
GpuProgramParametersSharedPtr getComputeProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual Real getStartTime(void) const
Gets the start time of the emitter.
const Quaternion & getOrientationForViewUpdate(void) const
Get the derived orientation of this frustum.
void setHardwareSkinningParam(ushort boneCount, ushort weightCount, bool correctAntipodalityHandling=false, bool scalingShearingSupport=false)
void destroyWindow(const Ogre::String &name)
destroy and erase an NativeWindowPair by name
@ FRUSTUM_PLANE_RIGHT
Definition: OgreFrustum.h:75
void destroyMovableObject(MovableObject *m)
Destroys a MovableObject.
void destroyWidget(TrayLocation trayLoc, size_t place)
Definition: OgreTrays.h:992
void _unregisterContext(GLContext *context)
Unregister a render target->context mapping.
RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
bool getUseIdentityProjection(void) const
Returns whether or not to use an 'identity' projection.
Definition: OgreRenderable.h:169
Real value
Value used by to determine when this LOD applies.
Definition: OgreMesh.h:1021
virtual IntersectionSceneQuery * createIntersectionQuery(uint32 mask=0xFFFFFFFF)
Creates an IntersectionSceneQuery for this scene manager.
void _prepare(void)
Internal prepare method, derived from call to Material::prepare.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void setCurrentSceneManager(const SceneManager *sm)
Set the current scene manager for enquiring on demand.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
virtual void _findNodes(const Ray &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
@ TVC_EMISSIVE
Definition: OgreCommon.h:306
Particle emitter which emits particles randomly from points inside a ring (e.g.
Definition: OgreRingEmitter.h:54
#define OGRE_CAPS_VALUE(cat, val)
Definition: OgreRenderSystemCapabilities.h:48
GeometryAllocatedObject DebugGeomAlloc
Definition: OgreMemoryAllocatorConfig.h:121
Utility class providing helper methods for reading / writing structured data held in a DataStream.
Definition: OgreStreamSerialiser.h:68
const LightList * manualLightList
Manual light list.
Definition: OgreSceneManager.h:393
static void setGenerateAllConstantDefinitionArrayEntries(bool generateAll)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
size_t getNumTechniques()
Get the number of techniques.
bool mSuccess
Whether the work item succeeded or not.
Definition: OgreWorkQueue.h:128
Content
Shader parameter content.
Definition: OgreShaderParameter.h:79
void setGpuProgram(GpuProgramType type, const String &name, bool resetParams=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const ChildObjectList & getAttachedObjects() const
Gets an iterator to the list of objects attached to bones on this entity.
Definition: OgreEntity.h:592
ScaleControllerFunction(Real scalefactor, bool deltaInput)
const Camera * getCurrentCamera() const
Returns the current bounded camera.
void seek(size_t pos)
Repositions the read point to a specified byte.
void setSpecularColour(const ColourValue &colour)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Real z
Definition: OgreVector.h:270
~TextureSource(void)
Destructor.
virtual bool isActive() const
Used to retrieve or set the active state of the render target.
void setUseIdentityProjection(bool useIdentityProjection)
Sets whether or not to use an 'identity' projection.
Definition: OgreRenderable.h:155
virtual void displayResults(const ProfileInstance &instance, ulong maxTotalFrameTime)
bool isBorderTop(const OctreeNode &root) const
Gets whether this cell is at the top of the given root cell.
Definition: OgreVolumeOctreeNode.h:265
reference back()
Definition: OgreSmallVector.h:203
@ VES_POSITION
Position, 3 reals per vertex.
Definition: OgreHardwareVertexBuffer.h:91
virtual void setVertexTextureFetchRequired(bool r)
Sets whether this vertex program requires support for vertex texture fetch from the hardware.
Definition: OgreGpuProgram.h:327
void clearControllers(void)
Destroys all the controllers in existence.
String doGet(const void *target) const
Structure containing the configuration for one shadow texture.
Definition: OgreSceneManager.h:65
@ SKELETON_ANIMATION
Definition: OgreSkeletonFileFormat.h:79
void unload()
Unload - will be called in main thread.
@ SPC_POSTOLIGHT_WORLD_SPACE0
Light vector in world space index 0-7.
Definition: OgreShaderParameter.h:140
virtual ~RibbonTrail()
destructor
const GpuProgramPtr & getGpuProgram(GpuProgramType programType) const
Gets the Gpu program used by this pass, only available after _load()
TextureUnitState * createTextureUnitState(void)
This is an overloaded member function, provided for convenience. It differs from the above function o...
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
static LPCSTR get(VertexElementSemantic sem)
Get vertex semantic.
void addSceneManagerFactory(SceneManagerFactory *fact)
Register a new SceneManagerFactory, a factory object for creating instances of specific SceneManagers...
virtual void load(SceneNode *parent, SceneManager *sceneManager, const String &filename, bool validSourceResult=false, MeshBuilderCallback *lodCallback=0, const String &resourceGroup=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Loads a TextureSource volume scene from a config file.
const String & _getDefaultViewportMaterialScheme(void) const
Returns the default material scheme used by the render system.
VisibleSide
Definition: OgrePatchSurface.h:70
static void bswapBuffer(void *pData, size_t size)
Reverses byte order of buffer.
Definition: OgreBitwise.h:96
AnyNumeric & operator+=(const AnyNumeric &rhs)
Definition: OgreAny.h:349
@ TU_DYNAMIC_WRITE_ONLY_DISCARDABLE
same as HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Definition: OgreTexture.h:61
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:118
virtual ~DefaultZoneFactory()
virtual void windowResized(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:128
Specialisation of TextureManager for offline processing. Cannot be used with an active RenderSystem.
Definition: OgreTextureManager.h:443
void addRenderable(Renderable *pRend, uint8 groupID, ushort priority)
Add a renderable object to the queue.
virtual ~GL3PlusTextureManager()
PassIterator getPassIterator(void)
Get an iterator over the Passes in this TargetPass.
virtual PageContentCollection * createContentCollection(const String &typeName)
Create a new PageContentCollection within this page.
#define PBS_MAX_LIGHT_COUNT
Definition: OgreHlmsPbsMaterial.h:38
virtual void setActiveProfile(const String &name)
Set the active profile by name.
Definition: OgreTerrainMaterialGenerator.h:218
virtual ~D3D11StereoDriverAMD()
VertexElementType
Vertex element type, used to identify the base types of the vertex contents.
Definition: OgreHardwareVertexBuffer.h:120
const String & getDescription() const
Get the description of this profile.
Definition: OgreTerrainMaterialGenerator.h:183
void removeAllTerrains()
Remove all terrain instances.
virtual bool isStaticBufferLockable() const
Returns whether under the current render system buffers marked as TU_STATIC can be locked for update.
Definition: OgreRenderSystem.h:207
@ IM_USEONEWEIGHT
Use one weight per vertex when recommended (i.e.
Definition: OgreCommon.h:359
BillboardSet(const String &name, unsigned int poolSize=20, bool externalDataSource=false)
Usual constructor - this is called by the SceneManager.
void destroyAllParticleSystems(void)
Removes & destroys all ParticleSystems from the SceneManager.
void removeEmitter(ParticleEmitter *emitter)
Removes an emitter from the system.
_OgreGLExport GLNativeSupport * getGLSupport(int profile=GLNativeSupport::CONTEXT_CORE)
static CmdRotationRangeStart msRotationRangeStartCmd
Definition: OgreRotationAffector.h:116
const SharedPtr< ControllerValue< T > > & getDestination(void) const
Gets the output controller value.
Definition: OgreController.h:178
void swapBuffers()
Swap buffers - only useful when using multisample buffers.
ValueType peekNextValue() const
Returns the next(=current) value element in the collection, without advancing to the next.
Definition: OgreIteratorWrapper.h:284
AxisAlignedBox(const Vector3 &min, const Vector3 &max)
Definition: OgreAxisAlignedBox.h:107
virtual float getViewPointToPixelScale()
Many windowing systems that support HiDPI displays use special points to specify size of the windows ...
Definition: OgreRenderWindow.h:91
OGRE_RW_MUTEX(mNeighbourMutex)
ConstVectorIterator< TextureUnitStates > ConstTextureUnitStateIterator
Definition: OgrePass.h:564
int getActualTop(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
static bool solveNxNLinearSysDestr(int n, double **coeff, double *col)
Solves a full rank NxN linear system of equations.
int yrel
Definition: OgreInput.h:60
T * createSubRenderState()
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderGenerator.h:246
ScriptingAllocatedObject ScriptTranslatorAlloc
Definition: OgreMemoryAllocatorConfig.h:145
virtual const Vector3 & getOrigin(void) const
Gets the origin of this geometry.
Definition: OgreStaticGeometry.h:741
@ SPC_LIGHTDIRECTION_VIEW_SPACE4
Definition: OgreShaderParameter.h:194
bool _fireFrameStarted()
Method for raising frame started events.
std::map< String, PagedWorld * > WorldMap
Definition: OgrePageManager.h:179
WaveformType waveType
Definition: OgreTextureUnitState.h:318
InstanceBatchVTF(InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreUserObjectBindings.h:50
MemoryDataStream(size_t size, bool freeOnClose=true, bool readOnly=false)
Create a stream with a brand new empty memory chunk.
void setUseOriginPlane(bool yesno)
Tell the frustum whether or not to use the originplane.
Definition: OgrePCZFrustum.h:112
String name
Definition: OgreCompositionTechnique.h:65
HardwareAnimationDataList hwAnimationDataList
VertexElements used for hardware morph / pose animation.
Definition: OgreVertexIndexData.h:101
void updateFaceNormals(size_t vertexSet, const HardwareVertexBufferSharedPtr &positionBuffer)
Updates the face normals for this edge list based on (changed) position information,...
void init(const String &defaultZoneTypeName, const String &filename="none")
Initializes the manager.
@ SDLK_DELETE
Definition: OgreInput.h:97
~GLES2HardwareOcclusionQuery()
Object destructor.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
unsigned int getAdapterNumber() const
Definition: OgreD3D9Driver.h:58
BspSceneManagerFactory()
Definition: OgreBspSceneManager.h:270
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
Represents a Direct3D rendering resource.
Definition: OgreD3D11DeviceResource.h:40
virtual MovableObject * detachObject(unsigned short index)
Detaches the indexed object from this scene node.
bool isModified() const
Definition: OgrePage.h:189
Real getBoundingRadius(void) const
Overridden from MovableObject.
Definition: OgreMovablePlane.h:78
void setStateChange(Real NewValue)
EdgeData * getEdgeList() const
Definition: OgreStaticGeometry.h:376
@ G2D_Y_Z
Grid is in the Y/Z plane.
Definition: OgreGrid2DPageStrategy.h:54
void updateTriangleLightFacing(const Vector4 &lightPos)
Calculate the light facing state of the triangles in this edge list.
virtual void _setPointParameters(bool attenuationEnabled, Real minSize, Real maxSize)
Definition: OgreRenderSystem.h:488
virtual void setTrailLength(Real len)
Set the length of the trail.
void queueForExport(const MaterialPtr &pMat, bool clearQueued=false, bool exportDefaults=false, const String &materialName="")
Queue an in-memory Material to the internal buffer for export.
@ ID_COLOUR_VALUE
Definition: OgreScriptCompiler.h:830
void setComputeProgramParameters(GpuProgramParametersSharedPtr params)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Struct containing information about a frame event.
Definition: OgreFrameListener.h:45
static String toString(long val)
Definition: OgreStringConverter.h:69
virtual Light * getLight(const String &name) const
Returns a pointer to the named Light which has previously been added to the scene.
static IdType generateNewId()
Definition: OgreId.h:46
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer)
Override so we can attach the depth buffer to the FBO.
bool getShadowsEnabled(void) const
Get whether shadows are enabled in this target pass.
void doSet(void *target, const String &val)
void _setDepthBufferCheckEnabled(bool enabled=true)
Sets whether or not the depth buffer check is performed before a pixel write.
static const uint16 WORKQUEUE_LOAD_TERRAIN_PAGE_REQUEST
Definition: OgreTerrainPagedWorldSection.h:156
bool getVertexTextureUnitsShared(void) const
Get whether the vertex texture units are shared with the fragment processor.
Definition: OgreRenderSystemCapabilities.h:740
std::list< T >::iterator iterator
Definition: OgrePrerequisites.h:352
static D3D11_COMPARISON_FUNC get(CompareFunction cf)
return a D3D11 equivalent for a Ogre CompareFunction value
void setFPS(int iFPS)
Sets the frames per second - plugin may or may not use this.
Definition: OgreExternalTextureSource.h:119
RenderTarget * target
Target.
Definition: OgreCompositorInstance.h:129
@ FRUSTUM_PLANE_FAR
Definition: OgreFrustum.h:73
void setSkipAnimationStateUpdate(bool skip)
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:826
RenderQueueInvocation * add(uint8 renderQueueGroupID, const String &invocationName)
Add a standard invocation to the sequence.
Renderbuffer surface.
Definition: OgreGLHardwarePixelBuffer.h:100
A class that provides extra processing services on CPU based programs.
Definition: OgreShaderProgramProcessor.h:49
void deleteMatchingResources(const String &filePattern, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, const String &locationPattern=BLANKSTRING)
Delete all matching resource files.
bool getResetsEveryUpdate() const
Does this object reset its buffer each time it updates?
Definition: OgreRenderToVertexBuffer.h:93
std::vector< Real > LodValueList
distance list used to specify LOD
Definition: OgreMaterial.h:96
EdgeData * getEdgeList(void) override
Returns details of the edges which might be used to determine a silhouette.
static RenderSystemCapabilitiesManager & getSingleton(void)
Get the singleton instance.
bool getOverlaysEnabled(void) const
Returns whether or not Overlay objects (created in the SceneManager) are displayed in this viewport.
void blit(const PixelBox &src)
Blits a set of values into the entire map.
void setMaxPixelError(Real pixerr)
Set the maximum screen pixel error that should be allowed when rendering.
Definition: OgreTerrain.h:1954
void update(void)
Update data.
const AutoConstantEntry * _findRawAutoConstantEntryDouble(size_t physicalIndex) const
Finds an auto constant that's affecting a given physical position in the double-point buffer.
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLFBOMultiRenderTarget.h:44
String getDataType() const
Definition: OgreImageCodec.h:80
void setClearDepth(GLclampf depth)
Sets the clear depth in the range from [0..1].
Specialised KeyFrame which stores absolute vertex positions for a complete buffer,...
Definition: OgreKeyFrame.h:154
@ LB_BlendSubtract
Definition: OgreShaderExLayeredBlending.h:57
@ TAM_WRAP
Any value beyond 1.0 wraps back to 0.0. Texture is repeated.
Definition: OgreCommon.h:122
static PropertyType getTypeForValue(const Matrix4 &val)
Definition: OgreProperty.h:175
virtual void touch(void)
'Touches' the resource to indicate it has been used.
static OGRE_FORCE_INLINE unsigned int mostSignificantBitSet(unsigned int value)
Returns the most significant bit set in a value.
Definition: OgreBitwise.h:124
NameGenerator(const String &prefix)
Definition: OgreNameGenerator.h:56
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
TagPoint * createTagPointOnBone(Bone *bone, const Quaternion &offsetOrientation=Quaternion::IDENTITY, const Vector3 &offsetPosition=Vector3::ZERO)
Creates a TagPoint ready to be attached to a bone.
_OgreExport bool operator()(const Material *x, const Material *y) const
std::set< T, P > type
Definition: OgrePrerequisites.h:359
void getTerrainVectorAlign(const Vector3 &inVec, Alignment align, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on a specified alignment.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
const D3DADAPTER_IDENTIFIER9 & getAdapterIdentifier() const
Definition: OgreD3D9Driver.h:59
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
virtual void setCellRangeMinY(int32 minY)
Set the index range of all cells (values outside this will be ignored)
void execute(RaySceneQueryListener *listener)
See RayScenQuery.
@ TEXGEN_LIGHTMAP
Definition: OgreQuake3Types.h:128
virtual void _removePortal(Portal *removePortal)
Remove a portal from the zone.
void _addNode(PCZSceneNode *)
Adds an SceneNode to this Zone.
GLRenderToVertexBuffer()
C'tor.
Vector operator*(const Vector &b) const
Definition: OgreVector.h:716
@ ACT_INVERSE_WORLDVIEW_MATRIX
The current world & view matrices concatenated, then inverted.
Definition: OgreGpuProgramParams.h:754
Endian
The endianness of written files.
Definition: OgreSerializer.h:60
virtual bool getCullIndividually(void) const
Returns whether or not particles in this are tested individually for culling.
Real getInnerSizeX(void) const
Gets the x component of the area inside the ellipsoid which doesn't emit particles.
VectorImpl::difference_type difference_type
Definition: OgreCommon.h:399
CompareFunction getDepthFunction(void) const
Returns the function used to compare depth values when depth checking is on.
virtual void buttonHit(Button *button)
Definition: OgreTrays.h:91
HLSLProgramProcessor()
Class constructor.
virtual size_t getCurrentIndexCount() const
Get the number of indices in the section currently being defined (returns 0 if no section is in progr...
virtual void detachObject(MovableObject *obj)
Detaches an object by pointer.
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGLPixelFormat.h:39
static D3D11_MAP get(HardwareBuffer::LockOptions options, HardwareBuffer::Usage usage)
Get lock options.
@ VET_INT4
Definition: OgreHardwareVertexBuffer.h:149
uint32 getQueryFlags(void) const
Returns the query flags relevant for this object.
Definition: OgreMovableObject.h:414
Manages Font resources, parsing .fontdef files and generally organising them.
Definition: OgreFontManager.h:45
Implementation of a general purpose request / response style background work queue.
Definition: OgreDefaultWorkQueueStandard.h:39
ConstMapIterator< NumericTrackList > NumericTrackIterator
Definition: OgreAnimation.h:379
virtual void defineTerrain(long x, long y, const String &filename)
Define the content of a 'slot' in the terrain grid.
const String & getName() const
Get the name of the plugin.
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLES2FBORenderTexture.h:57
float getLightNumber(size_t index) const
Get the light which is 'index'th closest to the current object.
void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
Sets the mode of operation for depth buffer tests from this point onwards.
bool getEnabled() const
Gets whether this profiler is enabled.
bool isVisible(void) const
Returns whether or not this object is supposed to be visible or not.
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
Definition: OgreBorderPanelOverlayElement.h:337
void freeImportData()
Destroy temp import resources.
SceneCtlAllocatedObject ShadowDataAlloc
Definition: OgreMemoryAllocatorConfig.h:146
virtual StreamSerialiser * _writePageStream(PageID pageID)
Get a serialiser set up to write Page data for the given PageID.
void removeTechnique(size_t idx)
Remove a technique.
void cancelUpdate(Node *child)
Called by children to notify their parent that they no longer need an update.
Command object for cull_each (see ParamCommand).
Definition: OgreParticleSystem.h:92
void setInputName(const String &sIN)
Sets an input file name - if needed by plugin.
Definition: OgreExternalTextureSource.h:115
virtual Terrain::ImportData & getDefaultImportSettings()
Retrieve a shared structure which will provide the base settings for all terrains created via this gr...
Definition: OgreTerrainGroup.h:109
virtual ~D3D11RenderTarget()
Definition: OgreD3D11RenderTarget.h:11
Real getMaxPixelError() const
Get the maximum screen pixel error that should be allowed when rendering.
Definition: OgreTerrain.h:1947
This abstract node represents an import statement.
Definition: OgreScriptCompiler.h:159
const SceneManagerMetaData * getSceneManagerMetaData(const String &typeName) const
Get more information about a given type of SceneManager.
Real mTimeToLive
Time to live, number of seconds left of particles natural life.
Definition: OgreParticle.h:92
~DefaultHardwareVertexBuffer()
int mNumFaces
Definition: OgreQuake3Level.h:144
A very simple spline class which implements the Catmull-Rom class of splines.
Definition: OgreSimpleSpline.h:57
const GpuLogicalBufferStructPtr & getIntLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1655
virtual ~EmbeddedZipArchiveFactory()
virtual void viewportAdded(const RenderTargetViewportEvent &evt)
Called to notify listener that a Viewport has been added to the target in question.
Definition: OgreRenderTargetListener.h:134
Controller< Real > * controller
Definition: OgreTextureUnitState.h:323
Command object for specifying tiling (see ParamCommand).
Definition: OgrePanelOverlayElement.h:112
void generateConstantDefinitionArrayEntries(const String ¶mName, const GpuConstantDefinition &baseDef)
virtual bool isStereoEnabled(const String &renderWindowName)
void setSize(uint16 newSize)
Set the size of terrain in vertices along one side.
bool _fireFrameRenderingQueued(FrameEvent &evt)
Method for raising frame rendering queued events.
short int16
Definition: OgrePlatform.h:258
const String & getType(void) const
Get the type of the object to be created.
Definition: OgreSPIRVShaderFactory.h:51
String toString() const
Returns the parameter name and the usage mask like this 'color.xyz'.
void destroyInstancedEntity(InstancedEntity *instancedEntity)
Removes an InstancedEntity,.
virtual void setCellRangeMaxY(int32 maxY)
Set the index range of all cells (values outside this will be ignored)
void _finishSwitchingFullscreen()
Indicate that fullscreen / windowed switching has finished.
Vector3 position
Definition: OgreStaticGeometry.h:175
bool hasSceneManager(const String &instanceName) const
Identify if a SceneManager instance already exists.
CG Language program processor class.
Definition: OgreShaderHLSLProgramProcessor.h:47
@ GPV_ALL
Full mask (16-bit)
Definition: OgreGpuProgramParams.h:136
bool getStencilTwoSidedOperation() const
Get two sided stencil operation.
Ogre::Real getProgress()
Gets the progress as a percentage.
Definition: OgreTrays.h:703
unsigned int getHeightInLines()
Gets how many lines of text can fit in this window.
Definition: OgreTrays.h:303
BatchSettingId
Values to be used in setSetting() & BatchSettings::setting.
Definition: OgreInstanceManager.h:76
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
void setTextureFiltering(TextureFilterOptions filterType)
Set texture filtering for every texture unit in every Technique and Pass.
GeneralAllocatedObject MeshLodAlloc
Definition: OgreLodPrerequisites.h:70
@ GCT_MATRIX_4X2
Definition: OgreGpuProgramParams.h:88
virtual void resetToBaseValue(void)
void setGlobalNumberOfInstances(const size_t val)
Sets the global number of instances.
virtual bool isPrepared(void) const
Returns true if the Resource has been prepared, false otherwise.
Definition: OgreResource.h:316
static DWORD get(LayerBlendSource lbs, bool perStageConstants)
return a D3D9 equivalent for a Ogre LayerBlendSource value
unsigned long long int RequestID
Numeric identifier for a request.
Definition: OgreWorkQueue.h:80
virtual void setResponseProcessingTimeLimit(unsigned long ms)=0
Set the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
A interface class defining a listener which can be used to receive notifications of frame events.
Definition: OgreFrameListener.h:80
@ ANT_VARIABLE_ACCESS
Definition: OgreScriptCompiler.h:84
virtual void preRenderTargetUpdate(const RenderTargetEvent &evt)
Called just before a RenderTarget is about to be rendered into.
Definition: OgreRenderTargetListener.h:100
SubEntity * getSubEntity(size_t index) const
Gets a pointer to a SubEntity, ie a part of an Entity.
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
Vector3 getForceVector(void) const
Gets the force vector to apply to the particles in a system.
void calculateCell(PageID inPageID, int32 *x, int32 *y, int32 *z)
virtual ~GpuProgramManager()
@ VES_COUNT
The number of VertexElementSemantic elements (note - the first value VES_POSITION is 1)
Definition: OgreHardwareVertexBuffer.h:109
static D3D_FEATURE_LEVEL parseFeatureLevel(const Ogre::String &value, D3D_FEATURE_LEVEL fallback)
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderHLSLProgramProcessor.h:60
virtual const String & getType(void) const =0
Get the type of the object to be created.
Definition: OgreFileSystem.h:76
HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize, uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)
Get a shared index buffer for a given number of settings.
bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
@ ID_LOD_INDEX
Definition: OgreScriptCompiler.h:609
bool getCastsShadows(void) const override
Method which reports whether this renderable would normally cast a shadow.
virtual ParticleEmitter * createEmitter(ParticleSystem *psys)=0
Creates a new emitter instance.
MapIterator< ElementMap > TemplateIterator
Definition: OgreOverlayManager.h:207
virtual void windowClosed(Ogre::RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:98
void setStencilReadBackAsTextureOperation(bool value)
Set read back stencil-depth buffer as texture operation.
String doGet(const void *target) const
bool isSupported(void) const
Indicates if this technique is supported by the current graphics card.
@ SPC_COLOR_SPECULAR
Specular color.
Definition: OgreShaderParameter.h:276
@ ID_COLOUR_BLEND
Definition: OgreScriptCompiler.h:621
const String & getResourceType(void) const
Gets a string identifying the type of resource this manager handles.
Definition: OgreResourceManager.h:423
const String & getName(void) const
Gets the name of this animation.
virtual Real getSquaredViewDepth(const Camera *camera) const
Overridden from Renderable.
@ NEGATIVE_SIDE
Definition: OgrePlane.h:99
void removeAllPoseReferences(void)
Remove all pose references.
void setType(PassType type)
Set the type of composition pass.
uint32 getTypeFlags(void) const
Override to return specific type flag.
@ ID_DECREMENT_WRAP
Definition: OgreScriptCompiler.h:843
@ ID_TARGET_WIDTH
Definition: OgreScriptCompiler.h:797
@ PF_R16G16_SINT
32-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int).
Definition: OgrePixelFormat.h:180
String doGet(const void *target) const
bool volumeVisible
Another visibility flag to be user setable.
Definition: OgreVolumeChunk.h:120
virtual Real getMaxTimeToLive(void) const
Gets the maximum time each particle will live for.
void setShadowReceiverFragmentProgramParameters(GpuProgramParametersSharedPtr params)
Sets the fragment program parameters for rendering as a shadow receiver.
MovableObjectFactory()
Definition: OgreMovableObject.h:597
IlluminationStage getIlluminationStage() const
Get the manually assigned illumination stage, if any.
Definition: OgrePass.h:1583
virtual void read(Quaternion *q, size_t count=1)
StringVectorPtr findResourceLocation(const String &groupName, const String &pattern) const
Find all resource location names matching a given pattern in a resource group.
ushort newLodIndex
New level of detail index.
Definition: OgreLodListener.h:88
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL has one progr...
Definition: OgreGLSLProgramManager.h:54
static void extractUniforms(GLuint programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, GLUniformReferenceList &list)
Populate a list of uniforms based on a program object.
virtual const String & getName() const
Get the name of this section.
Definition: OgrePagedWorldSection.h:99
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreShadowCaster.h:67
SceneNode(SceneManager *creator, const String &name)
Constructor, only to be called by the creator SceneManager.
@ PF_A2R10G10B10
32-bit pixel format, 2 bits for alpha, 10 bits for red, green and blue.
Definition: OgrePixelFormat.h:83
bool operator==(const Radian &r) const
Definition: OgreMath.h:91
virtual const String & getType() const
Definition: OgreLodWorkQueueInjectorListener.h:38
@ ACT_LIGHT_ATTENUATION
Light attenuation parameters, Vector4(range, constant, linear, quadric)
Definition: OgreGpuProgramParams.h:829
uint8 elementCount
The number of colour elements this semantic uses (usually standard per semantic)
Definition: OgreTerrainMaterialGenerator.h:78
void binaryOp(char op, const std::vector< Operand > ¶ms) const
dst = arg0 OP arg1;
GLSLShader(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual size_t skipLine(const String &delim="\n")
Skip a single line from the stream.
@ FFP_VS_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:51
FFPShaderStage
Definition: OgreShaderFFPRenderState.h:69
void removeAllCullingPlanes(void)
Remove all culling planes.
const Vector3 & getDirection() const
Get the direction vector of the portal in local space.
Definition: OgrePortalBase.h:125
virtual void injectionCompleted(LodWorkQueueRequest *request)=0
~VertexPoseKeyFrame()
Definition: OgreKeyFrame.h:188
bool hasLogicalIndexedParameters() const
Does this parameter set include logically indexed parameters?
Definition: OgreGpuProgramParams.h:1389
void load(uint16 depthStart, uint16 depthEnd)
Load node and children in a depth range (perform GPU tasks, will be render thread)
void _beginFrame(void)
Signifies the beginning of a frame, i.e.
bool isTransparentSortingForced(void) const
Returns true if this Technique has transparent sorting forced.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
bool hasTessellationDomainProgram(void) const
Returns true if this pass uses a programmable tessellation control pipeline.
Definition: OgrePass.h:268
void bindGLBuffer(GLenum target, GLuint buffer, bool force=false)
Bind an OpenGL buffer of any type.
bool degenerate
Indicates if this is a degenerate edge, ie it does not have 2 triangles.
Definition: OgreEdgeListBuilder.h:85
static String toString(unsigned long long val, unsigned short width, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
float org[3]
Definition: OgreQuake3Types.h:196
const ContentCollectionFactoryMap & getContentCollectionFactories() const
Get a reference to the registered strategies.
TextureAddressingMode w
Definition: OgreTextureUnitState.h:56
Nested struct defining a resource declaration.
Definition: OgreResourceGroupManager.h:262
static void _configureMeshLodUsage(const LodConfig &lodConfig)
Definition: OgreLodCollapseCostProfiler.h:44
void setEnabled(bool value)
enable the portal
Definition: OgrePortalBase.h:156
void setBlendFunc(GLenum source, GLenum dest, GLenum sourceA, GLenum destA)
Set the blend function for RGB and alpha separately.
Real dx
Definition: OgreDualQuaternion.h:166
@ WFT_INVERSE_SAWTOOTH
Gradual steady decrease from max to min over the period, with an instant return to max at the end.
Definition: OgreCommon.h:196
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL ES) for Ope...
Definition: OgreGLSLESProgramPipeline.h:57
void destroyAllStaticGeometry(void)
Remove & destroy all StaticGeometry instances.
Log * setDefaultLog(Log *newLog)
Sets the passed in log as the default log.
void destroyRibbonTrail(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ PROP_VECTOR3
Definition: OgreProperty.h:118
TexCoordDirection
The direction in which texture coordinates from elements of the chain are used.
Definition: OgreBillboardChain.h:152
VectorIterator< ShadowRenderableList > ShadowRenderableListIterator
Definition: OgreShadowCaster.h:138
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
void _notifyContainer(AnimationContainer *c)
virtual const LightList & getLights(void) const =0
Gets a list of lights, ordered relative to how close they are to this renderable.
void enableClipPlane(ushort index, bool enable)
Terrain * raySelectNeighbour(const Ray &ray, Real distanceLimit=0)
Utility method to pick a neighbour based on a ray.
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
bool isVisible(void) const
Returns whether or not the element is visible.
virtual bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
Definition: OgreGpuProgram.h:368
const String & getSource(void) const
Gets the assembler source for this program.
Definition: OgreGpuProgram.h:245
virtual ~CgFxScriptLoader()
static GLSLLinkProgramManager & getSingleton(void)
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
@ VSOCP_HIGH
Definition: OgreShaderPrerequisites.h:84
@ ID_TARGET
Definition: OgreScriptCompiler.h:792
bool useBoneDualQuaternions() const
Definition: OgreInstanceBatchVTF.h:185
String doGet(const void *target) const
void _destroyFbo(GLContext *context, uint32 fbo)
Destroy FBO immediately or defer if it was created on other context.
@ TL_RIGHT
Definition: OgreTrays.h:61
void setSelfIllumination(const ColourValue &selfIllum)
This is an overloaded member function, provided for convenience. It differs from the above function o...
unsigned short getIndex(void) const
Gets the index of this Pass in the parent Technique.
Definition: OgrePass.h:283
void clear()
Empties this set of all particles.
void _beginFrame(void)
Signifies the beginning of a frame, i.e.
virtual unsigned short _getEmissionCount(Real timeElapsed)=0
Gets the number of particles which this emitter would like to emit based on the time elapsed.
void bind(RenderTarget *target)
Bind a certain render target.
Definition: OgreGLCopyingRenderTexture.h:64
void getVector(const Vector3 &inVec, Vector3 *outVec) const
Translate a vector into world space based on the alignment options.
@ SPC_POSTOLIGHT_WORLD_SPACE6
Definition: OgreShaderParameter.h:146
void _updatePortalZoneData(void)
Check/Update the zone data for every portal in the scene.
void setCompositorEnabled(size_t position, bool state)
Enable or disable a compositor, by position.
virtual ~PlaneOptimalShadowCameraSetup()
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGL3PlusPixelFormat.h:40
NodeTrackIterator getNodeTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:388
static String FACTORY_TYPE_NAME
Definition: OgreAntiPortal.h:59
void setMaterialShininess(GLfloat shininess)
VertexData * _getHardwareVertexAnimVertexData(void) const
Advanced method to get the hardware morph vertex information.
std::vector< Edge > EdgeList
Definition: OgreEdgeListBuilder.h:99
const Vector3 & getPosition() const
Get the world position of the terrain centre.
Definition: OgreTerrain.h:1066
@ PF_R8_SINT
8-bit pixel format, 8 bits red (signed int).
Definition: OgrePixelFormat.h:170
Definition: OgreHlmsShaderManager.h:47
bool intersects(const Plane &plane) const
Returns whether or not this sphere intersects a plane.
Definition: OgreSphere.h:91
void setMaxCalculableBoneCount(ushort count)
Sets the maximum number of bones for which hardware skinning is performed.
Definition: OgreShaderExHardwareSkinning.h:256
virtual void destroy(void)=0
Destroys the window.
bool getCastShadows(void) const
Returns whether shadow casting is enabled for this object.
Definition: OgreMovableObject.h:530
static DWORD get(ShadeOptions so)
return a D3D9 equivalent for a Ogre ShadeOptions value
LodWorkQueueInjectorListener * getInjectorListener()
Definition: OgreLodWorkQueueInjector.h:56
@ MS_D1
Definition: OgreHlmsPbsMaterial.h:69
bool isNull(void) const
Definition: OgreSharedPtr.h:91
@ ACT_COSTIME_0_2PI
Cosine of "Time0_2PI". Equivalent to RenderMonkey's "CosTime0_2PI".
Definition: OgreGpuProgramParams.h:1049
void setVertexData(VertexData *v_in)
Set the incoming vertex data (which will be modified)
void walkOctree(OctreeCamera *, RenderQueue *, Octree *, VisibleObjectsBoundsInfo *visibleBounds, bool foundvisible, bool onlyShadowCasters)
Walks through the octree, adding any visible objects to the render queue.
StringVector possibleValues
Definition: OgreConfigOptionMap.h:53
GpuProgramParametersSharedPtr createParameters()
Creates a new parameters object compatible with this program definition.
PropertyType
The type of a property.
Definition: OgreProperty.h:108
VertexDeclaration * getGlobalInstanceVertexBufferVertexDeclaration() const
Gets vertex declaration for the global vertex buffer for the global instancing.
void doSet(void *target, const String &val)
int planenum
Definition: OgreQuake3Types.h:237
String getBottomRightBorderUVString() const
reverse_iterator rbegin()
Definition: OgreSmallVector.h:170
std::vector< SubMesh * > SubMeshList
Definition: OgreMesh.h:103
static Real Log(Real fValue)
Definition: OgreMath.h:357
virtual void attachToProgramObject(const uint programObject)=0
Definition: OgreD3D11DepthBuffer.h:37
Class for performing a radix sort (fast comparison-less sort based on byte value) on various standard...
Definition: OgreRadixSort.h:89
@ PF_UNKNOWN
Unknown pixel format.
Definition: OgrePixelFormat.h:52
@ ID_PREVIOUS
Definition: OgreScriptCompiler.h:796
GLenum getPolygonMode(void) const
Gets the current polygon rendering mode, fill, wireframe, points, etc.
Definition: OgreGLStateCacheManager.h:196
ushort previousLodIndex
Previous level of detail index.
Definition: OgreLodListener.h:85
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from VolumeSource.
CompositionPass * getPass(size_t idx)
Get a pass.
uint64_t getMilliseconds()
Returns milliseconds since initialisation or last reset.
virtual void setQueryTypeMask(uint32 mask)
Sets the type mask for results of this query.
DataStreamPtr openResource(const String &resourceName, const String &groupName, bool searchGroupsIfNotFound, Resource *resourceBeingLoaded=0) const
Definition: OgreResourceGroupManager.h:681
virtual void setTimeToLive(Real minTtl, Real maxTtl)
Sets the range of lifetime for particles emitted.
const std::map< String, String > & getVariables() const
void setPadding(Ogre::Real padding)
RenderSystemCapabilities * getMutableCapabilities()
Get a pointer to the current capabilities being used by the RenderSystem.
Definition: OgreRenderSystem.h:219
bool operator==(const Plane &rhs) const
Comparison operator.
Definition: OgrePlane.h:240
static const IdString UvCount1
Definition: OgreHlmsPropertyHelper.h:58
This is a class that is the DirectX9 implementation of hardware occlusion testing.
Definition: OgreD3D9HardwareOcclusionQuery.h:55
Definition: OgreGL3PlusHardwareIndexBuffer.h:38
void invalidateScheme(const String &schemeName)
Invalidate a given scheme.
void scale(Real x, Real y, Real z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setStencilRefValue(uint32 value)
Set stencil reference value.
@ CLIPPED_SOME
Partially clipped.
Definition: OgreCommon.h:798
Material & operator=(const Material &rhs)
Assignment operator to allow easy copying between materials.
size_t vertexSet
The vertex set index that contains the vertices for this edge group.
Definition: OgreEdgeListBuilder.h:105
void setStencilMask(uint32 value)
Set stencil mask.
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:128
const Radian & getRotationSpeedRangeEnd(void) const
Gets the maximum rotation speed of particles to be emitted.
OverlayContainer(const String &name)
Constructor: do not call direct, use OverlayManager::createOverlayElement.
HardwareBufferLockGuard(const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:397
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
Definition: OgreGLRenderSystemCommon.h:127
IndexData * indexData
Index data - only valid if useIndexes is true.
Definition: OgreRenderOperation.h:120
void doSet(void *target, const String &val)
virtual SceneNode * createChildSceneNode(const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new named SceneNode as a child of this node.
void addNotExists(const T &item)
Definition: OgreVectorSetImpl.h:40
AbstractNodeList overrides
Definition: OgreScriptCompiler.h:132
size_t getMaxOrBestNumInstancesPerBatch(const String &materialName, size_t suggestedSize, uint16 flags)
Calculates the maximum (or the best amount, depending on flags) of instances per batch given the sugg...
virtual void stop()=0
Stop anything special.
bool getClearEveryFrame(void) const
Determines if the viewport is cleared before every frame.
Definition: OgreException.h:235
Abstract factory class.
Definition: OgreFactoryObj.h:45
Allows the rendering of a simple 2D rectangle This class renders a simple 2D rectangle; this rectangl...
Definition: OgreRectangle2D.h:50
const LodValueList & getLodValues(void) const
Gets the list of values transformed by the LodStrategy at which each LOD comes into effect.
Definition: OgreMaterial.h:606
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX
The view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:988
static D3DFORMAT _getPF(PixelFormat ogrePF)
utility method, convert Ogre pixel format to D3D9 pixel format
SharedPtr< FileInfoList > FileInfoListPtr
Definition: OgreArchive.h:67
@ ST_EXTERIOR_CLOSE
Definition: OgreSceneManager.h:3532
IndexPositionMode
Definition: OgreShaderExTextureAtlasSampler.h:216
bsp_node_t * mNodes
Definition: OgreQuake3Level.h:131
void setTransformAnimation(const TextureTransformType ttype, const WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1)
Sets up a general time-relative texture modification effect.
virtual void preExtraThreadsStarted()=0
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
OverlayContainer * getParent()
Returns the parent container.
static const AxisAlignedBox BOX_INFINITE
Definition: OgreAxisAlignedBox.h:803
float * getFloatPointer(size_t pos)
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:1670
String name
Definition: OgreCommon.h:806
void setNode(SceneNode *sn)
Set the SceneNode the Portal is associated with.
const Vector3 & getInitialScale(void) const
Gets the initial position of this node, see setInitialState for more info.
Definition: OgreNode.h:617
CompositorPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
const SubMeshNameMap & getSubMeshNameMap(void) const
Gets a reference to the optional name assignments of the SubMeshes.
Definition: OgreMesh.h:867
bool getTextureCompareEnabled() const
Definition: OgreTextureUnitState.h:714
void setNumMipmaps(int numMipmaps)
Sets the number of mipmaps to be used for this texture.
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:87
static D3D11_CULL_MODE get(CullingMode cm, bool flip=false)
return a D3D11 equivalent for a Ogre CillingMode value
Widget * getWidget(TrayLocation trayLoc, const Ogre::String &name)
Gets a widget from a tray by name.
static uint32 convertColourValue(const ColourValue &src, VertexElementType dst)
Utility method for converting colour to a packed 32-bit colour type.
Definition: OgreOverlayTranslator.h:50
virtual ~Listener()
Definition: OgreMovableObject.h:65
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
Definition: OgreInstancedEntity.h:210
Keycode sym
Definition: OgreInput.h:48
static Affine3 getTrans(const Vector3 &v)
Gets a translation matrix.
Definition: OgreMatrix4.h:397
Real getOptimalAdjustFactor(size_t splitIndex) const
Returns the optimal adjust factor for a given split.
Definition: OgreShadowCameraSetupPSSM.h:124
void setOctant(Octree *o)
Sets the Octree in which this OctreeNode resides.
Definition: OgreOctreeZone.h:238
String dataType() const
Definition: OgreImageCodec.h:72
bool destroyOnShutdown
Whether this pass is one which should be deleted itself.
Definition: OgrePass.h:1663
String doGet(const void *target) const
Matrix4(Real m00, Real m01, Real m02, Real m03, Real m10, Real m11, Real m12, Real m13, Real m20, Real m21, Real m22, Real m23, Real m30, Real m31, Real m32, Real m33)
Definition: OgreMatrix4.h:226
Factory for GL Frame Buffer Objects, and related things.
Definition: OgreGL3PlusFBORenderTexture.h:66
@ ACT_SINTIME_0_X
Sine of "Time0_X". Equivalent to RenderMonkey's "SinTime0_X".
Definition: OgreGpuProgramParams.h:1021
const Any & getUserAny(void) const
Definition: OgreMovableObject.h:343
void setTextureUScroll(Real value)
As setTextureScroll, but sets only U value.
D3DFORMAT getFormat() const
Definition: OgreD3D9VideoMode.h:55
void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this skeleton.
Radian operator*(Real f) const
Definition: OgreMath.h:83
@ TEX_TYPE_2D_ARRAY
2D texture array
Definition: OgreTexture.h:105
Definition: OgreLodData.h:87
CSGNoiseSource(const Source *src, Real *frequencies, Real *amplitudes, size_t numOctaves, long seed)
Constructor.
Fog sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPFog.h:50
@ ID_GEOMETRY
Definition: OgreScriptCompiler.h:858
virtual BackgroundProcessTicket initialiseResourceGroup(const String &name, Listener *listener=0)
Initialise a resource group in the background.
virtual void _updateRenderQueue(RenderQueue *queue)
Overloaded to visibility on a per unit basis and finally updated the vertex texture.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
void removeAllPoses(void)
Destroy all poses.
void setSpotlightInnerAngle(const Radian &val)
Sets the angle covered by the spotlights inner cone.
void uninstall()
Perform the final plugin uninstallation sequence.
void setMaximumZ(Real z)
Definition: OgreAxisAlignedBox.h:211
void setReceiveDynamicShadowsEnabled(bool enabled)
Whether to support dynamic texture shadows received from other objects, on the terrain (default true)...
Technique & operator=(const Technique &rhs)
Overloaded operator to copy on Technique to another.
const String & getName(void) const
Returns the name of the node.
Definition: OgreNode.h:236
virtual void bakeLodLevel(LodData *data, int lodIndex)
static const IdString AlphaTest
Definition: OgreHlmsPropertyHelper.h:80
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
PanelOverlayElement(const String &name)
Constructor.
static CmdForceVector msForceVectorCmd
Command objects.
Definition: OgreLinearForceAffector.h:108
void resourceGroupScriptingStarted(const Ogre::String &groupName, size_t scriptCount)
Definition: OgreTrays.h:1080
AnyNumeric operator-(const AnyNumeric &rhs) const
Definition: OgreAny.h:329
ProgramManager()
Class default constructor.
@ VS_BACK
The side from which u goes right and v goes down (reverse of texture coords)
Definition: OgrePatchSurface.h:74
void _issueRenderOp(Renderable *rend, const Pass *pass)
Internal method for issuing the render operation.
void setSpecular(float red, float green, float blue, float alpha)
Sets the specular colour reflectance properties of this pass.
void setStencilCheckEnabled(bool enabled)
Turns stencil buffer checking on or off.
Vector3 scale
Definition: OgreStaticGeometry.h:166
void setDepthBufferFor(RenderTarget *renderTarget)
Retrieves an existing DepthBuffer or creates a new one suited for the given RenderTarget and sets it.
void setGpuBufferAllocator(GpuBufferAllocator *alloc)
Tell this instance to use the given GpuBufferAllocator.
@ BCT_INT
Definition: OgreGpuProgramParams.h:53
static CmdGreenAdjust1 msGreenCmd1
Definition: OgreColourFaderAffector2.h:193
SceneManager * getSceneManager() const
void setDrawBuffer(ColourBufferType colourBuffer)
Sets the draw buffer type for the next frame.
Entity * getParent(void) const
Accessor to get parent Entity.
Definition: OgreSubEntity.h:196
bool _fireFrameEnded(FrameEvent &evt)
Method for raising frame ended events.
bool isInLightRange(const Ogre::Sphere &sphere) const
Check whether a sphere is included in the lighted area of the light.
Real getDepthClear(void) const
Gets the default depth buffer value to which the viewport is cleared.
~ProgramSet()
Class destructor.
void _setWidth(Real width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Definition: OgreSubMesh.h:179
void removePose(const String &name)
Destroy a pose by name.
virtual void reposition(int leftPt, int topPt)=0
Reposition the window.
void detachFromProgramObject(const GLhandleARB programObject)
bool getUseVertexCompressionWhenAvailable() const
Get whether to allow vertex compression to be used when the material generator states that it support...
Definition: OgreTerrain.h:2069
ushort getVertexProgramConstantFloatCount(void) const
The number of floating-point constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:583
HardwareVertexBufferSharedPtr createStreamOutputVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a stream output vertex buffer.
virtual void setup()
Sets up the context after configuration.
MaterialPtr getDefaultMaterial(bool useLighting=true)
Get a default material that is always available even when no resources were loaded.
virtual const GpuNamedConstants & getConstantDefinitions() const
Get the full list of named constants.
Definition: OgreGpuProgram.h:433
FileStreamDataStream(const String &name, std::fstream *s, bool freeOnClose=true)
Construct named read-write stream from an STL stream.
D3D9VideoMode * item(const String &name)
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void _dirtyNodeByMovingPortals(void)
Mark nodes dirty for every zone with moving portal in the scene.
ManualObjectSection(ManualObject *parent, const String &materialName, RenderOperation::OperationType opType, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
void setViewport(GLint x, GLint y, GLsizei width, GLsizei height)
const StringVector & getProfileList()
Definition: OgreHlmsDatablock.h:55
void swapBuffers()
Swaps the frame buffers to display the next frame.
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
virtual void removeRequestHandler(uint16 channel, RequestHandler *rh)
Remove a request handler.
bool hasInstanceManager(const String &managerName) const
Returns whether an InstanceManager with the given name exists.
void convertImageToTerrainSpace(size_t x, size_t y, Real *outX, Real *outY)
Convert image space (0, imageSize) to terrain space values (0,1).
@ ID_POLYGON_MODE_OVERRIDEABLE
Definition: OgreScriptCompiler.h:674
A node in the volume octree.
Definition: OgreVolumeOctreeNode.h:49
Result from a terrain ray intersection with the terrain group.
Definition: OgreTerrainGroup.h:392
virtual void setParameters(const Vector3 ¶meters)
Sets the parameters.
Real getSquaredViewDepth(const Camera *cam) const
Helper function, get the squared view depth.
GLStateCacheManager * getStateCacheManager()
virtual ParticleVisualData * _createVisualData(void)
Create a new ParticleVisualData instance for attachment to a particle.
Definition: OgreParticleSystemRenderer.h:97
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED
Light diffuse colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:870
bool requiresTextureFlipping() const
Definition: OgreD3D11MultiRenderTarget.h:49
Definition: OgreColourInterpolatorAffector.h:40
static const long RESOURCE_SYSTEM_NUM_REFERENCE_COUNTS
The number of reference counts held per resource by the resource system.
Definition: OgreResourceGroupManager.h:259
GLHardwareOcclusionQuery()
Default object constructor.
@ GPV_GLOBAL
No variation except by manual setting - the default.
Definition: OgreGpuProgramParams.h:126
uint16 getYOffset() const
Get the vertical offset into the main terrain data of this node.
Definition: OgreTerrainQuadTreeNode.h:99
VertexData * clone(bool copyData=true, HardwareBufferManagerBase *mgr=0) const OGRE_NODISCARD
Clones this vertex data, potentially including replicating any vertex buffers.
VectorBase(Real _x, Real _y, Real _z)
Definition: OgreVector.h:131
Class defining the common interface which classes can use to present a reflection-style,...
Definition: OgreStringInterface.h:162
void doSet(void *target, const String &val)
virtual bool queryResult(MovableObject *obj, Real distance)=0
Called when a movable objects intersects the ray.
unsigned short numAttachedObjects(void) const
Reports the number of objects attached to this node.
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
DepthBuffer * _addManualDepthBuffer(ID3D11DepthStencilView *depthSurface, uint32 width, uint32 height, uint32 fsaa, uint32 fsaaQuality)
This function is meant to add Depth Buffers to the pool that aren't released when the DepthBuffer is ...
Compositor * getCompositor()
Get Compositor of which this is an instance.
Factory for PCZones.
Definition: OgrePCZoneFactory.h:51
SceneQuery::WorldFragment fragment
Definition: OgreBspNode.h:157
const String & getTextureName(void) const
Get the name of current texture image for this layer.
@ MESH_VERSION_1_0
OGRE version v1.0+.
Definition: OgreMeshSerializer.h:56
@ ACT_LIGHT_POSITION_ARRAY
Array of light positions in world space (count set by extra param)
Definition: OgreGpuProgramParams.h:886
void _unprepare(void)
Internal method for undoing the load preparartion for this pass.
Real getTimeAdjust(size_t index) const
uint32 getWidth(void) const
Gets the width of the image in pixels.
@ CNT_VARIABLE_ASSIGN
Definition: OgreScriptCompiler.h:52
virtual bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreRenderWindow.h:168
@ LL_NORMAL
Definition: OgreLog.h:53
@ VES_TANGENT
Tangent (X axis if normal is Z)
Definition: OgreHardwareVertexBuffer.h:107
bool hasSettings(const String &materialName) const
Returns true if settings were already created for the given material name.
Definition: OgreInstanceManager.h:282
void exportNamedConstants(const GpuNamedConstants *pConsts, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Definition: OgreConfigDialogImp.h:38
ParticleSystemRenderer * _createRenderer(const String &rendererType)
Internal method for creating a new renderer from a factory.
uint8 bpp
Definition: OgreGLRenderSystemCommon.h:81
void shutdown(void)
Shutdown the renderer and cleanup resources.
D3D9ResourceCreationPolicy
Definition: OgreD3D9ResourceManager.h:36
virtual int getExecutionOrder() const
bool getKeepParticlesInLocalSpace(void) const
Gets whether particles (and any affector effects) remain relative to the node the particle system is ...
Definition: OgreParticleSystem.h:586
virtual ~FactoryObj()
Definition: OgreFactoryObj.h:47
virtual ~NodeAnimationTrack()
Destructor.
bool getOptionValues(const String &key, StringVector &refValueList)
Method for getting all possible values for a specific option.
void baseVertexPointerToElement(void *pBase, unsigned char **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:302
const Vector3 & getFrom(void) const
Gets the back lower left corner of the cell.
Definition: OgreVolumeOctreeNode.h:212
A single volume chunk mesh.
Definition: OgreVolumeChunk.h:147
Allows the rendering of a chain of connected billboards.
Definition: OgreBillboardChain.h:78
PCZSceneNodeList mNodes
Public list of SceneNodes attached to this particular octree.
Definition: OgreOctreeZoneOctree.h:168
void setCustomShadowCameraSetup(const ShadowCameraSetupPtr &customShadowSetup)
Set this light to use a custom shadow camera when rendering texture shadows.
void addLayer(uint8 index, Real worldSize=0, const StringVector *textureNames=0)
Add a new layer to this terrain at a specific index.
SubRenderState()
Class default constructor.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgrePass.h:1636
const T * ptr() const
Definition: OgreVector.h:66
@ ID_POINT_SIZE_ATTENUATION
Definition: OgreScriptCompiler.h:694
void setVisible(bool visible)
Tells this SubEntity whether to be visible or not.
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
Definition: OgreMovableObject.h:407
bool isHashDirty() const
Definition: OgreCommon.h:409
DecorWidget * createDecorWidget(TrayLocation trayLoc, const Ogre::String &name, const Ogre::String &templateName)
const ParameterPtr & getParameter() const
Returns the parameter object as weak reference.
Definition: OgreShaderFunctionAtom.h:104
PassthroughControllerFunction(bool deltaInput=false)
String doGet(const void *target) const
void setClearDepth(Real depth)
Set the viewport clear depth (defaults to 1.0)
const String & getMovableType(void) const
Overridden from MovableObject.
void setProgramName(const String &name, bool resetParams=true)
Sets the name of the program to use.
ARGB getAsARGB(void) const
Retrieves colour as ARGB.
virtual void removeListener(Listener *l)
Remove a listener to this camera.
const NormalsMap & getNormals(void) const
Gets a const reference to the vertex offsets.
Definition: OgrePose.h:113
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreDualQuaternion.h:129
Vector(const U *_ptr)
Definition: OgreVector.h:322
virtual SubRenderState * getGeneratedSubRenderState(const String &typeName)
Returns a sub render state of a given name which has already been created for material currently bein...
@ ID_COMPOSITOR_LOGIC
Definition: OgreScriptCompiler.h:801
bool resourceExistsInAnyGroup(const String &filename) const
Find out if the named file exists in any group.
Real currentTimePercent
The current percentage of frame time this profile has taken.
Definition: OgreProfiler.h:114
~GLES2FBOMultiRenderTarget()
@ PT_STENCIL
Set stencil operation.
Definition: OgreCompositionPass.h:57
static const ColourValue Green
Definition: OgreColourValue.h:64
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
InvalidCallException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:237
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
virtual void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)=0
Required method to allow the renderer to communicate the Renderables it will be using to render the s...
InvalidParametersException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:207
void needUpdate(bool forceParentUpdate=false)
TargetMode
The target animation mode.
Definition: OgreAnimationTrack.h:486
virtual ~InstanceBatchVTF()
uint16 getNumLodLevelsPerLeaf() const
Get the number of LOD levels in a leaf of the terrain quadtree.
Definition: OgreTerrain.h:1210
~Operand()
Class destructor.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:53
void detachFromProgramObject(const GLuint programObject)
@ RSC_INFINITE_FAR_PLANE
Supports infinite far plane projection.
Definition: OgreRenderSystemCapabilities.h:118
ParameterPtr resolveLocalParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
@ M_SUBMESH_BONE_ASSIGNMENT
Definition: OgreMeshFileFormat.h:75
@ SHADER_FUNC_TRIANGLE
Definition: OgreQuake3Types.h:111
void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void removeRequestHandler(uint16 channel, RequestHandler *rh)=0
Remove a request handler.
virtual Real getHorizontalTexelOffset(void)=0
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
void setRotate(const Radian &angle)
Sets the rotation applied to this overlay.
const Vector3 & getPosition(void) const
Returns the position of the light.
void addListener(Listener *l)
Add a listener.
virtual void setLightmapEnabled(bool enabled)
Whether to support a light map over the terrain in the shader, if it's present (default true).
Definition: OgreTerrainMaterialGenerator.h:315
void setCullFace(GLenum face)
Sets the face culling setting.
Main class to manage a cursor, backdrop, trays and widgets.
Definition: OgreTrays.h:742
ContextProfile getContextProfile() const
Definition: OgreGLNativeSupport.h:106
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
void _notifyViewport(Viewport *vp)
Set viewport that is the target of this chain.
uint32 height
Definition: OgreCompositionTechnique.h:70
bool getVertexAnimationIncludesNormals() const
Whether the vertex animation (if present) includes normals.
Definition of the interface for a collection of PageContent instances.
Definition: OgrePageContentCollection.h:56
void setDimensions(Real width, Real height)
Sets the dimensions of this element in relation to the screen (1.0 = screen width/height).
D3DFORMAT getBackBufferFormat() const
void setMaterialName(const String &name)
Set the material used by this pass.
@ SPC_POSTOLIGHT_VIEW_SPACE3
Definition: OgreShaderParameter.h:153
virtual void _notifyResourceLoaded(Resource *res)
Notify this manager that a resource which it manages has been loaded.
SharedPtr< DataStream > DataStreamPtr
Definition: OgrePrerequisites.h:281
static GpuProgramPtr _getProgramByName(const String &name, const String &group, GpuProgramType type)
virtual void destroySceneNode(const String &name)
Deletes a scene node.
static GLenum getGLOriginDataType(PixelFormat format)
Takes the OGRE pixel format and returns type that must be provided to GL as data type for reading it ...
virtual const String & getName(void) const
Retrieve target's name.
void setShadowFarDistance(Real distance)
Sets the maximum distance away from the camera that shadows by this light will be visible.
uint32 bottom
Definition: OgreCommon.h:705
void declareResource(const String &name, const String &resourceType, const String &groupName, ManualResourceLoader *loader, const NameValuePairList &loadParameters=NameValuePairList())
Declares a resource to be a part of a resource group, allowing you to load and unload it as part of t...
void _markDirty()
Mark state as dirty, and to be recompiled next frame.
Class to hold a dictionary of parameters for a single class.
Definition: OgreStringInterface.h:89
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables)
ID3D11HullShader * getHullShader(void) const
bool pooled
Definition: OgreCompositionTechnique.h:77
#define OGRE_WQ_THREAD_SYNCHRONISER(sync)
Definition: OgreThreadDefinesBoost.h:50
Radian mRotation
Definition: OgreBillboard.h:86
SceneManager * createSceneManager(const String &typeName, const String &instanceName=BLANKSTRING)
Create a SceneManager instance of a given type.
void addPoint(const Vector3 &p)
Adds a control point to the end of the spline.
String doGet(const void *target) const
std::map< String, OverlayContainer * > ChildContainerMap
Definition: OgreOverlayContainer.h:61
virtual void removeTerrain(long x, long y)
Remove a specific terrain slot.
virtual void removeNode(PCZSceneNode *)=0
Removes all references to a SceneNode from this PCZone.
virtual void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program pipeline object uniforms using data from GpuProgramParameters.
Transform specialization for projective - encapsulating a 4x4 Matrix.
Definition: OgreMatrix4.h:221
void _render(const RenderOperation &op)
Render something to the active viewport.
const StrategyMap & getStrategies() const
Get a reference to the registered strategies.
virtual bool unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to unprepare page content procedurally.
Definition: OgrePageManager.h:92
Class representing an image file.
Definition: OgreImage.h:61
@ SHADOWTYPE_NONE
No shadows.
Definition: OgreCommon.h:217
DualCell getDualCell(size_t i) const
Gets a dual cell.
Definition: OgreVolumeDualGridGenerator.h:348
@ BBR_VERTEX
Rotate the billboard's vertices around their facing direction.
Definition: OgreBillboardSet.h:70
ID3D11ClassLinkage * GetClassLinkage()
Definition: OgreD3D11Device.h:63
bool watchForMax(const String &profileName)
Returns true if the specified profile reaches a new frame time maximum.
String DriverDescription() const
uint32 right
Definition: OgreCommon.h:705
virtual void processResponses()=0
Process the responses in the queue.
bool octreeVisible
Flag whether the octree is visible or not.
Definition: OgreVolumeChunk.h:114
Defines a complete set of properties for a single object instance.
Definition: OgreProperty.h:279
const Vector3 & getDerivedCorner(int index) const
Get the derived (world) coordinates of one of the portal corners.
Definition: OgrePortalBase.h:129
Definition: OgrePrerequisites.h:350
@ FFP_PS_ALPHA_TEST
Definition: OgreShaderFFPRenderState.h:64
void setRotationSpeedRangeStart(const Radian &angle)
Sets the minimum rotation speed of particles to be emitted.
static MaterialManager & getSingleton(void)
Get the singleton instance.
MouseMotionEvent motion
Definition: OgreInput.h:90
virtual void reset()
Reset the vertex buffer to the initial state.
Definition: OgreRenderToVertexBuffer.h:109
void _markTransformSharingDirty()
Tells that the list of entity instances with shared transforms has changed.
Definition: OgreInstanceBatch.h:327
Grid2DPageStrategy(PageManager *manager)
@ GCT_MATRIX_3X3
Definition: OgreGpuProgramParams.h:86
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
Real getHeight(void) const
Gets the height of this element in relation to the screen (where 1.0 = screen height)
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
unsigned int getNumFrames(void) const
Gets the number of frames for a texture.
TextureUnitState(Pass *parent, const TextureUnitState &oth)
static String toString(const Matrix3 &val)
Converts a Matrix3 to a String.
GpuProgramPtr getByName(const String &name, const String &group=RGN_DEFAULT, bool preferHighLevelPrograms=true)
Get a resource by name.
Real getDistance(const Vector3 &pos) const
Gets the signed distance to the dividing plane.
void setFontName(const String &font, const String &group=DEFAULT_RESOURCE_GROUP)
void setFilenameConvention(const String &prefix, const String &extension)
Set the naming convention for file names in this terrain group.
bool isMatInitialised(void) const
Definition: OgreSubMesh.h:146
void _copyContentsToMemory(Viewport *vp, const Box &src, const PixelBox &dst, RenderWindow::FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
void update(bool synchronous=false)
Trigger the update process for all terrain instances.
bool getSaveMicrocodesToCache() const
Get if the microcode of a shader should be saved to a cache.
bool createOctreeVisualization
Whether to create the octree debug visualization entity with false as default.
Definition: OgreVolumeChunk.h:70
const LodValueList & getUserLodValues(void) const
Gets the user-defined list of values which are internally transfomed by the LodStrategy.
Definition: OgreMaterial.h:620
Definition: OgreDotSceneLoader.h:26
size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
SceneBlendFactor sourceFactorAlpha
multiplied by the render alpha components
Definition: OgreBlendMode.h:277
virtual ~ShaderProgramWriterGLSLFactory()
Definition: OgreShaderGLSLProgramWriter.h:130
bool getSetting(BatchSettingId id, const String &materialName) const
If settings for the given material didn't exist, default value is returned.
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
Definition: OgreBorderPanelOverlayElement.h:339
void clearCodePointRanges()
Clear the list of code point ranges.
Definition: OgreFont.h:359
@ SPC_POSITION_WORLD_SPACE
Position in world space.
Definition: OgreShaderParameter.h:87
SkeletonManager()
Constructor.
ConstVectorIterator< MetaDataList > MetaDataIterator
Definition: OgreSceneManagerEnumerator.h:140
Real mRadius
Definition: OgreCapsule.h:64
virtual void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
Functions for finding Nodes that intersect various shapes.
void clear()
Definition: OgreCommon.h:541
@ ID_ON
Definition: OgreScriptCompiler.h:724
@ RSC_TEXTURE_COMPRESSION_BC6H_BC7
Supports compressed textures in BC6H and BC7 format (DirectX feature level 11_0)
Definition: OgreRenderSystemCapabilities.h:157
void pointOrientedToScreen(Real orientedX, Real orientedY, int orientationMode, Real &screenX, Real &screenY)
@ ID_DEPTH_FAIL_OP
Definition: OgreScriptCompiler.h:845
virtual void _beginGeometryCount(void)
The RenderSystem will keep a count of tris rendered, this resets the count.
Definition: OgreD3D9RenderWindow.h:38
const String & getManualNamedConstantsFile() const
Gets the name of a file from which to load named parameters mapping for a program which would not be ...
Definition: OgreGpuProgram.h:426
uint getCharacterSpacer(void) const
Gets the spacing to allocate for font characters to overlap each other.
static bool getGenerateAllConstantDefinitionArrayEntries()
Definition: OgreInput.h:85
virtual bool hasBone(const String &name) const
Returns whether this skeleton contains the named bone.
@ ID_SCOPE_GLOBAL
Definition: OgreScriptCompiler.h:805
VertexData(HardwareBufferManagerBase *mgr=0)
Constructor.
void setPointSize(GLfloat size)
void setTexcoordRect(Real u0, Real v0, Real u1, Real v1)
setTexcoordRect() sets the individual texture coordinate rect of this billboard will use when renderi...
void setTextureVScale(Real value)
As setTextureScale, but sets only V value.
void setConstant(size_t index, const Matrix4 &m)
Sets a Matrix4 parameter to the program.
ParticleIterator _getIterator(void)
Returns an iterator for stepping through all particles in this system.
static GLenum getGLType(VertexElementType type)
Utility function to get the correct GL type based on VET's.
bool isDepthWriteEnabled(void) const
Is depth writing going to occur on this technique?
virtual bool getOption(const String &strKey, void *pDestValue)
Method for getting the value of an implementation-specific Scene Manager option.
Definition: OgreSceneManager.h:1764
virtual void addNode(Node *n)
Add a node to be tracked.
Definition: OgreHlmsMaterialBase.h:45
@ ACT_LIGHT_DIRECTION_VIEW_SPACE_ARRAY
Array of light directions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:896
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
Definition: OgreCgFxScriptLoader.h:55
void prepare(StreamSerialiser &stream)
Prepare node from a stream.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
void notifyBillboardDataChanged(void)
When billboard set is not auto updating its GPU buffer, the user is responsible to inform it about an...
Definition: OgreBillboardSet.h:822
Base class for GL Render Textures.
Definition: OgreGLRenderTexture.h:110
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
size_type size() const
Definition: OgreCommon.h:432
Matrix4 & operator=(const Matrix3 &mat3)
Definition: OgreMatrix4.h:265
bool isLeafVisible(const BspNode *leaf) const
Determines if the passed in node (must also be a leaf) is visible from this leaf.
virtual String doGet(const void *target) const =0
virtual void unbindGpuProgram(GpuProgramType gptype)
Unbinds GpuPrograms of a given GpuProgramType.
void fromTransformationMatrix(const Affine3 &kTrans)
Construct a dual quaternion from a 4x4 transformation matrix.
virtual void copyFrom(const SubRenderState &rhs)
SceneManager * targetSceneMgr
Target SM to send renderables to.
Definition: OgreSceneManager.h:387
void save(StreamSerialiser &stream)
Save this data to a stream.
PCZone * updateNodeHomeZone(PCZSceneNode *pczsn, bool allowBackTouces)
Update a node's home zone.
void removeListener(LogListener *listener)
ushort getGeometryProgramConstantIntCount(void) const
The number of integer constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:603
virtual void getRenderOperation(RenderOperation &op)=0
Get the render operation for this buffer.
const Ogre::StringVector & getAllParamNames()
Definition: OgreTrays.h:600
PassType
Enumeration that enumerates the various composition pass types.
Definition: OgreCompositionPass.h:55
RenderSystem * getRenderSystemByName(const String &name)
Retrieve a pointer to the render system by the given name.
OctreeCamera(const String &name, SceneManager *sm)
GLContext * _getMainContext()
Returns the main context.
Definition: OgreGLRenderSystemCommon.h:96
SceneManager * getCreator(void) const
Gets the creator of this scene node.
Definition: OgreSceneNode.h:251
void setTessellationDomainProgramParameters(GpuProgramParametersSharedPtr params)
This is an overloaded member function, provided for convenience. It differs from the above function o...
OrganisationMode
Organisation modes required for this collection.
Definition: OgreRenderQueueSortingGrouping.h:114
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
bool hasAlpha(void) const
Returns true if the texture has an alpha layer.
Log * createLog(const String &name, bool defaultLog=false, bool debuggerOutput=true, bool suppressFileOutput=false)
Creates a new log with the given name.
Endian
The endianness of files.
Definition: OgreStreamSerialiser.h:72
SceneManager * getSceneManager(void) const
Returns a pointer to the SceneManager this camera is rendering through.
void update(bool synchronous=false)
Trigger the update process for the terrain.
@ ID_RECEIVE_SHADOWS
Definition: OgreScriptCompiler.h:596
const BspLevelPtr & getLevel(void)
Definition: OgreBspSceneManager.h:144
static void splitFilename(const String &qualifiedName, String &outBasename, String &outPath)
Method for splitting a fully qualified filename into the base name and path.
VertexSplit splitVertex
The old and new vertex index.
Definition: OgreTangentSpaceCalc.h:62
@ ID_COMP_FUNC
Definition: OgreScriptCompiler.h:835
std::vector< ResourceLocation > LocationList
List of possible file locations.
Definition: OgreResourceGroupManager.h:281
void _switchContext(GLContext *context)
Switch GL context, dealing with involved internal cached states too.
D3D9DepthBuffer(uint16 poolId, D3D9RenderSystem *renderSystem, IDirect3DDevice9 *creator, IDirect3DSurface9 *depthBufferSurf, D3DFORMAT fmt, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, bool isManual)
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Vector normalisedCopy() const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
Definition: OgreVector.h:540
RayResult(bool _hit, Terrain *_terrain, const Vector3 &_pos)
Definition: OgreTerrainGroup.h:400
Slider(const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real trackWidth, Ogre::Real valueBoxWidth, Ogre::Real minValue, Ogre::Real maxValue, unsigned int snaps)
Do not instantiate any widgets directly. Use TrayManager.
void unlock()
Definition: OgreHardwareBuffer.h:402
void swapBuffers()
Swaps the frame buffers to display the next frame.
virtual ~GLES2RenderBuffer()
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
SharedPtr< ShadowCameraSetup > ShadowCameraSetupPtr
Definition: OgrePrerequisites.h:301
VertexData * _getSkelAnimVertexData(void) const
Advanced method to get the temporarily blended skeletal vertex information for entities which are sof...
void loadFromSource(void)
Internal load implementation, must be implemented by subclasses.
bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
bool initialiseRTShaderSystem()
Initialize the RT Shader system.
virtual void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)=0
Converts a uniform projection matrix to suitable for this render system.
static Real AngleUnitsToRadians(Real units)
Convert from the current AngleUnit to radians.
void roll(const Radian &angle)
Rolls the camera anticlockwise, around its local z axis.
bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
TrayManager(const Ogre::String &name, Ogre::RenderWindow *window, TrayListener *listener=0)
Creates backdrop, cursor, and trays.
void clearScene(void)
Overridden from SceneManager.
void _setActiveSceneManager(SceneManager *sceneManager)
Set the active scene manager against which new render states are compiled.
virtual void setStrategy(const String &stratName)
Change the page strategy.
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreCylinderEmitterFactory.h:55
bool hasCorrectAntipodalityHandling()
Only applicable for dual quaternion skinning.
@ SDLK_PAGEDOWN
Definition: OgreInput.h:120
@ RSC_READ_WRITE_BUFFERS
Supports read/write buffers with atomic counters (e.g. RWStructuredBuffer or SSBO)
Definition: OgreRenderSystemCapabilities.h:91
void _dispatchCompute(const Vector3i &workgroupDim)
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
Definition: OgrePageContent.h:73
static double saturate(double t)
Definition: OgreMath.h:388
ManualObjectSection(ManualObject *parent, const MaterialPtr &mat, RenderOperation::OperationType opType)
RenderQueueGroupID
Enumeration of queue groups, by which the application may group queued renderables so that they are r...
Definition: OgreRenderQueue.h:54
bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
CSGCubeSource(const Vector3 &min, const Vector3 &max)
Constructor.
VertexDeclaration * vertexDeclaration
Declaration of the vertex to be used in this operation.
Definition: OgreVertexIndexData.h:80
virtual void sliderMoved(Slider *slider)
Definition: OgreTrays.h:94
float blendFactor1
Definition: OgreHlmsPbsMaterial.h:136
void _oneTimeContextInitialization()
One time initialization for the RenderState of a context.
static CmdAlphaAdjust2 msAlphaCmd2
Definition: OgreColourFaderAffector2.h:198
unsigned int flags
Definition: OgreQuake3Shader.h:74
bool getMipmapsHardwareGenerated(void) const
Are mipmaps hardware generated?
Definition: OgreTexture.h:166
void dump(std::ofstream &of) const
Dump contents for diagnostics.
@ ID_INCREMENT_WRAP
Definition: OgreScriptCompiler.h:842
IDirect3DSurface9 * getDepthBufferSurface() const
virtual ~IsoSurface(void)
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void reallocateBuffer(size_t index)
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
void yaw(const Radian &angle)
Rotates the camera anticlockwise around it's local y axis.
void doSet(void *target, const String &val)
Hash function for UniqueVertexSet.
Definition: OgreLodData.h:73
void doSet(void *target, const String &shaderNames)
void findNodesIn(const Ray &ray, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *start=0)
Recurses the scene, starting in the given startZone, adding any nodes intersecting with the ray into ...
void removeContentFactory(PageContentFactory *f)
Remove a PageContentFactory implementation.
ShaderTemplate * getTemplate()
std::map< unsigned short, HardwareVertexBufferSharedPtr > VertexBufferBindingMap
Defines the vertex buffer bindings used as source for vertex declarations.
Definition: OgreHardwareVertexBuffer.h:523
D3D11VideoModeList * getVideoModeList()
TerrainIterator getTerrainIterator()
Get an iterator over the defined terrains.
size_t floatBufferSize
Total size of the float buffer required.
Definition: OgreGpuProgramParams.h:313
@ NONE
Definition: OgreOctreeCamera.h:71
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
BspNode * getFront(void) const
Returns a pointer to a BspNode containing the subspace on the positive side of the splitting plane.
virtual MaterialPtr generateForCompositeMap(const Terrain *terrain)
Generate a material for the given composite map of the terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:304
ConstVectorIterator< EnabledAnimationStateList > ConstEnabledAnimationStateIterator
Definition: OgreAnimationState.h:192
TerrainSlotDefinition()
Definition: OgreTerrainGroup.h:324
virtual void writeData(const void *buf, size_t size, size_t count)
Write arbitrary data to a stream.
virtual const String & getName(void) const =0
Returns the name of the rendering system.
SortMode _getSortMode(void) const
Gets the desired particles sort mode of this renderer.
@ TL_NONE
Definition: OgreTrays.h:65
std::map< String, String > AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
Definition: OgreCommon.h:594
@ ID_GPU_VENDOR_RULE
Definition: OgreScriptCompiler.h:610
~GLFBOMultiRenderTarget()
@ ACT_INVERSE_VIEW_MATRIX
The current view matrix, inverted.
Definition: OgreGpuProgramParams.h:711
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
void _writeRawConstants(size_t physicalIndex, const double *val, size_t count)
Write a series of floating point values into the underlying float constant buffer at the given physic...
@ LBO_MODULATE
Multiply colour components together.
Definition: OgreBlendMode.h:63
void setWeight(Real weight)
Sets the weight (influence) of this animation.
Vertex * collapseTo
Definition: OgreLodData.h:105
Archive(const String &name, const String &archType)
Constructor - don't call direct, used by ArchiveFactory.
Definition: OgreArchive.h:99
virtual void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
#define OGRE_DELETE_T(ptr, T, category)
Free the memory allocated with OGRE_NEW_T. Category is required to be restated to ensure the matching...
Definition: OgreMemoryAllocatorConfig.h:190
RenderOperation * getRenderOperationForUpdate(void)
Get the internal render operation for set up.
Definition: OgreShadowCaster.h:71
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
ID3D11ComputeShader * getComputeShader(void) const
GeneralAllocatedObject ProfilerAlloc
Definition: OgreMemoryAllocatorConfig.h:136
Definition: OgreLod0Stripifier.h:41
@ BBO_BOTTOM_LEFT
Definition: OgreBillboardSet.h:62
unsigned short getMaxSource(void) const
Gets the index of the highest source value referenced by this declaration.
void updateTextureUnits(TextureUnitState *textureUnitState, GpuProgramParametersSharedPtr fragmentParams, SamplerContainer &s, int index)
static unsigned short getTypeCount(VertexElementType etype)
Utility method which returns the count of values in a given type (result for colors may be counter-in...
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static const size_t MS_CORNERS_BACK[4]
To call Marching Squares with a cube on its back.
Definition: OgreVolumeIsoSurface.h:69
bool ToEulerAnglesZXY(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
@ ERR_INVALID_CALL
Definition: OgreException.h:120
Specialised AnimationTrack for dealing with node transforms.
Definition: OgreAnimationTrack.h:328
Real getLayerWorldSize(uint8 index) const
How large an area in world space the texture in a terrain layer covers before repeating.
unsigned int width
Definition: OgreCommon.h:807
void setHSB(float hue, float saturation, float brightness)
Set a colour value from Hue, Saturation and Brightness.
virtual Real getHoldRadius()
Get the Holding radius.
Real getHeight(void) const
Gets the height (local y size) of the emitter.
OGRE_AUTO_MUTEX
Definition: OgreResource.h:70
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
virtual void setCellRangeMinZ(int32 minZ)
Set the index range of all cells (values outside this will be ignored)
@ ET_INT
Definition: OgreGpuProgramParams.h:1235
GL3PlusHardwareBuffer(GLenum target, size_t sizeInBytes, uint32 usage)
Real getSurfaceShininess(void) const
@ M_TABLE_EXTREMES
Definition: OgreMeshFileFormat.h:207
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:60
bool isCacheDirty(void) const
Returns true if the microcodecache changed during the run.
virtual NativeWindowPair createWindow(const Ogre::String &name, uint32_t w=0, uint32_t h=0, Ogre::NameValuePairList miscParams=Ogre::NameValuePairList())
Create a new render window.
float constantHeight
If neither inputImage or inputFloat are supplied, the constant height at which the initial terrain sh...
Definition: OgreTerrain.h:373
void clear()
Definition: OgreSmallVector.h:326
virtual void setCellRangeMaxZ(int32 maxZ)
get the index range of all cells (values outside this will be ignored)
static D3D11StereoDriverBridge * getSingletonPtr(void)
MouseButtonEvent button
Definition: OgreInput.h:88
std::vector< Polygon * > PolygonList
Definition: OgreConvexBody.h:55
virtual ID3D11Texture2D * getSurface(uint index=0) const
static ParameterPtr createOutTexcoord2(int index, Parameter::Content content)
void setViewport(GLint x, GLint y, GLsizei width, GLsizei height)
void setFiltering(FilterType ftype, FilterOptions opts)
Set a single filtering option on this texture unit.
Entity * getEntity(const String &name) const
Retrieves a pointer to the named Entity.
const ColourValue & getFogColour(void) const
Returns the fog colour for the scene.
TargetLayout
Definition: OgreShaderExGBuffer.h:55
const UVRect & getGlyphTexCoords(CodePoint id) const
Returns the texture coordinates of the associated glyph.
Definition: OgreFont.h:274
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
virtual bool isBackgroundLoaded(void) const
Returns whether this Resource has been earmarked for background loading.
Definition: OgreResource.h:357
This abstract node represents a script property.
Definition: OgreScriptCompiler.h:146
void setSpotlightRange(const Radian &innerAngle, const Radian &outerAngle, Real falloff=1.0)
Sets the range of a spotlight, i.e.
size_t getNumIndexes(void) const
Get the number of indexes in this buffer.
Definition: OgreHardwareIndexBuffer.h:70
DataStreamPtr _openFileStream(const String &path, std::ios::openmode mode, const String &name="")
internal method to open a FileStreamDataStream
virtual bool abortPendingRequest(RequestID id)
Abort request if it is not being processed currently.
virtual const String & getType() const
@ WFT_SINGLE_INTERSECTION
Return a single intersection point (typically RaySceneQuery only)
Definition: OgreSceneQuery.h:83
@ PT_CUBE
Definition: OgreSceneManager.h:1411
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
ExternalTextureSource * getExternalTextureSource(const String &sTexturePlugInType)
Returns the plugin which registered itself with a specific name (eg.
@ PROP_COLOUR
Definition: OgreProperty.h:120
static bool removeFile(const Ogre::String &path)
Delete a file.
@ PF_BYTE_A
Definition: OgrePixelFormat.h:61
bool isBackdropVisible()
Definition: OgreTrays.h:820
String DriverDescription() const
At(ParameterPtr p)
Definition: OgreShaderFunctionAtom.h:191
virtual ~GLGpuProgramBase()
Definition: OgreGLGpuProgram.h:40
void destroyAllNumericTracks(void)
Removes and destroys all tracks making up this animation.
virtual ~ParticleAffector()
Virtual destructor essential.
bool writeR
Whether writing is enabled for each of the 4 colour channels.
Definition: OgreBlendMode.h:269
virtual void setValue(T value)=0
String target
Definition: OgreScriptCompiler.h:161
bool orientationEquals(const Quaternion &other, Real tolerance=1e-3f) const
Compare two quaternions which are assumed to be used as orientations.
Definition: OgreQuaternion.h:281
LayerBlendType blendType
The type of blending (colour or alpha)
Definition: OgreBlendMode.h:143
void setCaption(const Ogre::DisplayString &caption)
Definition: OgreTrays.h:252
Interface definition for helper class to generate shaders.
Definition: OgreTerrainMaterialShaderHelpers.h:41
Operand(const Operand &rhs)
Copy constructor.
void setShadowCastersCannotBeReceivers(bool ind)
Sets whether or not objects which cast shadows should be treated as never receiving shadows.
Definition: OgreRenderQueueSortingGrouping.h:608
OverlayElement * getOverlayElement(const String &name, bool isTemplate=false)
Gets a reference to an existing element.
TerrainQuadTreeNode(Terrain *terrain, TerrainQuadTreeNode *parent, uint16 xoff, uint16 yoff, uint16 size, uint16 lod, uint16 depth, uint16 quadrant)
Constructor.
AliasTextureNamePairList * mAliases
Definition: OgreScriptCompiler.h:466
ResourceLoadingListener * getLoadingListener() const
Returns the current loading listener.
virtual void _disableTextureUnit(size_t texUnit)
Turns off a texture unit.
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
void loadFromStream(DataStreamPtr &inStream)
Reads Quake3 bsp data from a stream as read from the file.
@ BF_MULTIPLY_2X
Definition: OgreHlmsPbsMaterial.h:56
GLES2RenderToVertexBuffer()
C'tor.
void _initParticle(Particle *pParticle)
See ParticleAffector.
size_t getRequiredVertexCount(void) const
Based on a previous call to defineSurface, establishes the number of vertices required to hold this p...
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
uint16 getDepthBufferPool() const
@ LBO_REPLACE
Replace all colour with texture with no adjustment.
Definition: OgreBlendMode.h:59
virtual ~Renderable()
Virtual destructor needed as class has virtual methods.
Definition: OgreRenderable.h:73
Any context
Definition: OgreScriptCompiler.h:98
String doGet(const void *target) const
Operand & y()
Definition: OgreShaderFunctionAtom.h:113
GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
Quake3Shader(const String &name)
Default constructor - used by Quake3ShaderManager (do not call directly)
void initialiseContext(RenderWindow *primary)
SharedPtr< T > & operator=(const Ogre::SharedPtr< T > &rhs)
Definition: OgreSharedPtr.h:74
void deleteVertex(size_t vertex)
Deletes a specific vertex.
float getRedAdjust(void) const
Gets the red adjustment to be made per second to particles.
static String eventType
Definition: OgreScriptCompiler.h:496
virtual void setBoundingBox(const AxisAlignedBox &box)
Set the bounds of this section.
VectorSet< Edge, 8 > VEdges
Definition: OgreLodData.h:69
HardwareBufferLockGuard(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:386
float getLightCastsShadows(size_t index) const
virtual const Vector3 & getOrigin() const
Retrieve the centre position of the grid of terrain.
Definition: OgreTerrainGroup.h:117
size_t getSizeInBytes(void) const
Returns the size of this buffer in bytes.
Definition: OgreHardwareBuffer.h:357
void swapBuffers()
Swap buffers - only useful when using multisample buffers.
bool checkHardwareSupport(bool autoManageTextureUnits, StringStream &compileErrors)
Internal method for checking hardware support.
static DestT convertBitPattern(SrcT srcValue, SrcT srcBitMask, DestT destBitMask)
Takes a value with a given src bit mask, and produces another value with a desired bit mask.
Definition: OgreBitwise.h:182
Vector3 mDirection
Normalised direction vector.
Definition: OgreBillboard.h:84
LayerBlendOperationEx
Expert list of valid texture blending operations, for use with TextureUnitState::setColourOperationEx...
Definition: OgreBlendMode.h:75
void getTextureTecPassStateLevel(int &t, int &p, int &s) const
Get currently selected Texture attribs.
Definition: OgreExternalTextureSource.h:131
bool mousePressed(const MouseButtonEvent &evt)
Processes mouse presses.
GLRTTManager GL3PlusRTTManager
Definition: OgreGL3PlusPrerequisites.h:40
virtual void update(bool swap)
Tells the target to update it's contents.
static DWORD get(CompareFunction cf)
return a D3D9 equivalent for a Ogre CompareFunction value
Factory class for D3D11 HLSL programs.
Definition: OgreD3D11HLSLProgramFactory.h:38
ID3D11GeometryShader * getGeometryShader(void) const
Definition: OgreGLGpuProgram.h:39
virtual void updateParams(const MaterialPtr &mat, const Terrain *terrain)
Update parameters for the given terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:351
Space
Enumeration of relative spaces that you might want to use to address the terrain.
Definition: OgreTerrain.h:514
@ ID_CUBIC
Definition: OgreScriptCompiler.h:703
@ Left
Definition: OgreTextAreaOverlayElement.h:49
void _resolveComponents(LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser)
Grid3DPageStrategy(PageManager *manager)
@ ERR_INVALIDPARAMS
Definition: OgreException.h:112
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
bool suggestTangentVectorBuildParams(VertexElementSemantic targetSemantic, unsigned short &outSourceCoordSet, unsigned short &outIndex)
Ask the mesh to suggest parameters to a future buildTangentVectors call, should you wish to use textu...
@ PF_COUNT
Number of pixel formats currently defined.
Definition: OgrePixelFormat.h:275
void checkForCgError(const String &ogreMethod, const String &errorTextPrefix, CGcontext context)
Utility function, checks Cg for errors, throw exception if detected.
virtual bool isPaused() const =0
Return whether the queue is paused ie not sending more work to workers.
void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
virtual void _updateRenderQueue(RenderQueue *queue, std::list< Particle * > ¤tParticles, bool cullIndividually)=0
Delegated to by ParticleSystem::_updateRenderQueue.
static void softwareVertexBlend(const VertexData *sourceVertexData, const VertexData *targetVertexData, const Affine3 *const *blendMatrices, size_t numMatrices, bool blendNormals)
Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be ...
GLenum getCullFace(void) const
Sets the face culling mode.
Definition: OgreGL3PlusStateCacheManager.h:226
CompareFunction getTextureCompareFunction() const
Definition: OgreTextureUnitState.h:718
@ ID_ALWAYS_FAIL
Definition: OgreScriptCompiler.h:643
virtual bool isCompatible(RenderTarget *renderTarget) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
virtual void notifyWorldGeometryRenderQueue(uint8 qid)=0
Called by PCZSM during setWorldGeometryRenderQueue()
Function * getMain()
Definition: OgreShaderProgram.h:138
@ FFP_VS_TEXTURING
Definition: OgreShaderFFPRenderState.h:49
struct _OgreVolumeExport Ogre::Volume::Vertex Vertex
Lightweight struct to represent a mesh vertex.
OpSemantic getSemantic() const
Returns the operand semantic (do we read/write or both with the parameter).
Definition: OgreShaderFunctionAtom.h:129
virtual const String & getType() const
static void shutdown(void)
Static method to shutdown and unregister the DDS codec.
Factory for OctreeZone.
Definition: OgreOctreeZone.h:253
@ RSC_RTT_DEPTHBUFFER_RESOLUTION_LESSEQUAL
Supports attaching a depth buffer to an RTT that has width & height less or equal than RTT's.
Definition: OgreRenderSystemCapabilities.h:174
virtual Real getPointExtrusionDistance(const Light *l) const =0
Get the distance to extrude for a point/spot light.
@ ID_FAIL_OP
Definition: OgreScriptCompiler.h:838
void destroyAllVertexTracks(void)
Removes and destroys all tracks making up this animation.
float getIterationDepthBias() const
Gets a factor which derives an additional depth bias from the number of times a pass is iterated.
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:188
void setValue(Real value)
Definition: OgreLodData.h:113
@ ID_BLEND_DIFFUSE_COLOUR
Definition: OgreScriptCompiler.h:742
const QueuedRenderableCollection & getTransparentsUnsorted(void) const
Get the collection of transparent objects currently queued.
Definition: OgreRenderQueueSortingGrouping.h:371
UnimplementedException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:183
This is a class that is the DirectX9 implementation of hardware occlusion testing.
Definition: OgreD3D11HardwareOcclusionQuery.h:54
virtual const Source * getSourceB(void) const
Gets the second operator source.
virtual ~TerrainPagedWorldSection()
@ SKELETON_BONE_PARENT
Definition: OgreSkeletonFileFormat.h:72
void setNonVisibleUpdateTimeout(Real timeout)
Sets when the particle system should stop updating after it hasn't been visible for a while.
void createGeneratedLodLevel(Ogre::Real distance, Real reductionValue, LodLevel::VertexReductionMethod reductionMethod=LodLevel::VRM_PROPORTIONAL)
void fillBuffer(Ogre::IndexData *data)
if NULL, then the previous Lod level's buffer is used. (compression)
Vector4f getInverseTextureSize(size_t index) const
bool getAutoAspectRatio(void) const
Retrieves if AutoAspectRatio is currently set or not.
void updateCompositeMapWithDelay(Real delay=2)
Performs an update on the terrain composite map based on its dirty region, but only at a maximum freq...
virtual void setCullIndividually(bool cullIndividual)
Sets whether culling tests billboards in this individually as well as in a group.
virtual TexturePtr loadRawData(const String &name, const String &group, DataStreamPtr &stream, ushort width, ushort height, PixelFormat format, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool hwGammaCorrection=false)
Loads a texture from a raw data stream.
@ PF_R11G11B10_FLOAT
32-bit pixel format, 11 bits (float) for red, 11 bits (float) for green, 10 bits (float) for blue
Definition: OgrePixelFormat.h:144
void notifyResized()
Notify this instance that the primary surface has been resized.
size_t mIndex
Definition: OgreColourInterpolatorAffector.h:63
@ TL_TOP
Definition: OgreTrays.h:57
ParticleSystem & operator=(const ParticleSystem &rhs)
Assignment operator for copying.
void blit(const HardwarePixelBufferSharedPtr &src)
Convenience function that blits the entire source pixel buffer to this buffer.
std::map< String, ParticleSystem * > ParticleTemplateMap
Definition: OgreParticleSystemManager.h:78
void createTextureUnits(Pass *pass)
this is called once per frame if the shader has changed. (it is guaranteed that there are not texture...
void freeTemporaryResources()
Free as many resources as possible for optimal run-time memory use for all terrain tiles.
void setRenderSystemName(const String &rs)
Set the identifier of the rendersystem from which these capabilities were generated.
Definition: OgreRenderSystemCapabilities.h:762
OptimisationLevel getOptimisationLevel() const
Gets the optimisation level to use.
Definition: OgreD3D9HLSLProgram.h:187
char name[64]
Definition: OgreQuake3Types.h:203
SceneNode * getAutoTrackTarget(void) const
Get the auto tracking target for this camera, if any.
Definition: OgreCamera.h:350
Definition: OgreException.h:217
void loadGroupDefinition(const String &filename)
Load the group definition only in native form from a file.
String doGet(const void *target) const
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu....
Definition: OgreVolumeSimplexNoise.h:48
virtual void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
void removeSharedParameters(const String &sharedParamsName)
Stop using the named shared parameter set.
void _setDepthBufferWriteEnabled(bool enabled=true)
Sets whether or not the depth buffer is updated after a pixel write.
void removeWidgetFromTray(Widget *widget)
Removes a widget from its tray.
Definition: OgreTrays.h:1042
static String formatErrorCode(uint32 code)
bool hasEntity(const String &name) const
Returns whether an entity with the given name exists.
@ FOG_EXP
Fog density increases exponentially from the camera (fog = 1/e^(distance * density))
Definition: OgreCommon.h:150
virtual void addMarchingCubesTriangles(const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const =0
Adds triangles to a MeshBuilder via Marching Cubes.
void setNext(unsigned long long int val)
Manually set the internal counter (use caution)
Definition: OgreNameGenerator.h:75
bool forceOneWeight() const
Definition: OgreInstanceBatchVTF.h:190
void destroyWidget(TrayLocation trayLoc, const Ogre::String &name)
Definition: OgreTrays.h:997
HardwareBufferLockGuard(HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:389
void _setNamedConstants(const GpuNamedConstantsPtr &constantmap)
Internal method for providing a link to a name->definition map for parameters.
@ GCT_FLOAT3
Definition: OgreGpuProgramParams.h:71
ParamsPanel * createParamsPanel(TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width, const Ogre::StringVector ¶mNames)
void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
static String eventType
Definition: OgreScriptCompiler.h:531
virtual const String & getType() const
Get the type of the collection, which will match it's factory.
Support for loading and extracting data from a Quake3 level file.
Definition: OgreQuake3Level.h:68
void setMaxChainElements(size_t maxElements)
Set the maximum number of chain elements per chain.
NumericKeyFrame * getNumericKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
void addEdge(const Edge &edge)
Iterator pointing to the position in the mCollapseCostSet, which allows fast remove.
uint16 terrainSize
Terrain size (along one edge) in vertices; must be 2^n+1.
Definition: OgreTerrain.h:329
size_t uncompressedSize
Uncompressed size.
Definition: OgreArchive.h:63
virtual bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
Definition: OgreGpuProgram.h:360
std::map< unsigned short, VertexAnimationTrack * > VertexTrackList
Definition: OgreAnimation.h:381
static GLenum getGLOriginDataType(PixelFormat mFormat)
Takes the OGRE pixel format and returns type that must be provided to GL as data type for reading it ...
#define OGRE_FORMAT_PRINTF(A, B)
Definition: OgreString.h:72
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreRenderTarget.h:388
Affine3(const Real *arr)
Definition: OgreMatrix4.h:339
virtual void _notifyMoved(void)
MovableObject notified when SceneNode changes.
void scriptParseStarted(const Ogre::String &scriptName, bool &skipThisScript)
Definition: OgreTrays.h:1087
static std::vector< String > split(const String &str, const String &delims="\t\n ", unsigned int maxSplits=0, bool preserveDelims=false)
Returns a StringVector that contains all the substrings delimited by the characters in the passed del...
void endOcclusionQuery()
Ends the hardware occlusion test.
ParameterPtr getInputParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
get input parameter by content
Definition: OgreShaderFunction.h:146
@ ID_BLEND_CURRENT_ALPHA
Definition: OgreScriptCompiler.h:745
@ ID_GEOMETRY_PROGRAM
Definition: OgreScriptCompiler.h:578
SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
void postExtraThreadsStarted()
Tell the rendersystem to perform any tasks it needs to directly after other threads which might acces...
virtual const String & getType() const
@ PFF_LUMINANCE
This is an intensity format instead of a RGB one.
Definition: OgrePixelFormat.h:317
std::vector< OctreeNode * > NodeList
Definition: OgreOctree.h:131
ViewPoint getSuggestedViewpoint(bool random=false)
Specialised to suggest viewpoints.
bool isBlank(void) const
Determines if this texture layer is currently blank.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
HighLevelGpuProgramPtr getByName(const String &name, const String &groupName=RGN_DEFAULT)
Get a resource by name.
GLclampf getClearDepth(void) const
Gets the clear depth in the range from [0..1].
Definition: OgreGL3PlusStateCacheManager.h:180
D3D11Texture * getParentTexture() const
virtual void renderQueueStarted(uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
Event raised before a queue group is rendered.
Definition: OgreRenderQueueListener.h:80
GeometryAllocatedObject IndexDataAlloc
Definition: OgreMemoryAllocatorConfig.h:127
float getAttenuationRange(void) const
Returns the absolute upper range of the light.
Definition: OgreLight.h:170
uint32 HashCombine(uint32 hashSoFar, const T &data)
Combine hashes with same style as boost::hash_combine.
Definition: OgreCommon.h:55
void doSet(void *target, const String &val)
uint8 source
The source sampler index of this element relative to LayerDeclaration's list.
Definition: OgreTerrainMaterialGenerator.h:72
virtual void normal(const Vector3 &norm)
Add a vertex normal to the current vertex.
void copyFromFramebuffer(uint32 zoffset)
Copy from framebuffer.
void swap(Ogre::SmallVectorImpl< T > &LHS, Ogre::SmallVectorImpl< T > &RHS)
Implement std::swap in terms of SmallVector swap.
Definition: OgreSmallVector.h:778
static GPUVendor vendorFromString(const String &vendorString)
Convert a vendor string to an enum.
virtual bool prequeueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called before a movable object's LOD has changed.
Definition: OgreLodListener.h:134
void setAdjust(float red, float green, float blue, float alpha=0.0)
Sets the colour adjustment to be made per second to particles.
In(ParameterPtr p)
Definition: OgreShaderFunctionAtom.h:164
ShadowTextureConfig()
Definition: OgreSceneManager.h:72
GLuint getGLBufferId(void) const
Definition: OgreGLES2HardwareIndexBuffer.h:70
Predefined controller value for getting / setting a texture coordinate modifications (scales and tran...
Definition: OgrePredefinedControllers.h:111
virtual void setColour(const ColourValue &colour)
Sets the initial colour of particles emitted.
float intensity
Definition: OgreHlmsPbsMaterial.h:128
void _focusLost()
Definition: OgreTrays.h:317
@ MANUAL_CULL_BACK
Cull triangles whose normal is pointing away from the camera (default).
Definition: OgreCommon.h:179
virtual const LightList * objectQueryLights(const MovableObject *)
Called when the movable object needs to query a light list.
Definition: OgreMovableObject.h:101
String DXGetErrorDescription(HRESULT hr)
Texture * _getCompositeMapRTT()
Definition: OgreTerrainMaterialGenerator.h:394
void setUseOneWeight(bool enable)
Definition: OgreInstanceBatchVTF.h:192
size_t calculateSize(void) const
virtual void prepareShadowTextures(Camera *cam, Viewport *vp, const LightList *lightList=0)
Plane::Side outside
Definition: OgrePlaneBoundedVolume.h:55
An off-screen rendering context.
Definition: OgreGLPBuffer.h:40
In(const Vector2 &v)
Definition: OgreShaderFunctionAtom.h:169
PagedWorldSection * createSection(const String &strategyName, SceneManager *sceneMgr, const String §ionName=BLANKSTRING)
Create a new manually defined section of the world.
@ PF_R16G16B16_SINT
48-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int), 16 bits green (signed int).
Definition: OgrePixelFormat.h:182
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
Definition: src/GLSL/include/OgreGLSLProgram.h:58
bool getAborted() const
Get the abort flag.
Definition: OgreWorkQueue.h:118
virtual void setRenderQueueGroupAndPriority(uint8 queueID, ushort priority)=0
Sets which render queue group and priority this renderer should target with it's output.
void createManualLodLevel(Ogre::Real distance, const String &manualMeshName)
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
Definition: OgrePixelFormat.h:341
RotationInterpolationMode getRotationInterpolationMode(void) const
Gets the current rotation interpolation mode of this animation.
Any & operator=(const Any &rhs)
Definition: OgreAny.h:98
static String FACTORY_TYPE_NAME
Definition: OgrePCZLight.h:128
virtual const Affine3 & _getParentNodeFullTransform(void) const
Return the full transformation of the parent sceneNode or the attachingPoint node.
KeyType peekNextKey(void) const
Returns the next(=current) key element in the collection, without advancing to the next.
Definition: OgreIteratorWrapper.h:277
size_t faceIndex
The position in the index buffer that's affected.
Definition: OgreTangentSpaceCalc.h:60
uint32 id
Identifier of the chunk (for example from makeIdentifier) (stored)
Definition: OgreStreamSerialiser.h:95
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
@ ERR_CANNOT_WRITE_TO_FILE
Definition: OgreException.h:110
@ RSC_ANISOTROPY
Supports anisotropic texture filtering.
Definition: OgreRenderSystemCapabilities.h:82
Light::LightTypes getOnlyLightType() const
Gets the single light type this pass runs for if getIteratePerLight and getRunOnlyForOneLightType are...
Definition: OgrePass.h:1123
~Exception()
Needed for compatibility with std::exception.
Definition: OgreException.h:136
String name
Definition: OgreConfigOptionMap.h:51
Vector3 mDirection
Direction (and speed)
Definition: OgreParticle.h:88
std::vector< uint > UnsignedIntConstantList
Definition of container that holds the current uint constants.
Definition: OgreGpuProgramParams.h:410
virtual const Vector3 & getRegionDimensions(void) const
Gets the size of a single batch of geometry.
Definition: OgreStaticGeometry.h:727
virtual GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
@ ACT_PASS_NUMBER
provides the pass index number within the technique of the active materil.
Definition: OgreGpuProgramParams.h:1113
void setTexParameteri(GLenum target, GLenum pname, GLint param)
Sets an integer parameter value per texture target.
Font(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor.
const String & getInputName() const
Gets currently set input file name.
Definition: OgreExternalTextureSource.h:117
void showLogo(TrayLocation trayLoc, size_t place=-1)
Shows logo in the specified location.
static Quake3ShaderManager * getSingletonPtr(void)
Get the singleton instance.
Entity * clone(const String &newName) const
Clones this entity and returns a pointer to the clone.
VertexAnimationTrack * getVertexTrack(unsigned short handle) const
Gets a Vertex track by it's handle.
virtual bool requiresTextureFlipping() const =0
virtual ~RenderQueueInvocation()
void viewportDestroyed(Viewport *viewport)
Notification of when target listening Viewport's is destroyed.
void setShadowFarClipDistance(Real farClip)
Set the far clip plane distance to be used by the shadow camera, if this light casts texture shadows.
Definition: OgreLight.h:462
Factory class for particle emitter of type "HollowEllipsoid".
Definition: OgreHollowEllipsoidEmitterFactory.h:44
Definition: OgreD3D9GpuProgramManager.h:37
static OGRE_FORCE_INLINE uint32 bswap32(uint32 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:64
float getHeightAtWorldPosition(const Vector3 &pos) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual bool _updateAnimation(void)
Called by InstanceBatch in his _updateRenderQueue to tell us we need to calculate our bone matrices.
virtual ~GLSLESProgramProcessor()
Class destructor.
float getAlphaAdjust(void) const
Gets the alpha adjustment to be made per second to particles.
static DWORD get(CullingMode cm, bool flip)
return a D3D9 equivalent for a Ogre CillingMode value
MapIteratorWrapper(IteratorType start, IteratorType last)
Constructor.
Definition: OgreIteratorWrapper.h:271
A factory that enables creation of LayeredBlending instances.
Definition: OgreShaderFFPAlphaTest.h:44
static UniformParameterPtr createSampler(GpuConstantType type, int index)
static SceneManagerEnumerator * getSingletonPtr(void)
Get the singleton instance.
ConstObjectIterator getAttachedObjectIterator(void) const
Definition: OgreSceneNode.h:233
T pop_back_val()
Definition: OgreSmallVector.h:376
@ PROP_INT
Definition: OgreProperty.h:111
virtual void setCloneable(bool c)
Definition: OgreOverlayElement.h:443
void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
String doGet(const void *target) const
Real weight
Definition: OgreVertexBoneAssignment.h:54
const Renderable * srcRenderable
Debug pointer back to renderable which created this.
Definition: OgreRenderOperation.h:122
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
String doGet(const void *target) const
size_t _getIntConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical int constant index.
This plugin subclass of ParticleAffector allows you to alter the colour of particles.
Definition: OgreColourFaderAffector.h:49
const String & getDependency(unsigned int index) const
Get the library name of the given index dependency.
ushort getWeightCount()
Returns the number of weights/bones affecting a vertex.
void removeNodeFromOctree(PCZSceneNode *)
Removes the node from the octree it is in.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
@ RSC_TEXTURE_COMPRESSION_ASTC
Supports compressed textures in the ASTC format.
Definition: OgreRenderSystemCapabilities.h:95
virtual GpuSharedParametersPtr createSharedParameters(const String &name)
Create a new set of shared parameters, which can be used across many GpuProgramParameters objects of ...
void clearDeviceStreams()
void setTexcoordIndex(uint16 texcoordIndex)
setTexcoordIndex() sets which texture coordinate rect this billboard will use when rendering.
virtual void _notifyParticleQuota(size_t quota)=0
Tells the renderer that the particle quota has changed.
ParticleSystemTemplateIterator getTemplateIterator(void)
Gets an iterator over the list of particle system templates.
Definition: OgreParticleSystemManager.h:323
Real getFrameDelay(void) const
Gets the constant that is added to time lapsed between each frame.
Quaternion orientation
Definition: OgreSceneManager.h:85
void clear(bool destroyPassMaps=false)
Empty the queue - should only be called by SceneManagers.
virtual bool isActive(void) const
Overridden from RenderTarget, flags invisible windows as inactive.
Definition: OgreRenderWindow.h:183
void notifyContextDestroyed(GLContext *context)
Definition: OgreGLRenderTexture.h:85
AllocatedObject GeneralAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:97
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
Definition: OgreShadowCaster.h:69
static const Vector3 NEGATIVE_UNIT_Y
Definition: OgreVector.h:261
TerrainMaterialGeneratorA::SM2Profile SM2Profile
Definition: OgreTerrainMaterialShaderHelpers.h:37
@ RSC_TEXTURE_COMPRESSION_ETC2
Supports compressed textures in the ETC2 format.
Definition: OgreRenderSystemCapabilities.h:153
virtual void setMetricsMode(GuiMetricsMode gmm)
Tells this element how to interpret the position and dimension values it is given.
virtual void update(bool swapBuffers)
Tells the target to update it's contents.
virtual void applyFixedFunctionParams(const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Definition: OgreRenderSystem.h:275
String getErrorDescription(long errorNumber) const
@ SHADOWDETAILTYPE_TEXTURE
Mask for texture shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:232
void baseVertexPointerToElement(void *pBase, unsigned short **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:314
bool operator<(const Vector &rhs) const
Returns true if the vector's scalar components are all greater that the ones of the vector it is comp...
Definition: OgreVector.h:389
virtual void requestOptions(Terrain *terrain)
Triggers the generator to request the options that it needs.
Definition: OgreTerrainMaterialGenerator.h:285
void setFlipCullingOnNegativeScale(bool n)
Set whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:3290
virtual Real getMinTimeToLive(void) const
Gets the minimum time each particle will live for.
String doGet(const void *target) const
uint32 getSrcWidth(void) const
Returns the width of the original input texture (may differ due to hardware requirements).
Definition: OgreTexture.h:243
VectorIteratorWrapper(IteratorType start, IteratorType last)
c'tor
Definition: OgreIteratorWrapper.h:151
Technique * getTechnique(void) const
Retrieves a pointer to the Material Technique this renderable object uses.
This class makes the usage of a vertex and fragment programs (low-level or high-level),...
Definition: OgreGpuProgramUsage.h:74
IndexPositionMode positionMode
Definition: OgreShaderExTextureAtlasSampler.h:227
@ PF_BYTE_L
Definition: OgrePixelFormat.h:55
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines used to compile the program.
Definition: OgreHighLevelGpuProgram.h:131
@ RENDER_QUEUE_3
Definition: OgreRenderQueue.h:62
bool hasPassIterationNumber() const
Definition: OgreGpuProgramParams.h:2006
Out(const Operand &rhs)
Definition: OgreShaderFunctionAtom.h:176
virtual RenderTarget * detachRenderTarget(const String &name)
Detaches the render target with the passed name from the render system and returns a pointer to it.
const GpuProgramPtr & getShadowReceiverFragmentProgram(void) const
Gets the fragment program used by this pass when rendering shadow receivers, only available after _lo...
void setCaption(const Ogre::DisplayString &caption)
bool getPagingOperationsEnabled() const
Get whether paging operations are currently allowed to happen.
Definition: OgrePageManager.h:433
std::string _StringBase
Definition: OgrePrerequisites.h:318
@ SDLK_F1
Definition: OgreInput.h:101
const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
@ ACT_VERTEX_WINDING
-1 if the winding has been inverted (e.g.
Definition: OgreGpuProgramParams.h:790
Stream(const Stream &rhs)
Definition: OgreLog.h:216
bool hasFlag(const ImageFlags imgFlag) const
Returns true if the image has the appropriate flag set.
void _notifyUniformBufferDestroyed(HardwareUniformBuffer *buf)
Notification that at hardware uniform buffer has been destroyed.
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
RenderTarget * getRenderTarget(const String &name)
Get the render target for a given render texture name.
Vector(T s)
Definition: OgreVector.h:331
A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same L...
Definition: OgreStaticGeometry.h:255
T top
Definition: OgreCommon.h:598
Real getTop(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
virtual ~SceneQueryListener()
Definition: OgreSceneQuery.h:184
IDirect3DTexture9 * getNormTexture()
retrieves a pointer to the normal 1D/2D texture
void setRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the right edge of the border.
virtual bool getDirPositionReferenceEnabled() const
Returns whether direction or position reference is used.
bool isLocked(void) const
void recalcTangents(void)
Recalculates the tangents associated with this spline.
void fireDeviceEvent(D3D11Device *device, const String &name, D3D11RenderWindowBase *sendingWindow=NULL)
virtual ~CompositorLogic()
Definition: OgreCompositorLogic.h:62
CompareFunction depthFunc
Definition: OgreQuake3Shader.h:83
size_t getRowSkip() const
Get the number of elements between one past the rightmost pixel of one row and the leftmost pixel of ...
Definition: OgrePixelFormat.h:402
virtual ~RandomValueProvider()
Definition: OgreMath.h:223
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:94
static const ColourValue White
Definition: OgreColourValue.h:62
@ ACT_LIGHT_SPECULAR_COLOUR
Light specular colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:827
@ TL_TOPRIGHT
Definition: OgreTrays.h:58
void uninstall()
Perform the final plugin uninstallation sequence.
Definition: OgreSTBICodec.h:80
@ ID_TWO_SIDED
Definition: OgreScriptCompiler.h:847
@ PT_CLEAR
Clear target to one colour.
Definition: OgreCompositionPass.h:56
bool checkGPURules(StringStream &errors)
Internal method for checking GPU vendor / device rules.
const Radian & getRotationRangeEnd(void) const
Gets the maximum rotation of particles to be emitted.
const String & getName(void) const
Returns the name of the rendering system.
void makeCeil(const Vector &cmp)
Sets this vector's components to the maximum of its own and the ones of the passed in vector.
Definition: OgreVector.h:429
static LogManager * getSingletonPtr(void)
Get the singleton instance.
virtual bool prequeueEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Called before an entity's mesh LOD has changed.
Definition: OgreLodListener.h:162
uint32 getGLMultisampleFBOID() const
Get the GL id for the multisample FBO.
Definition: OgreGLRenderTexture.h:81
String doGet(const void *target) const
static String toString(Degree val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a Degree to a String.
Definition: OgreStringConverter.h:89
size_t getShadowTextureCountPerLightType(Light::LightTypes type) const
Get the number of shadow textures is assigned for the given light type.
Definition: OgreSceneManager.h:2800
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op=SBO_ADD, SceneBlendOperation alphaOp=SBO_ADD)
void prepare()
Prepare node and children (perform CPU tasks, may be background thread)
CompositorLogic * getCompositorLogic(const String &name)
Get a compositor logic by its name.
void setMainCamBoundsInfo(VisibleObjectsBoundsInfo *info)
Sets the main camera's scene bounding information.
virtual Animation * getAnimation(const String &name) const
Returns the named Animation object.
size_t getMemoryBudget(void) const
Get the limit on the amount of memory this resource handler may use.
PagedWorldSection * createSection(PageStrategy *strategy, SceneManager *sceneMgr, const String §ionName=BLANKSTRING)
Create a manually defined new section of the world.
void setBottomRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom-right corner of the border.
float dx
Definition: OgreInput.h:77
void setFrameDelay(Real fd)
Sets a constant frame rate.
Specialised KeyFrame which stores any numeric value.
Definition: OgreKeyFrame.h:80
RequestID getID() const
Get the identifier of this request.
Definition: OgreWorkQueue.h:116
@ FFP_VS_FOG
Definition: OgreShaderFFPRenderState.h:50
void setVisibilityMask(uint32 vmask)
Sets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is ...
Definition: OgreSceneManager.h:3242
void _setDepthBufferWriteEnabled(bool enabled=true)
Sets whether or not the depth buffer is updated after a pixel write.
Animation * getAnimation(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Returns the named Animation object.
unsigned int getHits()
Definition: OgreVertexIndexData.h:303
void install()
Perform the plugin initial installation sequence.
Vector & operator*=(const Vector &b)
Definition: OgreVector.h:625
virtual ~PropertyBase()
Definition: OgreProperty.h:197
void Swap(ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:172
AlignedAllocator()
Definition: OgreAlignedAllocator.h:105
uint32 getProfileGroupMask() const
Get the mask which all profiles must pass to be enabled.
Definition: OgreProfiler.h:318
@ GCT_DOUBLE2
Definition: OgreGpuProgramParams.h:97
Real getInnerSizeZ(void) const
Gets the z component of the area inside the ellipsoid which doesn't emit particles.
@ ACT_CAMERA_RELATIVE_POSITION
The current camera's position in world space even when camera relative rendering is enabled.
Definition: OgreGpuProgramParams.h:966
static CmdGreenAdjust2 msGreenCmd2
Definition: OgreColourFaderAffector2.h:194
void setWidth(Real width)
Sets the width (local x size) of the emitter.
static DWORD get(HardwareBuffer::LockOptions options, HardwareBuffer::Usage usage)
Get lock options.
static const char * UserKey
Key name for associating with a Pass instance.
Definition: OgreShaderRenderState.h:178
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
Definition: OgrePageContent.h:69
size_t physicalIndex
Physical start index in buffer (either float, double, int, or uint buffer)
Definition: OgreGpuProgramParams.h:146
void createShaderAccessPoint(uint bindPoint, TextureAccess access=TA_READ_WRITE, int mipmapLevel=0, int textureArrayIndex=0, PixelFormat format=PF_UNKNOWN)
Enable read and/or write privileges to the texture from shaders.
ExternalTextureSource * getCurrentPlugIn(void) const
Returns currently selected plugin, may be null if none selected.
Definition: OgreExternalTextureSourceManager.h:67
std::vector< TerrainLayerSamplerElement > TerrainLayerSamplerElementList
Definition: OgreTerrainMaterialGenerator.h:98
Codec specialized in images.
Definition: OgreImageCodec.h:48
static String eventType
Definition: OgreScriptCompiler.h:567
virtual SphereSceneQuery * createSphereQuery(const Sphere &sphere, uint32 mask=0xFFFFFFFF)
Creates a SphereSceneQuery for this scene manager.
virtual PageContentCollection * getContentCollection(size_t index)
Get a content collection.
virtual ~GLES2RenderSystem()
~LodStrategyManager()
Destructor.
void _validateStereo()
Validate the type of stereo that is enabled for this window.
void _render(const RenderOperation &op)
Render something to the active viewport.
void setTextAlignment(Ogre::TextAreaOverlayElement::Alignment ta)
Sets text box content horizontal alignment.
void setScrollPercentage(Ogre::Real percentage)
Sets how far scrolled down the text is as a percentage.
void addWorldSectionFactory(PagedWorldSectionFactory *f)
Add a new PagedWorldSectionFactory implementation.
Real Norm() const
Returns the normal length of this quaternion.
Definition: OgreQuaternion.h:211
void _updatePCZSceneNodes(void)
Update the PCZSceneNodes.
ushort getRenderQueuePriority(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
Definition: OgreSubEntity.h:183
void _addBoundingBoxToQueue(RenderQueue *queue)
Add the bounding box to the rendering queue.
static const String & getFormatName(PixelFormat srcformat)
Gets the name of an image format.
virtual void setMinTimeToLive(Real min)
Sets the minimum time each particle will live for.
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:121
GLFrameBufferObjectCommon(int32 fsaa)
Real dw
Definition: OgreDualQuaternion.h:166
void doSet(void *target, const String &val)
SubRenderStateFactory * getSubRenderStateFactory(const String &type)
Returns a sub render state factory by name.
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)=0
Applies an animation track to the designated target.
void copyData(GLuint srcBufferId, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer)
virtual void build(void)
Build the geometry.
@ SPC_TEXTURE_COORDINATE7
Definition: OgreShaderParameter.h:298
Vector4f getTime_0_1_packed(Real x) const
uint32 getTypeFlags(void) const
Override to return specific type flag.
int mNumEntities
Definition: OgreQuake3Level.h:126
bool fsaa
Definition: OgreCompositionTechnique.h:74
DecodeResult decode(const DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
static ParameterPtr createConstParam(const Vector4 &val)
bool isArray() const
Returns Whether this parameter is an array.
Definition: OgreShaderParameter.h:361
bool useSharedVertices
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.
Definition: OgreSubMesh.h:72
Real getSquaredViewDepth(const Camera *cam) const
This is used by our batch owner to get the closest entity's depth, returns infinity when not attached...
bool hasBlendFactor2
Definition: OgreHlmsPbsMaterial.h:137
~TextureUnitState()
Default destructor.
Definition: OgreSharedPtr.h:48
void assign(const In &from, const Out &to) const
to = from;
Definition: OgreShaderFunction.h:74
virtual void updateUniforms(const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
this is called for every renderable before it is renderd with the given pass
Definition: OgreHlmsMaterialBase.h:62
void setGreenAdjust2(float green)
Real texCoord
U or V texture coord depending on options.
Definition: OgreBillboardChain.h:100
Matrix4 getTransposeWorldViewMatrix() const
static bool isInteger(PixelFormat format)
Shortcut method to determine if the format is integer.
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
Definition: OgreOverlayElement.h:195
void enableReflection(const Plane &p)
Modifies this frustum so it always renders from the reflection of itself through the plane specified.
void setTextureCompareEnabled(bool enabled)
Enables or disables the comparison test for depth textures.
Definition: OgreTextureUnitState.h:712
bool keyPressed(const KeyboardEvent &evt)
std::map< SubMesh *, SubMeshLodGeometryLinkList * > SubMeshGeometryLookup
Definition: OgreStaticGeometry.h:156
AnimationState(AnimationStateSet *parent, const AnimationState &rhs)
Constructor to copy from an existing state with new parent.
static const Vector3 NEGATIVE_UNIT_Z
Definition: OgreVector.h:262
void setManualNamedConstants(const GpuNamedConstants &namedConstants)
Allows you to manually provide a set of named parameter mappings to a program which would not be able...
SharedPtr< ControllerFunction< Real > > ControllerFunctionRealPtr
Definition: OgreControllerManager.h:48
Definition: OgreShaderExTextureAtlasSampler.h:45
GLContext * getContextFor(PixelComponentType ctype, uint32 width, uint32 height)
Get GL rendering context for a certain component type and size.
void invalidateStateForTexture(GLuint texture)
Invalidates the state associated with a particular texture ID.
virtual bool addFunctionInvocations(ProgramSet *programSet)
~PCZLight()
Standard destructor.
bool getTransparentSortingForced(void) const
Returns whether or not transparent sorting is forced.
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
unsigned int getColourDepth() const
@ ID_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:633
Struct containing information about a material LOD change event for entities.
Definition: OgreLodListener.h:74
std::list< SceneQueryMovableObjectWorldFragmentPair > SceneQueryMovableWorldFragmentIntersectionList
Definition: OgreSceneQuery.h:485
AnimationStateSet(const AnimationStateSet &rhs)
Create an animation set by copying the contents of another.
@ SOP_REPLACE
Set the stencil value to the reference value.
Definition: OgreRenderSystem.h:81
void touch(void)
'Touches' the resource to indicate it has been used.
MapIterator< ParticleEmitterFactoryMap > ParticleEmitterFactoryIterator
Definition: OgreParticleSystemManager.h:311
@ ID_CHECK
Definition: OgreScriptCompiler.h:834
static Degree Sign(const Degree &dValue)
Definition: OgreMath.h:381
static const IdString UvCount3
Definition: OgreHlmsPropertyHelper.h:60
void loadGroupDefinition(StreamSerialiser &stream)
Load the group definition only in native form from a serializing stream.
@ SPC_UNKNOWN
Unknown content.
Definition: OgreShaderParameter.h:81
Plugin instance for PCZ Manager.
Definition: OgrePCZPlugin.h:52
void setF0Texture(MapSlot mapSlot, TexturePtr tex, TextureAddressing textureAddressing=TextureAddressing(), BlendFunction blendFunc=BF_ALPHA, float blendFactor=1)
D3D9HardwareOcclusionQuery()
Default object constructor.
void cleanupEmptyBatches(void)
This function can be useful to improve CPU speed after having too many instances created,...
void _setTextureCoordSet(size_t unit, size_t index)
Sets the texture coordinate set to use for a texture unit.
bool mDeleteDclBinding
Whether this class should delete the declaration and binding.
Definition: OgreVertexIndexData.h:86
virtual ~ResourceLoadingListener()
Definition: OgreResourceGroupManager.h:213
SceneBlendFactor getDestBlendFactorAlpha() const
Retrieves the alpha destination blending factor for the material.
String getErrorDescription(const HRESULT hr=NO_ERROR) const
void setZOrder(ushort zorder)
Alters the Z-order of this overlay.
std::vector< ManualObjectSection * > SectionList
Definition: OgreManualObject.h:498
void buildEdgeList(void)
Builds an edge list for this mesh, which can be used for generating a shadow volume among other thing...
@ ACT_LOD_CAMERA_POSITION_OBJECT_SPACE
Provides the position of the LOD camera in object space, allowing you to perform separate LOD calcula...
Definition: OgreGpuProgramParams.h:1209
void abortRequest() const
Set the abort flag.
Definition: OgreWorkQueue.h:106
void enableCustomNearClipPlane(const Plane &plane)
Links the frustum to a custom near clip plane, which can be used to clip geometry in a custom manner ...
const String & getTargetLanguage() const
Return the target shader language currently in use.
Definition: OgreShaderGenerator.h:135
StatFlags
Definition: OgreRenderTarget.h:66
bool isSkyEnabled(void) const
Is sky enabled?
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
PropertyValueMap getValueMap() const
Gets an independently usable collection of property values from the current state.
static const IdString UvCount6
Definition: OgreHlmsPropertyHelper.h:63
static Matrix4 parseMatrix4(const String &val, const Matrix4 &defaultValue=Matrix4::IDENTITY)
Parses a Matrix4 out of a String.
Definition: OgreStringConverter.h:296
static String eventType
Definition: OgreScriptCompiler.h:557
String resourceType
Definition: OgreResourceGroupManager.h:264
void removeAllSharedParameters()
Stop using all shared parameter sets.
virtual void unload()=0
Unloads the archive.
~SmallVectorImpl()
Definition: OgreSmallVector.h:316
virtual EdgeData * getEdgeList(void)=0
Returns details of the edges which might be used to determine a silhouette.
void updateParams(const MaterialPtr &mat, const Terrain *terrain)
Update params for a terrain.
@ SBT_ADD
The colour of the rendering output is added to the scene. Good for explosions, flares,...
Definition: OgreBlendMode.h:219
BillboardOrigin
Enum covering what exactly a billboard's position means (center, top-left etc).
Definition: OgreBillboardSet.h:55
virtual ~WindowEventListener()
Definition: OgreWindowEventUtilities.h:61
static size_t getVectorIDFromPointer(const std::vector< T, A > &vec, const T *pointer)
Definition: OgreLodData.h:170
Definition: OgrePCZSceneNode.h:60
Vector3 mC2
Definition: OgreVolumeDualGridGenerator.h:52
@ ST_EXTERIOR_FAR
Definition: OgreSceneManager.h:3533
void unloadPlugin(const String &pluginName)
Manually unloads a Plugin contained in a DLL / DSO.
void importSkeleton(DataStreamPtr &stream, Skeleton *pDest)
Imports Skeleton and animation data from a .skeleton file DataStream.
void setPointSize(float ps)
Sets the point size of this pass.
Definition: OgrePass.h:424
~D3D11HardwareOcclusionQuery()
Object destructor.
Command object for setting profiles.
Definition: OgreGLSLESCgProgram.h:44
static CmdGreenAdjust msGreenCmd
Definition: OgreColourFaderAffector.h:139
QueuedRenderableCollection()
void destroyOverlayElement(OverlayElement *pInstance, bool isTemplate=false)
Destroys a OverlayElement.
virtual void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
virtual void setFullscreen(bool fullScreen, unsigned int widthPt, unsigned int heightPt)
Alter fullscreen mode options.
Definition: OgreRenderWindow.h:116
void setUseRayBoxDistanceCalculation(bool rb)
Sets whether to use an accurate ray / box intersection to determine distance from a terrain tile,...
Definition: OgreTerrain.h:2004
void getVector(Real x, Real y, Real z, Vector3 *outVec) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
float getGreenAdjust1(void) const
Gets the green adjustment to be made per second to particles.
Real getIterationInterval(void) const
Gets a 'iteration interval' on this particle system.
Definition: OgreParticleSystem.h:424
Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for animating this skeleton.
@ ID_GREATER
Definition: OgreScriptCompiler.h:650
@ BS_UP
Definition: OgreTrays.h:70
size_t getIndexDataEndIndex() const
Returns the current value of the start index used for drawing.
FunctionType getFunctionType() const
void deleteGLRenderBuffer(GLuint buffer)
Delete an OpenGL render buffer.
void _notifyOwner(BillboardSet *owner)
Internal method for notifying the billboard of it's owner.
void bind(T *rep)
Definition: OgreSharedPtr.h:85
void setNamedConstant(const String &name, const Vector3 &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
GLSL ES Language program processor class.
Definition: OgreShaderGLSLESProgramProcessor.h:47
virtual void _notifyWorldTransforms(const Matrix4 &xform)
Internal method to notify the element when it's world transform of parent overlay has changed.
InstanceBatchIterator getInstanceBatchIterator(const String &materialName) const
Get non-updateable iterator over instance batches for given material.
Definition: OgreInstanceManager.h:309
@ BY_DISTANCE
Definition: OgreTerrainAutoUpdateLod.h:70
int getNumFaceGroups(void) const
Returns the number of faces contained in this leaf node.
@ PF_ASTC_RGBA_10X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x5)
Definition: OgrePixelFormat.h:260
void setWorkQueue(WorkQueue *queue)
Replace the current work queue with an alternative.
bool useCompression
If enabled, it allows up to 50% smaller index buffers by storing once shared faces with frame shiftin...
Definition: OgreLodConfig.h:153
bool isDirty() const
True if this parameter set is dirty (values have been modified, but the render system has not updated...
Definition: OgreGpuProgramParams.h:492
void addIndexData(const IndexData *indexData, size_t vertexSet=0, RenderOperation::OperationType opType=RenderOperation::OT_TRIANGLE_LIST)
Add a set of index geometry data to the edge builder.
bool isPointRenderingEnabled(void) const
Returns whether point rendering is enabled.
@ PF_X8R8G8B8
32-bit pixel format, 8 bits for red, 8 bits for green, 8 bits for blue like Ogre::PF_A8R8G8B8,...
Definition: OgrePixelFormat.h:106
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
virtual void rebindIndexBuffer(const HardwareIndexBufferSharedPtr &indexBuffer)=0
This function informs the shadow renderable that the global index buffer from the SceneManager has be...
void setIteratePerLight(bool enabled, bool onlyForOneLightType=true, Light::LightTypes lightType=Light::LT_POINT)
Sets whether or not this pass should iterate per light or number of lights which can affect the objec...
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
This is a listener for the compiler.
Definition: OgreScriptCompiler.h:361
Definition: OgreSmallVector.h:774
Vector3 mC5
Definition: OgreVolumeDualGridGenerator.h:55
@ FBT_COLOUR
Definition: OgreCommon.h:320
A 'track' in an animation sequence, i.e.
Definition: OgreAnimationTrack.h:124
@ M_POSES
Definition: OgreMeshFileFormat.h:172
void parseScript(DataStreamPtr &stream, const String &groupName)
const Vector3 & getNormal(void) const
Returns the polygon normal.
TRect & merge(const TRect &rhs)
Definition: OgreCommon.h:632
@ ID_TESSELLATION_HULL
Definition: OgreScriptCompiler.h:859
virtual bool isSyntaxSupported(const String &syntaxCode) const
Returns whether a given syntax code (e.g.
void seek(size_t pos)
Repositions the read point to a specified byte.
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
@ ID_GAMMA
Definition: OgreScriptCompiler.h:707
virtual void shutdown()=0
Perform any tasks the plugin needs to perform when the system is shut down.
@ GCT_INT1
Definition: OgreGpuProgramParams.h:91
virtual const String & getValue() const =0
Returns a string value depending on the type of the AbstractNode.
Real getShadowFarDistance(void) const
Gets the default maximum distance away from the camera that shadows will be visible.
Definition: OgreSceneManager.h:2679
void setAffectsVisibleZone(bool affects)
Marks a light as affecting a visible zone.
Definition: OgrePCZLight.h:87
Vertex * vertex[3]
Definition: OgreLodData.h:114
VertexReductionMethod
Type of the reduction.
Definition: OgreLodConfig.h:62
~SimplePageContentCollection()
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const =0
Query the real capabilities of the GPU and driver in the RenderSystem.
Animation * clone(const String &newName) const OGRE_NODISCARD
Clone this animation.
void bindGLTexture(GLenum target, GLuint texture)
Bind an OpenGL texture of any type.
Real getShadowFarClipDistance() const
Get the far clip plane distance to be used by the shadow camera, if this light casts texture shadows.
Definition: OgreLight.h:470
static CmdKeepVelocity msKeepVelocityCmd
Definition: OgreDirectionRandomiserAffector.h:103
static OGRE_FORCE_INLINE uint16 bswap16(uint16 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:52
virtual void read(Vector4 *vec, size_t count=1)
void setResetsEveryUpdate(bool resetsEveryUpdate)
Set whether this object resets its buffers each time it updates.
Definition: OgreRenderToVertexBuffer.h:88
static PropertyType getTypeForValue(const ColourValue &val)
Definition: OgreProperty.h:171
void setFragmentProgramConstantIntCount(ushort c)
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:676
std::map< String, PageContentFactory * > ContentFactoryMap
Definition: OgrePageManager.h:236
void setVisible(bool visible)
Tells this object whether to be visible or not, if it has a renderable component.
Definition: OgreLight.h:333
void _setRawAutoConstant(size_t physicalIndex, AutoConstantType acType, size_t extraInfo, uint16 variability, size_t elementSize=4)
As setAutoConstant, but sets up the auto constant directly against a physical buffer index.
#define OGRE_MAX_TEXTURE_COORD_SETS
Define number of texture coordinate sets allowed per vertex.
Definition: OgreConfig.h:44
const VertexTrackList & _getVertexTrackList(void) const
Fast access to NON-UPDATEABLE Vertex track list.
bool hasBeenRendered
"Has been rendered" flag; used in combination with onlyInitial to determine whether to skip this targ...
Definition: OgreCompositorInstance.h:159
virtual GLFBORenderTexture * createRenderTexture(const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
~Image()
Standard destructor.
shared_ptr< GLES2GpuProgram > GLES2GpuProgramPtr
Definition: OgreGLES2Prerequisites.h:84
std::vector< ShadowRenderable * > ShadowRenderableList
Definition: OgreShadowCaster.h:137
void destroyEntity(Entity *ent)
Removes & destroys an Entity from the SceneManager.
@ CNT_RBRACE
Definition: OgreScriptCompiler.h:57
@ SHADER_GEN_VERTEX
Definition: OgreQuake3Types.h:122
void useCustomRenderSystemCapabilities(RenderSystemCapabilities *capabilities)
Requests active RenderSystem to use custom RenderSystemCapabilities.
void doSet(void *target, const String &val)
void setEnabled(GLenum flag, bool enabled)
Enables a piece of OpenGL functionality.
TerrainSlotDefinition def
Definition used to load the terrain.
Definition: OgreTerrainGroup.h:341
SkeletonInstance(const SkeletonPtr &masterCopy)
Constructor, don't call directly, this will be created automatically when you create an Entity based ...
T data[dims]
Definition: OgreVector.h:64
Terrain * getTerrain() const
Get ultimate parent terrain.
virtual bool isHeld() const
Returns whether this page was 'held' in the last frame, that is was it either directly needed,...
@ ACT_WORLDVIEWPROJ_MATRIX
The current world, view & projection matrices concatenated.
Definition: OgreGpuProgramParams.h:767
CompositionTargetPass * createTargetPass()
Create a new target pass, and return a pointer to it.
void _focusLost()
Definition: OgreTrays.h:557
virtual void writeSourceCode(std::ostream &os, Program *program)
PoseRef(ushort p, Real i)
Definition: OgreKeyFrame.h:209
ID3D11Texture3D * GetTex3D()
Definition: OgreD3D11Texture.h:63
static ArchiveManager & getSingleton(void)
Get the singleton instance.
void setLoadingListener(ResourceLoadingListener *listener)
Sets a new loading listener.
virtual SceneNode * createSceneNodeImpl(void)
Creates a specialized OctreeNode.
@ SPC_POSITION_LIGHT_SPACE0
Position in light space index 0-7.
Definition: OgreShaderParameter.h:96
virtual void _buildKeyFrameIndexMap(const std::vector< Real > &keyFrameTimes)
Internal method to build keyframe time index map to translate global lower bound index to local lower...
void setRenderToBufferMaterialName(const String &materialName)
Set the material name which is used to render the geometry into the vertex buffer.
RenderablePass(Renderable *rend, Pass *p)
Definition: OgreRenderQueueSortingGrouping.h:59
String atlasTextureName
Definition: OgreShaderExTextureAtlasSampler.h:63
virtual void _notifyParticleResized(void)
Optional callback notified when particles are resized individually.
Definition: OgreParticleSystemRenderer.h:77
virtual void removeListener(Listener *lis)
Remove a listener on this resource.
IdString(const std::string &string)
Definition: OgreIdString.h:117
void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
GLES2FBOManager * getManager()
Definition: OgreGLES2FrameBufferObject.h:61
void _notifyOrigin(const String &origin)
Notify this particle system of it's origin.
Definition: OgreParticleSystem.h:526
Plugin instance for Cg Program Manager.
Definition: OgreCgPlugin.h:39
TerrainLayerSampler(const String &aliasName, PixelFormat fmt)
Definition: OgreTerrainMaterialGenerator.h:119
static ProgramWriterManager * getSingletonPtr()
Get the singleton instance.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
@ TU_DYNAMIC
same as HardwareBuffer::HBU_DYNAMIC
Definition: OgreTexture.h:53
@ SPC_POSTOLIGHT_VIEW_SPACE1
Definition: OgreShaderParameter.h:151
void setInnerSize(Real x, Real y)
Sets the size of the clear space inside the area from where NO particles are emitted.
void updateZoneData(void)
virtual bool frameRenderingQueued(const FrameEvent &evt)
Called after all render targets have had their rendering commands issued, but before render windows h...
Definition: OgreFrameListener.h:116
static void getBitMasks(PixelFormat format, uint64 rgba[4])
Gives the masks for the R, G, B and A component.
unsigned short _getSchemeIndex(void) const
Internal method for getting the scheme index.
TextureFrameControllerValue(TextureUnitState *t)
HardwareBuffer::Usage getVertexBufferUsage(void) const
Gets the usage setting for this meshes vertex buffers.
Definition: OgreMesh.h:605
@ SPC_LIGHTDIRECTION_WORLD_SPACE1
Definition: OgreShaderParameter.h:181
void writeSourceCode(std::ostream &os, const String &targetLanguage) const
Abstract method that writes a source code to the given output stream in the target shader language.
#define OGRE_THREAD_WORKER_INHERIT
Definition: OgreThreadDefinesBoost.h:35
@ VSOCP_MEDIUM
Definition: OgreShaderPrerequisites.h:83
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer)
Override so we can attach the depth buffer to the FBO.
PagedWorld * createWorld(const String &name=BLANKSTRING)
Create a new PagedWorld instance.
virtual void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)=0
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
void FromEulerAnglesXYZ(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
void addSubRenderStateInstance(SubRenderState *subRenderState)
Add sub render state to this render state.
virtual void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
virtual ~CompositorManager()
Alignment terrainAlign
The alignment of the terrain.
Definition: OgreTerrain.h:327
Real getVolumeSpaceToWorldSpaceFactor(void) const
Gets a factor to come from volume coordinate to world coordinate.
int mNumElements
Definition: OgreQuake3Level.h:123
void setShadowNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Definition: OgreLight.h:438
void setShadowTextureFSAA(unsigned short fsaa)
Set the level of multisample AA of the textures used for texture-based shadows.
Definition: OgreSceneManager.h:2774
virtual ~LodWorkQueueInjectorListener()
Definition: OgreLodWorkQueueInjectorListener.h:41
static void shutdown(void)
Static method to shutdown and unregister the ETC codec.
String getName() const
See ParticleEmitterFactory.
Definition: OgreEllipsoidEmitterFactory.h:49
virtual void loadResources()
Loads context-wide resource groups.
FunctionStageRef getStage(size_t s)
get a FFPShaderStage of this function
Definition: OgreShaderFunction.h:231
@ RSC_HWRENDER_TO_TEXTURE
Supports hardware render-to-texture (bigger than framebuffer)
Definition: OgreRenderSystemCapabilities.h:120
Timer * getTimer()
Retrieves the timer for the profiler.
void removeCamera(Camera *c)
Tells the paging system to stop tracking a given camera.
std::vector< Submesh > submesh
Contains every generated indexBuffer from every submesh. submeshCount*lodLevelCount buffers.
Definition: OgreLodBuffer.h:81
const String & getName() const
Get the name of this strategy.
Definition: OgreLodStrategy.h:103
void load()
Load - will be called in main thread.
virtual void _setTextureCoordSet(size_t unit, size_t index)
Sets the texture coordinate set to use for a texture unit.
Definition: OgreRenderSystem.h:533
void setLightMask(uint32 lightMask)
Set a bitwise mask which will filter the lights affecting this object.
Definition: OgreGLSLProgramCommon.h:62
@ ANT_UNKNOWN
Definition: OgreScriptCompiler.h:78
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
@ GCT_MATRIX_DOUBLE_4X3
Definition: OgreGpuProgramParams.h:107
@ ID_LINEAR
Definition: OgreScriptCompiler.h:677
virtual size_t getChainIndexForNode(const Node *n)
Get the chain index for a given Node being tracked.
Real getAdjust(void) const
Gets the scale adjustment to be made per second to particles.
@ VET_COLOUR_ARGB
D3D style compact colour.
Definition: OgreHardwareVertexBuffer.h:133
void _load(void)
Load this usage (and ensure program is loaded)
void destroyAllMovableObjects(void)
Destroy all MovableObjects.
virtual bool oneTimeConfig()
Configures the startup settings for OGRE.
struct _OgreVolumeExport Ogre::Volume::DualCell DualCell
To store the generated dual cells in a vector.
virtual void setCustomShadowReceiverMaterials(const SkinningType skinningType, const MaterialPtr &receiver1Weight, const MaterialPtr &receiver2Weight, const MaterialPtr &receiver3Weight, const MaterialPtr &receiver4Weight)
Sets the list of custom shadow receiver materials.
virtual const String & getTypeName(void) const
See OverlayElementFactory.
unsigned char getNumCustomParams() const
Definition: OgreInstanceManager.h:203
void setOffsetAndScale(MapSlot mapSlot, Vector2 offset, Vector2 scale)
bool _validateDevice()
Validate the device for this window.
Ogre::SceneNode * getCamera()
Definition: OgreCameraMan.h:66
void _removeChild(OverlayElement *elem)
Definition: OgreOverlayContainer.h:91
virtual void setCellRangeMaxX(int32 maxX)
Set the index range of all cells (values outside this will be ignored)
void _writeRawConstants(size_t physicalIndex, const uint *val, size_t count)
Write a series of unsigned integer values into the underlying integer constant buffer at the given ph...
virtual void cameraDestroyed(Camera *cam)
Called when the camera is being destroyed.
Definition: OgreCamera.h:94
static void prepareMatricesForVertexBlend(const Affine3 **blendMatrices, const Affine3 *boneMatrices, const IndexMap &indexMap)
Prepare matrices for software indexed vertex blend.
void setLodTransition(float t)
Manually set the current LOD transition state, intended for internal use only.
virtual bool _prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
eTexturePlayMode
Enum for type of texture play mode.
Definition: OgreExternalTextureSource.h:61
@ ACT_FOV
This variable provides the field of view as a floating point value.
Definition: OgreGpuProgramParams.h:1100
bool prepare(StreamSerialiser &stream)
Prepare terrain data from saved data.
Viewport * getViewport(void) const
Get the last viewport which was attached to this camera.
Definition: OgreCamera.h:546
Template version of cache based on static array.
Definition: OgreDataStream.h:44
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Definition: OgreHardwareIndexBuffer.h:47
@ PFF_INTEGER
This is an integer format.
Definition: OgrePixelFormat.h:319
void removeQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this o...
Definition: OgreMovableObject.h:411
const String & getMovableType(void) const override
Returns the type name of this object.
void _setCameraRelative(Camera *cam)
Set the camera which this light should be relative to, for camera-relative rendering.
virtual ~IntersectionSceneQuery()
HRESULT As(ComPtr< U > *res) const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:233
@ SBF_ONE_MINUS_SOURCE_ALPHA
1 - SBF_SOURCE_ALPHA
Definition: OgreBlendMode.h:240
const String & getReferencedTextureName() const
Gets the name of the texture in the compositor that this texture references.
Definition: OgreTextureUnitState.h:1034
ushort getDesiredFloatBitDepth(void) const
gets desired bit depth for float pixel format textures.
DeformFunc deformFunc
Definition: OgreQuake3Shader.h:113
Definition of a property of an object.
Definition: OgreProperty.h:137
Separate SceneQuery class to query for pairs of objects which are possibly intersecting one another.
Definition: OgreSceneQuery.h:508
AllocatedObject ScriptingAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:103
Real valueAngleUnits() const
Definition: OgreMath.h:766
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this entity.
bool isLanguageSupported(const String &lang)
Returns whether a given high-level language is supported.
Vertex(const Vector3 &v, const Vector3 &n)
Convenience constructor.
Definition: OgreVolumeMeshBuilder.h:73
@ TCD_U
Tex coord in elements is treated as the 'u' texture coordinate.
Definition: OgreBillboardChain.h:154
RotationInterpolationMode
The types of rotational interpolation available.
Definition: OgreAnimation.h:105
virtual void windowMoved(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:127
void setTopBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top edge of the border.
MeshChunkID
Definition of the OGRE .mesh file format.
Definition: OgreMeshFileFormat.h:58
virtual Vector3 getComputeGroupDimensions(void) const
Returns the number of process groups dispatched by this compute program.
Definition: OgreGpuProgram.h:344
void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model based on the vector from each bi...
Listener interface so you can be notified of Camera events.
Definition: OgreCamera.h:80
virtual void abortAllRequests()=0
Abort all previously issued requests.
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
PageContentCollection * createContentCollection(const String &typeName)
Create a new instance of PageContentCollection using the registered factories.
uint8 getRenderQueueGroup(void) const
Gets the queue group for this entity.
Definition: OgreMovableObject.h:391
void setSpotlightOuterAngle(const Radian &val)
Sets the angle covered by the spotlights outer cone.
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreInstanceBatch.h:337
void optimiseShaderSource(GLSLESGpuProgram *gpuProgram)
This class is the 'core' class for paging terrain, that will integrate with the larger paging system ...
Definition: OgreTerrainPaging.h:71
Class for serializing Materials to a .material script.
Definition: OgreMaterialSerializer.h:47
const Any & getData() const
Get the user details of this request.
Definition: OgreWorkQueue.h:112
bool hasProperty(const String &name) const
Reports whether this property set contains a named property.
GLenum getGLES2TextureTarget(void) const
Corners getAllCorners(void) const
Returns a pointer to an array of 8 corner points, useful for collision vs.
Definition: OgreAxisAlignedBox.h:270
virtual BoneIterator getRootBoneIterator(void)
Get an iterator over the root bones in the skeleton, ie those with no parents.
void setShadowColour(const ColourValue &colour)
Set the colour used to modulate areas in shadow.
Definition: OgreSceneManager.h:2636
const ContentFactoryMap & getContentFactories() const
Get a reference to the registered strategies.
GeneralAllocatedObject RootAlloc
Definition: OgreMemoryAllocatorConfig.h:140
Real _deriveShadowFarClipDistance(const Camera *maincam) const
Derive a shadow camera far distance from either the light, or from the main camera if the light doesn...
const Capsule & getCapsule() const
Returns an updated capsule of the portal for intersection test.
virtual void updateAtomicCounters(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
void clear(unsigned int buffers=FBT_COLOUR|FBT_DEPTH, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Instructs the viewport to clear itself, without performing an update.
void addRenderQueueListener(RenderQueueListener *newListener)
Registers a new RenderQueueListener which will be notified when render queues are processed.
@ ACT_SURFACE_DIFFUSE_COLOUR
Surface diffuse colour, as set in Pass::setDiffuse.
Definition: OgreGpuProgramParams.h:800
bool isPointInside(const Vector3 &point) const
Determines if a point is inside the polygon.
@ VES_BLEND_WEIGHTS
Blending weights.
Definition: OgreHardwareVertexBuffer.h:93
ChunkTreeSharedData(const ChunkParameters *params)
Constructor.
Definition: OgreVolumeChunk.h:130
bool intersects(const AxisAlignedBox &box) const
Returns whether or not this sphere intersects a box.
Definition: OgreSphere.h:86
StreamSerialiser * _writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to write Page data for the given PageID.
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
float getDepthBiasSlopeScale(void) const
Retrieves the slope-scale depth bias value as set by setDepthBias.
D3D11_SHADER_RESOURCE_VIEW_DESC getShaderResourceViewDesc() const
Definition: OgreD3D11Texture.h:59
static const uint16 CHUNK_VERSION
Definition: OgreGrid3DPageStrategy.h:126
int getMaxOutputVertices(void) const
Returns the maximum number of vertices that this geometry program can output in a single run.
Definition: src/GLSL/include/OgreGLSLProgram.h:74
Interface of the NVIDIA stereo driver.
Definition: OgreD3D9StereoDriverNVIDIA.h:44
const TexturePtr & getLightmap() const
Get access to the lightmap, if enabled (as requested by the material generator)
Definition: OgreTerrain.h:1053
void addRenderable(Renderable *pRend, Technique *pTech)
Add a renderable to this group.
Command object for setting optimisation level.
Definition: OgreD3D9HLSLProgram.h:69
TerrainLayerSamplerElementList elements
Definition: OgreTerrainMaterialGenerator.h:133
uint8 getMaxLayers() const
Get the maximum number of layers supported with the current options.
ProcessResourceNameScriptCompilerEvent(ResourceType resourceType, const String &name)
Definition: OgreScriptCompiler.h:487
Definition: OgrePCPlane.h:54
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreNode.h:672
virtual HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware vertex buffer.
ParameterType
List of parameter types available.
Definition: OgreStringInterface.h:48
@ FFP_PS_SAMPLING
Definition: OgreShaderFFPRenderState.h:59
ushort getNumVertexTextureUnits(void) const
Get the number of vertex texture units supported.
Definition: OgreRenderSystemCapabilities.h:729
String getTopLeftBorderUVString() const
SceneMgrQueuedRenderableVisitor()
Definition: OgreSceneManager.h:380
@ ACT_TEXTURE_MATRIX
Provides the current transform matrix of the texture unit (index determined by setAutoConstant call),...
Definition: OgreGpuProgramParams.h:1196
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreNode.h:678
void setNamedConstant(const String &name, Real val)
Sets a single value constant parameter to the program.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreD3D11RenderSystem.h:337
@ TEXTURE
Definition: OgreScriptCompiler.h:478
virtual void _disableTextureUnitsFrom(size_t texUnit)
Disables all texture units from the given unit upwards.
SceneBlendFactor getSourceBlendFactor() const
Retrieves the source blending factor for the material.
void setHeight(uint32 h)
Set the height of the texture; can only do this before load();.
Definition: OgreTexture.h:251
void setManualCullingMode(ManualCullingMode mode)
Sets the manual culling mode, performed by CPU rather than hardware.
@ TL_NORMAL_VIEWDEPTH
Definition: OgreShaderExGBuffer.h:59
Definition: OgreGLES2HardwareBuffer.h:38
static void unpackColour(float *r, float *g, float *b, float *a, PixelFormat pf, const void *src)
Unpack a colour value from memory.
bool hasShadowCasterFragmentProgram(void) const
Returns true if this pass uses a shadow caster fragment program.
Definition: OgrePass.h:274
void updatePropertyMap(Camera *camera, const LightList *pLightList)
this is called once per frame
int _findnext(intptr_t id, struct _finddata_t *data)
bool shareTransformWith(InstancedEntity *slave)
Shares the entire transformation with another InstancedEntity.
Node * getParentNode(void) const
Returns the node to which this object is attached.
Definition: OgreMovableObject.h:213
const String & getTextureInstanceName(const String &name, size_t mrtIndex)
Get the instance name for a local texture.
const String & getDescription() const
Get the description of this function.
Definition: OgreShaderFunction.h:118
static const size_t SERIALIZATION_CHUNK_SIZE
The amount of items being written as one chunk during serialization.
Definition: OgreVolumeSource.h:82
void setNumTextureUnits(ushort num)
Definition: OgreRenderSystemCapabilities.h:435
Implementation of HardwareBufferManager for OpenGL ES.
Definition: OgreGLES2HardwareBufferManager.h:41
Quaternion(Real fW, Real fX, Real fY, Real fZ)
Construct from an explicit list of values.
Definition: OgreQuaternion.h:69
static void addCubeToManualObject(ManualObject *manual, const Vector3 &c0, const Vector3 &c1, const Vector3 &c2, const Vector3 &c3, const Vector3 &c4, const Vector3 &c5, const Vector3 &c6, const Vector3 &c7, uint32 &baseIndex)
Adds a cube to a manual object rendering lines.
Definition: OgreVolumeMeshBuilder.h:240
static CmdRotationRangeEnd msRotationRangeEndCmd
Definition: OgreRotationAffector.h:117
StringVector getResourceGroups(void) const
Get a list of the currently defined resource groups.
@ RSC_MIPMAP_LOD_BIAS
Supports mipmap LOD biasing.
Definition: OgreRenderSystemCapabilities.h:134
@ PROP_SHORT
Definition: OgreProperty.h:109
static bool getMicrocodeFromCache(uint32 id, GLuint programHandle)
Get the the binary data of a program from the microcode cache.
void setLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the left edge of the border.
void setColourOperationEx(LayerBlendOperationEx op, LayerBlendSource source1=LBS_TEXTURE, LayerBlendSource source2=LBS_CURRENT, const ColourValue &arg1=ColourValue::White, const ColourValue &arg2=ColourValue::White, Real manualBlend=0.0)
Setting advanced blending options.
void logMessage(const String &message, LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Log a message to the debugger and to log file (the default is "<code>OGRE.log</code>"),...
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
@ LB_BlendColorDodge
Definition: OgreShaderExLayeredBlending.h:65
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
std::map< String, MovableObject * > MovableObjectMap
Definition: OgreSceneManager.h:403
MapIterator< SettingsBySection > SectionIterator
Definition: OgreConfigFile.h:91
virtual HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize, uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)=0
Get a shared index buffer for a given number of settings.
virtual void destroyAllInstances()
Destroy all the instances that created by this factory.
void setEnabled(GLenum flag)
Enables a piece of OpenGL functionality.
const AutoConstantEntry * findIntAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for integer values.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
iterator insert(iterator I, ItTy From, ItTy To)
Definition: OgreSmallVector.h:508
size_t estimateWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Specialised from SceneManager to support Quake3 bsp files.
const_iterator end() const
Definition: OgreSmallVector.h:163
~D3D11HardwareBufferManager()
CustomCompositionPass * getCustomCompositionPass(const String &name)
Get a custom composition pass by its name.
const ColourValue getLightDiffuseColourWithPower(size_t index) const
@ SPC_TANGENT_OBJECT_SPACE
Tangent in object space.
Definition: OgreShaderParameter.h:249
TextureAtlasRecord(const String &texOriginalName, const String &texAtlasName, const float texPosU, const float texPosV, const float texWidth, const float texHeight, const size_t texIndexInAtlas)
Definition: OgreShaderExTextureAtlasSampler.h:46
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
Real tcModTurb[4]
Definition: OgreQuake3Shader.h:94
bool isContainer() const
Overridden from OverlayElement.
Definition: OgreOverlayContainer.h:125
void findNodesIn(const AxisAlignedBox &box, std::list< SceneNode * > &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the box into the given list.
@ CAPS_CATEGORY_COUNT
Placeholder for max value.
Definition: OgreRenderSystemCapabilities.h:68
OverlayProfileSessionListener()
Real getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
Definition: OgreMovableObject.h:314
bool intersects(const Sphere &sphere) const
Intersection test with Sphere.
Definition: OgrePlaneBoundedVolume.h:96
bool getUseIdentityView(void) const
Returns whether or not to use an 'identity' view.
Definition: OgreManualObject.h:365
void bindGLBuffer(GLenum target, GLuint buffer, bool force=false)
Bind an OpenGL buffer of any type.
virtual HighLevelGpuProgramPtr generateVertexProgram(const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreTechnique.h:706
void parseCapabilitiesFromArchive(const String &filename, const String &archiveType, bool recursive=true)
@ PROP_VECTOR2
Definition: OgreProperty.h:117
Pass & operator=(const Pass &oth)
Operator = overload.
@ ID_DEPTH_BIAS
Definition: OgreScriptCompiler.h:641
void deallocateScratch(void *ptr)
virtual void destroy(void)
Destroys the window.
void setDeactivateOnFocusChange(bool deactivate)
Indicates whether the window will automatically deactivate itself when it loses focus.
Segment(const Vector3 &, const Vector3 &, Real)
void _addDirtyInstanceManager(InstanceManager *dirtyManager)
Called by an InstanceManager when it has at least one InstanceBatch that needs their bounds to be upd...
CheckBox(const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width)
Do not instantiate any widgets directly. Use TrayManager.
const AxisAlignedBox & getAABB() const
Get the AABB (local coords) of this node.
@ TEXGEN_BASE
Definition: OgreQuake3Types.h:127
void setRenderingDistance(Real dist)
Sets the distance at which the object is no longer rendered.
Definition: OgreMovableObject.h:308
void setPolygonMode(GLenum mode)
Sets the current polygon rendering mode.
CompareFunction alphaFunc
Definition: OgreQuake3Shader.h:97
virtual bool removeRenderWindow(const String &renderWindowName)=0
IntegratedPSSM3()
Class default constructor.
void setNamedConstant(const String &name, const Vector2 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ GCT_MATRIX_DOUBLE_2X2
Definition: OgreGpuProgramParams.h:100
VertexAnimationType getAnimationType(void) const
Get the type of vertex animation we're performing.
Definition: OgreAnimationTrack.h:500
size_t indexSet
Index data set (can be >0 if more than one index data was added)
Definition: OgreTangentSpaceCalc.h:58
void _setDerivedOrientation(const Quaternion &q)
Sets the final world orientation of the node directly.
void setStencilFailOp(StencilOperation value)
Set stencil fail operation.
void closeApp()
This function closes down the application - saves the configuration then shutdowns.
AnimationAllocatedObject AnimationAlloc
Definition: OgreMemoryAllocatorConfig.h:113
ConcreteNode * parent
Definition: OgreScriptCompiler.h:72
static Real getDefaultNonVisibleUpdateTimeout(void)
Get the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:461
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
static const Vector3 UNIT_Z
Definition: OgreVector.h:259
[font_translator]
Definition: OgreOverlayTranslator.h:45
void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
Sets the current colour mask.
Utility class which defines the sub-parts of an Entity.
Definition: OgreSubEntity.h:63
void _setSkyPlane(bool enable, const Plane &plane, const String &materialName, Real scale=1000, Real tiling=10, uint8 renderQueue=RENDER_QUEUE_SKIES_EARLY, Real bow=0, int xsegments=1, int ysegments=1, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky plane' i.e.
void dirtyNodeByMovingPortals(void)
Mark nodes dirty base on moving portals.
virtual ~LodWorkQueueWorker()
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
Query the real capabilities of the GPU and driver in the RenderSystem.
Real getShadowFarDistance(void) const
Gets the maximum distance away from the camera that shadows by this light will be visible.
void doSet(void *target, const String &val)
bool getCompareEnabled() const
Definition: OgreTextureUnitState.h:185
void removeTemplatesByResourceGroup(const String &resourceGroup)
Removes all templates that belong to a secific Resource Group from the ParticleSystemManager.
A 'canvas' which can receive the results of a rendering operation.
Definition: OgreRenderTarget.h:63
IteratorType const_iterator
Typedef to fulfill container interface.
Definition: OgreIteratorWrapper.h:83
void _boundsDirty(void)
Overloaded so that we don't perform needless updates when in static mode.
@ ACT_TEXTURE_WORLDVIEWPROJ_MATRIX_ARRAY
Array of world/view/projection matrices of the first n texture projection frustums.
Definition: OgreGpuProgramParams.h:986
@ GCT_BOOL2
Definition: OgreGpuProgramParams.h:114
void doSet(void *target, const String &val)
GeometryAllocatedObject VertexDataAlloc
Definition: OgreMemoryAllocatorConfig.h:154
MeshPtr createConvexHullMesh(const String &meshName, const String &resourceGroupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Mark vertices, which are visible from outside.
Definition: OgreLodOutputProviderCompressedMesh.h:43
bool isDialogVisible()
Determines if any dialog is currently visible.
virtual void destroySceneNode(const String &name)
Deletes a scene node by name & corresponding PCZSceneNode.
@ M_MESH
Definition: OgreMeshFileFormat.h:61
Vector3 interpolate(Real t) const
Returns an interpolated point based on a parametric value over the whole series.
void assign(QueuedGeometry *qsm)
Assign geometry to this bucket.
static String eventType
Definition: OgreScriptCompiler.h:517
@ CMPF_ALWAYS_FAIL
Never writes a pixel to the render target.
Definition: OgreCommon.h:65
void addRenderables(RenderQueue *queue, uint8 group, Real lodValue)
Add children to the render queue.
@ LB_BlendExclusion
Definition: OgreShaderExLayeredBlending.h:60
Manages threaded compilation of scripts.
Definition: OgreScriptCompiler.h:400
Definition: OgreDotSceneLoader.h:73
virtual void write(const String *string)
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
void * allocateScratch(uint32 size)
Allocator method to allow us to use a pool of memory as a scratch area for hardware buffers.
Factory class for ColourFaderAffector.
Definition: OgreColourFaderAffectorFactory2.h:39
const String & getBaseKeyFrameAnimationName() const
If a base keyframe is being used, the Animation that provides that keyframe.
RenderQueueInvocationSequence * getRenderQueueInvocationSequence(const String &name)
Get a RenderQueueInvocationSequence.
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreGLSLESCgProgram.h:72
uint8 getRenderQueueGroup(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
Definition: OgreSubEntity.h:180
void detachObjectFromBone(MovableObject *obj)
Detaches an object by pointer.
void resetFrustumExtents()
Reset the frustum extents to be automatically derived from other params.
@ VAT_NONE
No animation.
Definition: OgreAnimationTrack.h:471
@ REAL
Definition: OgreAnimable.h:78
Real skyBoxDistance
Definition: OgreSceneManager.h:233
virtual void postqueueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called after a movable object's LOD has changed.
Definition: OgreLodListener.h:143
void setFrustumExtents(Real left, Real right, Real top, Real bottom)
Manually set the extents of the frustum.
virtual LinkedSkeletonAnimSourceIterator getLinkedSkeletonAnimationSourceIterator(void) const
Get an iterator over the linked skeletons used as animation sources.
@ ID_CLOCKWISE
Definition: OgreScriptCompiler.h:659
void setUserAny(const Any &anything)
Definition: OgreMovableObject.h:338
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual unsigned long getResponseProcessingTimeLimit() const
Get the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
Definition: OgreWorkQueue.h:467
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
void copyToTexture(TexturePtr &target)
overridden from Texture
Real volume(void) const
Calculate the volume of this box.
Definition: OgreAxisAlignedBox.h:591
bool getReceiveDynamicShadowsDepth() const
Whether to use depth shadows (default false).
Definition: OgreTerrainMaterialGeneratorA.h:143
void setEmitting(bool v)
This is used to turn on or off particle emission for this system.
EntityFactory()
Definition: OgreEntity.h:880
~UnifiedHighLevelGpuProgram()
virtual const String & getInvocationName(void) const
Get the invocation name (may be blank if not set by creator)
Definition: OgreRenderQueueInvocation.h:93
void setShadingType(ShadeOptions so)
Sets the type of light shading required (default = Gouraud).
TexturePtr getTerrainNormalMap() const
Get the (global) normal map texture.
Definition: OgreTerrain.h:1524
virtual int getExecutionOrder() const
void setCurrentLod(int lod)
Manually set the current LOD, intended for internal use only.
Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
virtual void resourcePrepareStarted(const ResourcePtr &resource)
This event is fired when a declared resource is about to be prepared.
Definition: OgreResourceGroupManager.h:143
int y
Definition: OgreInput.h:71
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
@ TT_SCALE_U
Definition: OgreTextureUnitState.h:285
virtual int32 getPageRangeMinX() const
get the index range of all Pages (values outside this will be ignored)
bool hasScalingShearingSupport()
Only applicable for dual quaternion skinning.
RibbonTrail(const String &name, size_t maxElements=20, size_t numberOfChains=1, bool useTextureCoords=true, bool useVertexColours=true)
Constructor (don't use directly, use factory)
static bool isSubroutine(GpuConstantType c)
Definition: OgreGpuProgramParams.h:184
std::vector< LinkedSkeletonAnimationSource > LinkedSkeletonAnimSourceList
Definition: OgreSkeleton.h:349
bool getEnabled() const
Check if portal is enabled.
Definition: OgrePortalBase.h:159
void hide(void)
Hides the overlay if it was visible.
FrustumPlane
Worldspace clipping planes.
Definition: OgreFrustum.h:71
Plane(const Vector3 &rkNormal, const Vector3 &rkPoint)
Definition: OgrePlane.h:82
GLSLMonolithicProgram(const GLShaderList &shaders)
Constructor should only be used by GLSLMonolithicProgramManager.
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
Copies the current contents of the render target to a pixelbox.
static bool vertexElementLess(const VertexElement &e1, const VertexElement &e2)
Sort routine for vertex elements.
size_type max_size() const
Definition: OgreSmallVector.h:176
void removeFactory(HighLevelGpuProgramFactory *factory)
Remove a factory object for high-level programs of a given language.
@ ACT_TIME_0_1_PACKED
Vector of "Time0_1", "SinTime0_1", "CosTime0_1", "TanTime0_1".
Definition: OgreGpuProgramParams.h:1042
Real getBoundingRadius() const
Get the bounding radius of this node.
void unlockDeviceAccess()
Singleton that is used to propagate device state changed notifications.
Definition: OgreD3D11DeviceResource.h:61
virtual void prepare(bool backgroundThread=false)
Prepares the resource for load, if it is not already.
IndexBufferInfoList mIndexBufferInfoList
Definition: OgreLodData.h:157
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
Factory class for Unified programs.
Definition: OgreUnifiedHighLevelGpuProgram.h:169
RenderTexture implementation for D3D9.
Definition: OgreD3D9Texture.h:180
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
bool pointIntersectsNode(long x, long y)
Returns true if the given point is in the terrain area that this node references.
LodValueIterator getLodValueIterator(void) const
void _boundsDirty(void)
Overloaded so that we don't perform needless updates when in static mode.
@ ID_MAX_ANISOTROPY
Definition: OgreScriptCompiler.h:727
void setCullingMode(CullingMode mode)
Sets the culling mode for this pass based on the 'vertex winding'.
void removeWorldSectionFactory(PagedWorldSectionFactory *f)
Remove a PagedWorldSectionFactory implementation.
RenderTexture for GL FBO.
Definition: OgreGLFBORenderTexture.h:45
static FontManager * getSingletonPtr(void)
Get the singleton instance.
void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
virtual void copyFrom(const SubRenderState &rhs)
const String & getFactoryTypeName() const
Definition: OgrePCZoneFactory.h:57
virtual void quad(uint32 i1, uint32 i2, uint32 i3, uint32 i4)
Add a set of 4 vertex indices to construct a quad (out of 2 triangles); this is a shortcut to calling...
void setTextureUScale(Real value)
As setTextureScale, but sets only U value.
void setStencilFunc(CompareFunction value)
Set stencil compare function.
@ MIP_UNLIMITED
Generate mipmaps up to 1x1.
Definition: OgreTexture.h:117
const StringVector & getPieces(const String &language, GpuProgramType shaderType, bool reload=false)
void initialise(void)
Initialise gui element.
void addIndexData(IndexData *i_in, RenderOperation::OperationType opType=RenderOperation::OT_TRIANGLE_LIST)
Add a set of index data that references the vertex data.
void setInnerSizeX(Real x)
Sets the x component of the area inside the ellipsoid which doesn't emit particles.
@ RSC_TEXTURE_COMPRESSION_ATC
Supports compressed textures in the ATC format.
Definition: OgreRenderSystemCapabilities.h:149
unsigned int getLastQuerysPixelcount()
Definition: OgreD3D11HardwareOcclusionQuery.h:78
bool getUseMinPixelSize() const
Returns whether to use min display size calculations.
Definition: OgreCamera.h:639
const_reverse_iterator rbegin() const
Definition: OgreSmallVector.h:171
virtual ~GLPBRTTManager()
GL surface descriptor.
Definition: OgreGLRenderTexture.h:43
virtual void addSceneNode(const SceneNode *node)
Adds all the Entity objects attached to a SceneNode and all it's children to the static geometry.
virtual void reloadAll(Resource::LoadingFlags flags)
Caused all currently loaded resources to be reloaded.
size_t getDepth(void) const
Gets the depth of the texture.
Default implementation of SphereSceneQuery.
Definition: OgreSceneManager.h:3495
Ogre::DisplayString getParamValue(const Ogre::DisplayString ¶mName)
virtual const String & getLanguage(void) const =0
Get the name of the language this factory creates programs for.
void setTransparentSortingForced(bool enabled)
Sets whether or not transparent sorting is forced.
@ BF_GRAIN_EXTRACT
Definition: OgreHlmsPbsMaterial.h:61
AbstractNode * parent
Definition: OgreScriptCompiler.h:97
static Degree Sqrt(const Degree &fValue)
Square root function.
Definition: OgreMath.h:451
uint32 getStencilRefValue() const
Get stencil reference value.
const AnimationList & getAnimations() const
Returns a const version of the animation list.
Definition: OgreSceneManager.h:2575
Provides an interface to "listen in" to to render system operations executed by this CompositorInstan...
Definition: OgreCompositorInstance.h:59
virtual void processResponses()
Process the responses in the queue.
bool hasCompileError(void) const
Did this program encounter a compile error when loading?
void setSkyPlane(bool enable, const Plane &plane, const String &materialName, Real scale=1000, Real tiling=10, bool drawFirst=true, Real bow=0, int xsegments=1, int ysegments=1, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky plane' i.e.
void setHomeZone(PCZone *zone)
void setBoundsAutoUpdated(bool autoUpdate, Real stopIn=0.0f)
Sets whether the bounds will be automatically updated for the life of the particle system.
virtual void destroyInstance(MovableObject *obj)=0
Destroy an instance of the object.
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
static void startup(void)
Static method to startup and register the ASTC codec.
static uint32 makeIdentifier(const char(&code)[5])
Pack a 4-character code into a 32-bit identifier.
void add2D(OverlayContainer *cont)
Adds a 2D 'container' to the overlay.
bool useVertexNormals
Use vertex normals to improve quality.
Definition: OgreLodConfig.h:156
Structure for recording the use of temporary blend buffers.
Definition: OgreHardwareBufferManager.h:71
void _getDepthStencilFormatFor(PixelFormat internalColourFormat, uint32 *depthFormat, uint32 *stencilFormat)
Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
Definition: OgreSTBICodec.h:81
Entity * generateWithManualObject(SceneManager *sceneManager, const String &name, const String &material)
Generates an entity via a ManualObject.
IDXGISwapChainN * _getSwapChain()
Get the swapchain details.
Definition: OgreD3D11RenderWindow.h:123
IDirect3DVertexBuffer9 * getD3D9VertexBuffer(void)
Get D3D9-specific vertex buffer.
iterator insert(iterator pos, const T &t)
Definition: OgreCommon.h:504
bool intersects(const AxisAlignedBox &box) const
Intersection test with AABB.
Definition: OgrePlaneBoundedVolume.h:65
void setHeight(Real height)
Sets the height of this element in relation to the screen (where 1.0 = screen height)
Abstract IsoSurface.
Definition: OgreVolumeIsoSurface.h:48
static PropertyType getTypeForValue(const int &val)
Definition: OgreProperty.h:162
ClipResult
Generic result of clipping.
Definition: OgreCommon.h:794
bool removeAllShaderBasedTechniques(const String &materialName, const String &groupName=RGN_DEFAULT)
Remove all shader based techniques of the given material.
void _notifyResourceRemoved(const ResourcePtr &res) const
Internal method called by ResourceManager when a resource is removed.
void _updateDirtyBatches(void)
Called by SceneManager when we told it we have at least one dirty batch.
void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
SubMesh * submesh
Definition: OgreStaticGeometry.h:160
bool isAnchored(void)
Definition: OgrePCZSceneNode.h:79
bool isFullScreen() const
const_reverse_iterator rend() const
Definition: OgreCommon.h:431
virtual void invoke(RenderQueueGroup *group, SceneManager *targetSceneManager)
Invoke this class on a concrete queue group.
unsigned int * pint
Definition: OgreLodData.h:136
const Instances & getSceneManagers() const
Get all the existing SceneManager instances.
void blitFromTexture(GL3PlusTextureBuffer *src, const Box &srcBox, const Box &dstBox)
bool getOnlyInitial()
Get "only initial" flag.
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderGLSLESProgramProcessor.h:60
PCZFrustum::Visibility getVisibility(const AxisAlignedBox &bound)
void _notifyNeedsRecompile(void)
Tells the technique that it needs recompilation.
String getAttachedShaderNames() const
Definition: OgreGLSLShaderCommon.h:81
static const uint32_t Seed
Definition: OgreIdString.h:96
size_t getIndexSize(void) const
Get the size in bytes of each index.
Definition: OgreHardwareIndexBuffer.h:72
BillboardChain * getBillboardChain(const String &name) const
Retrieves a pointer to the named BillboardChain.
void setStencilMask(GLuint mask)
Sets the stencil mask.
void setGreenAdjust(float green)
Sets the green adjustment to be made per second to particles.
Function * getEntryPointFunction()
Definition: OgreShaderProgram.h:136
@ FFT_INTERNAL
Definition: OgreShaderFunction.h:109
unsigned int line
Definition: OgreScriptCompiler.h:95
void setShowDebugShadows(bool debug)
Enables / disables the rendering of debug information for shadows.
Definition: OgreSceneManager.h:2626
virtual IntersectionSceneQuery * createIntersectionQuery(uint32 mask=0xFFFFFFFF)
Creates an IntersectionSceneQuery for this scene manager.
bool isBlendIndicesGpuRedundant() const
Returns whether blend indices information needs to be passed to the GPU see setBlendIndicesGpuRedunda...
Definition: OgreRoot.h:954
void setMaterialName(const String &matName, const String &group=DEFAULT_RESOURCE_GROUP)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual ~GLContext()
Definition: OgreGLContext.h:47
const String & getLanguage(void) const
Overridden from GpuProgram.
virtual const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
void throwIfFailed(HRESULT hr, const char *desc, const char *src)
void _freeUnusedBufferCopies(void)
Free all unused vertex buffer copies.
void _initParticle(Particle *pParticle)
See ParticleEmitter.
virtual unsigned int _getFaceCount(void) const
Reports the number of tris rendered since the last _beginGeometryCount call.
virtual ushort _notifyZOrder(ushort newZOrder)
Internal method to notify the element when Z-order of parent overlay has changed.
Technique * createTechnique(void)
Creates a new Technique for this Material.
D3D9GpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void apply(Skeleton *skeleton, Real timePos, Real weight=1.0, Real scale=1.0f)
Applies all node tracks given a specific time point and weight to a given skeleton.
Definition: OgrePrerequisites.h:366
uint32 getLightMask() const
Get a bitwise mask which will filter the lights affecting this object.
Definition: OgreMovableObject.h:487
void install()
Perform the plugin initial installation sequence.
uint32 length
Length of the chunk data in bytes, excluding the header of this chunk (stored)
Definition: OgreStreamSerialiser.h:99
Resource location entry.
Definition: OgreResourceGroupManager.h:274
static bool parse(const String &str, Matrix4 &v)
virtual Light * getLight(const String &name) const
Returns a pointer to the named Light which has previously been added to the scene.
void removeAllEffects(void)
Removes all effects applied to this texture layer.
@ PF_ASTC_RGBA_6X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 6x6)
Definition: OgrePixelFormat.h:252
@ TEX_TYPE_2D
2D texture, used in combination with 2D texture coordinates (default)
Definition: OgreTexture.h:98
virtual void setTerrainWorldSize(Real newWorldSize)
Set the world size of terrain.
size_t getSize() const
Returns the number of elements in the parameter (for arrays).
Definition: OgreShaderParameter.h:364
void setTextureAnisotropy(int maxAniso)
Sets the anisotropy level to be used for all textures.
bool getVisible(void) const
Gets this object whether to be visible or not, if it has a renderable component.
Definition: OgreMovableObject.h:295
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a counter buffer.
bool getPolygonModeOverrideable(void) const
Definition: OgreBorderPanelOverlayElement.h:346
std::basic_stringstream< char, std::char_traits< char >, std::allocator< char > > _StringStreamBase
Definition: OgrePrerequisites.h:319
bool ToEulerAnglesXZY(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
virtual void execute(SceneManager *sm, RenderSystem *rs)=0
Set state to SceneManager and RenderSystem.
bool _fireFrameEnded()
Method for raising frame ended events.
@ GPU_NVIDIA
Definition: OgreRenderSystemCapabilities.h:262
SharedPtr< HardwareUniformBuffer > HardwareUniformBufferSharedPtr
Definition: OgrePrerequisites.h:291
Predefined controller value for getting / setting the frame number of a texture layer.
Definition: OgrePredefinedControllers.h:81
@ PF_R8G8_UINT
16-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int).
Definition: OgrePixelFormat.h:148
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
bool writeB
Definition: OgreBlendMode.h:271
virtual ~AnimationContainer()
Definition: OgreAnimation.h:59
void postDeltaCalculation(const Rect &rect)
Notify the node (and children) that deltas have finished being calculated.
void _completeDeferredVaoFboDestruction()
Complete destruction of VAOs and FBOs deferred while creator context was not current.
CompositionTechnique * getTechnique()
Get CompositionTechnique used by this instance.
void setFrom(Vector3 from)
Setter for the from-part of this cell.
Definition: OgreVolumeOctreeNode.h:161
UniformParameterPtr getParameterByAutoType(GpuProgramParameters::AutoConstantType autoType)
Get parameter by a given auto constant type.
virtual bool preRender(SceneManager *sm, RenderSystem *rsys)
Called just prior to the Renderable being rendered.
Definition: OgreRenderable.h:114
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
void _suppressRenderStateChanges(bool suppress)
Indicates to the SceneManager whether it should suppress changing the RenderSystem states when render...
PCZSceneManagerFactory()
Definition: OgrePCZSceneManager.h:389
void sort(TContainer &container, TFunction func)
Main sort function.
Definition: OgreRadixSort.h:246
ExpressionType type
Definition: OgreHlmsShaderGenerator.h:65
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
void getPointFromSelfOrNeighbour(long x, long y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
virtual void read(Ray *ray, size_t count=1)
MapIterator< MovableObjectMap > MovableObjectIterator
Definition: OgreSceneManager.h:3197
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
Write the given sub-render state instance using the material serializer.
Definition: OgreShaderSubRenderState.h:291
VertexDeclaration * getAutoOrganisedDeclaration(bool skeletalAnimation, bool vertexAnimation, bool vertexAnimationNormals) const
Generates a new VertexDeclaration for optimal usage based on the current vertex declaration,...
ProgramSet()
Class default constructor.
virtual const String & getLanguage(void) const
Returns a string that specifies the language of the gpu programs as specified in a material script.
void _notifyParticleQuota(size_t quota)
Tells the renderer that the particle quota has changed.
@ PROP_UNSIGNED_INT
Definition: OgreProperty.h:112
virtual void requestOptions(Terrain *terrain)=0
Request the options needed from the terrain.
@ SPC_COLOR_DIFFUSE
Diffuse color.
Definition: OgreShaderParameter.h:273
PropertyType propType
Definition: OgreProperty.h:269
void destroySceneManager(SceneManager *sm)
Destroy an instance of a SceneManager.
virtual String getName() const =0
Returns the name of the factory, the name which identifies the particle affector type this factory cr...
float b
Definition: OgreColourValue.h:76
void setShadowCastersCannotBeReceivers(bool ind)
Sets whether or not objects which cast shadows should be treated as never receiving shadows.
GenFunc
Definition: OgreQuake3Types.h:119
void setSceneBlending(const SceneBlendType sbt)
Sets the kind of blending this pass has with the existing contents of the scene.
@ M_POSE
Definition: OgreMeshFileFormat.h:173
String getOptimisedSource(void)
Gets he optimised GLSL source.
Definition: OgreGLSLESProgram.h:70
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
@ LB_BlendLinearDodge
Definition: OgreShaderExLayeredBlending.h:67
ConcreteNodeType type
Definition: OgreScriptCompiler.h:70
void validateDevice(bool forceDeviceElection=false)
virtual DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)=0
Creates a DepthBuffer that can be attached to the specified RenderTarget.
Side getSide(const AxisAlignedBox &box) const
Returns the side where the alignedBox is.
Definition: OgrePlane.h:120
Log(const String &name, bool debugOutput=true, bool suppressFileOutput=false)
@ ID_CUBIC_NORMAL
Definition: OgreScriptCompiler.h:759
void destroyAllBillboardChains(void)
Removes & destroys all BillboardChains from the SceneManager.
DataStreamPtr openResource(const String &resourceName, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, Resource *resourceBeingLoaded=NULL, bool throwOnFailure=true) const
Open a single resource by name and return a DataStream pointing at the source of the data.
Definition: OgreResourceGroupManager.h:663
Real getOverlayTop() const
static void getChildrenDimensions(const Vector3 &from, const Vector3 &to, Vector3 ¢er, Vector3 &width, Vector3 &height, Vector3 &depth)
Gets the center and width / height / depth vector of the children of a node.
Definition: OgreVolumeOctreeNode.h:101
const_pointer data() const
data - Return a pointer to the vector's buffer, even if empty().
Definition: OgreSmallVector.h:185
virtual bool abortPendingRequest(RequestID id)=0
Abort request if it is not being processed currently.
void setSaveMicrocodesToCache(bool val)
Set if the microcode of a shader should be saved to a cache.
@ SPC_POSTOLIGHT_TANGENT_SPACE0
Light vector in tangent space index 0-7.
Definition: OgreShaderParameter.h:160
@ SPC_POSTOLIGHT_WORLD_SPACE2
Definition: OgreShaderParameter.h:142
float avgFPS
average frames per second (FPS) since call to Root::startRendering
Definition: OgreRenderTarget.h:81
Visitor interface for items in a QueuedRenderableCollection.
Definition: OgreRenderQueueSortingGrouping.h:71
@ LB_BlendScreen
Definition: OgreShaderExLayeredBlending.h:61
void removeAffector(unsigned short index)
Removes an affector from the system.
void setShadowTextureSettings(uint16 size, uint16 count, PixelFormat fmt=PF_X8R8G8B8, uint16 fsaa=0, uint16 depthBufferPoolId=1)
Sets the size and count of textures used in texture-based shadows.
Definition: OgreSceneManager.h:2810
@ PF_R8G8B8_UINT
24-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int), 8 bits green (unsigned in...
Definition: OgrePixelFormat.h:150
@ MEMCATEGORY_GEOMETRY
Geometry held in main memory.
Definition: OgreMemoryAllocatorConfig.h:57
const String & findGroupContainingResource(const String &filename) const
Find the group in which a resource exists.
Abstract class defining the density function.
Definition: OgreVolumeSource.h:48
bool prepare(const String &filename)
Prepare the terrain from a standalone file.
@ ID_KEEP
Definition: OgreScriptCompiler.h:839
GLSLESLinkProgram(const GLShaderList &shaders)
Constructor should only be used by GLSLESLinkProgramManager.
String originalTextureName
Definition: OgreShaderExTextureAtlasSampler.h:62
virtual void _initParticle(Particle *pParticle)
Method called to allow the affector to initialize all newly created particles in the system.
Definition: OgreParticleAffector.h:95
void setLightAmbient(GLfloat r, GLfloat g, GLfloat b)
@ IS_DECAL
Post-lighting rendering.
Definition: OgrePass.h:55
void setCamera(Ogre::SceneNode *cam)
Swaps the camera on our camera man for another camera.
~D3D9HardwareVertexBuffer()
static OGRE_FORCE_INLINE unsigned int getBitShift(T mask)
Returns the number of bits a pattern must be shifted right by to remove right-hand zeros.
Definition: OgreBitwise.h:163
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:1985
void setOverlayPosition(Real left, Real top)
Set the position of the profiler overlay, in pixels.
@ OPT_DEFAULT
default - no optimisation in debug mode, OPT_1 in release mode
Definition: OgreD3D9HLSLProgram.h:140
@ SPC_POSTOLIGHT_TANGENT_SPACE5
Definition: OgreShaderParameter.h:165
virtual ~ETCCodec()
Definition: OgreETCCodec.h:60
This class allows you to plug in new ways to define the camera setup when rendering and projecting sh...
Definition: OgreShadowCameraSetup.h:67
virtual void _unregisterContext(GLContext *context)=0
Unregister a render target->context mapping.
Degree operator*(Real f) const
Definition: OgreMath.h:135
GpuProgramParametersSharedPtr getTessellationDomainProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExLinearSkinning.h:50
RenderSysAllocatedObject BufferAlloc
Definition: OgreMemoryAllocatorConfig.h:116
Vector3i getSize() const
size (width, height, depth) of the pixel buffer
Definition: OgreHardwarePixelBuffer.h:182
static StringVector getExtensions(void)
Gets the file extension list for the registered codecs.
GLAtomicCounterReferenceList::iterator GLAtomicCounterReferenceIterator
Definition: Plus/src/GLSL/include/OgreGLSLProgram.h:57
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
Definition: OgreDefaultHardwareBufferManager.h:167
void setAutomaticColour(bool val)
Set the clear colour to be the background colour of the original viewport.
OverlayElement * createOverlayElementFromFactory(const String &typeName, const String &instanceName)
MemoryDataStream(const String &name, void *pMem, size_t size, bool freeOnClose=false, bool readOnly=false)
Wrap an existing memory chunk in a named stream.
#define HS_MAX_WEIGHT_COUNT
Definition: OgreShaderExHardwareSkinning.h:35
void importNamedConstants(DataStreamPtr &stream, GpuNamedConstants *pDest)
void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
Sets the 'scissor region' i.e.
@ SDLK_F5
Definition: OgreInput.h:105
static GLSLESProgramManager * getSingletonPtr(void)
A class that represents an atomic code section of shader based program function.
Definition: OgreShaderFunctionAtom.h:197
MultiRenderTarget for GL ES 2.x.
Definition: OgreGLES2FBOMultiRenderTarget.h:41
Definition: OgreMeshLodGenerator.h:54
bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
float getBlendValue(size_t x, size_t y)
Get a single value of blend information, in image space.
VectorIterator< GeometryBucketList > GeometryIterator
Iterator over geometry.
Definition: OgreStaticGeometry.h:293
static PropertyType getTypeForValue(const long &val)
Definition: OgreProperty.h:164
@ ID_NOT_EQUAL
Definition: OgreScriptCompiler.h:648
@ CNT_COLON
Definition: OgreScriptCompiler.h:58
Class for loading & managing textures.
Definition: OgreTextureManager.h:61
BorderPanelOverlayElement(const String &name)
Constructor.
virtual void destroyHardwareOcclusionQuery(HardwareOcclusionQuery *hq)
Destroy a hardware occlusion query object.
virtual const Camera * getLodCamera() const
Get a pointer to the camera which should be used to determine LOD settings.
unsigned short getNumNumericTracks(void) const
Gets the number of NumericAnimationTrack objects contained in this animation.
int release
Definition: OgreRenderSystemCapabilities.h:226
bool isClosed() const
Indicates whether the window has been closed by the user.
Definition: OgreD3D11RenderWindow.h:65
virtual void triangleRemoved(LodData *data, LodData::Triangle *tri)
Any mData
Data associated with the result of the process.
Definition: OgreWorkQueue.h:132
@ ID_TEXTURE
Definition: OgreScriptCompiler.h:699
const GlyphInfo & getGlyphInfo(CodePoint id) const
Gets the information available for a glyph corresponding to a given code point, or throws an exceptio...
void setPosition(Real x, Real y, Real z)
Set the position of the billboard.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
bool getUseAccurateFacing(void) const
Gets whether or not billboards use an 'accurate' facing model based on the vector from each billboard...
shorthand for "dst = a OP b;"
Definition: OgreShaderFunctionAtom.h:316
@ M_GEOMETRY_VERTEX_BUFFER_DATA
Definition: OgreMeshFileFormat.h:99
bool isReferenceViewEnabled() const
Determine if use of the reference view is enabled.
bool isTextureLoadFailing() const
Tests if the texture associated with this unit has failed to load.
Definition: OgreTextureUnitState.h:1005
void setDefaultRenderablePriority(ushort priority)
Sets the current default renderable priority, which will be used for all renderables which do not spe...
Technique(Material *parent)
Constructor.
reverse_iterator rbegin()
Definition: OgreCommon.h:423
@ RSC_TESSELLATION_DOMAIN_PROGRAM
Supports hardware tessellation domain programs.
Definition: OgreRenderSystemCapabilities.h:188
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:163
MemoryDataStream(const String &name, DataStream &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a named stream which pre-buffers the contents of another stream.
virtual void applyDeltaValue(const Quaternion &)
Apply delta value.
Definition: OgreAnimable.h:209
void removeInjectorListener()
Definition: OgreLodWorkQueueInjector.h:57
void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
void setDefaultAtlasingAttributes(IndexPositionMode mode, ushort offset, bool autoAdjustBorders)
Set the default attributes concerning atlas texture processing.
PropertyBase * getProperty(const String &name) const
Gets the property object for a given property name.
bool getFlipCullingOnNegativeScale() const
Get whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:3295
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
MovablePlane(const Vector3 &rkNormal, const Vector3 &rkPoint)
void assertSorted(const Mesh::LodValueList &values) const
Assert that the LOD values are sorted from greatest detail to least detail.
Real x
X coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:50
@ PF_ASTC_RGBA_10X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x10)
Definition: OgrePixelFormat.h:266
uint16 SceneTypeMask
Bitmask containing scene types.
Definition: OgreSceneManager.h:3526
bool crossedPortal(const PortalBase *otherPortal)
Check if portal crossed over portal.
void setDepthCheckEnabled(bool enabled)
Sets whether or not each Pass renders with depth-buffer checking on or not.
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
size_t calculateSize(void) const
virtual void materialEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Material *mat)
RenderOperation::OperationType getOperationType() const
What type of primitives does this object generate?
Definition: OgreRenderToVertexBuffer.h:78
const String & getName() const
Get the name of the shared parameter set.
Definition: OgreGpuProgramParams.h:630
Command object for red adjust (see ParamCommand).
Definition: OgreColourInterpolatorAffector.h:61
static const Vector2 NEGATIVE_UNIT_X
Definition: OgreVector.h:123
void showFrameStats(TrayLocation trayLoc, size_t place=-1)
Shows frame statistics widget set in the specified location.
virtual void _checkNodeAgainstPortals(PCZSceneNode *, Portal *)=0
(recursive) Check the given node against all portals in the zone
virtual void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
Definition: OgreHardwareBuffer.h:311
const MaterialPtr & getRenderToBufferMaterial()
Get the material which is used to render the geometry into the vertex buffer.
Definition: OgreRenderToVertexBuffer.h:127
PixelBox(uint32 width, uint32 height, uint32 depth, PixelFormat pixelFormat, void *pixelData=0)
Constructor providing width, height and depth.
Definition: OgrePixelFormat.h:367
RenderSysAllocatedObject ViewportAlloc
Definition: OgreMemoryAllocatorConfig.h:155
The PageManager is the entry point through which you load all PagedWorld instances,...
Definition: OgrePageManager.h:135
void setBackwardsCompatibility(bool compat)
Sets whether backwards compatibility mode should be enabled.
Definition: OgreD3D9HLSLProgram.h:178
ExternalTextureSourceManager()
Constructor.
static void setDefaultInterpolationMode(InterpolationMode im)
Sets the default animation interpolation mode.
const String & getResourceGroup() const
Get the resource group to use when loading / saving.
Definition: OgreTerrain.h:672
static const uint32 TERRAINLAYERSAMPLER_CHUNK_ID
Definition: OgreTerrain.h:281
virtual void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
Definition: OgreRenderSystem.h:570
ProfileSessionListener should be used to visualize profile results.
Definition: OgreProfiler.h:202
static Real Cos(Real fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:343
@ CS_MANUAL
Definition: OgreCameraMan.h:50
uint16 currentPreparedLod
Definition: OgreTerrainLodManager.h:70
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void _update(Real timeElapsed)
Updates the particles in the system based on time elapsed.
void setLodStrategy(LodStrategy *lodStrategy)
Set the LOD strategy used by this material.
void getBestDepthStencil(PixelFormat internalFormat, GLenum *depthFormat, GLenum *stencilFormat)
Get best depth and stencil supported for given internalFormat.
void clearNodeFromVisitedZones(void)
@ PFF_COMPRESSED
This format is compressed.
Definition: OgrePixelFormat.h:307
Vector3 getRight(void) const
Gets the camera's right vector.
A sphere.
Definition: OgreVolumeCSGSource.h:48
void getPositionAlign(const Vector3 &TSpos, Alignment align, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space based on a specified alignment.
String doGet(const void *target) const
void enableProfile(const String &profileName)
Enables a previously disabled profile.
void setCullingMode(CullingMode mode)
Sets the culling mode for each pass based on the 'vertex winding'.
const AutoConstantEntry * findUnsignedIntAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for unsigned integer values.
IntersectionSceneQuery * createIntersectionQuery(uint32 mask=0xFFFFFFFF)
Creates an IntersectionSceneQuery for this scene manager.
PCZ implementation of AxisAlignedBoxSceneQuery.
Definition: OgrePCZSceneQuery.h:58
@ MEMCATEGORY_ANIMATION
Animation data like tracks, bone matrices.
Definition: OgreMemoryAllocatorConfig.h:59
void addToSwitchingFullscreenCounter()
Definition: OgreD3D11RenderSystem.h:217
uint numSamples
Definition: OgreGLRenderTexture.h:47
const Plane & getDerivedPlane() const
Get the portal plane in world coordinates.
Definition: OgrePortalBase.h:141
bool operator<=(const Degree &d) const
Definition: OgreMath.h:142
bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
void _setBounds(const AxisAlignedBox &bounds, bool pad=true)
Manually set the bounding box for this Mesh.
std::vector< char > TriangleLightFacingList
Working vector used when calculating the silhouette.
Definition: OgreEdgeListBuilder.h:96
bool queryResult(MovableObject *first)
Self-callback in order to deal with execute which returns collection.
unsigned char data[1]
Definition: OgreQuake3Types.h:219
virtual int32 getCellRangeMinZ() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:167
String doGet(const void *target) const
bool intersects(const Vector3 &v) const
Tests whether the vector point is within this box.
Definition: OgreAxisAlignedBox.h:637
void setAnimatedTextureName(const String *const names, size_t numFrames, Real duration=0)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool rectContainsNode(const Rect &rect)
Returns true if the given rectangle completely contains the terrain area that this node references.
const valueType & getValue() const
Returns the native value of this parameter.
Definition: OgreShaderParameter.h:641
static PropertyType getTypeForValue(const bool &val)
Definition: OgreProperty.h:172
const Vector3 & getPosition(void) const
Get the position of the billboard.
bool hasCustomParameter(size_t index) const
Checks whether a custom value is associated with this Renderable at the given index.
Definition: OgreRenderable.h:250
Quaternion Exp() const
Apply to unit-length quaternion.
MeshPtr createCurvedPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, Real bow=0.5f, int xsegments=1, int ysegments=1, bool normals=false, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=false, bool indexShadowBuffer=false)
Creates a genuinely curved plane, by default majoring on the x/y axes facing positive Z.
static float saturate(float t)
Simulate the shader function saturate that clamps a parameter value between 0 and 1.
Definition: OgreMath.h:387
@ SPC_POSTOLIGHT_WORLD_SPACE5
Definition: OgreShaderParameter.h:145
virtual void writeSourceCode(std::ostream &os, Program *program)
void setCompositeMapDistance(Real c)
Set the distance at which to start using a composite map if present.
Definition: OgreTerrain.h:1931
PCZSceneNode * mAssociatedNode
Definition: OgrePCZone.h:306
This plugin subclass of ParticleAffector allows you to alter the colour of particles.
Definition: OgreColourFaderAffector2.h:49
void _notifyAttached(Node *parent, bool isTagPoint=false)
Delegated to by ParticleSystem::_notifyAttached.
float bestFPS
best frames per second (FPS) since call to Root::startRendering
Definition: OgreRenderTarget.h:83
void fromString(const String &versionString)
Definition: OgreRenderSystemCapabilities.h:241
void setMaterial(const MaterialPtr &mat)
material to use for debug display
GpuLogicalIndexUseMap map
Map from logical index to physical buffer location.
Definition: OgreGpuProgramParams.h:385
Real timeSinceLastFrame
Elapsed time in seconds since the last event of the same type, i.e.
Definition: OgreFrameListener.h:60
void _compileIlluminationPasses(void)
Internal method for splitting the passes into illumination passes.
@ PF_PVRTC2_2BPP
PVRTC (PowerVR) Version 2, 2 bpp.
Definition: OgrePixelFormat.h:140
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
HlmsDatablock(GpuProgramType type, PropertyMap *propertyMap)
void clearDelegatePrograms()
Remove all delegate programs.
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
Definition: OgreTerrain.h:1982
@ ID_POINT
Definition: OgreScriptCompiler.h:688
Real getShadowFarDistanceSquared(void) const
Definition: OgreSceneManager.h:2681
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLFBOMultiRenderTarget.h:45
Listener class for responding to tray events.
Definition: OgreTrays.h:87
void setPosition(const Vector3 &position, bool doUpdate=true)
Set the position or the offset from the parent node if a parent node exists.
Property(IdString _keyName, int32 _value)
Definition: OgreHlmsPropertyMap.h:53
void _initParticle(Particle *pParticle)
See ParticleEmitter.
virtual TexturePtr loadImage(const String &name, const String &group, const Image &img, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Loads a texture from an Image object.
@ PF_BYTE_RGBA
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:294
uint16 maxBatchSize
Maximum batch size (along one edge) in vertices; must be 2^n+1 and <= 65.
Definition: OgreTerrain.h:335
static String toString(Radian val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a Radian to a String.
Definition: OgreStringConverter.h:82
Definition: OgreRenderable.h:67
void scroll(Real xoff, Real yoff)
Scrolls the overlay by the offsets provided.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a hardware counter buffer.
@ BBT_ORIENTED_SELF
Billboards are oriented around their own direction vector (their own Y axis) and only rotate around t...
Definition: OgreBillboardSet.h:82
virtual void startDeflate(size_t avail_in=0)
Start (un)compressing data.
MaterialPtr clone(const String &newName, bool changeGroup=false, const String &newGroup=BLANKSTRING) const
Creates a new copy of this material with the same settings but a new name.
const InputTex & getInput(size_t id) const
Get the value of an input.
bool hasManualObject(const String &name) const
Returns whether a manual object with the given name exists.
void setChildObject(MovableObject *pObject)
const FactoryMap & getOverlayElementFactoryMap() const
Get const access to the list of registered OverlayElement factories.
Definition: OgreOverlayManager.h:193
const Vector3 & _getDerivedPosition() const
Returns the derived position of the instanced entity including local transform.
Definition: OgreInstancedEntity.h:266
static int64 parseLong(const String &val, int64 defaultValue=0)
Definition: OgreStringConverter.h:220
virtual ~ParticleSystemRenderer()
Destructor.
Definition: OgreParticleSystemRenderer.h:55
AbstractNodeList children
Definition: OgreScriptCompiler.h:130
@ DEFORM_FUNC_AUTOSPRITE
Definition: OgreQuake3Types.h:139
Abstract class defining the interface to be implemented by creators of ParticleAffector subclasses.
Definition: OgreParticleAffectorFactory.h:56
virtual String getDataType() const =0
static TextureManager * getSingletonPtr(void)
Get the singleton instance.
virtual void visit(const Pass *p, RenderableList &rs)=0
When visiting a collection grouped by pass, this is called.
static PropertyType getTypeForValue(const unsigned short &val)
Definition: OgreProperty.h:161
@ TEXCALC_ENVIRONMENT_MAP_REFLECTION
Definition: OgreRenderSystem.h:68
virtual void unload()=0
Unload - will be called in main thread.
const Affine3 & getWorldViewMatrix(void) const
void destroyEntity(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
ResourceManager * _getResourceManager(const String &resourceType) const
Internal method for getting a registered ResourceManager.
RemapInfo()
Definition: OgreLod0Stripifier.h:66
GLTextureBuffer(GLRenderSystem *renderSystem, GLTexture *parent, GLint face, GLint level, uint32 mWidth, uint32 mHeight, uint32 mDepth)
Texture constructor.
void removeAllTechniques()
Remove all techniques.
static D3D11_BLEND_OP get(SceneBlendOperation sbo)
return a D3D11 equivalent for a Ogre SceneBlendOperation value
void setEndPoint(const Vector3 &newEndpoint)
~D3D11RenderWindowSwapChainBased()
Definition: OgreD3D11RenderWindow.h:119
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:169
EllipsoidEmitter(ParticleSystem *psys)
See AreaEmitter.
Abstract class containing any additional data required to be associated with a particle to perform th...
Definition: OgreParticle.h:52
bool operator()(const IdObject &left, const IdObject &right)
Definition: OgreId.h:81
IDirect3DDevice9 * getD3D9Device()
static RayTestResult intersects(const Ray &ray, const Plane &plane)
Ray / plane intersection.
Definition: OgreRay.h:142
Negates the given volume.
Definition: OgreVolumeCSGSource.h:342
ChunkParameters(void)
Constructor.
Definition: OgreVolumeChunk.h:101
void detachFromParent(void)
Detaches an object from a parent SceneNode or TagPoint, if attached.
static void toLowerCase(String &str)
Lower-cases all the characters in the string.
~Grid2DPageStrategyData()
PixelComponentType getFormat()
Definition: OgreGLPBuffer.h:46
SceneNode * getParentSceneNode(void) const
Gets the parent of this SceneNode.
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
D3D11MultiRenderTarget(const String &name)
void setBorderColour(const ColourValue &colour)
Sets the texture border colour.
Definition: OgreTextureUnitState.h:199
void setComputeProgramConstantBoolCount(ushort c)
The number of boolean constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:858
void clearVertices(void)
Clear all vertices.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:74
virtual void _checkNodeAgainstPortals(PCZSceneNode *, Portal *)
(recursive) Check the given node against all portals in the zone
GpuConstantType constType
Data type.
Definition: OgreGpuProgramParams.h:155
std::map< String, SettingsMultiMap > SettingsBySection_
Definition: OgreConfigFile.h:90
@ SM_DIRECTION
Sort by direction of the camera.
Definition: OgreCommon.h:313
void setTimeAdjust(size_t index, Real time)
void addInputListener(InputListener *lis)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreApplicationContextBase.h:240
virtual const AnimableValuePtr & getAssociatedAnimable(void) const
Returns a pointer to the associated animable object (if any).
size_t getVertexCount(size_t poly) const
Returns the number of vertices for a polygon.
void setBox(const AxisAlignedBox &box)
Sets the size of the box you wish to query.
virtual void setHorizontalAlignment(GuiHorizontalAlignment gha)
Sets the horizontal origin for this element.
const String & getSourceFile(void) const
Gets the name of the file used as source for this program.
Definition: OgreGpuProgram.h:243
std::vector< Node * > NodeList
Definition: OgreRibbonTrail.h:86
SceneCtlAllocatedObject SceneMgtAlloc
Definition: OgreMemoryAllocatorConfig.h:143
const SubEntityList & getSubEntities() const
Retrieves SubEntity objects making up this entity.
Definition: OgreEntity.h:380
Real getRightBorderSize(void) const
Gets the size of the right border.
bool isLoaded(void) const
Is this loaded?
const Vector4f & getAttenuation() const
get all attenuation params as (range, constant, linear, quadratic)
Definition: OgreLight.h:185
const Vector3 & getPosition() const
Retrieve the position.
Definition: OgreInstancedEntity.h:233
ResourceDeclarationList getResourceDeclarationList(const String &groupName) const
Get the list of resource declarations for the specified group name.
shorthand for operator[] on preceding operand. e.g. myArray[p]
Definition: OgreShaderFunctionAtom.h:190
virtual void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON or BBT_PERPE...
Label * createLabel(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width=0)
std::pair< size_t, size_t > getTextureDimensions(unsigned int frame=0) const
Returns the width and height of the texture in the given frame.
@ SHADER_LIGHTMAP
Definition: OgreQuake3Types.h:98
const String & getSyntaxCode(void) const
Gets the syntax code for this program e.g.
Definition: OgreGpuProgram.h:237
const ColourValue & getLightDiffuseColour(size_t index) const
void parseAttribute(ScriptCompiler *compiler, FontPtr &pFont, PropertyAbstractNode *prop)
std::vector< Vertex > VertexList
Definition: OgreLodData.h:62
CompositionTargetPass(CompositionTechnique *parent)
bool getQuadFarCornersViewSpace() const
Returns true if the far corners provided in the quad are in view space.
bool has(const T &item)
Definition: OgreVectorSetImpl.h:96
GpuProgramParameters(const GpuProgramParameters &oth)
Copy constructor.
void setConstant(size_t index, const float *val, size_t count)
Sets a multiple value constant floating-point parameter to the program.
void doSet(void *target, const String &val)
Definition: OgreTerrainLodManager.h:61
void getAutoconfig(MeshPtr &inMesh, LodConfig &outLodConfig)
Fills Lod Config with a config, which works on any mesh.
Viewport * getViewport()
Get viewport that is the target of this chain.
AxisAlignedBox(Extent e)
Definition: OgreAxisAlignedBox.h:100
Represents a convex volume bounded by planes.
Definition: OgrePlaneBoundedVolume.h:50
Definition of a parameter supported by a StringInterface class, for introspection.
Definition: OgreStringInterface.h:67
@ GPU_ARM
For the Mali chipsets.
Definition: OgreRenderSystemCapabilities.h:270
void doSet(void *target, const String &val)
size_t getVertexOffset(void) const
Returns the vertex offset used by this buffer to write data into the buffer.
Definition: OgrePatchSurface.h:129
void removeLodLevels(void)
Removes all LOD data from this Mesh.
@ SPC_NORMAL_VIEW_SPACE
Normal in view space.
Definition: OgreShaderParameter.h:112
const Vector3 & getPosition(void) const
Retrieves the camera's position.
void setEnabled(GLenum flag, bool enabled)
Enables a piece of OpenGL functionality.
virtual bool linkSeparable()
Only used for separable programs.
Definition: OgreGLSLShaderCommon.h:93
static String toString(uint32 val, unsigned short width, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
PageContentCollection(PageContentCollectionFactory *creator)
const IndexData * getIndexData(void) const
Get the index data for this geometry.
Definition: OgreStaticGeometry.h:233
virtual void textureCoord(float u, float v)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ SDLK_KP_8
Definition: OgreInput.h:138
@ SDLK_KP_DIVIDE
Definition: OgreInput.h:126
void unbindSurface(size_t attachment)
Unbind attachment.
virtual const Sphere & getWorldBoundingSphere(bool derive=false) const
Retrieves the worldspace bounding sphere for this object.
std::list< AnimationState * > EnabledAnimationStateList
Definition: OgreAnimationState.h:191
static const uint32 TERRAINLAYERDECLARATION_CHUNK_ID
Definition: OgreTerrain.h:279
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
SceneNode * getSkyBoxNode(void) const
Get the skybox node, if enabled.
Definition: OgreSceneManager.h:2036
ConstMapIterator< GpuConstantDefinitionMap > GpuConstantDefinitionIterator
Definition: OgreGpuProgramParams.h:307
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
virtual Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
@ ID_SRC_CURRENT
Definition: OgreScriptCompiler.h:748
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit)
Write the given sub-render state instance using the material serializer.
Definition: OgreShaderSubRenderState.h:302
String doGet(const void *target) const
void injectBillboard(const Billboard &bb)
Define a billboard.
Command object for setting delegate (can set more than once)
Definition: OgreUnifiedHighLevelGpuProgram.h:69
void setIgnoreMissingParams(bool state)
Tells the program whether to ignore missing parameters or not.
Definition: OgreGpuProgramParams.h:1815
virtual void abortRequest(RequestID id)
Abort a previously issued request.
const AxisAlignedBox & _getWorldAABB(void) const
Gets the axis-aligned bounding box of this node (and hence all subnodes).
Definition: OgreSceneNode.h:226
virtual void destroyRenderTexture(const String &name)
Destroys a render texture.
GL3PlusHardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
UniformParameterPtr getParameterByName(const String &name)
Get parameter by a given name.
A 3D box aligned with the x/y/z axes.
Definition: OgreAxisAlignedBox.h:56
LodCollapseCostProfiler(LodProfile &profile, LodCollapseCostPtr &costCalculator)
Definition: OgreLodCollapseCostProfiler.h:46
Image()
Standard constructor.
SharedPtr< AbstractNode > AbstractNodePtr
Definition: OgreScriptCompiler.h:86
std::list< VertexElement > VertexElementList
Defines the list of vertex elements that makes up this declaration.
Definition: OgreHardwareVertexBuffer.h:339
void setAutoTracking(bool enabled, SceneNode *const target=0, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z, const Vector3 &offset=Vector3::ZERO)
Enables / disables automatic tracking of another SceneNode.
virtual Billboard * getBillboard(unsigned int index) const
Returns a pointer to the billboard at the supplied index.
void bindGLRenderBuffer(GLuint buffer, bool force=false)
Bind an OpenGL frame buffer.
Controller< Real > * createFrameTimePassthroughController(const ControllerValueRealPtr &dest)
Creates a new controller use frame time source and passthrough controller function.
virtual void _setDepthBias(float constantBias, float slopeScaleBias=0.0f)=0
Sets the depth bias, NB you should use the Material version of this.
@ MEMCATEGORY_COUNT
Definition: OgreMemoryAllocatorConfig.h:73
Real getWidth(void) const
Gets the width (local x size) of the emitter.
void read(T *pT, size_t count=1)
Catch-all method to read primitive types.
Definition: OgreStreamSerialiser.h:298
This class contains the information required to describe the edge connectivity of a given set of vert...
Definition: OgreEdgeListBuilder.h:53
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:123
LodCollapseCostOutside(LodCollapseCostPtr costCalculator, Real outsideWeight, Real outsideWalkAngle)
@ ACT_VIEWPORT_SIZE
Packed of "ViewportWidth", "ViewportHeight", "ViewportWidthInverse", "ViewportHeightInverse".
Definition: OgreGpuProgramParams.h:1082
Real getNearClipDistance() const
void setDevice(D3D9Device *device)
ID3D11DeviceN * get()
Definition: OgreD3D11Device.h:61
std::vector< SubRenderState * > SubRenderStateList
Definition: OgreShaderSubRenderState.h:157
void add(RenderQueueInvocation *i)
Add a custom invocation to the sequence.
void setPivotOffset(const Ogre::Vector3 &offset)
const BoundSufaceList & getBoundSurfaceList() const
Get a list of the surfaces which have been bound.
Definition: OgreRenderTexture.h:107
ManualCullingMode cullMode
Definition: OgreQuake3Shader.h:115
Vector3 getPlanePoint(void) const
Gets the plane point of the deflector plane.
virtual bool _prepareProceduralPage(Page *page)
Give a section the opportunity to prepare page content procedurally.
Specialisation of GLSLProgram to provide support for separable programs via the OpenGL program pipeli...
Definition: OgreGLSLSeparableProgram.h:74
Definition: OgreLodConfig.h:128
unsigned int getAnisotropy() const
Get this layer texture anisotropy level.
Definition: OgreTextureUnitState.h:147
void doSet(void *target, const String &val)
SceneBlendFactor getColourBlendFallbackDest(void) const
Get the multipass fallback for colour blending operation destination factor.
void setSkeletalAnimationIncluded(bool value)
Sets whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreShaderProgram.h:159
UniformParameterPtr resolveAutoParameterReal(GpuProgramParameters::AutoConstantType autoType, Real data, size_t size=0)
Resolve uniform auto constant parameter with associated real data of this program.
@ ID_ALWAYS_PASS
Definition: OgreScriptCompiler.h:644
virtual void beginProfileEvent(const String &eventName)=0
This marks the beginning of an event for GPU profiling.
_OgreTerrainExport friend std::ostream & operator<<(std::ostream &o, const LoadLodRequest &r)
Definition: OgreTerrainLodManager.h:73
virtual bool frameStarted(const Ogre::FrameEvent &evt)
Called when a frame is about to begin rendering.
Definition: OgreApplicationContextBase.h:121
SharedPtr< TerrainMaterialGenerator > TerrainMaterialGeneratorPtr
Definition: OgreTerrainMaterialGenerator.h:413
AnimationStateIterator getAnimationStateIterator(void)
Returns a specialised MapIterator over all animation states in the scene.
Definition: OgreSceneManager.h:2578
@ ID_BILINEAR
Definition: OgreScriptCompiler.h:720
@ GMM_RELATIVE_ASPECT_ADJUSTED
Positions & sizes are in virtual pixels.
Definition: OgreOverlayElement.h:60
void freeMemory()
Delete all the memory held by this image, if owned by this image (not dynamic)
This utility class is used to hold the information used to generate the matrices and other informatio...
Definition: OgreAutoParamDataSource.h:60
virtual void setStaticAndUpdate(bool bStatic)
Tells this batch to stop updating animations, positions, rotations, and display all it's active insta...
Definition: OgreInstanceBatch.h:299
PCPlane(const Plane &plane)
Alternative constructor.
void _fireNotifyResourcesReleased(bool forResizeOnly)
Notify listeners ressources.
bool isDepthBuffered() const
Returns true if this window use depth buffer.
void setSpecialCaseRenderQueueMode(SpecialCaseRenderQueueMode mode)
Sets the way the special case render queue list is processed.
ConstTerrainIterator getTerrainIterator() const
Get an iterator over the defined terrains (const)
void setSeparateSceneBlendingOperation(SceneBlendOperation op, SceneBlendOperation alphaOp)
Sets the specific operation used to blend source and destination pixels together.
@ GCT_SAMPLERCUBE
Definition: OgreGpuProgramParams.h:76
virtual Node * getAssociatedNode(void) const
Returns a pointer to the associated Node object (if any).
@ SPC_LIGHTDIRECTION_TANGENT_SPACE3
Definition: OgreShaderParameter.h:203
std::set< String > ExtensionList
Definition: OgreGLNativeSupport.h:53
static uint64 parseUnsignedLong(const String &val, uint64 defaultValue=0)
Definition: OgreStringConverter.h:226
~DefaultHardwareIndexBuffer()
@ ID_SRC_SPECULAR
Definition: OgreScriptCompiler.h:751
bool load(StreamSerialiser &stream)
Load world data from a serialiser (returns true if successful)
Portal * getTargetPortal()
Get the connected portal (if any)
Definition: OgrePortal.h:64
Definition: OgreTerrainLodManager.h:78
VertexDeclaration()
Standard constructor, not you should use HardwareBufferManager::createVertexDeclaration.
void lock(HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:420
CSGNoiseSource(const Source *src, Real *frequencies, Real *amplitudes, size_t numOctaves)
Constructor with current time as seed.
SuperClass::size_type size_type
Definition: OgreSmallVector.h:309
bool requiresTextureFlipping() const
Definition: OgreD3D9Texture.h:189
Options class which just stores default options for the terrain.
Definition: OgreTerrain.h:1878
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
TriangleLightFacingList triangleLightFacings
Triangle light facing states.
Definition: OgreEdgeListBuilder.h:129
void setBorderSize(Real left, Real right, Real top, Real bottom)
Sets the size of the border separately for all borders.
D3D11VideoMode(const D3D11VideoMode &ob)
@ SPC_LIGHTDIRECTION_TANGENT_SPACE7
Definition: OgreShaderParameter.h:207
virtual void compositorInstanceDestroyed(CompositorInstance *destroyedInstance)
Called when a compositor instance has been destroyed.
Definition: OgreCompositorLogic.h:60
@ BBO_CENTER_LEFT
Definition: OgreBillboardSet.h:59
void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
Sets the 'scissor region' i.e.
SharedPtr< GpuNamedConstants > GpuNamedConstantsPtr
Definition: OgrePrerequisites.h:283
void merge(const RenderQueue *rhs)
Merge render queue.
void setInterpolationMode(InterpolationMode im)
Tells the animation how to interpolate between keyframes.
const MaterialPtr & getMaterial()
Gets the material generated for this font, as a weak reference.
Definition: OgreFont.h:382
Portal-Connected Zone datastructure for managing scene nodes.
Definition: OgrePCZone.h:82
uint32 getVisibilityMask(void)
Gets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is ...
Definition: OgreSceneManager.h:3247
void setTop(Real Top)
Sets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
virtual void createDefinedTexture(const String &sMaterialName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
Creates a texture into an already defined material or one that is created new (it's up to plugin to u...
static D3D11_TEXTURE_ADDRESS_MODE get(TextureAddressingMode tam)
return a D3D11 equivalent for a Ogre TextureAddressingMode value
VectorIterator< LODBucketList > LODIterator
Definition: OgreStaticGeometry.h:461
virtual void _clearNodeLists(short nodeListTypes)
Remove all nodes from the node reference list and clear it.
@ ACT_TRANSPOSE_PROJECTION_MATRIX
Provides transpose of projection matrix.
Definition: OgreGpuProgramParams.h:730
void addGPUVendorRule(const GPUVendorRule &rule)
Add a rule which manually influences the support for this technique based on a GPU vendor.
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
A factory that enables creation of FFPLighting instances.
Definition: OgreShaderFFPLighting.h:243
Simple class for loading / saving GpuNamedConstants.
Definition: OgreGpuProgramParams.h:350
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
const String & getName() const
Get the name of the plugin.
static size_t getMemorySize(uint32 width, uint32 height, uint32 depth, int32 xdim, int32 ydim, PixelFormat fmt)
@ ID_NO_FSAA
Definition: OgreScriptCompiler.h:808
virtual void setColourBlendState(const ColourBlendState &state)
Sets the global blending factors for combining subsequent renders with the existing frame contents.
Definition: OgreRenderSystem.h:573
GeneralAllocatedObject ArchiveAlloc
Definition: OgreMemoryAllocatorConfig.h:114
Manager/factory for RenderTextures.
Definition: OgreGLRenderTexture.h:123
void _getWorldTransforms(Matrix4 *xform) const
Used to transform the overlay when scrolling, scaling etc.
@ SDLK_KP_ENTER
Definition: OgreInput.h:130
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
void doSet(void *target, const String &val)
unsigned int getHeight() const
Definition: OgreD3D9VideoMode.h:54
virtual const String & getType() const
bool queryResult(SceneQuery::WorldFragment *fragment, Real distance)
Self-callback in order to deal with execute which returns collection.
static Matrix4 convertD3DXMatrix(const D3DXMATRIX &mat)
AbstractNodeList values
Definition: OgreScriptCompiler.h:150
Radian mRotation
Current rotation value.
Definition: OgreParticle.h:82
bool Inverse(Matrix3 &rkInverse, Real fTolerance=1e-06f) const
virtual Real getHoldRadius() const
Get the Holding radius.
Definition: OgreGrid2DPageStrategy.h:169
static PixelFormat getClosestOGREFormat(GLenum fmt)
Function to get the closest matching OGRE format to an internal GL format.
static CmdBlueAdjust2 msBlueCmd2
Definition: OgreColourFaderAffector2.h:196
virtual void loadTerrain(long x, long y, bool synchronous=false)
Load a specific terrain slot based on the definition that has already been supplied.
@ BCT_SUBROUTINE
Definition: OgreGpuProgramParams.h:58
void _queuedOperation(CompositorInstance::RenderSystemOperation *op)
Internal method for registering a queued operation for deletion later.
const Request * getRequest() const
Get the request that this is a response to (NB destruction destroys this)
Definition: OgreWorkQueue.h:138
std::vector< TextureAtlasRecord > TextureAtlasTable
Definition: OgreShaderExTextureAtlasSampler.h:67
Frame Buffer Object abstraction.
Definition: OgreGL3PlusFrameBufferObject.h:42
@ OR_DEGREE_180
Definition: OgreFrustum.h:52
SceneNode * getRootSceneNode(void)
Gets the SceneNode at the root of the scene hierarchy.
virtual void _updateRenderQueue(RenderQueue *queue)
Internal method to put the contents onto the render queue.
DistanceLodSphereStrategy()
Default constructor.
uint16 requestedLod
Definition: OgreTerrainLodManager.h:72
void queueForDeletion(void)
Queue this pass for deletion when appropriate.
void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
Sets the mode of operation for depth buffer tests from this point onwards.
Box()
Parameterless constructor for setting the members manually.
Definition: OgreCommon.h:707
Entity * createEntity(const MeshPtr &pMesh)
Create an Entity (instance of a discrete mesh) with an autogenerated name.
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
const std::vector< Plane > & getWindowPlanes(void) const
Gets the window clip planes, only applicable if isWindowSet == true.
static DWORD get(HardwareBuffer::Usage usage)
return the combination of D3DUSAGE values for Ogre buffer usage
Command object for getting/setting external micro code (void*)
Definition: OgreD3D9GpuProgram.h:51
Result build(VertexElementSemantic targetSemantic=VES_TANGENT, unsigned short sourceTexCoordSet=0, unsigned short index=1)
Build a tangent space basis from the provided data.
@ ACT_TIME
provides current elapsed time
Definition: OgreGpuProgramParams.h:1013
@ BBT_PERPENDICULAR_SELF
Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) a...
Definition: OgreBillboardSet.h:86
void _notifyDirty(void)
Set the dirty flag and dirty frame number on this state set.
@ CAPS_CATEGORY_GL
Definition: OgreRenderSystemCapabilities.h:65
virtual void setZoneGeometry(const String &filename, PCZSceneNode *parentNode)
Called by PCZSM during setZoneGeometry()
Information about the position and size of a glyph in a texture.
Definition: OgreFont.h:142
const Vector3 & getLightMapDirection() const
Get the shadow map light direction to use (world space)
Definition: OgreTerrain.h:1917
@ ID_FRONT
Definition: OgreScriptCompiler.h:663
static Vector3 calculateTangentSpaceVector(const Vector3 &position1, const Vector3 &position2, const Vector3 &position3, Real u1, Real v1, Real u2, Real v2, Real u3, Real v3)
Calculates the tangent space vector for a given set of positions / texture coords.
void _destroyEmitter(ParticleEmitter *emitter)
Internal method for destroying an emitter.
void _setMipmapping(bool doMipmapGen, bool HWMipmaps)
Function to set mipmap generation.
@ RSC_TEXTURE_3D
Supports 3d (volume) textures.
Definition: OgreRenderSystemCapabilities.h:126
void removeProperty(IdString key)
bool operator==(const ColourValue &rhs) const
LayerBlendOperationEx operation
The operation to be applied.
Definition: OgreBlendMode.h:145
uchar getDepthMask() const
Gets the current depth mask setting.
Definition: OgreGLStateCacheManagerCommon.h:112
bool operator==(const AnimationState &rhs) const
Equality operator.
_OgreVolumeExport friend std::ostream & operator<<(std::ostream &o, const ChunkRequest &r)
Stream operator <<.
Definition: OgreVolumeChunkHandler.h:88
virtual void setUp(const Vector3 &up)
Sets the notional up vector of the emitter.
SharedPtr< D3D9Texture > D3D9TexturePtr
Definition: OgreD3D9Prerequisites.h:101
@ SPC_LIGHTDIRECTION_VIEW_SPACE0
Light direction in view space index 0-7.
Definition: OgreShaderParameter.h:190
D3D11HLSLProgram * _getBoundComputeProgram() const
virtual AbstractNode * clone() const =0
Returns a new AbstractNode which is a replica of this one.
int cluster_count
Definition: OgreQuake3Types.h:217
iterator find(const T &item)
Definition: OgreVectorSetImpl.h:102
bsp_leaf_t * mLeaves
Definition: OgreQuake3Level.h:134
static GLRTTManager * getSingletonPtr(void)
Get the singleton instance.
void _load(void)
Internal method for loading this pass.
void setSceneBlending(const SceneBlendType sbt)
Sets the kind of blending every pass has with the existing contents of the scene.
static const Quaternion IDENTITY
Definition: OgreQuaternion.h:342
virtual void setInitialWidth(size_t chainIndex, Real width)
Set the starting ribbon width in world units.
bool isVisible(const Vector3 &vert, FrustumPlane *culledBy=0) const
Tests whether the given vertex is visible in the Frustum.
Provides numeric solvers for Ogre.
Definition: OgreNumerics.h:48
SharedPtr< GpuLogicalBufferStruct > GpuLogicalBufferStructPtr
Definition: OgrePrerequisites.h:284
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
std::set< Entity * > EntitySet
Definition: OgreEntity.h:86
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
@ ACT_FRAME_TIME
provides the scaled frame time, returned as a floating point value.
Definition: OgreGpuProgramParams.h:1059
@ TU_STATIC_WRITE_ONLY
same as HardwareBuffer::HBU_STATIC_WRITE_ONLY
Definition: OgreTexture.h:57
static ParameterPtr createInTexcoord3(int index, Parameter::Content content)
SceneManager * _getCurrentSceneManager(void) const
Returns the scene manager currently being used to render a frame.
Visibility
Visibility types.
Definition: OgreOctreeCamera.h:70
virtual void detachDepthBuffer()
Implementation of a Quaternion, i.e.
Definition: OgreQuaternion.h:57
virtual void setVolumeVisible(const bool visible)
Sets whether the volume mesh is visible.
TextureAtlasAttib(IndexPositionMode _posMode=ipmRelative, ushort _posOffset=1, bool _autoBorderAdjust=true)
Definition: OgreShaderExTextureAtlasSampler.h:223
RaySceneQuery(SceneManager *mgr)
void Orthonormalize()
Definition: OgreMatrix3.h:217
A factory that enables creation of NormalMapLighting instances.
Definition: OgreShaderExNormalMapLighting.h:227
void addRenderable(Pass *pass, Renderable *rend)
Add a renderable to the collection using a given pass.
unsigned int getHeight() const
void bindGLBuffer(GLenum target, GLuint buffer, bool force=false)
Bind an OpenGL buffer of any type.
static ParameterPtr createOutTexcoord3(int index, Parameter::Content content)
@ ID_ENV_MAP
Definition: OgreScriptCompiler.h:755
BSP specialisation of IntersectionSceneQuery.
Definition: OgreBspSceneManager.h:226
PolygonMode
The polygon mode to use when rasterising.
Definition: OgreCommon.h:204
virtual bool getSuppressShadows(void) const
Gets whether shadows are suppressed when invoking this queue.
Definition: OgreRenderQueueInvocation.h:118
virtual void setOrigin(const Vector3 &worldOrigin)
Set the origin of the grid in world space.
~D3D11VertexDeclaration()
An object which renders geometry to a vertex.
Definition: OgreD3D11RenderToVertexBuffer.h:46
void generateExtremes(size_t count)
Generate the submesh extremes (.
ColourValue colour
Definition: OgreBillboardChain.h:101
bool isGpuProgramBound(GpuProgramType gptype)
Returns whether or not a Gpu program of the given type is currently bound.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere for this patch, only valid after defineSurface has been called...
virtual void position(float x, float y, float z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const SharedPtr< ControllerFunction< T > > & getFunction(void) const
Returns a pointer to the function object used by this controller.
Definition: OgreController.h:204
Ogre::OverlayContainer * getCursorContainer()
Definition: OgreTrays.h:772
virtual void finalize(LodData *data)
Definition: OgreLodOutputProviderBuffer.h:47
virtual const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
@ ID_ALPHA_REJECTION
Definition: OgreScriptCompiler.h:651
size_t calculateSize(void) const
const Radian & getRotate(void) const
Gets the rotation applied to this overlay, in degrees.
Definition: OgreOverlay.h:228
void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 mask)
Bind Gpu program parameters.
Definition: OgreGL3PlusHardwareBuffer.h:36
void destroyAllOverlayElements(bool isTemplate=false)
Destroys all the OverlayElement created so far.
const TexturePtr & getLayerBlendTexture(uint8 index) const
Get a blend texture with a given index.
@ SHADER_TRANSPARENT
Definition: OgreQuake3Types.h:87
void setProjectionMatrix(const Matrix4 &m)
void getTerrainPositionAlign(Real x, Real y, Real z, Alignment align, Vector3 *outTSpos) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setCamera(Camera *cam)
Sets the camera to use for rendering to this viewport.
HashedVector< T > & operator=(const HashedVector< T > &rhs)
Definition: OgreCommon.h:464
const Vector4 & getSceneDepthRange() const
VertexAnimationType getVertexAnimationType(void) const
Get the type of any vertex animation used by dedicated geometry.
VertexAnimationType
Type of vertex animation.
Definition: OgreAnimationTrack.h:469
Real skyPlaneScale
Definition: OgreSceneManager.h:224
void setTrayWidgetAlignment(TrayLocation trayLoc, Ogre::GuiHorizontalAlignment gha)
Sets horizontal alignment of a tray's contents.
const QueuedRenderableCollection & getSolidsNoShadowReceive(void) const
Get the collection of solids for which shadow receipt is disabled (only applicable when shadows are e...
Definition: OgreRenderQueueSortingGrouping.h:368
void setCullingFrustum(Frustum *frustum)
Tells the camera to use a separate Frustum instance to perform culling.
Definition: OgreCamera.h:574
@ CNT_LBRACE
Definition: OgreScriptCompiler.h:56
static ControllerValueRealPtr create()
Definition: OgrePredefinedControllers.h:63
void clearText()
Definition: OgreTrays.h:272
Real base
Definition: OgreTextureUnitState.h:319
void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
const float * getDeltaData() const
Get a pointer to all the delta data for this terrain.
@ PROP_UNSIGNED_SHORT
Definition: OgreProperty.h:110
bool hasSkeleton(void) const
Definition: OgreInstancedEntity.h:213
unsigned int _getNumRenderedBatches(void) const
Internal method to retrieve the number of visible batches in the last render.
void deleteResource(const String &filename, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, const String &locationPattern=BLANKSTRING)
Delete a single resource file.
void setSplitNoShadowPasses(bool split)
Sets whether or not passes which have shadow receive disabled should be separated.
Definition: OgreRenderQueueSortingGrouping.h:424
AntiPortalList mAntiPortals
Definition: OgrePCZone.h:251
float getAlphaAdjust1(void) const
Gets the alpha adjustment to be made per second to particles.
void setMinimumY(Real y)
Definition: OgreAxisAlignedBox.h:172
Vector3 projectVector(const Vector3 &v) const
Project a vector onto the plane.
Definition: OgrePlane.h:191
virtual void computeVertexCollapseCost(LodData *data, LodData::Vertex *vertex, Real &collapseCost, LodData::Vertex *&collapseTo)
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to ...
@ VET_DOUBLE4
Definition: OgreHardwareVertexBuffer.h:141
Real Determinant() const
Definition: OgreMatrix3.h:165
String doGet(const void *target) const
virtual void setUseVertexColours(bool use)
Sets whether vertex colour information should be included in the final buffers generated.
Factory object for creating ParticleSystem instances.
Definition: OgreParticleSystemManager.h:341
bool isLoaded(void) const
Returns true if the Resource has been loaded, false otherwise.
@ GCT_INT4
Definition: OgreGpuProgramParams.h:94
static const bool value
Definition: OgreSmallVector.h:71
@ RSC_TEXTURE_COMPRESSION_DXT
Supports compressed textures in the DXT/ST3C formats.
Definition: OgreRenderSystemCapabilities.h:143
virtual bool preRender(SceneManager *sm, RenderSystem *rsys)
Called just prior to the Renderable being rendered.
HardwareOcclusionQuery()
Object public member functions.
virtual void setMode(Grid2DMode mode)
Set the grid alignment mode.
void setBlendWeightsGpuRedundant(bool redundant)
Sets whether blend weights information needs to be passed to the GPU.
Definition: OgreRoot.h:962
Real getNonVisibleUpdateTimeout(void) const
Gets when the particle system should stop updating after it hasn't been visible for a while.
Definition: OgreParticleSystem.h:452
const Polygon & getPolygon(size_t poly) const
Returns a polygon.
@ RENDER_QUEUE_7
Definition: OgreRenderQueue.h:67
Abstract class representing a loadable resource.
Definition: OgreResource.h:68
static String type
The type.
Definition: OgreShaderExTriplanarTexturing.h:138
CompositorInstance * addCompositor(CompositorPtr filter, size_t addPosition=LAST, const String &scheme=BLANKSTRING)
Apply a compositor.
const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreSubEntity.h:199
const LightList & getLights(void) const
HlmsDatablock * getFragmentDatablock()
Definition: OgreHlmsMaterialBase.h:51
PropertyBase(PropertyDef *def)
Constructor.
Definition: OgreProperty.h:196
@ ID_SHADOW
Definition: OgreScriptCompiler.h:781
@ ID_SOLID
Definition: OgreScriptCompiler.h:671
void doSet(void *target, const String &val)
virtual ~OverlayManager()
SmallVector(unsigned Size, const T &Value=T())
Definition: OgreSmallVector.h:718
const String & getDescription(void) const
Returns a string with only the 'description' field of this exception.
Definition: OgreException.h:166
const SettingsMultiMap & getSettings(const String §ion=BLANKSTRING) const
Get all the available settings in a section.
bool hasEnded(void) const
Returns true if the animation has reached the end and is not looping.
void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
Sets the 'scissor region' i.e.
static bool isFloatingPoint(PixelFormat format)
Shortcut method to determine if the format is floating point.
const Vector3 getCenterLeftTop(void) const
Gets the center of the corners 4, 7.
Definition: OgreVolumeOctreeNode.h:386
Definition: OgrePCZoneFactory.h:64
#define OGRE_COPY_DEBUG_STRING(_Expression)
Definition: OgreIdString.h:41
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
virtual int getExecutionOrder() const
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
@ PROP_VECTOR4
Definition: OgreProperty.h:119
void finaliseHeightDeltas(const Rect &rect, bool cpuData)
Finalise the height deltas.
virtual const String & getType(void) const =0
Gets the type of this renderer - must be implemented by subclasses.
virtual RenderSystemContext * _pauseFrame(void)
Pause rendering for a frame.
virtual void setTarget(Ogre::SceneNode *target)
Sets the target we will revolve around.
StencilOperation
Enum describing the various actions which can be taken on the stencil buffer.
Definition: OgreRenderSystem.h:75
virtual Terrain * getTerrain(long x, long y) const
Get the terrain instance at a given slot, if loaded.
SceneNode * getSkyDomeNode(void) const
Get the sky dome node, if enabled.
Definition: OgreSceneManager.h:2121
This plugin subclass of ParticleAffector allows you to alter the rotation of particles.
Definition: OgreRotationAffector.h:50
void showNodeBoxes(bool show)
Tells the manager whether to draw the axis-aligned boxes that surround nodes in the Bsp tree.
TerrainLayerSamplerElement()
Definition: OgreTerrainMaterialGenerator.h:88
GpuProgramUsage(const GpuProgramUsage &rhs, Pass *newparent)
Copy constructor.
Singleton(void)
Definition: OgreSingleton.h:83
function< void(T) > setter_func
Definition: OgreProperty.h:225
virtual void removeAnimation(const String &name)
Removes vertex Animation from this mesh.
@ ERR_FILE_NOT_FOUND
Definition: OgreException.h:116
Definition: OgreD3D11Prerequisites.h:135
bool isUpdate
Whether this is an update of an existing tree.
Definition: OgreVolumeChunkHandler.h:80
Vector3 updateTo
If an existing chunktree is to be partially updated, set this to the front upper right point of the (...
Definition: OgreVolumeChunk.h:94
void save(StreamSerialiser &stream)
Save node to a stream.
VertexAnimationTrack(Animation *parent, unsigned short handle, VertexAnimationType animType, VertexData *targetData, TargetMode target=TM_SOFTWARE)
Constructor, associates with target VertexData and temp buffer (for software)
virtual bool contains(Real x, Real y) const
Returns true if xy is within the constraints of the component.
@ VET_UBYTE4_NORM
signed bytes (normalized to -1..1)
Definition: OgreHardwareVertexBuffer.h:156
void _checkNodeAgainstPortals(PCZSceneNode *, Portal *)
(recursive) check the given node against all portals in the zone
This optional class allows you to receive per-result callbacks from SceneQuery executions instead of ...
Definition: OgreSceneQuery.h:182
void * geometry
Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY.
Definition: OgreSceneQuery.h:111
bool hasShadowReceiverVertexProgram(void) const
Returns true if this pass uses a shadow receiver vertex program.
Definition: OgrePass.h:276
void setOctant(Octree *o)
Sets the Octree in which this OctreeNode resides.
Definition: OgreOctreeNode.h:90
FileHandleDataStream(FILE *handle, uint16 accessMode=READ)
Create stream from a C file handle.
int mNumLeafBrushes
Definition: OgreQuake3Level.h:164
void setSceneBlendingOperation(SceneBlendOperation op)
Sets the specific operation used to blend source and destination pixels together.
GeneralAllocatedObject ImageAlloc
Definition: OgreMemoryAllocatorConfig.h:126
ConstVectorIterator< PoseList > ConstPoseIterator
Definition: OgreMesh.h:988
virtual uint16 getChannel(const String &channelName)
Get a channel ID for a given channel name.
bool caseSensitive
Definition: OgreTechnique.h:137
virtual void getMetrics(unsigned int &width, unsigned int &height, unsigned int &colourDepth, int &left, int &top) const
Overloaded version of getMetrics from RenderTarget, including extra details specific to windowing sys...
void doSet(void *target, const String &val)
size_t getFrameLastUpdated() const
Get the frame in which this shared parameter set was last updated.
Definition: OgreGpuProgramParams.h:512
GpuProgram * _getBindingDelegate(void)
GLSL does not provide access to the low level code of the shader, so use this shader for binding as w...
Definition: OgreGLSLShaderCommon.h:108
VectorIterator< ObjectMap > ObjectIterator
Definition: OgreSceneNode.h:62
void setShadowsEnabled(bool enabled)
Tells this viewport whether it should display shadows.
Represents a history of each profile during the duration of the app.
Definition: OgreProfiler.h:112
VectorImpl::pointer pointer
Definition: OgreCommon.h:395
D3D11HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer)
unsigned int getClearBuffers(void) const
Gets which buffers are to be cleared each frame.
@ RSC_VERTEX_FORMAT_UBYTE4
Supports the VET_UBYTE4 vertex element type.
Definition: OgreRenderSystemCapabilities.h:116
Real getTextureVScale(void) const
Get texture vscale value.
UnifiedHighLevelGpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor, should be used only by factory classes.
@ ID_RENDER_SCENE
Definition: OgreScriptCompiler.h:818
@ PF_BC4_SNORM
DDS (DirectDraw Surface) BC4 format (signed normalised)
Definition: OgrePixelFormat.h:198
std::map< String, PageContentCollectionFactory * > ContentCollectionFactoryMap
Definition: OgrePageManager.h:206
void touchVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Tell engine that the vertex buffer copy intent to reuse.
void setPosition(const Vector3 &pos)
Sets the position of the node relative to it's parent.
void doSet(void *target, const String &val)
IncludeOrExclude
Directive used to manually control technique support based on the inclusion or exclusion of some fact...
Definition: OgreTechnique.h:116
Degree operator/(Real f) const
Definition: OgreMath.h:138
const Vector4 & getCustomParameter(size_t index) const
Gets the custom value associated with this Renderable at the given index.
Definition: OgreRenderable.h:259
@ NO_INTERSECT
Definition: OgrePortalBase.h:164
static void writeMicrocodeToCache(uint32 id, GLuint programHandle)
add the microcode to the cache
@ HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE This means that you expect to replace ...
Definition: OgreHardwareBuffer.h:131
A LODBucket is a collection of smaller buckets with the same LOD.
Definition: OgreStaticGeometry.h:310
FFPVertexShaderStage
Definition: OgreShaderFFPRenderState.h:44
IntersectionSceneQuery * createIntersectionQuery(uint32 mask)
Creates an IntersectionSceneQuery for this scene manager.
Listener * getListener(void) const
Gets the current listener for this object.
Definition: OgreMovableObject.h:461
void setSeparateSceneBlending(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor, const SceneBlendFactor sourceFactorAlpha, const SceneBlendFactor destFactorAlpha)
Allows very fine control of blending every Pass with the existing contents of the scene,...
virtual const PlaneBoundedVolumeList & _getFrustumClipVolumes(const Camera *const cam) const
Internal method for calculating the clip volumes outside of the frustum which can be used to determin...
uint32 getWidth() const
Get the width of this box.
Definition: OgreCommon.h:764
void setTextureFiltering(FilterType ftype, FilterOptions opts)
Set a single filtering option on this texture unit.
Definition: OgreTextureUnitState.h:700
@ PF_R16G16B16A16_SNORM
64-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:228
void removeInstancedEntity(InstancedEntity *instancedEntity)
Removes an InstancedEntity from the scene retrieved with getNewInstancedEntity, putting back into a q...
GpuProgramType
Enumerates the types of programs which can run on the GPU.
Definition: OgreGpuProgram.h:49
const ShadowRenderableList & getShadowVolumeRenderableList(ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, size_t *indexBufferUsedSize, bool extrudeVertices, Real extrusionDist, unsigned long flags=0)
Define a default implementation of method from ShadowCaster which implements no shadows.
void addCodePointRange(const CodePointRange &range)
Adds a range of code points to the list of code point ranges to generate glyphs for,...
Definition: OgreFont.h:352
void _notifyIndexInFrame(size_t i)
Definition: OgreLight.h:406
PlaneBoundedVolume getCameraToViewportBoxVolume(Real screenLeft, Real screenTop, Real screenRight, Real screenBottom, bool includeFarPlane=false)
Gets a world-space list of planes enclosing a volume based on a viewport rectangle.
ShaderProgramWriterGLSLESFactory()
Definition: OgreShaderGLSLESProgramWriter.h:123
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:643
void startRendering(void)
Starts / restarts the automatic rendering cycle.
Definition: OgreGLStateCacheManager.h:40
unsigned short uint16
Definition: OgrePlatform.h:255
virtual uint32 getHeight() const
GeometryAllocatedObject EdgeDataAlloc
Definition: OgreMemoryAllocatorConfig.h:123
void _notifyAttached(Node *parent, bool isTagPoint=false) override
Internal method called to notify the object that it has been attached to a node.
static CmdRedAdjust msRedCmd
Definition: OgreColourFaderAffector.h:138
virtual const String & getType() const
const TextureAtlasTablePtr & getTextureAtlasTable(const String &textureName) const
Retrieve the texture atlas table information for a given texture.
AntiPortal(const String &name, const PORTAL_TYPE type=PORTAL_TYPE_QUAD)
@ SPC_TEXTURE_COORDINATE1
Definition: OgreShaderParameter.h:292
virtual RenderTexture * createRenderTexture(const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)=0
Create a texture rendertarget object.
void _updateRenderQueue(RenderQueue *)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
void destroyAllAnimations(void)
Removes all animations created using this SceneManager.
ValueType any_cast(const Any &operand)
Definition: OgreAny.h:400
PagedWorld * loadWorld(const String &filename, const String &name=BLANKSTRING)
Load a new PagedWorld from a file.
int32 getFSAA() const
Accessors.
Definition: OgreGLRenderTexture.h:72
uint32 getHeight(void) const
Gets the height of the image in pixels.
LodCollapserPtr collapser
Definition: OgreLodWorkQueueRequest.h:49
@ IT_16BIT
Definition: OgreHardwareIndexBuffer.h:50
void _process(LodConfig &lodConfig, LodCollapseCost *cost, LodData *data, LodInputProvider *input, LodOutputProvider *output, LodCollapser *collapser)
void setShadowTextureConfig(size_t shadowIndex, const ShadowTextureConfig &config)
Set the detailed configuration for a shadow texture.
Definition: OgreSceneManager.h:2742
Ogre::FloatRect UVRect
Definition: OgreFont.h:139
@ PT_PLANE
Definition: OgreSceneManager.h:1410
Real getValueImpl(const MovableObject *movableObject, const Camera *camera) const
Compute the LOD value for a given movable object relative to a given camera.
virtual ~TerrainAutoUpdateLod()
Definition: OgreTerrainAutoUpdateLod.h:56
static void getBitDepths(PixelFormat format, int rgba[4])
Gives the number of bits (RGBA) for a format.
const Vector3 & getMaximum(void) const
Gets the maximum corner of the box.
Definition: OgreAxisAlignedBox.h:134
virtual bool postConversion(ScriptCompiler *compiler, const AbstractNodeListPtr &)
Allows vetoing of continued compilation after the entire AST conversion process finishes.
Real getFarClipDistance(void) const
Retrieves the distance from the frustum to the far clipping plane.
VertexPoseKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
virtual const Chunk * readChunkBegin()
Reads the start of the next chunk in the file.
Struct associating a single Pass with a single Renderable.
Definition: OgreRenderQueueSortingGrouping.h:53
const String & getPageResourceGroup() const
Get the resource group that will be used to read/write files when the default load routines are used.
Definition: OgrePageManager.h:384
Definition: OgreComPtr.h:79
virtual ~OctreeZoneFactory()
Definition: OgreAlignedAllocator.h:34
void setRotationRangeEnd(const Radian &angle)
Sets the maximum rotation angle of particles to be emitted.
~NumericKeyFrame()
Definition: OgreKeyFrame.h:84
RenderTexture for GL FBO.
Definition: OgreGL3PlusFBORenderTexture.h:43
unsigned short ushort
Definition: OgrePrerequisites.h:67
Vector3 getViewSideVector() const
@ ID_SCALE
Definition: OgreScriptCompiler.h:764
PORTAL_TYPE getType() const
Get the type of portal.
Definition: OgrePortalBase.h:110
virtual bool queryResult(SceneQuery::WorldFragment *fragment, Real distance)=0
Called when a world fragment is intersected by the ray.
@ LBS_CURRENT
the colour as built up from previous stages
Definition: OgreBlendMode.h:115
virtual TransformKeyFrame * createNodeKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
const_reference back() const
Definition: OgreSmallVector.h:206
void _setTexture(size_t unit, bool enabled, const TexturePtr &tex)
Sets the texture to bind to a given texture unit.
void setMaterial(const MaterialPtr &mat)
Set the material used by this pass.
void getUV(Real &u1, Real &v1, Real &u2, Real &v2) const
Get the uv coordinates for the panel.
RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask)
Creates a RaySceneQuery for this scene manager.
const String & getCompositorLogicName() const
Get the compositor logic name assigned to this technique.
Definition: OgreCompositionTechnique.h:172
String doGet(const void *target) const
static ParameterPtr createConstParam(float val)
represents a FFPShaderStage, part of a Function
Definition: OgreShaderFunction.h:46
virtual ~ArchiveManager()
Default destructor.
@ ANT_OBJECT
Definition: OgreScriptCompiler.h:80
Interface definition for factories of HighLevelGpuProgram.
Definition: OgreHighLevelGpuProgramManager.h:47
@ SPC_POSTOCAMERA_WORLD_SPACE
View vector in world space.
Definition: OgreShaderParameter.h:121
virtual void setName(const String &newName)
Sets the name of the emitter.
virtual void _setTextureProjectionRelativeTo(bool enabled, const Vector3 &pos)
Notify the rendersystem that it should adjust texture projection to be relative to a different origin...
PCZ implementation of RaySceneQuery.
Definition: OgrePCZSceneQuery.h:76
virtual const AxisAlignedBox & getBoundingBox(void) const
Overridden: Retrieves the local axis-aligned bounding box for this object.
virtual void destroyAllContentCollections()
Destroy all PageContentCollections within this page.
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer)
Override so we can attach the depth buffer to the FBO.
@ ID_SPOT
Definition: OgreScriptCompiler.h:689
MapIterator< ChildContainerMap > ChildContainerIterator
Definition: OgreOverlayContainer.h:62
virtual bool isReadOnly() const
Reports whether this Archive is read-only, or whether the contents can be updated.
Definition: OgreArchive.h:131
@ RSC_TEXTURE_COMPRESSION_VTC
Supports compressed textures in the VTC format.
Definition: OgreRenderSystemCapabilities.h:145
void setShadowTextureCountPerLightType(Light::LightTypes type, size_t count)
Set the number of shadow textures a light type uses.
Definition: OgreSceneManager.h:2797
String doGet(const void *target) const
RenderableListener()
Definition: OgreRenderQueue.h:106
int getViewportWidth(void) const
Gets the width of the destination viewport in pixels.
ID3D11Buffer * getD3DIndexBuffer(void) const
Get the D3D-specific index buffer.
std::vector< Real > RealVector
Definition: OgreTerrain.h:294
IndexData * indexData
Face index data.
Definition: OgreSubMesh.h:87
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
@ PT_ORTHOGRAPHIC
Definition: OgreFrustum.h:64
Definition: OgreRenderTarget.h:77
void enable(bool yesno)
Definition: OgrePCZSceneNode.h:100
void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Definition: OgrePortalBase.h:199
void freeInternalResources(void)
Frees internal texture resources for this texture.
@ ACT_LIGHT_DIRECTION
A light direction in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:855
virtual SceneQueryResult & getLastResults(void) const
Gets the results of the last query that was run using this object, provided the query was executed us...
@ LF_INCLUDE_NON_RELOADABLE
Process non-reloadable resources too.
Definition: OgreResource.h:124
virtual void _updateBounds(void)
Update the bounds of the billboardset.
void _genMipmaps(IDirect3DBaseTexture9 *mipTex)
Internal function to update mipmaps on update of level 0.
void removeAllEmitters(void)
Removes all the emitters from this system.
General purpose response structure.
Definition: OgreWorkQueue.h:124
void getCameraToViewportRay(Real screenx, Real screeny, Ray *outRay) const
Gets a world space ray as cast from the camera through a viewport position.
const MaterialPtr & getMaterial() const
Definition: OgreSubMesh.h:143
std::map< String, RenderTarget * > RenderTargetMap
Definition: OgreRenderSystem.h:55
void resetShadowFarDistance(void)
Tells the light to use the shadow far distance of the SceneManager.
void removeListener(Listener *l)
Remove a listener to the custom events that this render system can raise.
@ ID_ANIM_TEXTURE
Definition: OgreScriptCompiler.h:708
void execute(SceneQueryListener *listener)
See SceneQuery.
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
void setConstant(size_t index, const int *val, size_t count)
Sets a multiple value constant integer parameter to the program.
@ ACT_LIGHT_POSITION_OBJECT_SPACE_ARRAY
Array of light positions in object space (count set by extra param)
Definition: OgreGpuProgramParams.h:888
void destroyRenderTarget(const String &name)
Destroys a render target of any sort.
static LogManager & getSingleton(void)
Get the singleton instance.
static ParameterPtr createInColor(int index)
const String & getMovableType() const
Returns the type name of this object.
void execute(SceneQueryListener *listener)
See RaySceneQuery.
@ LML_NORMAL
Definition: OgreLog.h:62
const Vector3 & getDerivedDirection(void) const
Retrieves the direction of the light including any transform from nodes it is attached to.
const CameraList & getCameras() const
Returns a const version of the camera list.
Definition: OgreSceneManager.h:2567
const ShaderParameterList & getLocalParameters() const
Return a list of local parameters.
Definition: OgreShaderFunction.h:223
virtual TexCoordDirection getTextureCoordDirection(void)
Gets the direction in which texture coords specified on each element are deemed to run.
Definition: OgreBillboardChain.h:166
virtual void preRenderQueues()
Event raised before all render queues are processed.
Definition: OgreRenderQueueListener.h:63
static const Vector3 ZERO
Definition: OgreVector.h:256
IDirect3DSurface9 * getDepthBuffer(D3D9RenderWindow *renderWindow)
@ ID_MIRROR
Definition: OgreScriptCompiler.h:717
int getLumpSize(int lumpType)
VertexData * getAssociatedVertexData(void) const
Gets the associated VertexData which this track will update.
Definition: OgreAnimationTrack.h:541
pointer data()
data - Return a pointer to the vector's buffer, even if empty().
Definition: OgreSmallVector.h:183
virtual void read(Sphere *sphere, size_t count=1)
void destroyContentCollection(PageContentCollection *coll)
Destroy an instance of PageContentCollection.
bool isIndexBufferShadowed(void) const
Gets whether or not this meshes index buffers are shadowed.
Definition: OgreMesh.h:611
virtual void write(const Vector2 *vec, size_t count=1)
static Real RadiansToAngleUnits(Real radians)
Convert from radians to the current AngleUnit .
void setSpecular(float red, float green, float blue, float alpha)
Sets the specular colour reflectance properties of every Pass in every Technique.
void _writeRawConstant(size_t physicalIndex, int val)
Write a single integer parameter to the program.
@ FT_IMAGE
Loaded from an image created by an artist.
Definition: OgreFont.h:49
bool useIndexes
Specifies whether to use indexes to determine the vertices to use as input.
Definition: OgreRenderOperation.h:117
virtual void yesNoDialogClosed(const Ogre::DisplayString &question, bool yesHit)
Definition: OgreTrays.h:97
String doGet(const void *target) const
virtual void handleError(ScriptCompiler *compiler, uint32 code, const String &file, int line, const String &msg)
Called when an error occurred.
RenderSystem()
Default Constructor.
@ PF_ETC2_RGB8A1
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:236
Plugin instance for GL ES 2 Manager.
Definition: OgreGLES2Plugin.h:40
void setMaterialOfLevel(size_t level, const MaterialPtr &mat)
Sets the material of all chunks of a specific level in the tree.
Sphere(const Vector3 ¢er, Real radius)
Constructor allowing arbitrary spheres.
Definition: OgreSphere.h:64
void setCreateShaderOverProgrammablePass(bool value)
Sets whether shaders are created for passes with shaders.
Definition: OgreShaderGenerator.h:415
void setCurrentHomeZone(PCZone *zone)
Set the current home zone of the portal.
@ INDEX_BUFFER
Definition: OgreD3D11HardwareBuffer.h:46
const Vector3 & getCommonDirection(void) const
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
virtual void _notifyRenderTargetDetached(RenderTarget *renderTarget)
Called when a RenderTarget is detaches from this DepthBuffer.
D3D11Driver * item(size_t index)
does not include hidden drivers like NVPerfHUD
~Entity()
Default destructor.
void addFactory(HighLevelGpuProgramFactory *factory)
Add a new factory object for high-level programs of a given language.
void _setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias, NB you should use the Material version of this.
void setVertexProgramConstantFloatCount(ushort c)
The number of floating-point constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:641
void dump(std::ofstream &of) const
Dump contents for diagnostics.
FileInfoListPtr findResourceFileInfo(const String &group, const String &pattern, bool dirs=false) const
Find all files or directories matching a given pattern in a group and get some detailed information a...
virtual ~ResourceBackgroundQueue()
size_t vertexCount
Definition: OgreLodBuffer.h:55
static const Vector3 UNIT_SCALE
Definition: OgreVector.h:263
virtual void startup(bool forceRestart=true)
Start up the queue with the options that have been set.
void setGeometryProgramConstantIntCount(ushort c)
The number of integer constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:661
virtual void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Codec specialized in loading PVRTC (PowerVR) images.
Definition: OgrePVRTCCodec.h:47
static SkeletonManager * getSingletonPtr(void)
Get the singleton instance.
SubRenderStateAccessorPtr getAccessor() const
Return the accessor object to this sub render state.
DirectionRandomiserAffector(ParticleSystem *psys)
Default constructor.
void notifyContextDestroyed(GLContext *context)
static TerrainGlobalOptions & getSingleton(void)
Get the singleton instance.
@ TL_VIEWPOS
Definition: OgreShaderExGBuffer.h:58
const VertexData * getVertexData(void) const
Get the vertex data for this geometry.
Definition: OgreStaticGeometry.h:231
void removeEffect(const TextureEffectType type)
Removes a single effect applied to this texture layer.
@ SPC_POSTOLIGHT_OBJECT_SPACE2
Definition: OgreShaderParameter.h:132
void registerSceneLoader(const String &name, const StringVector &ext, SceneLoader *sl)
Register a new SceneLoader.
Inner class for displaying debug renderable for Node.
Definition: OgreNode.h:99
void _notifyMoved()
Called when scene node moved.
Definition: OgrePortalBase.h:207
PCZone * getCurrentHomeZone()
Get the Zone the Portal is currently "in".
Definition: OgrePortalBase.h:115
const MetaDataList & getMetaData() const
get all types of SceneManager available for construction
Definition: OgreSceneManagerEnumerator.h:138
@ PF_BC6H_UF16
DDS (DirectDraw Surface) BC6H format (unsigned 16 bit float)
Definition: OgrePixelFormat.h:204
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
const BspNode * getRootNode(void)
Returns a pointer to the root node (BspNode) of the BSP tree.
void merge(const AxisAlignedBox &rhs)
Merges the passed in box into the current box.
Definition: OgreAxisAlignedBox.h:347
void _findVisibleObjects(Camera *cam, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool includeChildren=true, bool displayNodes=false, bool onlyShadowCasters=false)
Internal method which locates any visible objects attached to this node and adds them to the passed i...
CompositorInstance * _getOriginalSceneCompositor(void)
Get the original scene compositor instance for this chain (internal use).
Definition: OgreCompositorChain.h:103
void doSet(void *target, const String &val)
@ ENDIAN_BIG
Use big endian (0x1000 is serialised as 0x10 0x00)
Definition: OgreSerializer.h:64
Real animFps
Definition: OgreQuake3Shader.h:100
Simple type to indicate a flush of the stream to the log.
Definition: OgreLog.h:208
LPD3DXBUFFER getMicroCode()
void addMovableObjectFactory(MovableObjectFactory *fact, bool overrideExisting=false)
Register a new MovableObjectFactory which will create new MovableObject instances of a particular typ...
@ PCT_SHORT
Byte per component (8 bit fixed 0.0..1.0)
Definition: OgrePixelFormat.h:326
Handles the management of mesh resources.
Definition: OgreMeshManager.h:66
PCZone * mAssociatedZone
Definition: OgrePCZone.h:305
T ** GetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:203
static OrientationMode getDefaultOrientationMode()
Get the initial orientation mode of viewports.
@ SPC_POSTOLIGHT_TANGENT_SPACE4
Definition: OgreShaderParameter.h:164
virtual void abortPendingRequestsByChannel(uint16 channel)=0
Abort all previously issued requests in a given channel.
Real lastTransitionDist
The most recently calculated transition distance.
Definition: OgreTerrainQuadTreeNode.h:142
std::vector< RenderSystemOpPair > RenderSystemOpPairs
Definition: OgreCompositorInstance.h:112
virtual bool isVisible(void) const
Should this ShadowRenderable be treated as visible?
Definition: OgreShadowCaster.h:93
void setVisibilityFlags(uint32 flags)
Set the visibility flags for this terrain.
Definition: OgreTerrain.h:1324
virtual void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
Definition: OgreRenderSystem.h:543
PCZone * getZoneByName(const String &zoneName)
Get a zone by name.
@ ID_SYNTAX
Definition: OgreScriptCompiler.h:601
Object representing one pass or operation in a composition sequence.
Definition: OgreCompositionPass.h:47
@ TA_READ_WRITE
Definition: OgreTexture.h:88
virtual const String & getType() const
Degree(Real d=0)
Definition: OgreMath.h:114
ParameterPtr getOutputParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
get output parameter by content
Definition: OgreShaderFunction.h:170
Command object for setting compilation arguments.
Definition: OgreCgProgram.h:70
void setRotationInterpolationMode(RotationInterpolationMode im)
Tells the animation how to interpolate rotations.
virtual bool getWorkersCanAccessRenderSystem() const
Get whether worker threads will be allowed to access render system resources.
void setMaxClampedAbsoluteDensity(Real maxClampedAbsoluteDensity)
Sets the maximum absolute density value to be written into the data when combining,...
D3D11RenderWindowBase(D3D11Device &device)
void _dispatchCompute(const Vector3i &workgroupDim)
virtual TransformKeyFrame * getNodeKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
Definition: OgreSTBICodec.h:82
bool isResourceGroupInitialised(const String &name) const
Checks the status of a resource group.
virtual void removeViewport(int ZOrder)
Removes a viewport at a given Z-order.
@ TL_BOTTOMRIGHT
Definition: OgreTrays.h:64
void readData(size_t offset, size_t length, void *pDest)
Abstract class defining the interface to be implemented by particle affectors.
Definition: OgreParticleAffector.h:65
Handles the WorkQueue management of the chunks.
Definition: OgreVolumeChunkHandler.h:95
void removeTranslatorManager(ScriptTranslatorManager *man)
Removes the given translator manager from the list of managers.
void findNodesIn(const Sphere &sphere, std::list< SceneNode * > &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the sphere into the given list.
Vector3 dst
Definition: OgreLodConfig.h:46
virtual bool getDualGridVisible(void) const
Gets whether the debug visualization entity of the dualgrid is visible.
const Vector3 getCorner4(void) const
Gets the coordinate of corner 4.
Definition: OgreVolumeOctreeNode.h:485
FFPTexturing()
Class default constructor.
void _notifyCurrentCamera(Camera *cam)
Internal method to notify the object of the camera to be used for the next rendering operation.
Real getShadowFarDistanceSquared(void) const
VectorIterator< PoseRefList > PoseRefIterator
Definition: OgreKeyFrame.h:232
void destroyLog(Log *log)
Closes and removes a log.
virtual bool projectSphere(const Sphere &sphere, Real *left, Real *top, Real *right, Real *bottom) const
Project a sphere onto the near plane and get the bounding rectangle.
const PassIterator getPassIterator(void)
Gets an iterator over the passes in this Technique.
@ ID_SHADOW_RECEIVER_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:588
RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask=0xFFFFFFFF)
Creates a RaySceneQuery for this scene manager.
size_t tell(void) const
Returns the current byte offset from beginning.
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
virtual void destroySceneNode(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void destroyCamera(Camera *cam)
Removes a camera from the scene.
void setIterationInterval(Real iterationInterval)
Sets a 'iteration interval' on this particle system.
D3D11StereoDriverImpl()
Definition: OgreD3D11StereoDriverImpl.h:44
FilterOptions
Filtering options for textures / mipmaps.
Definition: OgreCommon.h:104
ShaderTemplate()
Definition: OgreHlmsShaderTemplate.h:45
void load(const DataStreamPtr &stream, const String &separators="\t:=", bool trimWhitespace=true)
load from a data stream
virtual void writeSourceCode(std::ostream &os, const String &targetLanguage) const =0
Abstract method that writes a source code to the given output stream in the target shader language.
virtual String getType() const
Returns the type of the codec as a String.
ushort getNumTextureUnits(void) const
Returns the number of texture units the current output hardware supports.
Definition: OgreRenderSystemCapabilities.h:479
@ LT_POINT
Point light sources give off light equally in all directions, so require only position not direction.
Definition: OgreLight.h:81
void _fireInputEvent(const Event &event, uint32_t windowID) const
inspect the event and call one of the corresponding functions on the registered InputListener
void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 mask)
Bind Gpu program parameters.
Real z
Definition: OgreVector.h:132
const VisibleObjectsBoundsInfo & getShadowCasterBoundsInfo(const Light *light, size_t iteration=0) const
Returns the shadow caster AAB for a specific light-camera combination.
Specialisation of HardwareBufferManagerBase to emulate hardware buffers.
Definition: OgreDefaultHardwareBufferManager.h:131
Command object for billboard origin (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:70
void setClearEveryFrame(bool clear, unsigned int buffers=FBT_COLOUR|FBT_DEPTH)
Determines whether to clear the viewport before rendering.
int getHighestLodLoaded() const
Definition: OgreTerrain.h:1860
void resetIndexDataStartEndIndex()
Reset the custom start/end index to the default values.
virtual ~GLSLProgramManagerCommon()
@ SPC_LIGHTPOSITION_TANGENT_SPACE
Light position in tangent space index 0-7.
Definition: OgreShaderParameter.h:240
void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
virtual ~D3D11RenderTexture()
@ ACT_TIME_0_2PI
Single float value, which represents scaled time value [0..2*Pi], which repeats itself based on given...
Definition: OgreGpuProgramParams.h:1047
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
void uninstall()
Perform the final plugin uninstallation sequence.
static D3DXMATRIX makeD3DXMatrix(const Matrix4 &mat)
void updatePoint(unsigned short index, const Quaternion &value)
Updates a single point in the spline.
virtual void define(TerrainGroup *terrainGroup, long x, long y)
Definition: OgreTerrainPagedWorldSection.h:161
virtual ~ControllerFunction()
Definition: OgreController.h:89
ManualObject * createManualObject()
Create a ManualObject, an object which you populate with geometry manually through a GL immediate-mod...
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
void destroyBlendMask()
Destroy the currently set blend mask.
void swapBuffers()
Override needed to deal with FSAA.
Real mTotalTimeToLive
Total Time to live, number of seconds of particles natural life.
Definition: OgreParticle.h:94
virtual void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
Definition: OgrePageStrategy.h:102
Slot for a terrain instance, together with its definition.
Definition: OgreTerrainGroup.h:337
TContainer::iterator ContainerIter
Definition: OgreRadixSort.h:91
~BillboardParticleRenderer()
bool isEmpty() const
Definition: OgreAny.h:112
OctreeCamera::Visibility getVisibility(const AxisAlignedBox &bound)
Returns the visibility of the box.
virtual ~StaticGeometry()
Destructor.
void setAutoCalculate(bool autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added.
Stream(Log *target, LogMessageLevel lml, bool maskDebug)
Definition: OgreLog.h:210
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreGL3PlusTextureBuffer.h:60
@ FOG_EXP2
Fog density increases at the square of FOG_EXP, i.e. even quicker (fog = 1/e^(distance * density)^2)
Definition: OgreCommon.h:152
uint getGLProgramHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLProgramCommon.h:70
uint8 getRenderQueueGroup(void) const
Get the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1313
const ColourValue & getLightSpecularColour(size_t index) const
void removeAllExtraCullingPlanes(void)
Remove all extra culling planes.
String doGet(const void *target) const
bool result
Definition: OgreHlmsShaderGenerator.h:63
void getRenderOperation(RenderOperation &op)
See Renderable.
void destroyAntiPortal(AntiPortal *p)
Delete a anti portal instance by pointer.
GLContext GL3PlusContext
Definition: OgreGL3PlusPrerequisites.h:38
virtual void applyDeltaValue(int)
Apply delta value.
Definition: OgreAnimable.h:189
void _addChild(OverlayElement *elem)
virtual Response * handleRequest(const Request *req, const WorkQueue *srcQ) OGRE_NODISCARD=0
The handler method every subclass must implement.
void loadImage(const String &filename, const String &groupName)
Load an image into this blend layer.
void moveNext()
Moves the iterator on one element.
Definition: OgreIteratorWrapper.h:104
virtual const Chunk * getCurrentChunk() const
Get the definition of the current chunk being read (if any).
bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
static const Matrix3 ZERO
Definition: OgreMatrix3.h:291
void setPointSize(Real ps)
Sets the point size properties for every Pass in this Technique.
static const Vector2 ZERO
Definition: OgreVector.h:120
AllocPolicy RenderSysAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:94
void updateDebugDisplay(Page *p, SceneNode *sn)
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
static D3DSAMPLERSTATETYPE get(FilterType ft)
return a D3D9 state type for Ogre FilterType value
NumericAnimationTrack * getNumericTrack(unsigned short handle) const
Gets a numeric track by it's handle.
FunctionInvocation(const String &functionName, int groupOrder, const String &returnType="void")
Class constructor.
virtual Real getRandomUnit()=0
When called should return a random values in the range of [0,1].
@ D3D_TEX_TYPE_NORMAL
standard texture
Definition: OgreD3D9Mappings.h:48
Definition: OgreD3D9HardwarePixelBuffer.h:41
bool _isFitToTray()
Definition: OgreTrays.h:498
virtual void copyFrom(const HardwareSkinningTechnique *hardSkin)
void setShadowCasterRenderBackFaces(bool bf)
Sets whether or not shadow casters should be rendered into shadow textures using their back faces rat...
Definition: OgreSceneManager.h:2939
void removeAllTemplates(bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
virtual void compositorInstanceCreated(CompositorInstance *newInstance)
Called when a compositor instance has been created.
Definition: OgreCompositorLogic.h:54
Portal * createPortal(const String &name, PortalBase::PORTAL_TYPE type=PortalBase::PORTAL_TYPE_QUAD)
Create a new portal instance.
bool checkExtension(const String &ext) const
Definition: OgreGLNativeSupport.h:79
@ TEXCALC_NONE
No calculated texture coordinates.
Definition: OgreRenderSystem.h:63
String quoteWord(const String &val)
Definition: OgreMaterialSerializer.h:338
void _setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias, NB you should use the Material version of this.
void clear(bool destroy=false)
Clears this group of renderables.
Definition: OgreRenderQueueSortingGrouping.h:544
const QueuedRenderableCollection & getSolidsBasic(void) const
Get the collection of basic solids currently queued, this includes all solids when there are no shado...
Definition: OgreRenderQueueSortingGrouping.h:356
void _notifyAttached(Node *parent, bool isTagPoint=false)
Internal method called to notify the object that it has been attached to a node.
Definition: OgreGLSLESProgram.h:37
uchar getBPP() const
Returns the number of bits per pixel.
void throwIfFailed(const char *desc, const char *src)
Definition: OgreD3D11Device.h:81
void setCaption(const Ogre::DisplayString &caption)
const_reference back() const
Definition: OgreCommon.h:486
unsigned getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreD3D11RenderWindow.h:133
void dirty()
Indicate that all of the blend data is dirty and needs updating.
virtual void roll(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Z-axis.
void load(const String &filename, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (not using resource group locations)
void buttonHit(Button *button)
Destroys dialog widgets, notifies listener, and ends high priority session.
bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
void setShadowReceiverFragmentProgram(const String &name)
This method allows you to specify a fragment program for use when rendering a texture shadow receiver...
static size_t getNumAutoConstantDefinitions(void)
Returns the number of auto constant definitions.
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:76
@ G2D_X_Z
Grid is in the X/Z plane.
Definition: OgreGrid2DPageStrategy.h:50
Command object for scope (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:65
virtual void create(const String &name, unsigned widthPt, unsigned heightPt, bool fullScreen, const NameValuePairList *miscParams)
virtual void _getClippingRegion(RealRect &clippingRegion)
Gets the clipping region of the element.
D3D_FEATURE_LEVEL _getFeatureLevel() const
Definition: OgreD3D11RenderSystem.h:342
Command object for red adjust (see ParamCommand).
Definition: OgreColourInterpolatorAffector.h:50
uint getGLProgramHandle() const
If we are using program pipelines, the OpenGL program handle.
Definition: OgreGLSLShaderCommon.h:102
void _resumeRendering(RenderContext *context)
Resume rendering of the frame.
LodInputProviderPtr input
Definition: OgreLodWorkQueueRequest.h:46
uint hierarchicalLvl
The hierarchical level of this profile, 0 being the root profile.
Definition: OgreProfiler.h:193
size_t getConsecutiveSize() const
Return the size (in bytes) this image would take if it was laid out consecutive in memory.
Definition: OgreGLES2HardwareOcclusionQuery.h:46
void _setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias, NB you should use the Material version of this.
virtual void removeAllViewports(void)
Removes all viewports on this target.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
std::vector< CompositionPass * > Passes
Definition: OgreCompositionTargetPass.h:59
@ IM_VTFBONEMATRIXLOOKUP
Use a limited number of skeleton animations shared among all instances.
Definition: OgreCommon.h:354
@ PCT_FLOAT32
16 bit float per component
Definition: OgrePixelFormat.h:328
void uninstall()
Perform the final plugin uninstallation sequence.
bool operator>(const Vector &rhs) const
Returns true if the vector's scalar components are all smaller that the ones of the vector it is comp...
Definition: OgreVector.h:400
virtual void unload(void)
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
const VideoModes & getVideoModes() const
Definition: OgreGLNativeSupport.h:104
size_t ResourceHandle
Definition: OgreResource.h:38
String doGet(const void *target) const
void setCharHeight(Real height)
void setNamedConstant(const String &name, int val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
TextureAddressingMode u
Definition: OgreHlmsPbsMaterial.h:81
GLHardwarePixelBufferCommon * getDepthBuffer() const
Definition: OgreGLDepthBufferCommon.h:37
void doSet(void *target, const String &val)
virtual ~PageStrategy()
Definition: OgrePageStrategy.h:85
size_t getRowSpan(void) const
Gets the physical width in bytes of each row of pixels.
void blitToMemory(const PixelBox &dst)
Convenience function that blits this entire buffer to a pixelbox.
Definition: OgreHardwarePixelBuffer.h:164
D3D9RenderTexture(const String &name, D3D9HardwarePixelBuffer *buffer, bool writeGamma, uint fsaa)
TerrainPaging(PageManager *pageMgr)
Constructor.
virtual void displayResults(const ProfileInstance &instance, ulong maxTotalFrameTime)
Here we get the real profiling information which we can use.
Definition: OgreProfiler.h:219
BaseInstanceBatchVTF(InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
size_t getNumManualLodLevels(void) const
Returns the number of manual levels of detail that this entity supports.
void setScheme(const String &schemeName, bool reuseTextures=true)
Pick a technique to use to render this compositor based on a scheme.
Real getSinTime_0_X(Real x) const
Real getTimePos(void) const
Definition: OgreAnimationTrack.h:93
@ ID_ITERATION_DEPTH_BIAS
Definition: OgreScriptCompiler.h:642
T * Detach() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:214
static ScriptCompilerManager * getSingletonPtr(void)
Get the singleton instance.
bool areFrameStatsVisible()
Definition: OgreTrays.h:899
void visit(RenderablePass *rp)
Called when visiting a RenderablePass, i.e.
InstanceManager(const String &customName, SceneManager *sceneManager, const String &meshName, const String &groupName, InstancingTechnique instancingTechnique, uint16 instancingFlags, size_t instancesPerBatch, unsigned short subMeshIdx, bool useBoneMatrixLookup=false)
Template class describing a simple pool of items.
Definition: OgreResourceManager.h:46
int * mElements
Definition: OgreQuake3Level.h:122
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
Sets the global alpha rejection approach for future renders.
void doSet(void *target, const String &val)
void setSplitPoints(const SplitPointList &newSplitPoints)
Manually configure a new splitting scheme.
Frame Buffer Object abstraction.
Definition: OgreGLES2FrameBufferObject.h:42
void doSet(void *target, const String &val)
void removeAllTextureUnitStates(void)
Removes all texture unit settings.
void saveWorld(PagedWorld *world, const String &filename)
Save a PagedWorld instance to a file.
void setNamedConstant(const String &name, uint val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
float normal[3]
Definition: OgreQuake3Types.h:212
T dotProduct(const VectorBase< dims, T > &vec) const
Calculates the dot (scalar) product of this vector with another.
Definition: OgreVector.h:450
GLNativeSupport(int profile)
Definition: OgreGLNativeSupport.h:61
SelectMenu * createThickSelectMenu(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, unsigned int maxItemsShown, const Ogre::StringVector &items=Ogre::StringVector())
const char * getFile() const
Gets source file name.
Definition: OgreException.h:156
@ ID_COMPUTE_PROGRAM
Definition: OgreScriptCompiler.h:853
static bool isAccessible(PixelFormat srcformat)
Returns whether the format can be packed or unpacked with the packColour() and unpackColour() functio...
Definition: OgreLodConfig.h:144
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
BspSceneManager(const String &name)
@ RENDER_QUEUE_6
Definition: OgreRenderQueue.h:66
@ OGREPROF_CULLING
Culling.
Definition: OgreProfiler.h:88
virtual void autoUpdateLod(Terrain *terrain, bool synchronous, const Any &data)=0
Method to be called to change terrain's LOD level.
void unloadUnreferencedResourcesInGroup(const String &name, bool reloadableOnly=true)
Unload all resources which are not referenced by any other object.
String doGet(const void *target) const
virtual ~Plugin()
Definition: OgrePlugin.h:83
virtual bool isFullScreen(void) const
Returns true if window is running in fullscreen mode.
static HighLevelGpuProgramManager * getSingletonPtr(void)
Get the singleton instance.
bool _OgreVolumeExport operator<(const Vector3 &a, const Vector3 &b)
A less operator.
bool operator()(FunctionInvocation const &lhs, FunctionInvocation const &rhs) const
InstanceBatchMapIterator getInstanceBatchMapIterator(void) const
Get non-updateable iterator over instance batches per material.
Definition: OgreInstanceManager.h:300
virtual bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:319
virtual void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model based on the vector from each bi...
Definition: OgreBillboardSet.h:678
int skyPlaneYSegments
Definition: OgreSceneManager.h:228
ScaleAffector(ParticleSystem *psys)
Default constructor.
void setShininess(Real val)
Sets the shininess properties of every Pass in every Technique.
LightTypes
Defines the type of light.
Definition: OgreLight.h:79
iterator insert(iterator I, const T &Elt)
Definition: OgreSmallVector.h:439
void updatePoint(unsigned short index, const Vector3 &value)
Updates a single point in the spline.
OGRE_MUTEX(sceneGraphMutex)
Mutex to protect the scene graph from simultaneous access from multiple threads.
virtual void cameraPostRenderScene(Camera *cam)
Called after the scene has been rendered with this camera.
Definition: OgreCamera.h:90
Specialises the SceneQuery class for querying along a ray.
Definition: OgreSceneQuery.h:371
SkinningType getSkinningType()
Returns the current skinning type in use.
virtual Impl * _getImpl()
Get rendersystem specific interface for this RenderTarget.
int mNumShaders
Definition: OgreQuake3Level.h:150
size_t indexStart
index count from indexStart.
Definition: OgreLodBuffer.h:48
Matrix4 getTransposeWorldMatrix() const
virtual Real getCellSize() const
Get the size of the cells in the grid.
Definition: OgreGrid2DPageStrategy.h:161
HardwareUniformBufferSharedPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a shader storage buffer.
Real getHorizontalTexelOffset()
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
void clearTranslatorManagers()
Clears all translator managers.
Real _getHeight(void) const
Gets the height of this element in relation to the screen (where 1.0 = screen height)
Definition: OgreOverlayElement.h:248
Factory class for particle emitter of type "Point".
Definition: OgrePointEmitterFactory.h:43
@ FRUSTUM_PLANE_TOP
Definition: OgreFrustum.h:76
CompareFunction getCompareFunction() const
Definition: OgreTextureUnitState.h:192
CompositorInstance * getCompositor(size_t index)
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001f, Real linearStart=0.0f, Real linearEnd=1.0f)
Sets the fogging mode applied to each pass.
void callFunction(const char *name, const InOut &inout) const
call a library function
GLRenderSystemCommon::VideoModes VideoModes
Definition: OgreGLNativeSupport.h:52
void setMaxPointSize(Real s)
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:686
Vector3 getSize(void) const
Gets the size of the box.
Definition: OgreAxisAlignedBox.h:668
void sampleTexture(const std::vector< Operand > ¶ms) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
const Vector3 & getPosition(void) const
Gets the position of the node relative to it's parent.
Definition: OgreNode.h:288
void reinitialise(void)
Restart the renderer (normally following a change in settings).
Definition: OgreGLRenderSystemCommon.h:135
bool getSkeletalAnimationIncluded() const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreShaderProgram.h:164
ProgressBar(const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real commentBoxWidth)
Do not instantiate any widgets directly. Use TrayManager.
void setSource(const SharedPtr< ControllerValue< T > > &src)
Sets the input controller value.
Definition: OgreController.h:162
ConcreteNodeList children
Definition: OgreScriptCompiler.h:71
std::map< String, PropertyValue > PropertyValueMap
Defines a transferable map of properties using wrapped value types (Ogre::Any)
Definition: OgreProperty.h:273
Real getShininess(void) const
Gets the 'shininess' property of the pass (affects specular highlights).
void beginSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:300
static GLenum getGLOriginDataType(PixelFormat mFormat)
Takes the OGRE pixel format and returns type that must be provided to GL as data type for reading it ...
void loadingComplete(Resource *res)
Resource::Listener hook to notify Entity that a delay-loaded Mesh is complete.
void endOcclusionQuery()
Ends the hardware occlusion test.
void toggleAdvancedFrameStats()
Toggles visibility of advanced statistics.
Definition: OgreTrays.h:907
Vector3 src
Definition: OgreLodConfig.h:45
SmallVectorBase - This is all the non-templated stuff common to all SmallVectors.
Definition: OgreSmallVector.h:92
CreateParticleSystemScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:559
bool operator>=(const Radian &r) const
Definition: OgreMath.h:93
void notifyDeviceLost(D3D11Device *device)
virtual uint32 _createVao()
Create VAO on current context.
Definition: OgreGLRenderSystemCommon.h:149
void div(const In &arg0, const In &arg1, const Out &dst) const
dst = arg0 / arg1;
Definition: OgreShaderFunction.h:82
virtual void setValue(const Any &val)
Set value.
void setInjectorListener(LodWorkQueueInjectorListener *injectorListener)
Definition: OgreLodWorkQueueInjector.h:55
void attachToProgramObject(const GLuint programObject)
AxisAlignedBox getAABB(void) const
Returns an AABB representation.
Definition: OgreHlmsShaderPiecesManager.h:43
const TexturePtr & _getTexturePtr(void) const
Get the texture pointer for the current frame.
const SubMeshList & getSubMeshes() const
Gets the available submeshes.
Definition: OgreMesh.h:297
@ FFP_VS_TRANSFORM
Definition: OgreShaderFFPRenderState.h:46
PoseIterator getPoseIterator(void)
Get an iterator over all the poses defined.
static unsigned short DELTA_BUFFER
Buffer binding used for holding delta values.
Definition: OgreTerrainQuadTreeNode.h:258
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Called before adding this sub render state to the given render state.
Definition: OgreShaderSubRenderState.h:115
@ BCT_SAMPLER
Definition: OgreGpuProgramParams.h:57
static D3D11_USAGE _getUsage(TextureUsage usage)
Definition: OgreD3D11Mappings.h:83
SimplexNoise(void)
Constructor with a random permutation table.
std::vector< TexturePtr > TexturePtrList
Definition: OgreGL3PlusTextureManager.h:40
ColourValue(float red=1.0f, float green=1.0f, float blue=1.0f, float alpha=1.0f)
Definition: OgreColourValue.h:67
const RenderTarget * getCurrentRenderTarget(void) const
void setNormaliseNormalsOnScale(bool n)
Set whether to automatically normalise normals on objects whenever they are scaled.
Definition: OgreSceneManager.h:3275
virtual bool initialise()=0
Call this function from manager to init system.
size_t _getDoubleConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical double constant index.
void extend(const Vector3 &pt)
Extends the existing body to incorporate the passed in point as a convex hull.
void dirtyRect(const Rect &rect)
Indicate that a portion of the blend data is dirty and needs updating.
void removeTextureAlias(const String &aliasName)
TempBlendedBufferInfo * _getSkelAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software skeletal animation.
MaterialBucket * getParent(void)
Definition: OgreStaticGeometry.h:229
const std::map< String, RenderSystemCapabilities * > & getCapabilities() const
Access to the internal map of loaded capabilities.
virtual bool isWindowSet(void) const
Returns if a viewport window is being used.
Definition: OgreCamera.h:535
Vector3 getLightDirection(size_t index) const
virtual ~ResourceGroupManager()
Factory class for ColourInterpolatorAffector.
Definition: OgreColourInterpolatorAffectorFactory.h:39
bool isStereoEnabled(const String &renderWindowName) const
bool useFullScreen
Definition: OgreCommon.h:809
CG Language program processor class.
Definition: OgreShaderCGProgramProcessor.h:47
void exportMesh(const Mesh *pMesh, const String &filename, MeshVersion version, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in a specific version format.
@ ACT_LIGHT_DIRECTION_OBJECT_SPACE_ARRAY
Array of light directions in object space (count set by extra param)
Definition: OgreGpuProgramParams.h:894
uint16 getLightmapSize() const
Get the requested size of lightmap for this terrain.
Definition: OgreTerrain.h:1050
void removeTemplateSubRenderState(SubRenderState *subRenderState)
Remove a template sub render state from this render state.
virtual void setStartTime(Real startTime)
Sets the 'start time' of this emitter.
void setSkyBox(bool enable, const String &materialName, Real distance=5000, bool drawFirst=true, const Quaternion &orientation=Quaternion::IDENTITY, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky box' i.e.
const Renderable * getCurrentRenderable(void) const
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:102
~HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:400
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void setNamedConstant(const String &name, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreSceneManagerEnumerator.h:54
MapIterator< VertexOffsetMap > VertexOffsetIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:70
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition: OgreSmallVector.h:151
@ VET_USHORT4_NORM
unsigned shorts (normalized to 0..1)
Definition: OgreHardwareVertexBuffer.h:160
Class that provides functionality to generate materials for use with a terrain.
Definition: OgreTerrainMaterialGenerator.h:161
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
Internal structure defining a texture effect.
Definition: OgreTextureUnitState.h:314
void updateLightCustomGpuParameter(const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
void _setTexture(size_t unit, bool enabled, const TexturePtr &tex)
Sets the texture to bind to a given texture unit.
GpuNamedConstantsSerializer()
uint32 id
Definition: OgreScriptCompiler.h:128
void unbindGpuProgram(GpuProgramType gptype)
Unbinds GpuPrograms of a given GpuProgramType.
Specialisation of Texture for D3D11.
Definition: OgreD3D11Texture.h:44
virtual bool resolveParameters(ProgramSet *programSet)
T ** ReleaseAndGetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:208
const FrameStats & getStatistics(void) const
Retieves details of current rendering performance.
Definition: OgreRenderTarget.h:222
ScriptTranslator * getTranslator(const AbstractNodePtr &node)
Retrieves a ScriptTranslator from the supported managers.
bool farbox
Definition: OgreQuake3Shader.h:109
void createStereoDriver(const NameValuePairList *miscParams)
Creates a bridge to the Direct3D stereo driver implementation.
@ ACT_LIGHT_CASTS_SHADOWS_ARRAY
Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
Definition: OgreGpuProgramParams.h:955
void removePass(size_t idx)
Remove a pass.
const String & getGeometryProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1301
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreMovableObject.h:349
void setUserAny(const Any &anything)
Sets any kind of user object on this class instance.
void _endFrame(void)
Ends rendering of a frame to the current viewport.
ParameterDef(const String &newName, const String &newDescription, ParameterType newType)
Definition: OgreStringInterface.h:71
void setDebugOutputEnabled(bool debugOutput)
@ SHADOWTYPE_TEXTURE_ADDITIVE_INTEGRATED
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Definition: OgreCommon.h:280
MovableObject(const String &name)
Named constructor.
@ VET_SHORT2
Definition: OgreHardwareVertexBuffer.h:128
virtual String getType() const
Returns the type of the codec as a String.
const BoneList & getBones() const
Get all the bones in the skeleton.
Definition: OgreSkeleton.h:186
InstanceBatch * _getOwner() const
Definition: OgreInstancedEntity.h:193
LoadLodRequest(TerrainLodManager *r, uint16 preparedLod, uint16 loadedLod, uint16 target)
Definition: OgreTerrainLodManager.h:62
@ RSC_CAN_GET_COMPILED_SHADER_BUFFER
Supports using vertex buffers for instance data.
Definition: OgreRenderSystemCapabilities.h:178
int unknown
Definition: OgreQuake3Types.h:187
void setPassNumber(const int passNumber)
ParameterPtr resolveInputParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
MovableObject * createInstance(const String &name, SceneManager *manager, const NameValuePairList *params=0)
Create a new instance of the object.
virtual RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
Command object for iteration interval(see ParamCommand).
Definition: OgreParticleSystem.h:134
virtual DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const =0
Codes the data in the input stream and saves the result in the output stream.
Real _getTop(void) const
Gets the top of this element in relation to the screen (where 0 = far left, 1.0 = far right)
Definition: OgreOverlayElement.h:244
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESLinkProgram.h:46
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void * lockImpl(size_t offset, size_t length, HardwareBuffer::LockOptions options)
const String & getBorderMaterialName(void) const
Gets the name of the material to use for the borders.
@ LBX_MODULATE_X2
as LBX_MODULATE but brighten afterwards (x2)
Definition: OgreBlendMode.h:83
ProgramWriterFactory()
Definition: OgreShaderProgramWriterManager.h:50
int skyDomeYSegments
Definition: OgreSceneManager.h:218
void removeFrameListener(FrameListener *oldListener)
Removes a FrameListener from the list of listening classes.
void setPointSpritesEnabled(bool enabled)
Sets whether points will be rendered as textured quads or plain dots.
void _switchContext(GLContext *context)
Switch GL context, dealing with involved internal cached states too.
const Quaternion & getDerivedOrientation(void) const
Gets the derived orientation of the camera, including any rotation inherited from a node attachment a...
@ SPC_LIGHTPOSITION_WORLD_SPACE2
Definition: OgreShaderParameter.h:222
@ ID_MIN
Definition: OgreScriptCompiler.h:635
const String & getName() const
Get the name of the plugin.
void setShadowCasterMaterial(Ogre::MaterialPtr val)
Sets the details of the material to use when rendering as a shadow caster.
@ VET_UBYTE4
Definition: OgreHardwareVertexBuffer.h:131
AxisAlignedBox getBoundingBox(void)
Gets the bounding box of the mesh.
@ SPC_POSITION_LIGHT_SPACE2
Definition: OgreShaderParameter.h:98
void setCustomParam(unsigned char idx, const Vector4 &newParam)
Sets the custom parameter for this instance.
TerrainSlot(long _x, long _y)
Definition: OgreTerrainGroup.h:345
virtual void preFindVisibleObjects(SceneManager *source, SceneManager::IlluminationRenderStage irs, Viewport *v)
Called prior to searching for visible objects in this SceneManager.
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask) const
Update automatic parameters.
void setForceOneWeight(bool enable)
Definition: OgreInstanceBatchVTF.h:187
void _setLightMapRequired(bool lightMap, bool shadowsOnly=false)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
@ ACT_WORLD_MATRIX_ARRAY_3x4
An array of world matrices, each represented as only a 3x4 matrix (3 rows of 4columns) usually for do...
Definition: OgreGpuProgramParams.h:699
TrayLocation
enumerator values for widget tray anchoring locations
Definition: OgreTrays.h:55
GeometryIterator getGeometryIterator(void)
SmallVectorTemplateCommon(size_t Size)
Definition: OgreSmallVector.h:143
@ ID_DEST_ALPHA
Definition: OgreScriptCompiler.h:628
VertexData * _getSoftwareVertexAnimVertexData(void) const
Advanced method to get the temporarily blended software vertex animation information.
T * allocate(size_t n, const void *hint)
Definition: OgreAlignedAllocator.h:116
D3D11HardwareOcclusionQuery(D3D11Device &device)
Default object constructor.
ColourImageAffector(ParticleSystem *psys)
Default constructor.
friend Vector operator*(Real s, Vector v)
Definition: OgreVector.h:640
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the Material to be used.
@ ID_CUBIC_REFLECTION
Definition: OgreScriptCompiler.h:758
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
void setDisplayMode(DisplayMode d)
Set the display mode for the overlay.
Definition: OgreOverlayProfileSessionListener.h:88
Specialisation of VertexDeclaration for D3D11.
Definition: OgreD3D11VertexDeclaration.h:42
void redefine(const Vector3 &rkNormal, const Vector3 &rkPoint)
Redefine this plane based on a normal and a point.
Definition: OgrePlane.h:178
bool getNeedsUpdate(void)
Get status of need for update. this checks all affected zones.
@ ID_END_BUILTIN_IDS
Definition: OgreScriptCompiler.h:874
void setShadeModel(GLenum model)
void dumpContents(void)
Debug method.
ArchiveMapIterator getArchiveIterator(void)
Get an iterator over the Archives in this Manager.
const Vector3 & _getDerivedPosition(void) const
Gets the position of the node as derived from all parents.
Real skyPlaneBow
Definition: OgreSceneManager.h:226
RenderWindow * createRenderWindow(const RenderWindowDescription &desc)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreRoot.h:585
const String & getName() const
Get the name of the property.
Definition: OgreProperty.h:149
Codec specialized in loading DDS (Direct Draw Surface) images.
Definition: OgreDDSCodec.h:53
std::vector< GpuSharedParametersUsage > GpuSharedParamUsageList
Definition: OgreGpuProgramParams.h:1298
void setCustomViewMatrix(bool enable, const Affine3 &viewMatrix=Affine3::IDENTITY)
Set whether to use a custom view matrix on this frustum.
void _renderQueueGroupObjects(RenderQueueGroup *group, QueuedRenderableCollection::OrganisationMode om)
Render the objects in a given queue group.
ushort getTessellationHullProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:811
@ SDLK_F8
Definition: OgreInput.h:108
void doSet(void *target, const String &val)
void setLayerBlendMapSize(uint16 sz)
Sets the default size of blend maps for a new terrain.
Definition: OgreTerrain.h:2022
@ ACT_LIGHT_COUNT
The number of active light sources (better than gl_MaxLights)
Definition: OgreGpuProgramParams.h:813
std::vector< CodePointRange > CodePointRangeList
Definition: OgreFont.h:155
void setUserAny(const String &key, const Any &anything)
Sets any kind of user object on this class instance.
const IntConstantList & getIntConstantList() const
Get a reference to the list of int constants.
Definition: OgreGpuProgramParams.h:1680
@ BIND_SOFTWARE_SKELETAL
Definition: OgreEntity.h:775
bool IsActiveDeviceLost()
Definition: OgreQuake3Types.h:216
void setHeightAtPoint(long x, long y, float h)
Set the height data for a given terrain point.
void removeListener(Listener *s)
Remove a listener.
size_t indexCount
Definition: OgreLodData.h:141
Rectangle2D(bool includeTextureCoordinates=false, HardwareBuffer::Usage vBufUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY)
std::vector< unsigned > indexMap
Definition: OgreLod0Stripifier.h:86
@ PF_FLOAT32_RGBA
128-bit pixel format, 32 bits (float) for red, 32 bits (float) for green, 32 bits (float) for blue,...
Definition: OgrePixelFormat.h:103
static DWORD get(FilterType ft, FilterOptions fo, const D3DCAPS9 &devCaps, eD3DTexType texType)
return a D3D9 filter option for Ogre FilterType & FilterOption value
virtual size_t getWorkerThreadCount() const
Get the number of worker threads that this queue will start when startup() is called.
@ CONTEXT_CORE
Definition: OgreGLNativeSupport.h:56
void _removeManualDepthBuffer(DepthBuffer *depthBuffer)
Reverts _addManualDepthBuffer actions.
virtual void _update(void)
Internal method to update the element based on transforms applied.
virtual ~ScriptCompilerListener()
Definition: OgreScriptCompiler.h:364
void doSet(void *target, const String &val)
Factory object for creating PCZLight instances.
Definition: OgrePCZLight.h:121
T Type
Definition: OgreComPtr.h:119
RenderPriorityGroup(RenderQueueGroup *parent, bool splitPassesByLightingType, bool splitNoShadowPasses, bool shadowCastersNotReceivers)
virtual HardwareOcclusionQuery * createHardwareOcclusionQuery(void)=0
Create an object for performing hardware occlusion queries.
SharedPtr< Skeleton > SkeletonPtr
Definition: OgrePrerequisites.h:302
~ManualObjectSectionShadowRenderable()
const String & getType(void) const
Returns the factory type.
virtual void setLightmapEnabled(bool enabled)=0
Whether to support a light map over the terrain in the shader, if it's present (default true)
void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
Sets the 'scissor region' i.e.
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
Class to build up a mesh with vertices and indices.
Definition: OgreVolumeMeshBuilder.h:135
virtual ~GpuBufferAllocator()
Definition: OgreTerrain.h:537
const ColourValue & getSpecular(void) const
Gets the specular colour reflectance of the pass.
virtual ~D3D11StereoDriverNVIDIA()
void doSet(void *target, const String &val)
@ HBU_STATIC
Static buffer which the application rarely modifies once created.
Definition: OgreHardwareBuffer.h:84
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
void _removeMovable(const MovableObject *mov)
Internal method for telling the node that a movable no longer intersects it.
virtual const String & getType() const
virtual GpuSharedParametersPtr getSharedParameters(const String &name) const
Retrieve a set of shared parameters, which can be used across many GpuProgramParameters objects of di...
const float * getDeltaData(long x, long y) const
Get a pointer to the delta data for a given point.
ParticleAffectorFactoryIterator getAffectorFactoryIterator(void)
Return an iterator over the affector factories currently registered.
Class implementing TerrainAutoUpdateLod interface.
Definition: OgreTerrainAutoUpdateLod.h:77
const Real * ptr() const
Definition: OgreVector.h:134
T * ptr()
Definition: OgreVector.h:65
@ SPC_LIGHTPOSITION_WORLD_SPACE5
Definition: OgreShaderParameter.h:225
static VertexElementType getBaseType(VertexElementType multiType)
Simple converter function which will turn a type into it's single-value (or lowest multiple-value) eq...
void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
virtual const AxisAlignedBox & getBoundingBox() const
Get the bounds of this section.
void show(void)
Shows the overlay if it was hidden.
void setFrustumOffset(Real horizontal=0.0, Real vertical=0.0)
Sets frustum offsets, used in stereo rendering.
bool mOwnDimensions
Does this particle have it's own dimensions?
Definition: OgreParticle.h:76
@ ID_ONCE
Definition: OgreScriptCompiler.h:684
bool watchForMin(const String &profileName)
uint32 id
Definition: OgreScriptCompiler.h:149
const LocationList & getResourceLocationList(const String &groupName) const
Get the list of resource locations for the specified group name.
virtual void parseScript(DataStreamPtr &stream, const String &groupName)=0
Parse a script file.
const GpuProgramPtr & getShadowCasterVertexProgram(void) const
void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this mesh.
ID3D11Resource * getTextureResource()
Definition: OgreD3D11Texture.h:56
void setQueryFlags(uint32 flags)
Sets the query flags for this object.
Definition: OgreMovableObject.h:403
D3D11HLSLProgram * _getBoundTessellationDomainProgram() const
Command object for common direction (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:84
void setSelfIllumination(const ColourValue &selfIllum)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void createBuffer(IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
void preRenderTargetUpdate(const RenderTargetEvent &evt)
Called just before a RenderTarget is about to be rendered into.
Real getViewportHeight() const
virtual void setOptimalAdjustFactor(Real n)
Adjusts the parameter n to produce optimal shadows.
Definition: OgreShadowCameraSetupLiSPSM.h:210
void shutdown()
Shutdown the renderer and cleanup resources.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Page(PageID pageID, PagedWorldSection *parent)
Definition: OgreGLES2Texture.h:43
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareVertexBuffer.h:68
void setMinimumX(Real x)
Changes one of the components of the minimum corner of the box used to resize only one dimension of t...
Definition: OgreAxisAlignedBox.h:167
Listener * getListener(void) const
Gets the current listener for this Node.
Definition: OgreNode.h:568
BorderRenderable(BorderPanelOverlayElement *parent)
Constructed with pointers to parent.
Definition: OgreBorderPanelOverlayElement.h:330
void _updateFromShadow(void)
See HardwareBuffer.
size_type max_size() const
Definition: OgreCommon.h:433
bool _getAnimationTypesDirty(void) const
Are the derived animation types out of date?
Definition: OgreMesh.h:954
bool ToEulerAnglesZYX(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
SamplerContainer()
Definition: OgreHlmsPbsMaterial.h:114
const Vector3 & getDerivedCP() const
Get the position (centerpoint) of the portal in world coordinates.
Definition: OgrePortalBase.h:135
@ GHA_LEFT
Definition: OgreOverlayElement.h:68
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
void reportGLSLError(GLenum glErr, const String &ogreMethod, const String &errorTextPrefix, const GLhandleARB obj, const bool forceInfoLog=false, const bool forceException=false)
Check for GL errors and report them in the Ogre Log.
void updateFromParentImpl(void) const override
Overridden from Node in order to include parent Entity transform.
virtual void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)=0
Sets the global alpha rejection approach for future renders.
void setDebugDisplayLevel(uint8 lvl)
Set the debug display level.
Definition: OgrePageManager.h:420
virtual const String & getName() const =0
static UniformParameterPtr createSamplerCUBE(int index)
~EntityFactory()
Definition: OgreEntity.h:881
size_t getGLMapBufferThreshold() const
Threshold after which glMapBuffer is used and not glBufferSubData.
void doSet(void *target, const String &val)
const Techniques & getSupportedTechniques(void) const
Gets all the Techniques which are supported by the current card.
Definition: OgreMaterial.h:237
virtual Vector4 getValueAndGradient(const Vector3 &position) const =0
Gets the density value and gradient at a specific position.
void exportSkeleton(const Skeleton *pSkeleton, DataStreamPtr stream, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE)
Exports a skeleton to the stream specified.
uint getTrueTypeResolution(void) const
Gets the resolution (dpi) of the font used to generate the texture.
void invalidateMaterial(const String &schemeName, const String &materialName, const String &groupName=RGN_DEFAULT)
Invalidate specific material scheme.
LodData * mGen
Definition: OgreLodData.h:74
virtual void destroyInstance(T *ptr)=0
Destroys an object which was created by this factory.
bool findVisibleObjects
Whether this op needs to find visible scene objects or not.
Definition: OgreCompositorInstance.h:162
Real amplitude
Definition: OgreTextureUnitState.h:322
@ Visual
Definition: OgreParticle.h:71
static bool intersects(const Ray &ray, const AxisAlignedBox &box, Real *d1, Real *d2)
Ray / box intersection, returns boolean result and two intersection distance.
MaterialPtr createAsMaterial(int lightmapNumber)
Creates this shader as an OGRE material.
virtual PageContentCollection * createInstance()=0
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)=0
Copies a region of this pixelbuffer to normal memory.
void setChecked(bool checked, bool notifyListener=true)
NormalMapLighting()
Class default constructor.
void setRadius(Real newRadius)
Any & swap(Any &rhs)
Definition: OgreAny.h:85
Sampler::UVWAddressingMode UVWAddressingMode
Definition: OgreTextureUnitState.h:298
bool _updateAllRenderTargets(void)
Internal method used for updating all RenderTarget objects (windows, renderable textures etc) which a...
virtual void _findVisibleObjects(Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters)
Recurses through the octree determining which nodes are visible.
uint32 getWidth(void) const
Returns the width of the texture.
Definition: OgreTexture.h:231
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
virtual void applyToVertexData(VertexData *data, const TimeIndex &timeIndex, Real weight=1.0, const PoseList *poseList=0)
As the 'apply' method but applies to specified VertexData instead of associated data.
bool rewind(size_t count)
Step back in cached stream by 'count' bytes.
Definition: OgreDataStream.h:109
void setDesiredFloatBitDepth(ushort bits)
Sets desired bit depth for float pixel format textures.
PCZLightFactory()
Definition: OgrePCZLight.h:125
virtual Real _getRelativeHeight(void)
Gets the 'height' as derived from own height and metrics mode.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual ~GLRenderTarget()
Definition: OgreGLRenderTarget.h:18
bool activateGLTextureUnit(size_t unit)
Activate an OpenGL texture unit.
void _addNode(PCZSceneNode *)
Adds an PCZscene node to this octree level.
static D3D9StereoDriverBridge * getSingletonPtr(void)
void notifyResourceDestroyed(D3D11DeviceResource *deviceResource)
iterator insert(iterator I, size_type NumToInsert, const T &Elt)
Definition: OgreSmallVector.h:460
virtual void setBillboardsInWorldSpace(bool ws)
Sets whether billboards should be treated as being in world space.
Definition: OgreBillboardSet.h:709
bool isVisible(void) const
Returns whether or not this SubEntity is supposed to be visible.
Definition: OgreSubEntity.h:149
~GpuProgramParameters()
Definition: OgreGpuProgramParams.h:1366
void setColourWriteEnabled(bool enabled)
Sets whether or not colour buffer writing is enabled for each Pass.
void setBackgroundLoaded(bool bl)
Tells the resource whether it is background loaded or not.
@ ACT_LIGHT_DIFFUSE_COLOUR
Light diffuse colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:825
std::list< ConcreteNodePtr > ConcreteNodeList
Definition: OgreScriptCompiler.h:64
MapIterator< OverlayMap > OverlayMapIterator
Definition: OgreOverlayManager.h:126
Real getDefaultMinPixelSize()
Get the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:976
const SkyPlaneGenParameters & getSkyPlaneGenParameters(void) const
Get the parameters used to construct the SkyPlane, if any.
Definition: OgreSceneManager.h:1972
void nodeDestroyed(const Node *node)
void setSeparateSceneBlending(const SceneBlendType sbt, const SceneBlendType sbta)
Sets the kind of blending every pass has with the existing contents of the scene, using individual fa...
void setForceVector(const Vector3 &force)
Sets the force vector to apply to the particles in a system.
void doSet(void *target, const String &val)
void _registerScriptLoader(ScriptLoader *su)
Internal method for registering a ScriptLoader.
bool isActive() const
Overridden from RenderTarget, flags invisible windows as inactive.
void removeFactory(ProgramWriterFactory *factory)
Remove a factory object for high-level programs of a given language.
~ComPtr() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:141
float lodBias
LOD offset.
Definition: OgreCompositorInstance.h:144
virtual void softwareVertexMorph(Real t, const float *srcPos1, const float *srcPos2, float *dstPos, size_t pos1VSize, size_t pos2VSize, size_t dstVSize, size_t numVertices, bool morphNormals)=0
Performs a software vertex morph, of the kind used for morph animation although it can be used for ot...
String doGet(const void *target) const
static const uint16 CHUNK_VERSION
Definition: OgrePagedWorldSection.h:90
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLESProgram.
virtual size_t getStateCount() const
Returns the number of times this resource has changed state, which generally means the number of time...
Definition: OgreResource.h:421
void exportMaterial(const MaterialPtr &pMat, const String &filename, bool exportDefaults=false, const bool includeProgDef=false, const String &programFilename="", const String &materialName="")
Exports a single in-memory Material to the named material script file.
virtual const String & _getSchemeName(unsigned short index)
Internal method - returns name for a given material scheme index.
bool isManuallyControlled() const
Getter for mManuallyControlled Flag.
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
Update GPU programs parameters before a rendering operation occurs.
Definition: OgreShaderSubRenderState.h:106
Basic label widget.
Definition: OgreTrays.h:459
virtual bool resolveDependencies(ProgramSet *programSet)
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
const CodePointRangeList & getCodePointRangeList() const
Get a const reference to the list of code point ranges to be used to generate glyphs from a truetype ...
Definition: OgreFont.h:366
LodLevel()
Definition: OgreTerrainQuadTreeNode.h:146
void removeResolveStageMask(unsigned int mask)
Remove the given mask from the resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:111
std::pair< bool, Real > RayTestResult
A pair structure where the first element indicates whether an intersection occurs.
Definition: OgreMath.h:50
~SceneManagerEnumerator()
bool resourceLocationExists(const String &name, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME) const
Verify if a resource location exists for the given group.
const String & getLanguage(void) const
Overridden from GpuProgram.
Definition: OgrePixelCountLodStrategy.h:97
OpenGL supports 3 different methods: FBO, pbuffer & Copy.
Definition: OgreGLDepthBufferCommon.h:26
String doGet(const void *target) const
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreD3D9HLSLProgram.h:168
AbstractNode * mParent
Definition: OgreScriptCompiler.h:495
void _notifyObjectDetached(const MovableObject *mov)
Internal method for notifying the level that an object has been detached from a node.
Real getHeight(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
@ ACT_LIGHT_POSITION_VIEW_SPACE_ARRAY
Array of light positions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:890
GLhandleARB getGLHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLLinkProgram.h:80
void setStencilMask(GLuint mask)
Sets the stencil mask.
Ogre::TerrainGroup * getTerrainGroup()
Definition: OgreDotSceneLoader.h:33
Definition: OgreGLES2DepthBuffer.h:41
std::vector< Technique * > Techniques
Definition: OgreMaterial.h:98
static void useTightAttributeLayout()
use alternate vertex attribute layout using only 8 vertex attributes
Ogre::String getWritablePath(const Ogre::String &filename) const
Find a path where the given filename can be written to.
Definition: OgreFileSystemLayer.h:109
Represents part of the world geometry that is a result of a SceneQuery.
Definition: OgreSceneQuery.h:103
const String & getLanguage(void) const
Overridden from GpuProgram.
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
@ GPU_NOKIA
Definition: OgreRenderSystemCapabilities.h:267
const Vector3 & _getBindingPoseInverseScale(void) const
Gets the inverted binding pose scale.
Definition: OgreBone.h:120
bool empty() const
Definition: OgreCommon.h:435
void setAdjust(Real rate)
Sets the scale adjustment to be made per second to particles.
virtual bool magicNumberMatch(const char *magicNumberPtr, size_t maxbytes) const
Returns whether a magic number header matches this codec.
Definition: OgreCodec.h:157
void doSet(void *target, const String &val)
const String & getMaterialName() const
Get the name of the material being used for the terrain.
Definition: OgreTerrain.h:1304
virtual bool isProcessComplete(BackgroundProcessTicket ticket)
Returns whether a previously queued process has completed or not.
virtual const String & getTypeName(void) const =0
Gets the string uniquely identifying the type of element this factory creates.
void parseScript(DataStreamPtr &stream, const String &groupName)
virtual void _updateRenderQueue(RenderQueue *queue)
Overloaded to avoid updating skeletons (which we don't support), check visibility on a per unit basis...
virtual ~GpuNamedConstantsSerializer()
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
void destroyMovableObject(const String &name, const String &typeName)
Destroys a MovableObject with the name specified, of the type specified.
GLSLShaderFactory(GL3PlusRenderSystem *renderSystem)
Visitor object that can be used to iterate over a collection of Renderable instances abstractly.
Definition: OgreRenderable.h:369
virtual const AxisAlignedBox & getWorldBoundingBox(bool derive=false) const =0
Get the world bounding box of the caster.
void setInnerSizeY(Real y)
Sets the y component of the area inside the ellipsoid which doesn't emit particles.
Definition: OgreDotSceneLoader.h:14
Radian operator-() const
Definition: OgreMath.h:78
LodConfig config
Definition: OgreLodWorkQueueRequest.h:44
void setIndexDataEndIndex(size_t end_index)
Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
bool hasSceneNode(const String &name) const
Returns whether a scene node with the given name exists.
Definition: OgreSceneManager.h:1370
@ ACT_WORLD_MATRIX
The current world matrix.
Definition: OgreGpuProgramParams.h:685
uint32 getTypeFlags(void) const
Override to return specific type flag.
Real getMinimumDepthInputValue()
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
bool rectIntersectsNode(const Rect &rect)
Returns true if the given rectangle overlaps the terrain area that this node references.
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Definition: OgreGLRenderSystemCommon.h:128
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
Definition: OgreDefaultHardwareBufferManager.h:186
void setTexcoordRect(const FloatRect &texcoordRect)
setTexcoordRect() sets the individual texture coordinate rect of this billboard will use when renderi...
virtual ~TrayListener()
Definition: OgreTrays.h:90
GeneralAllocatedObject PropertyAlloc
Definition: OgreProperty.h:129
ResourceAllocatedObject TextureUnitStateAlloc
Definition: OgreMemoryAllocatorConfig.h:152
virtual const String & getType() const =0
Returns the factory type.
@ RCP_CREATE_ON_ACTIVE_DEVICE
Definition: OgreD3D9ResourceManager.h:42
void setDeriveDepthBias(bool derive, float baseValue=0.0f, float multiplier=0.0f, float slopeScale=0.0f)
Tell the render system whether to derive a depth bias on its own based on the values passed to it in ...
Definition: OgreRenderSystem.h:1004
@ LB_BlendLighten
Definition: OgreShaderExLayeredBlending.h:52
void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
Definition: OgreFileSystem.h:85
@ ID_MODULATE
Definition: OgreScriptCompiler.h:732
const String & getMovableType(void) const override
Returns the type name of this object.
Degree & operator=(const Real &f)
Definition: OgreMath.h:117
virtual ~GLPBRenderTexture()
D3D11HLSLProgram * _getBoundTessellationHullProgram() const
void setBillboardType(BillboardType bbt)
Sets the type of billboard to render.
static void shutdown(void)
Static method to shutdown and unregister the ASTC codec.
void setEnableBackwardsCompatibility(bool enableBackwardsCompatibility)
Sets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:305
Compositor * getParent()
Get parent object.
static const uint16 TERRAINLAYERSAMPLER_CHUNK_VERSION
Definition: OgreTerrain.h:282
size_t size
Definition: OgreImageCodec.h:64
void createResourceGroup(const String &name, bool inGlobalPool=!OGRE_RESOURCEMANAGER_STRICT)
Create a resource group.
Vector operator/(Real s) const
Definition: OgreVector.h:684
void warmStart(size_t numInstances, uint16 terrainSize, uint16 maxBatchSize, uint16 minBatchSize)
'Warm start' the allocator based on needing x instances of terrain with the given configuration.
static UniformParameterPtr createSampler3D(int index)
@ TEXCALC_ENVIRONMENT_MAP
Environment map based on vertex normals.
Definition: OgreRenderSystem.h:65
virtual ~InstanceBatchHW()
const String & getName(void) const
Get the name of the library.
Definition: OgreDynLib.h:108
@ SPC_POSTOCAMERA_VIEW_SPACE
View vector in view space.
Definition: OgreShaderParameter.h:124
void setConstant(size_t index, Real val)
Sets a single floating-point parameter to the program.
~RenderSystemCapabilitiesManager()
Default destructor.
@ ACT_SPOTLIGHT_PARAMS
Spotlight parameters, Vector4(innerFactor, outerFactor, falloff, isSpot) innerFactor and outerFactor ...
Definition: OgreGpuProgramParams.h:835
size_t tell(void) const
Returns the current byte offset from beginning.
virtual Ogre::Real getTrayPadding() const
Definition: OgreTrays.h:837
Definition: OgreScriptCompiler.h:554
void resize(ushort width, ushort height, Filter filter=FILTER_BILINEAR)
Resize a 2D image, applying the appropriate filter.
Image & load(const DataStreamPtr &stream, const String &type=BLANKSTRING)
Loads an image file from a stream.
@ TEXGEN_ENVIRONMENT
Definition: OgreQuake3Types.h:129
Command object for bounce (see ParamCommand).
Definition: OgreDeflectorPlaneAffector.h:72
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
String mResourceGroup
Definition: OgreScriptCompiler.h:556
virtual MaterialPtr getDefaultSettings(void) const
Returns a pointer to the default Material settings.
Definition: OgreMaterialManager.h:237
Real distance(const Segment &otherSegment) const
ulong frameNumber
Definition: OgreProfiler.h:181
virtual void _notifyAttached(Node *parent, bool isTagPoint=false)
Internal method called to notify the object that it has been attached to a node.
void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
Definition: OgreScriptCompiler.h:564
virtual Animation * _getAnimationImpl(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Internal accessor for animations (returns null if animation does not exist)
@ ID_CONTENT_TYPE
Definition: OgreScriptCompiler.h:779
virtual void applyDeltaValue(const Vector2 &)
Apply delta value.
Definition: OgreAnimable.h:197
SceneManager * getSceneManager(const String &instanceName) const
Get an existing SceneManager instance that has already been created, identified by the instance name.
virtual void _setTexture(size_t unit, bool enabled, const TexturePtr &texPtr)=0
Sets the texture to bind to a given texture unit.
ushort getTarget(void) const
Return the target geometry index of the pose.
Definition: OgrePose.h:66
void _addDirtyBatch(InstanceBatch *dirtyBatch)
Called by an InstanceBatch when it requests their bounds to be updated for proper culling.
virtual uint getNumberOfViews() const
Structure encapsulating import data that you may use to bootstrap the terrain without loading from a ...
Definition: OgreTerrain.h:325
void scale(const Vector3 &scale)
Scales the node, combining it's current scale with the passed in scaling factor.
VertexHash()
Definition: OgreLodData.h:76
virtual void clearResults(void)
Clears the results of the last query execution.
@ ACT_INVERSE_TEXTURE_SIZE
Provides inverse texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1180
LockOptions
Locking options.
Definition: OgreHardwareBuffer.h:136
BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:148
PixelFormat format
The pixel format.
Definition: OgrePixelFormat.h:377
virtual bool canHandleRequest(const Request *req, const WorkQueue *srcQ)
Return whether this handler can process a given request.
Definition: OgreWorkQueue.h:174
static void convertTerrainToWorldAxes(Alignment align, const Vector3 &terrainVec, Vector3 *worldVec)
Utility method to convert axes from terrain space (xy terrain, z up) tp world space.
VertexData * _getSoftwareVertexAnimVertexData(void)
Advanced method to get the temporarily blended software morph vertex information.
void unload()
Unload node and children (perform GPU tasks, will be render thread)
virtual void viewportRemoved(const RenderTargetViewportEvent &evt)
Called to notify listener that a Viewport has been removed from the target in question.
Definition: OgreRenderTargetListener.h:139
ParticleSystemFactory()
Definition: OgreParticleSystemManager.h:345
GLContext GLES2Context
Definition: OgreGLES2Prerequisites.h:40
const VertexOffsetMap & getVertexOffsets(void) const
Gets a const reference to the vertex offsets.
Definition: OgrePose.h:106
MeshPtr createManual(const String &name, const String &groupName, ManualResourceLoader *loader=0)
Creates a new Mesh specifically for manual definition rather than loading from an object file.
virtual const Corners & getWorldSpaceCorners(void) const
Gets the world space corners of the frustum.
const String & getName(void) const
Returns the name of the rendering system.
Command object for setting target assembler.
Definition: OgreD3D11HLSLProgram.h:62
D3D11HardwareBufferManager(D3D11Device &device)
virtual void _updateAllRenderTargets(bool swapBuffers=true)
Internal method for updating all render targets attached to this rendering system.
#define OGRE_MAX_MULTIPLE_RENDER_TARGETS
Define max number of multiple render targets (MRTs) to render to at once.
Definition: OgreConfig.h:60
virtual bool isLoading() const
Returns whether the resource is currently in the process of background loading.
Definition: OgreResource.h:333
void setTextureAddressingMode(Ogre::TextureAddressingMode u, Ogre::TextureAddressingMode v, Ogre::TextureAddressingMode w)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:683
virtual const String & getTargetLanguage() const
Definition: OgreShaderGLSLProgramWriter.h:72
@ ID_PLANAR
Definition: OgreScriptCompiler.h:757
void clear()
Clears the overlay of all attached items.
virtual size_t getCurrentVertexCount() const
Get the number of vertices in the section currently being defined (returns 0 if no section is in prog...
static OGRE_FORCE_INLINE uint32 firstPO2From(uint32 n)
Returns the closest power-of-two number greater or equal to value.
Definition: OgreBitwise.h:140
Class representing a node in the scene graph.
Definition: OgreSceneNode.h:58
void showCursor(const Ogre::String &materialName=Ogre::BLANKSTRING)
Displays specified material on cursor, or the last material used if none specified.
bool watchForLimit(const String &profileName, Real limit, bool greaterThan=true)
void setEmissive(const ColourValue &emissive)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:388
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a uniform buffer.
~GL3PlusFrameBufferObject()
@ ID_LOD_DISTANCES
Definition: OgreScriptCompiler.h:595
AxisAlignedBoxSceneQuery * createAABBQuery(const AxisAlignedBox &box, uint32 mask=0xFFFFFFFF)
Overridden from SceneManager.
void shutdown(void)
Shutdown the renderer and cleanup resources.
An abstraction of a viewport, i.e.
Definition: OgreViewport.h:57
void addLodListener(LodListener *listener)
Add a level of detail listener.
const ShadowCameraSetupPtr & getShadowCameraSetup() const
Get the shadow camera setup in use for all lights which don't have their own shadow camera setup.
void removeSceneManagerFactory(SceneManagerFactory *fact)
Register a new SceneManagerFactory.
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLES2FBOMultiRenderTarget.h:47
void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
Update the GPU programs constant parameters before a renderable is rendered.
std::map< String, ProgramWriterFactory * > FactoryMap
Definition: OgreShaderProgramWriterManager.h:64
void setGlobalColourMapEnabled(bool enabled)
Whether to support a global colour map over the terrain in the shader, if it's present (default true)...
void setAutoCalculate(bool autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added.
virtual Real getLoadingOrder(void) const =0
Gets the relative loading order of scripts of this type.
virtual bool handleEvent(ScriptCompiler *compiler, ScriptCompilerEvent *evt, void *retval)
Called when an event occurs during translation, return true if handled.
ulong accum
Represents the total time of all child profiles to subtract from this profile.
Definition: OgreProfiler.h:190
static void startup(void)
Static method to startup and register the ETC codec.
Any()
Definition: OgreAny.h:62
void setOverlayDimensions(Real width, Real height)
Set the size of the profiler overlay, in pixels.
void setViewMatrix(const Matrix4 &m)
virtual size_t getNumberOfChains(void) const
Get the number of chain segments (this class can render multiple chains at once using the same materi...
Definition: OgreBillboardChain.h:134
MeshPtr manualMesh
Hard link to mesh to avoid looking up each time.
Definition: OgreMesh.h:1027
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
const String FilePatterns[]
Definition: OgreHlmsShaderCommon.h:46
SharedPtr< CodecData > CodecDataPtr
Definition: OgreCodec.h:71
std::vector< Plugin * > PluginInstanceList
Definition: OgreRoot.h:73
shared_ptr< GLGpuProgram > GLGpuProgramPtr
Definition: OgreGLPrerequisites.h:46
void setOverlaysEnabled(bool enabled)
Tells this viewport whether it should display Overlay objects.
void _setFog(FogMode f)
Definition: OgreRenderSystem.h:263
InvalidStateException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:201
@ HBU_DYNAMIC
Indicates the application would like to modify this buffer with the CPU fairly often.
Definition: OgreHardwareBuffer.h:92
bool intersects(const PlaneBoundedVolume &pbv)
Check if portal intersects a plane bounded volume.
@ ID_LIGHTING
Definition: OgreScriptCompiler.h:665
@ BF_GRAIN_MERGE
Definition: OgreHlmsPbsMaterial.h:62
void setPosition(Real x, Real y, Real z)
Sets the camera's position.
void doSet(void *target, const String &val)
static DWORD get(LayerBlendOperationEx lbo, const D3DCAPS9 &devCaps)
return a D3D9 equivalent for a Ogre LayerBlendOperationEx value
void setEnabled(bool enabled)
Sets whether this controller is enabled.
Definition: OgreController.h:190
bool hit
Whether an intersection occurred.
Definition: OgreTerrainGroup.h:394
@ ID_PARTICLE_SYSTEM
Definition: OgreScriptCompiler.h:787
void _writeRawConstant(size_t physicalIndex, const Matrix4 &m, size_t elementCount)
Write a Matrix4 parameter to the program.
void setOperationType(RenderOperation::OperationType operationType)
Set the type of primitives that this object generates.
Definition: OgreRenderToVertexBuffer.h:83
Real _deriveShadowNearClipDistance(const Camera *maincam) const
Derive a shadow camera near distance from either the light, or from the main camera if the light does...
void setVSyncInterval(unsigned interval)
Definition: OgreD3D11RenderWindow.h:132
const String & getSkyMaterialName(void) const
Get Sky material name.
int mcTriangles[256][16]
Triangulation lookup table.
Definition: OgreVolumeIsoSurfaceTablesMC.h:65
@ LB_BlendAdd
Definition: OgreShaderExLayeredBlending.h:56
virtual ~GLArbGpuProgram()
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
uint32 getTypeFlags(void) const
Gets the type flag for this factory.
Definition: OgreMovableObject.h:644
@ IF_COMPRESSED
Definition: OgreImage.h:45
void ToAngleAxis(Degree &dAngle, Vector3 &rkAxis) const
Definition: OgreQuaternion.h:146
void setNamedConstant(const String &name, const double *val, size_t count, size_t multiple=4)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Matrix4 getInverseTransposeViewMatrix() const
@ LOADSTATE_UNLOADED
Not loaded.
Definition: OgreResource.h:105
void applyToAnimable(const AnimableValuePtr &anim, const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to a given animable value.
const WorldMap & getWorlds() const
Get a reference to the worlds that are currently loaded.
Definition: OgrePageManager.h:181
virtual void hide(void)
Hides this element if it was visible.
TexturePtr getTextureInstance(const String &name, size_t mrtIndex)
Get the instance of a local texture.
static UniformParameterPtr createSampler2DArray(int index)
@ ID_DECAL
Definition: OgreScriptCompiler.h:657
SceneObjAllocatedObject OverlayAlloc
Definition: OgreMemoryAllocatorConfig.h:131
void _endFrame(void)
Ends rendering of a frame to the current viewport.
void destroyResourcePool(const String &name)
Destroy a resource pool.
void setSplitNoShadowPasses(bool split)
Sets whether or not the queue will split passes which have shadow receive turned off (in their parent...
Definition: OgreRenderQueueSortingGrouping.h:595
virtual void objectAttached(MovableObject *)
MovableObject has been attached to a node.
Definition: OgreMovableObject.h:69
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
Comparator function to be used for comparisons.
Definition: OgreShaderFunctionAtom.h:285
~DefaultSphereSceneQuery()
bool getSkiesEnabled(void) const
Returns whether or not skies (created in the SceneManager) are displayed in this viewport.
void setAsABGR(ABGR val)
Sets colour as ABGR.
String farboxName
Definition: OgreQuake3Shader.h:110
AllocPolicy GeometryAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:88
int face_start
Definition: OgreQuake3Types.h:174
ParticleAffectorFactory()
Definition: OgreParticleAffectorFactory.h:60
virtual void setRequestsAccepted(bool accept)
Set whether to accept new requests or not.
static const Affine3 ZERO
Definition: OgreMatrix4.h:428
virtual bool setDrawBuffer(ColourBufferType colourBuffer)=0
Collects a group of static i.e.
Definition: OgreStaticFaceGroup.h:69
@ KMOD_ALT
Definition: OgreInput.h:143
void scriptParseEnded(const Ogre::String &scriptName, bool skipped)
Definition: OgreTrays.h:1093
static bool endsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string ends with the pattern passed in.
float posV
Definition: OgreShaderExTextureAtlasSampler.h:59
void setInstancesPerBatch(size_t instancesPerBatch)
Raises an exception if trying to change it after creating the first InstancedEntity.
@ ID_COLOUR
Definition: OgreScriptCompiler.h:828
LodData()
Definition: OgreLodData.h:181
virtual void _clearNodeLists(short nodeListTypes)
Remove all nodes from the node reference list and clear it.
Thread-safe buffer for storing Hardware index buffer.
Definition: OgreLodBuffer.h:45
std::vector< ParameterDef > ParameterList
Definition: OgreStringInterface.h:74
Radian & operator-=(const Radian &r)
Definition: OgreMath.h:81
OctreeNode(SceneManager *creator, const String &name)
Standard constructor.
uint16 getLightMapSize() const
Get the default size of the lightmaps for a new terrain.
Definition: OgreTerrain.h:2044
CornerEnum
Definition: OgreAxisAlignedBox.h:81
SceneManager * createSceneManager(const String &typeName, const String &instanceName=BLANKSTRING)
Create a SceneManager instance of a given type.
void bindToGpu(GLRenderSystemCommon *rs, VertexBufferBinding *vertexBufferBinding, size_t vertexStart)
Variant type that can hold Any other type.
Definition: OgreAny.h:59
Real getOwnHeight(void) const
Retrieves the billboard's personal height, if hasOwnDimensions is true.
void setCaption(const Ogre::DisplayString &caption)
Definition: OgreTrays.h:470
Definition: OgreLodCollapser.h:46
@ UnusedIdx
Definition: OgreLod0Stripifier.h:85
@ ID_SCOPE_CHAIN
Definition: OgreScriptCompiler.h:804
const Vector3 & getVertex(size_t poly, size_t vertex) const
Returns a specific vertex of a polygon.
void doSet(void *target, const String &val)
static void convertWorldToTerrainAxes(Alignment align, const Vector3 &worldVec, Vector3 *terrainVec)
Utility method to convert axes from world space to terrain space (xy terrain, z up)
void setShadowTextureReceiverMaterial(const MaterialPtr &mat)
Sets the default material to use for rendering shadow receivers.
Definition: OgreSceneManager.h:2926
void unbind(Renderable *rend, const String &passName)
void setNamedConstant(const String &name, int val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
ExternalTextureSource()
Constructor.
bool intersects(const Vector3 &v) const
Returns whether or not this sphere intersects a point.
Definition: OgreSphere.h:96
OctreeZone(PCZSceneManager *, const String &)
const String & getMovableType(void) const
Returns the type name of this object.
uint32 getVisibilityMask()
Get the scene visibility mask used by this pass.
@ ACT_PACKED_TEXTURE_SIZE
Provides packed texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1185
virtual void clearAllChains(void)
Remove all elements from all chains (but leave the chains themselves intact).
RenderWindow * getAutoCreatedWindow(void)
Retrieves a pointer to the window that was created automatically.
const String & getMovableType(void) const
Returns the type name of this object.
virtual void abortAllRequests()
Abort all previously issued requests.
void useCustomRenderSystemCapabilities(RenderSystemCapabilities *capabilities)
Force the render system to use the special capabilities.
size_t getShaderStorageBufferCount()
Definition: OgreGL3PlusHardwareBufferManager.h:79
String refTexName
Definition: OgreCompositionTechnique.h:68
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void doSet(void *target, const String &val)
ProgramProcessor()
Class constructor.
virtual void prepareShadowTextures(Camera *cam, Viewport *vp, const LightList *lightList=0)
Method for preparing shadow textures ready for use in a regular render Do not call manually unless be...
void setNumberOfChains(size_t numChains)
Set the number of chain segments (this class can render multiple chains at once using the same materi...
void loadMicrocodeCache(DataStreamPtr stream)
Loads the microcode cache from disk.
virtual DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
~LightFactory()
Definition: OgreLight.h:606
std::vector< TextureUnitState * > TextureUnitStates
Definition: OgrePass.h:107
static CmdBlueAdjust1 msBlueCmd1
Definition: OgreColourFaderAffector2.h:195
CGProgramWriter()
Class constructor.
Vector3 getDerivedRight(void) const
Gets the derived right vector of the camera, including any rotation inherited from a node attachment ...
const double * getDoublePointer(size_t pos) const
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:556
static GpuProgramManager & getSingleton(void)
Get the singleton instance.
@ ID_COMPUTE
Definition: OgreScriptCompiler.h:861
void setFragmentProgram(const String &name, bool resetParams=true)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void _bindVao(GLContext *context, uint32 vao)
Bind VAO, context should be equal to current context, as VAOs are not shared
uint32 getSrcHeight(void) const
Returns the height of the original input texture (may differ due to hardware requirements).
Definition: OgreTexture.h:239
void setLastVisibleFromCamera(PCZCamera *camera)
Definition: OgrePCZSceneNode.h:95
const String & getType(void) const
Get the type of the object to be created.
@ OPT_1
Optimisation level 1.
Definition: OgreD3D9HLSLProgram.h:146
void setTessellationDomainProgramConstantIntCount(ushort c)
The number of integer constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:822
void setSplitPassesByLightingType(bool split)
Sets whether or not the queue will split passes by their lighting type, ie ambient,...
Definition: OgreRenderQueueSortingGrouping.h:581
virtual ~HashFunc()
Need virtual destructor in case subclasses use it.
Definition: OgrePass.h:104
unsigned short getLastBoundIndex(void) const
Gets the last bound index.
void widenRectByVector(const Vector3 &vec, const Rect &inRect, Real minHeight, Real maxHeight, Rect &outRect)
Widen a rectangular area of terrain to take into account an extrusion vector, but specify the min / m...
TextureBlend()
Definition: OgreShaderExLayeredBlending.h:95
virtual void triangle(uint32 i1, uint32 i2, uint32 i3)
Add a set of 3 vertex indices to construct a triangle; this is a shortcut to calling index() 3 times.
void setNeighbour(NeighbourIndex index, Terrain *neighbour, bool recalculate=false, bool notifyOther=true)
Set a terrain's neighbour, or null to detach one.
bool activateGLTextureUnit(size_t unit)
Activate an OpenGL texture unit.
WorldFragmentType
This type can be used by collaborating applications & SceneManagers to agree on the type of world geo...
Definition: OgreSceneQuery.h:77
const NodeTrackList & _getNodeTrackList(void) const
Fast access to NON-UPDATEABLE node track list.
Factory object for creating Light instances.
Definition: OgreLight.h:601
Class for manipulating bit patterns.
Definition: OgreBitwise.h:48
void setMaterialDiffuse(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
MapIterator< SettingsMultiMap > SettingsIterator
Definition: OgreConfigFile.h:87
void setAssociatedVertexData(VertexData *data)
Sets the associated VertexData which this track will update.
Definition: OgreAnimationTrack.h:539
Real skirtFactor
Factor for the skirt length generation.
Definition: OgreVolumeChunk.h:76
Factory class for particle emitter of type "Ring".
Definition: OgreRingEmitterFactory.h:44
@ GCT_UINT2
Definition: OgreGpuProgramParams.h:110
void setViewport(GLint x, GLint y, GLsizei width, GLsizei height)
AxisAlignedBox(Real mx, Real my, Real mz, Real Mx, Real My, Real Mz)
Definition: OgreAxisAlignedBox.h:112
void setIndexDataStartIndex(size_t start_index)
Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
const MaterialPtr & getCustomShadowReceiverMaterial(const SkinningType skinningType, ushort index) const
Returns the name of a custom shadow receiver material for a given number of weights.
static String Type
Definition: OgreShaderFFPLighting.h:91
ConstVectorIterator< LinkedSkeletonAnimSourceList > LinkedSkeletonAnimSourceIterator
Definition: OgreSkeleton.h:351
String doGet(const void *target) const
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
D3D9HardwareBufferManager()
void setDefaultQueueGroup(uint8 grp)
Sets the current default queue group, which will be used for all renderable which do not specify whic...
Specialisation of the GL low-level program for ARB programs.
Definition: OgreGLGpuProgram.h:65
void requestOptions(Terrain *terrain)
Request the options needed from the terrain.
const Vector3 getCenterBackTop(void) const
Gets the center of the corners 4, 5.
Definition: OgreVolumeOctreeNode.h:350
Time index object used to search keyframe at the given position.
Definition: OgreAnimationTrack.h:52
static T * getSingletonPtr(void)
Get the singleton instance.
Definition: OgreSingleton.h:100
static bool removeDirectory(const Ogre::String &name)
Delete a directory.
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
const Pass * getCurrentPass(void) const
@ CE_OBJECTALLOCATIONERROR
Definition: OgreScriptCompiler.h:200
void setTextureTransform(const Matrix4 &xform)
Sets a matrix used to transform any texture coordinates on this layer.
This is a class that is the base class of the query class for hardware occlusion.
Definition: OgreGL3PlusHardwareOcclusionQuery.h:66
virtual void destroy(void)
Destroys all the built geometry state (reverse of build).
~OptimisedSubMeshGeometry()
Definition: OgreStaticGeometry.h:139
ParticleSystemFactory * _getFactory(void)
Get an instance of ParticleSystemFactory (internal use).
Definition: OgreParticleSystemManager.h:330
Define the interface to a factory class that will create subclasses of PageContentCollection.
Definition: OgrePageContentCollectionFactory.h:48
Real userValue
User-supplied values used to determine on which distance the lod is applies.
Definition: OgreMesh.h:1014
void setInstanceDataStepRate(const size_t val)
Set the number of instances to draw using the same per-instance data before advancing in the buffer b...
GL3PlusFBOManager * getManager()
Definition: OgreGL3PlusFrameBufferObject.h:61
TargetOperation()
Definition: OgreCompositorInstance.h:118
virtual ~PagedWorldSection()
virtual void applyDeltaValue(const ColourValue &)
Apply delta value.
Definition: OgreAnimable.h:213
@ PF_ASTC_RGBA_4X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 4x4)
Definition: OgrePixelFormat.h:244
const Ogre::MeshPtr & _getMeshReference(void) const
Definition: OgreInstanceBatch.h:242
void deleteInputParameter(ParameterPtr parameter)
Delete input parameter from this function.
void setHardwareSkinningParam(ushort boneCount, ushort weightCount, SkinningType skinningType=ST_LINEAR, bool correctAntipodalityHandling=false, bool scalingShearingSupport=false)
Set the hardware skinning parameters.
int type
Definition: OgreInput.h:86
Real getCosTime_0_X(Real x) const
SmallVector(ItTy S, ItTy E)
Definition: OgreSmallVector.h:726
Command object for particle_height (see ParamCommand).
Definition: OgreParticleSystem.h:106
BackgroundProcessResult()
Definition: OgreResourceBackgroundQueue.h:58
virtual size_t getSize(void) const
Retrieves info about the size of the resource.
Definition: OgreResource.h:293
Manager for Dynamic-loading Libraries.
Definition: OgreDynLibManager.h:49
bool setOption(const String &, const void *)
Sets the options for the Zone.
void _oneTimeContextInitialization()
One time initialization for the RenderState of a context.
const T * const_pointer
Definition: OgreSmallVector.h:157
void destroyRibbonTrail(RibbonTrail *obj)
Removes & destroys a RibbonTrail from the SceneManager.
GeneralAllocatedObject ConfigAlloc
Definition: OgreMemoryAllocatorConfig.h:119
void _update(bool updateChildren, bool parentHasChanged)
Overridden from Node.
~BillboardChainFactory()
Definition: OgreBillboardChain.h:371
void invalidate(D3D9RenderWindow *renderWindow)
OctreeSceneManagerFactory()
Definition: OgreOctreeSceneManager.h:225
String doGet(const void *target) const
void unbind(RenderTarget *target)
Unbind a certain render target.
Definition: OgreGLFBORenderTexture.h:80
void _getOffsetTransform(Affine3 &m) const
Gets the transform which takes bone space to current from the binding pose.
const Ogre::DisplayString & getValueCaption()
Definition: OgreTrays.h:524
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted ...
bool _fireFrameRenderingQueued()
Method for raising frame rendering queued events.
D3D9Driver(unsigned int adapterNumber, const D3DCAPS9 &deviceCaps, const D3DADAPTER_IDENTIFIER9 &adapterIdentifer, const D3DDISPLAYMODE &desktopDisplayMode)
bool getShadowsEnabled(void) const
Are shadows enabled for this queue?
Definition: OgreRenderQueueSortingGrouping.h:576
static ArchiveManager * getSingletonPtr(void)
Get the singleton instance.
virtual void setRenderQueueInvocationSequenceName(const String &sequenceName)
Sets the use of a custom RenderQueueInvocationSequence for rendering this target.
AxisAlignedBox receiverAabb
The axis-aligned bounds of the visible shadow receiver objects.
Definition: OgreSceneManager.h:105
ConstMapIterator< VertexOffsetMap > ConstVertexOffsetIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:72
void setPointParameters(const GLfloat *attenuation, float minSize=-1, float maxSize=-1)
void beginOcclusionQuery()
Starts the hardware occlusion query.
bool getQuadFarCorners() const
Returns true if camera frustum far corners are provided in the quad.
Ogre::OverlaySystem * getOverlaySystem() const
Definition: OgreApplicationContextBase.h:105
static void applyGamma(uchar *buffer, Real gamma, size_t size, uchar bpp)
Does gamma adjustment.
virtual void _buildMapBoneByHandle(const Skeleton *source, BoneHandleMap &boneHandleMap) const
Build the bone handle map to use with Skeleton::_mergeSkeletonAnimations.
GLRenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
GpuProgramParametersSharedPtr getShadowReceiverFragmentProgramParameters(void) const
Gets the fragment program parameters used by this pass when rendering shadow receivers.
virtual void passEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Pass *tech)
Information about one element of a sampler / texture within a layer.
Definition: OgreTerrainMaterialGenerator.h:70
@ GPV_LIGHTS
Varies with light setup.
Definition: OgreGpuProgramParams.h:130
Defines a part of a complete mesh.
Definition: OgreSubMesh.h:61
virtual uchar getPriority() const
Gets the priority of a render target.
Definition: OgreRenderTarget.h:292
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:109
const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF)
unsigned short getNumWorldTransforms(void) const override
Returns the number of world transform matrices this renderable requires.
void setContentType(ContentType ct)
Set the type of content this TextureUnitState references.
GLenum getGLTextureTarget(void) const
Takes the OGRE texture type (1d/2d/3d/cube) and returns the appropriate GL one.
@ SBT_REPLACE
The default blend mode where source replaces destination.
Definition: OgreBlendMode.h:221
bool correctAntipodalityHandling
Definition: OgreShaderExHardwareSkinning.h:69
virtual void prepare(LodData *data)
bool isVertexBufferShadowed(void) const
Gets whether or not this meshes vertex buffers are shadowed.
Definition: OgreMesh.h:609
float getAttenuationQuadric(void) const
Returns the quadric factor in the attenuation formula.
Definition: OgreLight.h:182
TextureAtlasSamplerFactory()
This singleton class manages the list of resource groups, and notifying the various resource managers...
Definition: OgreResourceGroupManager.h:249
Interface for custom composition passes, allowing custom operations (in addition to the quad,...
Definition: OgreCustomCompositionPass.h:46
@ RSC_HWOCCLUSION
Supports hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:112
void setTargetPortal(Portal *portal)
Set the target portal pointer.
Side getSide(const Vector3 ¢re, const Vector3 &halfSize) const
Returns which side of the plane that the given box lies on.
Definition: OgrePlane.h:139
virtual Archive * createInstance(const String &name, bool readOnly) OGRE_NODISCARD=0
Creates a new object.
static const uint16 TERRAINLAYERINSTANCE_CHUNK_VERSION
Definition: OgreTerrain.h:286
PriorityMapIterator getIterator(void)
Get an iterator for browsing through child contents.
Definition: OgreRenderQueueSortingGrouping.h:495
InputMode getInputMode() const
Get input mode.
TerrainLayerDeclaration layerDeclaration
Definition of the contents of each layer (required).
Definition: OgreTerrain.h:393
void destroySceneManager(SceneManager *sm)
Destroy an instance of a SceneManager.
static HighLevelGpuProgramManager & getSingleton(void)
Get the singleton instance.
GLSLESProgramPipeline(const GLShaderList &shaders)
Constructor should only be used by GLSLESProgramPipelineManager.
LodOutputProviderBuffer(MeshPtr mesh)
Definition: OgreLodOutputProviderBuffer.h:45
size_t indexInAtlas
Definition: OgreShaderExTextureAtlasSampler.h:64
void removeAndDestroyChild(SceneNode *child)
This is an overloaded member function, provided for convenience. It differs from the above function o...
This class will mark vertices of a mesh, which are visible from far away (from outside).
Definition: OgreLodOutsideMarker.h:47
unsigned int getCurrentFrame(void) const
Gets the active frame in an animated or multi-image texture layer.
virtual void begin(const String &materialName, RenderOperation::OperationType opType=RenderOperation::OT_TRIANGLE_LIST, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Start defining a part of the object.
virtual void _bindVao(GLContext *context, uint32 vao)
Bind VAO, context should be equal to current context, as VAOs are not shared
Definition: OgreGLRenderSystemCommon.h:151
void seek(size_t pos)
Repositions the read point to a specified byte.
ParamsPanel(const Ogre::String &name, Ogre::Real width, unsigned int lines)
Do not instantiate any widgets directly. Use TrayManager.
BinaryOpAtom(char op, int groupOrder)
Definition: OgreShaderFunctionAtom.h:319
@ ID_OFF
Definition: OgreScriptCompiler.h:725
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
static const uint16 WORKQUEUE_GENERATE_MATERIAL_REQUEST
Definition: OgreTerrain.h:1512
void link(const RenderState &other, Pass *srcPass, Pass *dstPass)
Link this target render state with the given render state.
@ PF_DXT2
DDS (DirectDraw Surface) DXT2 format.
Definition: OgrePixelFormat.h:89
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
virtual void setValue(Real)
Set value.
Definition: OgreAnimable.h:151
Real valueDegrees() const
Definition: OgreMath.h:121
static CmdScope msScopeCmd
Definition: OgreDirectionRandomiserAffector.h:102
const String & getFontName() const
std::vector< Real > LodValueList
Definition: OgreMesh.h:98
Defines an object property which is animable, i.e.
Definition: OgreAnimable.h:72
PCZSceneManager(const String &name)
Standard Constructor.
virtual SubRenderState * createInstance() OGRE_NODISCARD
Create an instance of the SubRenderState sub class it suppose to create.
virtual void defineTerrain(long x, long y, const float *pFloat, const Terrain::LayerInstanceList *layers=0)
Define the content of a 'slot' in the terrain grid.
virtual const String & getTypeName(void) const =0
Retrieve the type name of this scene manager.
Ogre::Real getScrollPercentage()
Gets how far scrolled down the text is as a percentage.
Definition: OgreTrays.h:295
@ ACT_LIGHT_NUMBER
The absolute light number of a local light index.
Definition: OgreGpuProgramParams.h:949
Definition: OgreCodec.h:64
Records the state of all the vertex buffer bindings required to provide a vertex declaration with the...
Definition: OgreHardwareVertexBuffer.h:520
const ColourValue & getBackgroundColour(void) const
Gets the background colour.
bool _isTwiceSize(const AxisAlignedBox &box) const
Determines if this octree is twice as big as the given box.
shared_ptr< LodCollapseCost > LodCollapseCostPtr
Definition: OgreLodPrerequisites.h:62
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:186
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
Definition: OgreBspNode.h:155
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
@ ACT_INVERSE_TRANSPOSE_WORLDVIEWPROJ_MATRIX
Provides inverse transpose of concatenated world, view and projection matrices.
Definition: OgreGpuProgramParams.h:779
void addTemplate(const String &name, ParticleSystem *sysTemplate)
Adds a new particle system template to the list of available templates.
virtual void setSceneManager(SceneManager *sm)
Change the SceneManager.
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
void _notifyAttached(Node *parent, bool isTagPoint=false)
Called when attached to a scene node.
Definition: OgrePortalBase.h:214
~Stream()
Definition: OgreLog.h:222
@ TM_SOFTWARE
Interpolate vertex positions in software.
Definition: OgreAnimationTrack.h:488
@ BBO_TOP_RIGHT
Definition: OgreBillboardSet.h:58
void setDepthFunction(CompareFunction func)
Sets the function used to compare depth values when depth checking is on.
Real getLoadingOrder(void) const
Gets the relative loading order of resources of this type.
Definition: OgreResourceManager.h:420
Vector3 yAxis(void) const
Returns the Y orthonormal axis defining the quaternion.
bool operator!=(const Plane &rhs) const
Definition: OgrePlane.h:244
iterator end()
Definition: OgreCommon.h:420
RenderSysAllocatedObject RenderSysAlloc
Definition: OgreMemoryAllocatorConfig.h:139
bool getCompilationRequired() const
Gets the compilation status of the material.
Definition: OgreMaterial.h:655
unsigned long getNextFrameNumber(void) const
Gets the number of the next frame to be rendered.
Definition: OgreRoot.h:774
Predefined controller function which just passes through the original source directly to dest.
Definition: OgrePredefinedControllers.h:194
void showBackdrop(const Ogre::String &materialName=Ogre::BLANKSTRING)
Displays specified material on backdrop, or the last material used if none specified.
bool isShaderProfileSupported(const String &profile) const
Returns true if profile is in the list of supported profiles.
Definition: OgreRenderSystemCapabilities.h:568
bool isCompressedStreamValid() const
Returns whether the compressed stream is valid deflated data.
Definition: OgreDeflate.h:132
@ SO_GOURAUD
Colour at each vertex is linearly interpolated across the face.
Definition: OgreCommon.h:140
const Quaternion & getRealOrientation(void) const
Gets the real world orientation of the camera, including any rotation inherited from a node attachmen...
void removeAllStrategies()
Remove and delete all strategies from the manager.
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D11HLSLProgram.h:301
virtual void setPageRangeMaxX(int32 maxX)
Set the index range of all Pages (values outside this will be ignored)
long getLine() const
Gets line number.
Definition: OgreException.h:160
const Matrix4 & getWorldViewProjMatrix(void) const
Entity * createEntity(PrefabType ptype)
Create an Entity (instance of a discrete mesh) from a range of prefab shapes, generating the name.
virtual const ColourValue & getColourChange(size_t chainIndex) const
Get the per-second fading amount.
size_t getRTShaderSchemeCount() const
Returns the amount of schemes used in the for RT shader generation.
int getViewportHeight(void) const
Gets the height of the destination viewport in pixels.
String getLeftBorderUVString() const
Equality function for UniqueVertexSet.
Definition: OgreLodData.h:82
virtual TexturePtr createManual(const String &name, const String &group, TextureType texType, uint width, uint height, uint depth, int numMipmaps, PixelFormat format, int usage=TU_DEFAULT, ManualResourceLoader *loader=0, bool hwGammaCorrection=false, uint fsaa=0, const String &fsaaHint=BLANKSTRING)
Create a manual texture with specified width, height and depth (not loaded from a file).
void reinitialise()
Restart the renderer (normally following a change in settings).
virtual Light * createLight()
Creates a light with a generated name.
virtual void removeAllKeyFrames(void)
Removes all the KeyFrames from this track.
VectorIterator< SubMeshList > SubMeshIterator
Definition: OgreMesh.h:290
static D3D11DeviceResourceManager * get()
ColourInterpolatorAffector(ParticleSystem *psys)
Default constructor.
@ PF_DEPTH32F
Depth texture format with 32-bit floating point.
Definition: OgrePixelFormat.h:273
void setMoved(bool value)
Definition: OgrePCZSceneNode.h:103
virtual void updatePropertyMap(Camera *camera, const LightList *pLightList)
this is called once per frame
Definition: OgreHlmsMaterialBase.h:56
static DataStreamPtr createFileStream(const String &filename, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, bool overwrite=false, const String &locationPattern=BLANKSTRING)
Helper method to assist you in creating writeable file streams.
void unload(const String &name, const String &group=RGN_DEFAULT)
Unloads a single resource by name.
void install()
Perform the plugin initial installation sequence.
Definition: OgreFreeImageCodec.h:91
const_reference operator[](unsigned idx) const
Definition: OgreSmallVector.h:191
@ ID_PASS
Definition: OgreScriptCompiler.h:581
void _notifyEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Notify that an entity material LOD change event has occurred.
virtual bool isPointRenderingEnabled(void) const
Returns whether point rendering is enabled.
Definition: OgreBillboardSet.h:798
virtual void applyDeltaValue(const Vector3 &)
Apply delta value.
Definition: OgreAnimable.h:201
virtual String toString() const
Returns the string representation of this parameter.
Definition: OgreShaderParameter.h:358
void endOcclusionQuery()
Ends the hardware occlusion test.
ValueType
The type of the value being animated.
Definition: OgreAnimable.h:76
@ ID_BINDING_TYPE
Definition: OgreScriptCompiler.h:776
int getTrueTypeMaxBearingY() const
Gets the maximum baseline distance of all glyphs used in the texture.
void unregisterPCZoneFactory(PCZoneFactory *factory)
void clearStoredErrorMessages() const
@ ID_SRC_COLOUR
Definition: OgreScriptCompiler.h:625
StreamSerialiser * _readPageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
virtual void _positionsOutOfDate(void)
Tell the object to recalculate.
int getSoftwareAnimationNormalsRequests(void) const
Returns the number of requests that have been made for software animation of normals.
Definition: OgreEntity.h:650
String message
Any messages from the process.
Definition: OgreResourceBackgroundQueue.h:56
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:134
ContentType
Enum identifying the type of content this texture unit contains.
Definition: OgreTextureUnitState.h:495
const String & getName(void) const
Gets the name of this overlay.
static Real UnitRandom()
Generate a random number of unit length.
Helper class to assist you in managing multiple terrain instances that are connected to each other.
Definition: OgreTerrainGroup.h:74
void removeGPUVendorRule(GPUVendor vendor)
Removes a matching vendor rule.
void allocateVertexBuffers(Terrain *forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr &destPos, HardwareVertexBufferSharedPtr &destDelta)
Allocate (or reuse) vertex buffers for a terrain LOD.
SceneManager * createSceneManager()
create a default scene manager
Definition: OgreRoot.h:373
const Radian & operator+() const
Definition: OgreMath.h:73
D3D11_BOX getSubresourceBox(const Box &box) const
bool mousePressed(const MouseButtonEvent &evt)
Processes mouse button down events.
void setLayerNormalMappingEnabled(bool enabled)
Whether to support normal mapping per layer in the shader (default true).
const String & getType(void) const
Returns the name of the type of emitter.
Definition: OgreParticleEmitter.h:402
virtual bool exists(const String &filename) const =0
Find out if the named file exists (note: fully qualified filename required)
virtual Real getMaximumDepthInputValue(void)=0
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
unsigned short getNumPoints(void) const
Gets the number of control points in the spline.
static ResourceBackgroundQueue * getSingletonPtr(void)
Get the singleton instance.
void setTextureMipmapBias(float bias)
Sets the bias value applied to the mipmap calculation.
Definition: OgreTextureUnitState.h:724
@ PF_FLOAT16_RGB
48-bit pixel format, 16 bits (float) for red, 16 bits (float) for green, 16 bits (float) for blue
Definition: OgrePixelFormat.h:97
void unload()
Unload the terrain and free GPU resources.
static String DEFAULT_SCHEME_NAME
Default material scheme of the shader generator.
Definition: OgreShaderGenerator.h:432
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
Matrix4 getInverseTransposeWorldViewProjMatrix() const
PixelFormat getFormat() const
void setBounce(Real bounce)
Sets the bounce value of the deflection.
GL3PlusTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GL3PlusRenderSystem *renderSystem)
void push_back(const T &Elt)
Definition: OgreSmallVector.h:360
const LightList & getLights(void) const override
Gets a list of lights, ordered relative to how close they are to this renderable.
size_t getNumTerrainPrepareRequests() const
Get the number of terrains that are still waiting for the Terrain::prepare() to be called.
Records the assignment of a single vertex to a single bone with the corresponding weight.
Definition: OgreVertexBoneAssignment.h:51
UniformParameterPtr resolveAutoParameterReal(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, Real data, size_t size=0)
Resolve uniform auto constant parameter with associated real data of this program.
virtual Portal * findMatchingPortal(Portal *)
Find a matching portal (for connecting portals)
@ VS_FRONT
The side from which u goes right and v goes up (as in texture coords)
Definition: OgrePatchSurface.h:72
ConstMapIterator< NormalsMap > ConstNormalsIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:78
void removeAllTechniques(void)
Removes all the techniques in this Material.
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
void setBoneMatrixLookup(bool enable, size_t maxLookupTableInstances)
Sets the state of the usage of bone matrix lookup.
Definition: OgreInstanceBatchVTF.h:174
@ M_SUBMESH_OPERATION
Definition: OgreMeshFileFormat.h:73
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
Definition: OgreAnimationTrack.h:223
virtual void setAngle(const Radian &angle)
Sets the maximum angle away from the emitter direction which particle will be emitted.
void unprepare()
Unprepare node and children (perform CPU tasks, may be background thread)
@ ID_SHADING
Definition: OgreScriptCompiler.h:666
ProcessNameExclusionScriptCompilerEvent(const String &cls, AbstractNode *parent)
Definition: OgreScriptCompiler.h:498
ItemIdentityException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:213
void setParticleQuota(size_t quota)
Sets the maximum number of particles this system is allowed to have active at once.
const Request * mRequest
Pointer to the request that this response is in relation to.
Definition: OgreWorkQueue.h:126
@ PF_B8G8R8
24-bit pixel format, 8 bits for blue, green and red.
Definition: OgrePixelFormat.h:75
ConstShadowTextureConfigIterator getShadowTextureConfigIterator() const
void generateAutoconfiguredLodLevels(MeshPtr &mesh)
Generates the Lod levels for a mesh without configuring it.
static D3D9StereoDriverBridge & getSingleton(void)
AnimationStateSet()
Create a blank animation state set.
void _setSkyBox(bool enable, const String &materialName, Real distance=5000, uint8 renderQueue=RENDER_QUEUE_SKIES_EARLY, const Quaternion &orientation=Quaternion::IDENTITY, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky box' i.e.
bool hasParticleSystem(const String &name) const
Returns whether a particle system with the given name exists.
const GpuLogicalBufferStructPtr & getFloatLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1643
virtual ~Listener()
Virtual destructor needed as class has virtual methods.
Definition: OgreMaterialManager.h:80
SubEntity * subEntity
The sub-entity whose material's level of detail has changed.
Definition: OgreLodListener.h:76
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
void _cleanupDepthBuffers(IDirect3DDevice9 *creator)
Structure recording a queued submesh for the build.
Definition: OgreStaticGeometry.h:159
bool isShadowTechniqueStencilBased(void) const
Is there a stencil shadow based shadowing technique in use?
Definition: OgreSceneManager.h:2998
void merge(const AxisAlignedBox &boxBounds, const Sphere &sphereBounds, const Camera *cam, bool receiver=true)
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)=0
Returns the collapse cost of the given edge.
void setStencilCheckEnabled(bool enabled)
Turns stencil buffer checking on or off.
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
virtual int getExecutionOrder() const
virtual ~KeyFrame()
Definition: OgreKeyFrame.h:62
GLArbGpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
@ ERR_INVALID_STATE
Definition: OgreException.h:111
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
Definition: OgreShaderFFPAlphaTest.h:102
virtual GuiVerticalAlignment getVerticalAlignment(void) const
Gets the vertical alignment for this element.
iterator findExists(const T &item)
Definition: OgreVectorSetImpl.h:108
RenderOperation::OperationType operationType
The render operation type used to render this submesh.
Definition: OgreSubMesh.h:75
@ RSC_COMPUTE_PROGRAM
Supports hardware compute programs.
Definition: OgreRenderSystemCapabilities.h:190
void _setCullingMode(CullingMode mode)
Sets the culling mode for the render system based on the 'vertex winding'.
void deleteFrameTextureName(const size_t frameNumber)
Deletes a specific texture frame.
@ SPC_LIGHTDIRECTION_VIEW_SPACE2
Definition: OgreShaderParameter.h:192
void abortRequest(BackgroundProcessTicket ticket)
Aborts background process.
uint16 getNativeShadingLanguageVersion() const
Gets the native shading language version for this render system.
Definition: OgreRenderSystem.h:895
SceneLoader * _getSceneLoader(const String &name) const
Definition: OgreSceneLoaderManager.h:32
void copyFromTemplate(OverlayElement *templateOverlay)
Specialisation of HighLevelGpuProgram to provide support for D3D9 High-Level Shader Language (HLSL).
Definition: OgreD3D9HLSLProgram.h:44
virtual Technique * handleSchemeNotFound(unsigned short schemeIndex, const String &schemeName, Material *originalMaterial, unsigned short lodIndex, const Renderable *rend)=0
Called if a technique for a given scheme is not found within a material, allows the application to sp...
virtual KeyFrame * getKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
String doGet(const void *target) const
void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
void _releaseManualHardwareResources()
Notifies the movable object that hardware resources were lost.
Definition: OgreBillboardSet.h:825
virtual void _renderCompositeMap(size_t size, const Rect &rect, const MaterialPtr &mat, const TexturePtr &destCompositeMap)
Helper method to render a composite map.
bool isDeactivatedOnFocusChange() const
Returns true if the window will automatically de-activate itself when it loses focus.
@ BUTTON_MIDDLE
Definition: OgreInput.h:28
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
std::vector< MovableObject * > ChildObjectList
Contains the child objects (attached to bones) indexed by name.
Definition: OgreEntity.h:311
void setInfinite()
Sets the box to 'infinite'.
Definition: OgreAxisAlignedBox.h:514
void convertWorldToUVSpace(const Vector3 &worldPos, Real *outX, Real *outY)
Helper method - convert a point in world space to UV space based on the terrain settings.
GpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
ValueType operator()() const
Definition: OgreAny.h:205
virtual void _setTextureAddressingMode(size_t unit, const Sampler::UVWAddressingMode &uvw)=0
int elem_count
Definition: OgreQuake3Types.h:192
std::map< PageID, Page * > PageMap
Definition: OgrePagedWorldSection.h:72
bool isShadowingEnabled(TechniqueType tt, const Terrain *terrain) const
AutoConstantType paramType
The type of parameter.
Definition: OgreGpuProgramParams.h:1269
@ FT_MIN
The filter used when shrinking a texture.
Definition: OgreCommon.h:96
static uint16 floatToHalf(float i)
Convert a float32 to a float16 (NV_half_float) Courtesy of OpenEXR.
Definition: OgreBitwise.h:302
const String & getSource(void) const
Gets the source this font (either an image or a truetype font).
std::vector< GPUVendorRule > GPUVendorRuleList
Definition: OgreTechnique.h:143
void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
virtual const Element & getChainElement(size_t chainIndex, size_t elementIndex) const
Get the detail of a chain element.
@ ID_RENDER_CUSTOM
Definition: OgreScriptCompiler.h:871
static void packColour(const float r, const float g, const float b, const float a, const PixelFormat pf, void *dest)
Pack a colour value to memory.
static const Real INFINITE_FAR_PLANE_ADJUST
Small constant used to reduce far plane projection to avoid inaccuracies.
Definition: OgreFrustum.h:648
Real getSkyCurvature(void) const
Get sky curvature.
void checkoutTempCopies(bool positions=true, bool normals=true)
Utility method, checks out temporary copies of src into dest.
Structure for holding a position & orientation pair.
Definition: OgreSceneManager.h:83
bool isTransparent(void) const
Returns true if this pass has some element of transparency.
bool hasCamera(Camera *c) const
Returns whether or not a given camera is being watched by the paging system.
bool isInUse() const
Tells if the entity is in use.
Definition: OgreInstancedEntity.h:254
Defines a listener on the custom events that this render system can raise.
Definition: OgreRenderSystem.h:1023
@ ID_DEPTH
Definition: OgreScriptCompiler.h:829
void setBlendEquation(GLenum eqRGB, GLenum eqA)
Set the blend equation for RGB and alpha separately.
bool removeRenderWindow(const String &renderWindowName) const
const String & getScheme() const
Returns the name of the scheme this compositor is using.
Definition: OgreCompositorInstance.h:275
@ PF_DXT1
DDS (DirectDraw Surface) DXT1 format.
Definition: OgrePixelFormat.h:87
void addRenderables(RenderQueue *queue, uint8 group, Real lodValue)
Add children to the render queue.
uint32 getHeight() const
Gets the height of this buffer.
Definition: OgreHardwarePixelBuffer.h:178
void _cursorPressed(const Ogre::Vector2 &cursorPos)
void autoUpdateLodAll(bool synchronous, const Any &data)
@ HBL_READ_ONLY
Lock the buffer for reading only.
Definition: OgreHardwareBuffer.h:162
void setType(GpuProgramType t)
Set the program type (only valid before load)
void setDefaultStrategy(const String &name)
Set the default strategy by name.
void _clearAllZonesPortalUpdateFlag(void)
Clear portal update flag from all zones.
void hideBoundingBox(bool bHide)
Allows the overriding of the node's bounding box over the SceneManager's bounding box setting.
Definition: OgreSceneNode.h:291
DefaultWorkQueue(const String &name=BLANKSTRING)
void _findVisibleObjects(Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters)
Overridden from SceneManager.
GLSLProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Represents an individual profile call.
Definition: OgreProfiler.h:147
void setShininess(Real val)
Sets the shininess properties of every Pass in every Technique.
static const uint32 TERRAINLAYERINSTANCE_CHUNK_ID
Definition: OgreTerrain.h:285
EdgeData * clone() OGRE_NODISCARD
@ PF_BC5_SNORM
DDS (DirectDraw Surface) BC5 format (signed normalised)
Definition: OgrePixelFormat.h:202
virtual void _notifyManualBoneStateChange(Bone *bone)
Internal method for notifying that a bone is manual.
char * Parse(const char *iSource, size_t iLength, size_t &oLength)
Parse the input string and return a newly-allocated output string.
void initialise(void)
Initialises the material manager, which also triggers it to parse all available .program and ....
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:258
void setOrigin(const Vector3 &newOrigin)
Set the origin value.
Definition: OgrePCZFrustum.h:108
GLDepthBufferCommon(uint16 poolId, GLRenderSystemCommon *renderSystem, GLContext *creatorContext, GLHardwarePixelBufferCommon *depth, GLHardwarePixelBufferCommon *stencil, uint32 width, uint32 height, uint32 fsaa, bool isManual)
const LightList & getLights(void) const override
Gets a list of lights, ordered relative to how close they are to this renderable.
Filter
Definition: OgreImage.h:394
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
const String & getLayerTextureName(uint8 layerIndex, uint8 samplerIndex) const
Get the name of the texture bound to a given index within a given layer.
uint32 registerCustomWordId(const String &word)
Adds a custom word id which can be used for custom script translators.
virtual void _dispatchCompute(const Vector3i &workgroupDim)
Definition: OgreRenderSystem.h:844
String doGet(const void *target) const
void setInputOperationType(RenderOperation::OperationType operationType)
Sets the operation type that this geometry program expects to receive.
Definition: src/GLSL/include/OgreGLSLProgram.h:78
Command object for specifying the Material for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:202
SharedPtr(const shared_ptr< Y > &r)
Definition: OgreSharedPtr.h:72
unsigned short getNumNodeTracks(void) const
Gets the number of NodeAnimationTrack objects contained in this animation.
void addProperty(PropertyBase *prop)
Adds a property to this set.
@ GPU_MOZILLA
WebGL on Mozilla/Firefox based browser.
Definition: OgreRenderSystemCapabilities.h:272
A 3x3 matrix which can represent rotations around axes.
Definition: OgreMatrix3.h:69
bool mouseReleased(const MouseButtonEvent &evt)
Processes mouse button up events.
void _setDepthBufferCheckEnabled(bool enabled=true)
Sets whether or not the depth buffer check is performed before a pixel write.
CompositorChain * getChain()
Get Chain that this instance is part of.
virtual String dataType() const
Definition: OgreCodec.h:69
void * lockImpl(size_t offset, size_t length, HardwareBuffer::LockOptions options)
RenderOperation * getRenderOperation(void)
Retrieve render operation for manipulation.
virtual ~ManualObjectSection()
@ ACT_WORLDVIEW_MATRIX
The current world & view matrices concatenated.
Definition: OgreGpuProgramParams.h:752
Base composition technique, can be subclassed in plugins.
Definition: OgreCompositionTechnique.h:46
virtual void clearChain(size_t chainIndex)
Remove all elements of a given chain (but leave the chain intact).
uint * getUnsignedIntPointer(size_t pos)
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:562
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
void deallocateScratch(void *ptr)
static bool isDirectX9Ex()
Tells whether the system is initialized with DirectX 9Ex driver Read more in http://msdn....
Definition: OgreD3D9RenderSystem.h:353
@ ShaderBased
Any SM 2.0+.
Definition: OgreInstanceManager.h:67
@ PF_ASTC_RGBA_8X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x5)
Definition: OgrePixelFormat.h:254
void setNamedSubroutine(const String &subroutineSlot, const String &subroutine)
Set subroutine name by slot name.
RenderSystem specific interface for a RenderTarget; this should be subclassed by RenderSystems.
Definition: OgreRenderTarget.h:394
uint32 num_mipmaps
Definition: OgreImageCodec.h:66
void setVertexBuffer(const HardwareVertexBufferSharedPtr &buf)
Sets the vertex buffer containing the source positions for this keyframe.
MetaDataIterator getMetaDataIterator(void) const
Iterate over all types of SceneManager available for construction, providing some information about e...
Matrix3 inverse() const
Definition: OgreMatrix3.h:168
~D3D9VideoMode()
Definition: OgreD3D9VideoMode.h:48
const LayerBlendModeEx & getColourBlendMode(void) const
Get multitexturing colour blending mode.
Factory class for D3D9 HLSL programs.
Definition: OgreD3D9HLSLProgramFactory.h:38
static const size_t LOD_MORPH_CUSTOM_PARAM
Definition: OgreTerrain.h:292
Real minDistanceInFrustum
The closest a object in the frustum regardless of visibility / shadow caster flags.
Definition: OgreSceneManager.h:111
const Vector3 & getDirection(void) const
Gets the direction of the ray.
Definition: OgreRay.h:63
void setDepth(Real Depth)
Sets the depth (local y size) of the emitter.
virtual void setEmissionRate(Real particlesPerSecond)
Sets the emission rate for this emitter.
Real dy
Definition: OgreDualQuaternion.h:166
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:230
int plane
Definition: OgreQuake3Types.h:162
void setNamedConstant(const String &name, const Matrix4 &m)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setType(FontType ftype)
Sets the type of font.
@ ID_BUFFERS
Definition: OgreScriptCompiler.h:827
std::list< OptimisedSubMeshGeometry * > OptimisedSubMeshGeometryList
Definition: OgreStaticGeometry.h:147
const Vector3 & getAutoTrackOffset(void) const
Get the auto tracking offset for this camera, if it is auto tracking.
Definition: OgreCamera.h:352
@ ID_WIREFRAME
Definition: OgreScriptCompiler.h:672
bool isInLightRange(const Ogre::AxisAlignedBox &container) const
Check whether a bounding box is included in the lighted area of the light.
size_t getWidth(void) const
Gets the width of the texture.
uint16 getNumLodLevels() const
Get the total number of LOD levels in the terrain.
Definition: OgreTerrain.h:1207
Definition: OgreQuake3Types.h:148
void _copySharedParamsToTargetParams() const
Update the target parameters by copying the data from the shared parameters.
size_type capacity() const
Definition: OgreCommon.h:434
ParticleVisualData * getVisualData(void) const
Get the optional visual data associated with the class.
Definition: OgreParticle.h:144
Real totalTimeMillisecs
The total frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:134
bool getReceivesShadows()
Returns whether the Material of any Renderable that this MovableObject will add to the render queue w...
virtual bool loadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to load page content procedurally.
Definition: OgrePageManager.h:76
const String & getFsaaHint() const
Definition: OgreDepthBuffer.h:105
bool setDrawBuffer(const ColourBufferType colourBuffer) const
@ CE_OBJECTBASENOTFOUND
Definition: OgreScriptCompiler.h:204
VertexBufferBinding * vertexBufferBinding
The vertex buffer bindings to be used.
Definition: OgreVertexIndexData.h:84
const VertexData * vertexData
Pointer to vertex data used by this edge group.
Definition: OgreEdgeListBuilder.h:107
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderGLSLESProgramWriter.h:131
virtual const String & getTargetLanguage() const
Definition: OgreShaderGLSLESProgramWriter.h:74
LayerBlendOperation
List of valid texture blending operations, for use with TextureUnitState::setColourOperation.
Definition: OgreBlendMode.h:57
virtual ~GLSLESProgramWriter()
Class destructor.
Texturing sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPTexturing.h:54
ushort getFragmentProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:613
static const uint16 CHUNK_VERSION
Definition: OgreGrid2DPageStrategy.h:143
bool getSplitMirrored() const
Gets whether or not to split vertices when a mirrored tangent space transition is detected.
Definition: OgreTangentSpaceCalc.h:133
void _addMovable(const MovableObject *mov)
Internal method for telling the node that a movable intersects it.
unsigned short getNumTextureUnitStates(void) const
Returns the number of texture unit settings.
Definition: OgrePass.h:585
AlignedAllocator(const AlignedAllocator< U, Alignment > &other)
Definition: OgreAlignedAllocator.h:108
void setLodStrategy(LodStrategy *lodStrategy)
Set the lod strategy used by this mesh.
VectorIterator(T &c)
Constructor.
Definition: OgreIteratorWrapper.h:201
@ SPC_LIGHTDIRECTION_WORLD_SPACE2
Definition: OgreShaderParameter.h:182
std::pair< bool, String > getVariable(const String &name) const
bool getIteratePerLight(void) const
Does this pass run once for every light in range?
Definition: OgrePass.h:1118
bool isUnsignedInt() const
Definition: OgreGpuProgramParams.h:174
ID3D11DepthStencilView * getDepthStencilView() const
virtual bool isPrimary(void) const
Indicates whether this target is the primary window.
Real getMinHeight() const
Get the minimum height of the node.
static ShaderGenerator * getSingletonPtr()
Get the singleton instance.
static void lockDeviceAccess()
virtual ~SceneLoaderManager()
virtual ParticleAffector * createAffector(ParticleSystem *psys)=0
Creates a new affector instance.
std::vector< const Image * > ConstImagePtrList
Definition: OgreImage.h:446
@ ID_SHADOW_CASTER_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:587
virtual void detachDepthBuffer()
SharedPtr(std::nullptr_t)
Definition: OgreSharedPtr.h:60
bool hasAnimation(const String &name) const
Returns whether an animation with the given name exists.
void setOrientation(const Quaternion &orientation, bool doUpdate=true)
Set the orientation or the offset from the parent node if a parent node exists.
TRect< float > FloatRect
Structure used to define a rectangle in a 2-D floating point space.
Definition: OgreCommon.h:688
Real baseError
The smallest allowed geometric error of the highest LOD.
Definition: OgreVolumeChunk.h:64
~Grid3DPageStrategyData()
Definition: OgreSTBICodec.h:45
size_t vertexStart
The base vertex index to start from.
Definition: OgreVertexIndexData.h:88
@ HBU_WRITE_ONLY
Indicates the application will never read the contents of the buffer back, it will only ever write da...
Definition: OgreHardwareBuffer.h:101
void setHasSky(bool yesno)
If sky should be drawn with this zone.
Definition: OgrePCZone.h:106
virtual void createShaderAccessPoint(uint bindPoint, TextureAccess access=TA_READ_WRITE, int mipmapLevel=0, int textureArrayIndex=0, PixelFormat format=PF_UNKNOWN)
Enable read and/or write privileges to the texture from shaders.
Definition: OgreTexture.h:446
std::string getFriendlyText() const
Returns "[Hash 0x0a0100ef]" strings in Release mode, readable string in debug.
Definition: OgreIdString.h:256
const Real * ptr() const
Definition: OgreVector.h:272
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
virtual int getExecutionOrder() const =0
Get the execution order of this sub render state.
Real maxDistance
The farthest a visible objects is from the camera.
Definition: OgreSceneManager.h:109
SharedPtr(const SharedPtr &r)
Definition: OgreSharedPtr.h:66
void setDimensions(Real width, Real height)
Sets the width and height for this particle.
static const Matrix4 CLIPSPACE2DTOIMAGESPACE
Useful little matrix which takes 2D clipspace {-1, 1} to {0,1} and inverts the Y.
Definition: OgreMatrix4.h:302
virtual void resourcePrepareEnded(void)
This event is fired when the resource has been prepared.
Definition: OgreResourceGroupManager.h:148
static Quaternion Slerp(Real fT, const Quaternion &rkP, const Quaternion &rkQ, bool shortestPath=false)
Performs Spherical linear interpolation between two quaternions, and returns the result.
static PCZoneFactoryManager * getSingletonPtr(void)
Get the singleton instance.
void getWorldTransforms(Matrix4 *xform) const override
Gets the world transform matrix / matrices for this renderable object.
FilterOptions getTextureFiltering(FilterType ftype) const
Get the texture filtering for the given type.
Definition: OgreTextureUnitState.h:710
~OctreeSceneManager()
Standard destructor.
unsigned short _rationaliseBoneAssignments(size_t vertexCount, VertexBoneAssignmentList &assignments)
Rationalises the passed in bone assignment list.
Basic parameters panel widget.
Definition: OgreTrays.h:592
Definition: OgreSearchOps.h:42
void _releaseManualHardwareResources() override
Notifies the movable object that hardware resources were lost.
void destroy(void)
Destroys the window.
AbstractNodeType
This enum holds the types of the possible abstract nodes.
Definition: OgreScriptCompiler.h:77
void setShowBoxes(bool b)
Sets the box visibility flag.
Definition: OgreOctreeSceneManager.h:155
void setScale(const Vector3 &scale)
Sets the scaling factor applied to this node.
@ PT_QUATERNION
Definition: OgreStringInterface.h:61
int brush_count
Definition: OgreQuake3Types.h:158
Button * createButton(TrayLocation trayLoc, const Ogre::String &name, const Ogre::String &caption, Ogre::Real width=0)
void setRenderQueueGroup(uint8 grp)
Set the render queue group that terrains will be rendered into.
Definition: OgreTerrain.h:1962
@ ID_EMISSIVE
Definition: OgreScriptCompiler.h:618
RenderContext * _pauseRendering()
Pause rendering of the frame.
bool supportsPCZoneType(const String &zoneType)
@ SBF_DEST_COLOUR
The existing pixel colour.
Definition: OgreBlendMode.h:233
Ogre::FileSystemLayer & getFSLayer()
get the FileSystemLayer instace pointing to an application specific directory
Definition: OgreApplicationContextBase.h:276
void setLogDetail(LoggingLevel ll)
Sets the level of detail of the default log.
int vert_count
Definition: OgreQuake3Types.h:190
const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
@ VET_BYTE4_NORM
signed bytes
Definition: OgreHardwareVertexBuffer.h:155
bool isSubroutine() const
Definition: OgreGpuProgramParams.h:183
virtual SceneManager * getSceneManager() const
Get the current SceneManager.
Definition: OgrePagedWorldSection.h:130
void setShadowDirectionalLightExtrusionDistance(Real dist)
Sets the distance a shadow volume is extruded for a directional light.
@ RENDER_QUEUE_9
Definition: OgreRenderQueue.h:70
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
@ PF_ETC2_RGBA8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:234
virtual StreamSerialiser * writeWorldStream(const String &filename)
Get a serialiser set up to write PagedWorld data for the given world filename.
Definition: OgrePageManager.h:105
void setParamValue(unsigned int index, const Ogre::DisplayString ¶mValue)
void deleteOutputParameter(ParameterPtr parameter)
Delete output parameter from this function.
Real width
Definition: OgreBillboardChain.h:98
virtual void copyFrom(const SubRenderState &rhs)
virtual T get() const
Definition: OgreProperty.h:244
GLES2FBORenderTexture(GLES2FBOManager *manager, const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
virtual const String & getMovableType(void) const
Overridden from MovableObject.
void _setPosition(Real left, Real top)
Sets the left and top of this element in relation to the screen (where 1.0 = screen width)
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual void resourceGroupPrepareStarted(const String &groupName, size_t resourceCount)
This event is fired when a resource group begins preparing.
Definition: OgreResourceGroupManager.h:137
@ PF_ATC_RGBA_INTERPOLATED_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:242
int xrel
Definition: OgreInput.h:60
Command object for keep_velocity (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:73
Vector3 getDerivedUp(void) const
Gets the derived up vector of the camera, including any rotation inherited from a node attachment and...
void getTerrainVectorAlign(Real x, Real y, Real z, Alignment align, Vector3 *outVec) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setClearBuffers(uint32 val)
Would be nice to have for RENDERSCENE: flags to: exclude transparents override material (at least – c...
bool getFirstRayIntersection(const Ray &ray, Vector3 &result, Real scale=(Real) 1.0, size_t maxIterations=5000, Real maxDistance=(Real) 10000.0) const
Gets the first intersection of a ray with the volume.
Radian getRoll(bool reprojectAxis=true) const
Calculate the local roll element of this quaternion.
virtual ~ManualResourceLoader()
Definition: OgreResource.h:490
@ LBX_MODULATE_X4
as LBX_MODULATE but brighten more afterwards (x4)
Definition: OgreBlendMode.h:85
void setCapability(const Capabilities c)
Adds a capability flag.
Definition: OgreRenderSystemCapabilities.h:519
unsigned char uchar
In order to avoid finger-aches :)
Definition: OgrePrerequisites.h:66
@ GHA_CENTER
Definition: OgreOverlayElement.h:69
Image & loadDynamicImage(uchar *data, uint32 width, uint32 height, uint32 depth, PixelFormat format, bool autoDelete=false, size_t numFaces=1, uint32 numMipMaps=0)
Stores a pointer to raw data in memory.
HWND getWindowHandle() const
Definition: OgreD3D9RenderWindow.h:64
int32 getProperty(IdString key, int32 defaultVal=0)
AssignmentAtom(int groupOrder)
Definition: OgreShaderFunctionAtom.h:299
virtual void setMaxRepeatDelay(Real max)
Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
void _updateHomeZone(PCZSceneNode *, bool)
Make sure the home zone for the PCZSceneNode is up-to-date.
virtual ~Resource()
Virtual destructor.
String getTopBorderUVString() const
virtual void removeKeyFrame(unsigned short index)
Removes a KeyFrame by it's index.
unsigned short getNumSupportedTechniques(void) const
Retrieves the number of supported techniques.
Exception(int number, const String &description, const String &source, const char *type, const char *file, long line)
Advanced constructor.
virtual ProgramWriter * create(void)
Definition: OgreShaderGLSLESProgramWriter.h:139
@ DEFORM_FUNC_NORMAL
Definition: OgreQuake3Types.h:137
static _OgreFreeImageCodecExport void shutdown(void)
Static method to shutdown FreeImage and unregister the FreeImage codecs.
void decreaseLodLevel(long x, long y)
Removes terrain's highest LOD level.
Real getValue(void) const
Gets the frame number as a parametric value in the range [0,1].
AbsolutePixelCountLodStrategy PixelCountLodStrategy
Backward compatible name for Distance_Box strategy.
Definition: OgrePixelCountLodStrategy.h:45
bool getStoreParityInW() const
Gets whether to store tangent space parity in the W of a 4-component tangent or not.
Definition: OgreTangentSpaceCalc.h:112
@ FFP_VS_COLOUR
Definition: OgreShaderFFPRenderState.h:47
virtual void _notifyBillboardResized(void)
Internal callback used by Billboards to notify their parent that they have been resized.
Quaternion interpolate(Real t, bool useShortestPath=true)
Returns an interpolated point based on a parametric value over the whole series.
static const IdString Colour
Definition: OgreHlmsPropertyHelper.h:54
@ POSITIVE_SIDE
Definition: OgrePlane.h:98
bool getRunOnlyForOneLightType(void) const
Does this pass run only for a single light type (if getIteratePerLight is true).
Definition: OgrePass.h:1120
void freePooledTextures(bool onlyIfUnreferenced=true)
Free pooled textures from the shared pool (compositor instances still using them will keep them in me...
String getName() const
See ParticleEmitterFactory.
Definition: OgreBoxEmitterFactory.h:48
InterpolationMode getInterpolationMode(void) const
Gets the current interpolation mode of this animation.
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
virtual ~RaySceneQueryListener()
Definition: OgreSceneQuery.h:332
GpuProgramParametersSharedPtr getShadowCasterVertexProgramParameters(void) const
static const ColourValue ZERO
Definition: OgreColourValue.h:60
static CmdAlphaAdjust1 msAlphaCmd1
Definition: OgreColourFaderAffector2.h:197
void setNumMipmaps(uint32 num)
Sets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:155
NumericKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
Definition: OgreInput.h:79
virtual void _notifyParticleEmitted(Particle *particle)
Optional callback notified when particle emitted.
Definition: OgreParticleSystemRenderer.h:83
CompositorInstance * getPreviousInstance(CompositorInstance *curr, bool activeOnly=true)
Get the previous instance in this chain to the one specified.
Vector3 xAxis(void) const
Returns the X orthonormal axis defining the quaternion.
Specialises the SceneQuery class for querying within a sphere.
Definition: OgreSceneQuery.h:282
static const String & BLANK
Definition: OgreString.h:87
Implementation of GL as a rendering system.
Definition: OgreGLRenderSystem.h:58
Definition: OgreFreeImageCodec.h:88
@ BCT_DOUBLE
Definition: OgreGpuProgramParams.h:54
String doGet(const void *target) const
Class representing a Compositor object.
Definition: OgreCompositor.h:50
virtual bool resolveDependencies(ProgramSet *programSet)=0
static void trim(String &str, bool left=true, bool right=true)
Removes any whitespace characters, be it standard space or TABs and so on.
VectorIterator< PoseList > PoseIterator
Definition: OgreMesh.h:987
@ MEMCATEGORY_SCENE_OBJECTS
Scene object instances.
Definition: OgreMemoryAllocatorConfig.h:63
Specialisation of ParticleSystemRenderer to render particles using a BillboardSet.
Definition: OgreBillboardParticleRenderer.h:53
void setVertexBufferPolicy(HardwareBuffer::Usage usage, bool shadowBuffer=false)
Sets the policy for the vertex buffers to be used when loading this Mesh.
virtual const String & getType() const =0
Get the type of this sub render state.
virtual int getExecutionOrder() const
bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
@ SDLK_SPACE
Definition: OgreInput.h:100
Class to listen in on items being added to the render queue.
Definition: OgreRenderQueue.h:104
virtual void postqueueEntityMaterialLodChanged(const EntityMaterialLodChangedEvent &evt)
Called after an entity's material LOD has changed.
Definition: OgreLodListener.h:199
OGRE_AUTO_MUTEX
Definition: OgreResourceManager.h:104
void destroyWidget(const Ogre::String &name)
Definition: OgreTrays.h:1002
const Vector4 & getShadowSceneDepthRange(size_t index) const
TerrainLayerSamplerList samplers
Definition: OgreTerrainMaterialGenerator.h:132
virtual void prepare(LodData *data)
void setTextureName(const String &name)
Sets this texture layer to use a single texture, given the name of the texture to use on this layer.
void bind(GLRenderSystemCommon *rs)
IndexData * indexData
Definition: OgreStaticGeometry.h:153
Lod0Stripifier()
Definition: OgreLod0Stripifier.h:90
bool getEnabled(void) const
Returns true if this controller is currently enabled.
Definition: OgreController.h:184
PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneType, const String &zoneName)
void setVisibilityFlags(uint32 flags)
Sets the visibility flags for this object.
Definition: OgreMovableObject.h:431
bool getAntialiasColour(void) const
Gets whether or not the colour of this font is antialiased as it is generated from a true type font.
Definition: OgreFont.h:405
virtual PageID getID() const
Get the ID of this page, unique within the parent.
Definition: OgrePage.h:113
virtual ID3D11RenderTargetView * getRenderTargetView(uint index=0) const
void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
void destroyWidget(Widget *widget)
Destroys a widget.
virtual void removeListener(RenderTargetListener *listener)
Removes a RenderTargetListener previously registered using addListener.
@ ACT_ANIMATION_PARAMETRIC
Provides a parametric animation value [0..1], only available where the renderable specifically implem...
Definition: OgreGpuProgramParams.h:1139
int numsides
Definition: OgreQuake3Types.h:247
void finaliseLightmap(const Rect &rect, PixelBox *lightmapBox)
Finalise the lightmap.
uint8 getWorldGeometryRenderQueue(void)
Gets the render queue that the world geometry (if any) this SceneManager renders will be associated w...
uint16 depthBufferPoolId
Definition: OgreSceneManager.h:70
Operand & z()
Definition: OgreShaderFunctionAtom.h:114
@ ID_STENCIL_VALUE
Definition: OgreScriptCompiler.h:832
VectorImpl::value_type value_type
Definition: OgreCommon.h:394
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
virtual void addRequestHandler(uint16 channel, RequestHandler *rh)=0
Add a request handler instance to the queue.
Prepared IteratorWrapper for key-value container.
Definition: OgreIteratorWrapper.h:254
@ ACT_DERIVED_LIGHT_DIFFUSE_COLOUR_ARRAY
Array of derived light diffuse colours (count set by extra param)
Definition: OgreGpuProgramParams.h:940
Real getTanTime_0_X(Real x) const
virtual void markProfileEvent(const String &event)=0
Marks an instantaneous event for graphics profilers.
virtual void postRenderQueues()
Event raised after all render queues are processed.
Definition: OgreRenderQueueListener.h:66
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
A world section which includes paged terrain.
Definition: OgreTerrainPagedWorldSection.h:81
bool _updateAllRenderTargets(FrameEvent &evt)
Internal method used for updating all RenderTarget objects (windows, renderable textures etc) which a...
bool eof(void) const
Returns true if the stream has reached the end.
Definition: OgreHlmsPropertyMap.h:49
void save(const String &filename)
Save terrain data in native form to a standalone file.
void setTextureProjector(const Frustum *frust, size_t index)
Sets the current texture projector for a index.
String doGet(const void *target) const
static String toString(bool val, bool yesNo=false)
Converts a boolean to a String.
void swap(SmallVectorImpl &RHS)
Definition: OgreSmallVector.h:598
bool immutable
Definition: OgreConfigOptionMap.h:54
@ SHADOWTYPE_STENCIL_ADDITIVE
Stencil shadow technique which renders each light as a separate additive pass to the scene.
Definition: OgreCommon.h:248
size_t data
Definition: OgreGpuProgramParams.h:1278
void addTime(Real offset)
Modifies the time position, adjusting for animation length.
TextureUnitState * createTextureUnitState(const String &textureName, unsigned short texCoordSet=0)
Inserts a new TextureUnitState object into the Pass.
virtual void save(StreamSerialiser &stream)=0
Save the collection to a stream.
@ ACT_TIME_0_2PI_PACKED
Vector of "Time0_2PI", "SinTime0_2PI", "CosTime0_2PI", "TanTime0_2PI".
Definition: OgreGpuProgramParams.h:1057
PCZLight(const String &name)
Normal constructor.
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
@ IF_CUBEMAP
Definition: OgreImage.h:46
const String & getResourceGroup() const
Returns the resource group currently set for this compiler.
This ResourceManager manages high-level vertex and fragment programs.
Definition: OgreHighLevelGpuProgramManager.h:74
static String FACTORY_TYPE_NAME
Definition: OgreBillboardSet.h:838
virtual void finalize(LodData *data)
@ ACT_FOG_COLOUR
Fog colour.
Definition: OgreGpuProgramParams.h:793
Quaternion orientation
Only used when mFaceCamera == false.
Definition: OgreBillboardChain.h:104
static String FACTORY_TYPE_NAME
Definition: OgreEntity.h:883
void setAnimatedTextureName(const String &name, size_t numFrames, Real duration=0)
Sets the names of the texture images for an animated texture.
void getPoint(long x, long y, float height, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, supplying the height data manually (can be mor...
virtual void setBackgroundLoaded(bool bl)
Tells the resource whether it is background loaded or not.
Definition: OgreResource.h:367
Implementation of DirectX11 as a rendering system.
Definition: OgreD3D11RenderSystem.h:61
bool getAutoBuildEdgeLists(void) const
Sets whether or not this Mesh should automatically build edge lists when asked for them,...
Definition: OgreMesh.h:884
void setCurrentLightList(const LightList *ll)
Sets the light list that should be used, and it's base index from the global list.
UnifiedHighLevelGpuProgramFactory()
AllocPolicy GeneralAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:87
MaterialSerializer::Listener * getMaterialSerializerListener()
Return custom material Serializer of the shader generator.
void setDepthFunction(CompareFunction func)
Sets the function used to compare depth values when depth checking is on.
Command object for inner size (see ParamCommand).
Definition: OgreHollowEllipsoidEmitter.h:70
@ GCT_FLOAT4
Definition: OgreGpuProgramParams.h:72
@ SKELETON_HEADER
Definition: OgreSkeletonFileFormat.h:56
void setValue(const String &name, const T *value)
Set a named property value (via pointer to avoid copy).
Definition: OgreProperty.h:327
bool isRemoved
Definition: OgreLodData.h:116
ShaderManager(const String &pieseFilesResorceGroup)
std::map< size_t, GpuLogicalIndexUse > GpuLogicalIndexUseMap
Definition: OgreGpuProgramParams.h:378
virtual bool isReadable() const
Reports whether this stream is readable.
Definition: OgreDataStream.h:206
static const uint32 CHUNK_ID
Definition: OgreTerrainGroup.h:515
void unloadUnreferencedResources(bool reloadableOnly=true)
Unload all resources which are not referenced by any other object.
Definition: OgreResourceManager.h:220
ShaderFunctionList::iterator ShaderFunctionIterator
Definition: OgreShaderFunction.h:311
unsigned char * mLumpStart
Definition: OgreQuake3Level.h:120
Bone(const String &name, unsigned short handle, Skeleton *creator)
Constructor, not to be used directly (use Bone::createChild or Skeleton::createBone)
virtual const String & getTypeName(void) const
See OverlayElementFactory.
virtual void setValue(const Vector4 &)
Set value.
Definition: OgreAnimable.h:163
Out(ParameterPtr p)
Definition: OgreShaderFunctionAtom.h:177
unsigned int getMisses()
Definition: OgreVertexIndexData.h:304
Ogre::Overlay * getCursorLayer()
Definition: OgreTrays.h:770
unsigned short boneIndex
Definition: OgreVertexBoneAssignment.h:53
@ ID_CULL_HARDWARE
Definition: OgreScriptCompiler.h:658
~OctreeZoneData()
Standard destructor.
void uninstall()
Perform the final plugin uninstallation sequence.
bool watchForMin(const String &profileName)
Returns true if the specified profile reaches a new frame time minimum.
bool isValid
Definition: OgreShaderExHardwareSkinning.h:65
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
IDirect3DSurface9 * getBackBuffer(D3D9RenderWindow *renderWindow)
virtual ~D3D11StereoDriverImpl()
Definition: OgreD3D11StereoDriverImpl.h:45
DriverVersion getDriverVersion() const
Definition: OgreRenderSystemCapabilities.h:390
A tagged point on a skeleton, which can be used to attach entities to on specific other entities.
Definition: OgreTagPoint.h:61
Definition: OgreScriptCompiler.h:492
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
bool getAutomaticColour() const
Retrieves if the clear colour is automatically setted to the background colour of the original viewpo...
void destroyParticleSystem(ParticleSystem *obj)
Removes & destroys a ParticleSystem from the SceneManager.
virtual void swapBuffers()
Swaps the frame buffers to display the next frame.
Definition: OgreRenderTarget.h:171
Definition: OgreLodConfig.h:44
@ SDLK_HOME
Definition: OgreInput.h:117
std::vector< ParameterPtr > ShaderParameterList
Definition: OgreShaderPrerequisites.h:77
OperationType operationType
The type of operation to perform.
Definition: OgreRenderOperation.h:111
bool hasTextureAliases(void) const
Definition: OgreSubMesh.h:202
virtual void addItem(const T &i)
Add a new item to the pool.
Definition: OgreResourceManager.h:77
ProfileFrame frame
Definition: OgreProfiler.h:180
void setWorldMatrix(const Matrix4 &m)
void setShadowReceiverMaterial(Ogre::MaterialPtr val)
set this material specific shadow receiving specific material
Interface definition for a unit of content within a page.
Definition: OgrePageContent.h:50
virtual bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Return whether this handler can process a given request.
NodeAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
void saveAllTerrains(bool onlyIfModified, bool replaceManualFilenames=true)
Save all terrain instances using the assigned file names, or via the filename convention.
String value
Definition: OgreScriptCompiler.h:112
void _removeNode(OctreeNode *)
Removes an Octree scene node to this octree level.
Entity * createEntity(const String &entityName, const MeshPtr &pMesh)
Create an Entity (instance of a discrete mesh).
GL3PlusStateCacheManager * _getStateCacheManager()
Definition: OgreGL3PlusRenderSystem.h:231
Utility class to help with generating shaders for Cg / HLSL.
Definition: OgreTerrainMaterialShaderHelpers.h:75
GpuConstantType getType() const
Get the type of this parameter.
Definition: OgreShaderParameter.h:343
static void setAngleUnit(AngleUnit unit)
These functions used to set the assumed angle units (radians or degrees) expected when using the Angl...
~Math()
Default destructor.
virtual const Vector3 & getCommonDirection(void) const
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
Initialize the render system from the capabilities.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
void attachRenderTarget(RenderTarget &target)
Attaches the passed render target to the render system.
virtual void update(bool swapBuffers=true)
Tells the target to update it's contents.
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
String doGet(const void *target) const
bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
SharedPtr< SubRenderStateAccessor > SubRenderStateAccessorPtr
Definition: OgreShaderSubRenderState.h:43
void setTimePosition(Real timePos)
Sets the time position for this animation.
MaterialIterator getMaterialIterator(void)
Definition: OgreSmallVector.h:71
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
Resource(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Standard constructor.
GLES2FBOMultiRenderTarget(GLES2FBOManager *manager, const String &name)
virtual BillboardRotationType getBillboardRotationType(void) const
Sets billboard rotation type.
ColourValue getColourAt(size_t x, size_t y, size_t z) const
Get colour value from a certain location in the image.
eD3DTexType
enum identifying D3D9 tex. types
Definition: OgreD3D9Mappings.h:46
virtual SortMode _getSortMode(void) const
Gets the sort mode of this billboard set.
PageStrategy(const String &name, PageManager *manager)
Definition: OgrePageStrategy.h:79
virtual const String & getType() const
void FromAxes(const Vector3 *akAxis)
Constructs the quaternion using 3 axes, the axes are assumed to be orthonormal.
MeshVersion
Mesh compatibility versions.
Definition: OgreMeshSerializer.h:43
bool negated
Definition: OgreHlmsShaderGenerator.h:64
static RayTestResult intersects(const Ray &ray, const std::vector< Plane > &planeList, bool normalIsOutside)
Ray / convex plane list intersection test.
static ParameterPtr createInTexcoord2(int index, Parameter::Content content)
PageContentFactory * getContentFactory(const String &name)
Get a PageContentFactory.
_StringStreamBase StringStream
Definition: OgrePrerequisites.h:322
void mergePolygons(void)
Merges all neighboring polygons into one single polygon if they are lay in the same plane.
FontType getType(void) const
Gets the type of font.
void removeSoftwareAnimationRequest(bool normalsAlso)
Removes a request for software animation.
OgreBites::WindowEventListener WindowEventListener
Definition: OgreWindowEventUtilities.h:176
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
virtual void clear()
Empties this set of all billboards.
virtual AnimableValuePtr createAnimableValue(const String &valueName)
Create a reference-counted AnimableValuePtr for the named value.
Definition: OgreAnimable.h:315
void recalcTangents(void)
Recalculates the tangents associated with this spline.
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
AnimationStateSet * getParent(void) const
Get the parent animation state set.
Definition: OgreAnimationState.h:129
String logObjectInfo(const String &msg, GLuint obj)
If there is a message in GL info log then post it in the Ogre Log.
void Attach(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:221
@ CBT_BACK_RIGHT
Definition: OgreCommon.h:330
EdgeData * getEdgeList(unsigned short lodIndex=0)
Return the edge list for this mesh, building it if required.
OverlayElement representing a flat, single-material (or transparent) panel which can contain other el...
Definition: OgrePanelOverlayElement.h:59
@ PF_ASTC_RGBA_6X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 6x5)
Definition: OgrePixelFormat.h:250
virtual ~GpuProgram()
Definition: OgreGpuProgram.h:222
static GLenum getGLInternalFormat(PixelFormat format, bool hwGamma=false)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
std::map< ResourceHandle, ResourcePtr > ResourceHandleMap
Definition: OgreResourceManager.h:502
static PropertyType getTypeForValue(const Matrix3 &val)
Definition: OgreProperty.h:174
void reinterpretGSForStreamOut(void)
unsigned char * mLightmaps
Definition: OgreQuake3Level.h:152
AccessMode
Definition: OgreDataStream.h:182
void * getUserData(void)
Get & set the user data.
Definition: OgrePCZone.h:246
virtual void setWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setVisible(bool visible)
Tells this object whether to be visible or not, if it has a renderable component.
Definition: OgreMovableObject.h:289
virtual bool resolveParameters(ProgramSet *programSet)
@ SPC_TANGENT_VIEW_SPACE
Tangent in view space.
Definition: OgreShaderParameter.h:255
WorkQueue::RequestID BackgroundProcessTicket
Identifier of a background process.
Definition: OgreResourceBackgroundQueue.h:48
@ SPC_POSITION_LIGHT_SPACE6
Definition: OgreShaderParameter.h:102
bool hasCorrectAntipodalityHandling()
Only applicable for dual quaternion skinning.
virtual ~HardwareOcclusionQuery()
Object destructor.
MaterialPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new material.
void setLastRenderQueue(uint8 id)
Set the last render queue to be rendered in this pass (inclusive)
virtual ~Listener()
Definition: OgreNode.h:80
virtual void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
Definition: OgreGpuProgram.h:399
std::array< GLSLShaderCommon *, GPT_COUNT > GLShaderList
Definition: OgreGLSLProgramCommon.h:59
virtual ~GLES2HardwareBufferManager()
String getRightBorderUVString() const
const OverlayContainerList & get2DElements() const
Returns all 2D elements in this manager.
Definition: OgreOverlay.h:259
void TransferOwnership(ID3D11DeviceN *device)
void loadResourceGroup(const String &name, bool loadMainResources=true, bool loadWorldGeom=true)
Loads a resource group.
static uint32 halfToFloatI(uint16 y)
Converts a half in uint16 format to a float in uint32 format.
Definition: OgreBitwise.h:362
TerrainLayerSamplerSemantic semantic
The semantic this element represents.
Definition: OgreTerrainMaterialGenerator.h:74
virtual ~FunctionAtom()
Class default destructor.
Definition: OgreShaderFunctionAtom.h:203
void pop_back()
Definition: OgreCommon.h:494
static const uint32 SUBCLASS_CHUNK_ID
Definition: OgreSimplePageContentCollection.h:70
@ PF_R32G32B32A32_UINT
128-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int), 32 bits green (unsigne...
Definition: OgrePixelFormat.h:168
OGRE_AUTO_MUTEX
Definition: OgreLogManager.h:76
ShadowRenderable()
Used only if isLightCapSeparate == true.
Definition: OgreShadowCaster.h:60
float width
Definition: OgreShaderExTextureAtlasSampler.h:60
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESProgramCommon.h:45
void setRadius(Real radius)
Sets the radius of the sphere.
Definition: OgreSphere.h:71
Real getBounce(void) const
Gets the bounce value of the deflection.
SimplePageContentCollection(PageContentCollectionFactory *creator)
size_t tell(void) const
Returns the current byte offset from beginning.
void copyDataImpl(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
virtual void _updateSceneGraph(Camera *cam)
Update Scene Graph (does several things now)
VectorBase(Real _x, Real _y, Real _z, Real _w)
Definition: OgreVector.h:269
void setMaterialName(const String &matName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the Material which this SubMesh will use.
SharedPtr(Y *ptr)
Definition: OgreSharedPtr.h:63
void addEffect(TextureEffect &effect)
Generic method for setting up texture effects.
virtual void setOrigin(const Vector3 &pos)
Define the centre position of the grid of terrain.
void _invalidateCameraCache()
Invalidate the camera distance cache.
Definition: OgreSubEntity.h:287
static GLenum getGLType(VertexElementType type)
Utility function to get the correct GL type based on VET's.
void setVisibilityMask(uint32 mask)
Sets a per-viewport visibility mask.
Definition: OgreViewport.h:353
virtual void write(const Real *val, size_t count=1)
Real getInnerSizeY(void) const
Gets the y component of the area inside the ellipsoid which doesn't emit particles.
Real arg2
Definition: OgreTextureUnitState.h:317
CG program writer factory implementation.
Definition: OgreShaderCGProgramWriter.h:119
RenderQueueInvocationSequence * createRenderQueueInvocationSequence(const String &name)
Create a new RenderQueueInvocationSequence, useful for linking to Viewport instances to perform custo...
static PCZoneFactoryManager & getSingleton(void)
Get the singleton instance.
This class defines a ParticleAffector which applies a linear force to particles in a system.
Definition: OgreLinearForceAffector.h:57
uint8 getBlendTextureCount() const
Get the number of blend textures in use.
Abstract base class for level of detail strategy based on pixel count approximations from bounding sp...
Definition: OgrePixelCountLodStrategy.h:51
static Real SymmetricRandom()
Generate a random number in the range [-1,1].
Definition: OgreMath.h:484
virtual void colour(float r, float g, float b, float a=1.0f)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const Any & getData() const
Return the response data (user defined, only valid on success)
Definition: OgreWorkQueue.h:144
const String & getMovableType(void) const
Returns the type name of this object.
uint16 getBaseLod() const
Get the base LOD level this node starts at (the highest LOD it handles)
Definition: OgreTerrainQuadTreeNode.h:103
void getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
@ TAM_CLAMP
Values beyond 1.0 are clamped to 1.0.
Definition: OgreCommon.h:129
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
@ ACT_INVERSE_TRANSPOSE_VIEWPROJ_MATRIX
Provides inverse transpose of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:749
void pop_back()
Definition: OgreSmallVector.h:371
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Property instance with passthrough calls to a given object.
Definition: OgreProperty.h:221
void setLastVisibleFrame(unsigned long frameCount)
Set the lastVisibleFrame counter.
Definition: OgrePCZone.h:113
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
Saved link between SubMesh at a LOD and vertex/index data May point to original or optimised geometry...
Definition: OgreStaticGeometry.h:151
void deallocate(T *p, size_t)
Definition: OgreAlignedAllocator.h:120
@ LB_BlendMultiply
Definition: OgreShaderExLayeredBlending.h:54
virtual const String & getMaterialName(void) const
Sets the name of the material to be used for this billboard set.
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
PCZone * createZone(const String &zoneType, const String &instanceName)
Create a zone with the given name
A frustum represents a pyramid, capped at the near and far end which is used to represent either a vi...
Definition: OgreFrustum.h:85
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
void destroy(const String &name)
Destroys an existing overlay by name.
String doGet(const void *target) const
@ TU_NOTSHADERRESOURCE
Definition: OgreTexture.h:79
virtual void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
std::pair< uint8, uint8 > getLayerBlendTextureIndex(uint8 layerIndex) const
Get the texture index and colour channel of the blend information for a given layer.
static OGRE_FORCE_INLINE const T * rawOffsetPointer(const T *ptr, ptrdiff_t offset)
Returns raw offseted of the given pointer.
Definition: OgreOptimisedUtil.h:213
void enableTextureCoordGen(GLenum type)
Enable the specified texture coordinate generation option for the currently active texture unit.
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
Sets the comparison function for the depth buffer check.
virtual String getAsString(void)
Returns a String containing the entire stream.
unsigned int getSize()
Definition: OgreVertexIndexData.h:305
bool isDefaultFiltering() const
Returns true if this texture unit is using the default Sampler.
@ PF_FLOAT16_RGBA
64-bit pixel format, 16 bits (float) for red, 16 bits (float) for green, 16 bits (float) for blue,...
Definition: OgrePixelFormat.h:99
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgrePass.h:886
CullingMode getCullingMode(void) const
Returns the culling mode for geometry rendered with this pass.
PageContentCollectionFactory * getContentCollectionFactory(const String &name)
Get a PageContentCollectionFactory.
void _updateBoundsFromVertexBuffers(bool pad=false)
Automatically update the bounding radius and bounding box for this Mesh.
virtual Animation * getAnimation(const String &name) const =0
Retrieve an animation by name.
bool scissoring
Scissoring if requested?
Definition: OgreSceneManager.h:395
virtual Real getParticleVelocity(void) const
Returns the initial velocity of particles emitted.
int getIndex() const
Get the index of this parameter.
Definition: OgreShaderParameter.h:349
ApplicationContextBase ApplicationContext
Definition: OgreApplicationContext.h:101
TextAreaOverlayElement(const String &name)
Constructor.
virtual ~LodWorkQueueInjector()
Definition: OgreScriptCompiler.h:544
BspSceneNode(SceneManager *creator, const String &name)
Definition: OgreBspSceneNode.h:61
bool hasColourWriteDisabled(void) const
Exists colour writing disabled pass on this technique?
PCZone * getNewHomeZone()
Get the Zone the Portal should be moved to.
Definition: OgrePortalBase.h:118
void setStencilDepthFailOp(StencilOperation value)
Set stencil depth fail operation.
PixelBox * calculateNormals(const Rect &rect, Rect &outFinalRect)
Calculate (or recalculate) the normals on the terrain.
bool isLateMaterialResolving() const
Gets whether using late material resolving or not.
Definition: OgreSceneManager.h:3038
MapIterator< ResourceManagerMap > ResourceManagerIterator
Definition: OgreResourceGroupManager.h:271
Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
void _setBlendMaskData(const float *blendMaskData)
Set the blend mask data (might be dangerous)
@ TU_NOT_SRV
Texture would not be used as Shader Resource View, i.e.
Definition: OgreTexture.h:69
std::vector< Brush * > NodeBrushList
Definition: OgreBspNode.h:159
PCZ implementation of SphereSceneQuery.
Definition: OgrePCZSceneQuery.h:94
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual bool isShuttingDown() const
Returns whether the queue is trying to shut down.
Definition: OgreWorkQueue.h:432
bsp_plane_t * mPlanes
Definition: OgreQuake3Level.h:140
std::multimap< Real, Vertex * > CollapseCostHeap
Definition: OgreLodData.h:67
void setActiveShader(GpuProgramType type, GLSLShader *shader)
Set the shader for the next rendering state.
#define OGRE_MUTEX(name)
Definition: OgreThreadDefines.h:57
String doGet(const void *target) const
PageID calculatePageID(int32 x, int32 y, int32 z)
CameraStyle
enumerator values for different styles of camera movement
Definition: OgreCameraMan.h:47
Controller< Real > * _getAnimController() const
Gets the animation controller (as created because of setAnimatedTexture) if it exists.
Definition: OgreTextureUnitState.h:1096
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
void setRedAdjust1(float red)
Sets the red adjustment to be made per second to particles.
AbstractNodeListPtr _generateAST(const String &str, const String &source, bool doImports=false, bool doObjects=false, bool doVariables=false)
void setDepthBias(float constantBias, float slopeScaleBias=0.0f)
Sets the depth bias to be used for this material.
void setName(const String &name)
Set the name of the pass.
void setGlobalColourMapEnabled(bool enabled, uint16 size=0)
Set whether a global colour map is enabled.
const SubRenderStateList & getTemplateSubRenderStateList() const
Get the list of the template sub render states composing this render state.
Definition: OgreShaderRenderState.h:76
DecodeResult decode(const DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void logResults()
Outputs current profile statistics to the log.
OverlayElement * createOverlayElementFromTemplate(const String &templateName, const String &typeName, const String &instanceName, bool isTemplate=false)
@ PF_PVRTC_RGB2
PVRTC (PowerVR) RGB 2 bpp.
Definition: OgrePixelFormat.h:132
void _setLodUsage(unsigned short level, const MeshLodUsage &usage)
Internal methods for loading LOD, do not use.
VertexElementType getColourVertexElementType() const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
AllocatedObject RenderSysAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:104
float getMipmapBias(void) const
Gets the bias value applied to the mipmap calculation.
Definition: OgreTextureUnitState.h:172
Region(StaticGeometry *parent, const String &name, SceneManager *mgr, uint32 regionID, const Vector3 ¢re)
virtual void setUseShortestRotationPath(bool useShortestPath)
Sets the method of rotation calculation.
SubRenderStateAccessorPtr getAccessor()
Return the accessor object to this sub render state.
virtual void findVisibleNodes(PCZCamera *, NodeList &visibleNodeList, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters, bool displayNodes, bool showBoundingBoxes)
Find and add visible objects to the render queue.
Real getLeft(void) const
Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
void setNormalRTexture(MapSlot mapSlot, TexturePtr tex, TextureAddressing textureAddressing=TextureAddressing(), float normalBlendFactor=1, float rBlendFactor=0)
set texture containing normals and roughness
virtual bool isSupported(bool allowTextureDegradation)
Determine if this technique is supported on the current rendering device.
void clear()
Clear the cache.
Definition: OgreDataStream.h:144
const IlluminationPassList & getIlluminationPasses()
Gets the illumination-stage categorised passes.
void translate(const Vector3 &d, TransformSpace relativeTo=TS_PARENT)
Moves the node along the Cartesian axes.
void setHardwareGammaEnabled(bool enabled)
Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
void _setPointParameters(bool attenuationEnabled, Real minSize, Real maxSize)
@ SBO_REVERSE_SUBTRACT
Definition: OgreBlendMode.h:251
static String FACTORY_TYPE_NAME
Definition: OgreBillboardChain.h:373
@ PF_R3G3B2
8-bit pixel format, 2 bits blue, 3 bits green, 3 bits red.
Definition: OgrePixelFormat.h:118
@ PROP_UNKNOWN
Definition: OgreProperty.h:126
virtual Real getRepeatDelay(void) const
Gets the duration of the emitter from when it is created or re-enabled.
std::deque< T >::iterator iterator
Definition: OgrePrerequisites.h:333
const Affine3 & getViewMatrix(bool ownFrustumOnly) const
Specialised version of getViewMatrix allowing caller to differentiate whether the custom culling frus...
BspRaySceneQuery(SceneManager *creator)
virtual void setDirection(const Vector3 &direction)
Sets the direction of the emitter.
@ ACT_VIEWPORT_HEIGHT
Current viewport height (in pixels) as floating point value.
Definition: OgreGpuProgramParams.h:1070
bool isAttributeValid(VertexElementSemantic semantic, uint index)
Test whether attribute index for a given semantic is valid.
virtual ~ArchiveFactory()
Definition: OgreArchiveFactory.h:62
virtual void setDynamic(bool dyn)
Use before defining geometry to indicate that you intend to update the geometry regularly and want th...
Definition: OgreManualObject.h:172
void setSceneBlending(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
Allows very fine control of blending every Pass with the existing contents of the scene.
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:206
@ SO_FLAT
No interpolation takes place. Each face is shaded with a single colour determined from the first vert...
Definition: OgreCommon.h:139
String doGet(const void *target) const
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
VSOutputCompactPolicy
Definition: OgreShaderPrerequisites.h:81
@ ID_VERTEX_PROGRAM
Definition: OgreScriptCompiler.h:577
Vector3 convertLocalToWorldPosition(const Vector3 &localPos)
Gets the world position of a point in the node local space useful for simple transforms that don't re...
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
This class simplify initialization / finalization of the overlay system.
Definition: OgreOverlaySystem.h:60
const String & getName() const
Get the name of the plugin.
void _copyContentsToMemory(Viewport *vp, const Box &src, const PixelBox &dst, RenderWindow::FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
String doGet(const void *target) const
bool operator>(const Degree &d) const
Definition: OgreMath.h:146
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters)
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
Definition: OgreCommon.h:64
unsigned int getLastQuerysPixelcount() const
Let's you get the last pixel count with out doing the hardware occlusion test.
Definition: OgreHardwareOcclusionQuery.h:109
VertexData * getVertexDataForBinding(void)
Retrieve the VertexData which should be used for GPU binding.
static unsigned int fixedToFixed(uint32 value, unsigned int n, unsigned int p)
Convert N bit colour channel value to P bits.
Definition: OgreBitwise.h:207
void setDesiredFormat(PixelFormat desiredFormat)
Sets the desired pixel format for the texture surface; can only be set before load().
const String & getReturnType() const
Return the return type.
Definition: OgreShaderFunctionAtom.h:262
void setMaterial(const MaterialPtr &mat)
Overridden from SimpleRenderable.
PropertyMap & getPropertyMap()
Definition: OgreHlmsMaterialBase.h:53
const ShadowCameraSetupPtr & getCustomShadowCameraSetup(void) const
Return a pointer to the custom shadow camera setup (null means use SceneManager global version).
Definition: OgreD3D11VideoMode.h:38
static Real boundingRadiusFromAABB(const AxisAlignedBox &aabb)
Get the radius of the origin-centered bounding sphere from the bounding box.
Definition: OgreLodCollapseCostCurvature.h:42
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
Initialize the render system from the capabilities.
virtual void initialise(void)=0
Initialise gui element.
void _writeRawConstant(size_t physicalIndex, Real val, size_t count)
@ LBX_BLEND_DIFFUSE_COLOUR
use interpolated color values from vertices to scale source1, then add source2 scaled by (1-color)
Definition: OgreBlendMode.h:105
bool isEnabled(void)
Definition: OgrePCZSceneNode.h:101
bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
String doGet(const void *target) const
void updateDerivedData(bool synchronous=false, uint8 typeMask=0xFF)
Updates derived data for the terrain (LOD, lighting) to reflect changed height data,...
This class responsible for translating core features of the RT Shader System for Ogre material script...
Definition: OgreShaderScriptTranslator.h:48
GLES2HardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
static PixelBox getPixelBoxWithMapping(D3D11_BOX extents, DXGI_FORMAT pixelFormat, const D3D11_MAPPED_SUBRESOURCE &mapping)
utility method, generates Ogre PixelBox using usual parameters and dataPtr/rowPitch/slicePitch from D...
std::vector< String > StringVector
Definition: OgreStringVector.h:45
std::vector< TerrainLayerSampler > TerrainLayerSamplerList
Definition: OgreTerrainMaterialGenerator.h:124
void destroyZone(PCZone *zone, bool destroySceneNodes)
Destroy an existing zone within the scene.
virtual Page * loadOrCreatePage(const Vector3 &worldPos)
Load or create a page against this section covering the given world space position.
virtual void _addNode(PCZSceneNode *)=0
Adds an SceneNode to this PCZone.
void setInnerSizeX(Real x)
Sets the x component of the area inside the ellipsoid which doesn't emit particles.
AliasTextureIterator getAliasTextureIterator(void) const
const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
Definition: OgreFreeImageCodec.h:93
virtual void _notifyResourceUnloaded(Resource *res)
Notify this manager that a resource which it manages has been unloaded.
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
@ PM_SOLID
The normal situation - polygons are filled in.
Definition: OgreCommon.h:210
@ PF_R8_SNORM
8-bit pixel format, 8 bits red (signed normalised int).
Definition: OgrePixelFormat.h:214
DataStreamPtr createResource(const String &filename, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, bool overwrite=false, const String &locationPattern=BLANKSTRING)
Create a new resource file in a given group.
@ ACT_TRANSPOSE_WORLDVIEWPROJ_MATRIX
Provides transpose of concatenated world, view and projection matrices.
Definition: OgreGpuProgramParams.h:775
Definition: OgreD3D11Driver.h:41
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:62
virtual void setPreferredFloatBitDepth(ushort bits, bool reloadTextures=true)
Sets preferred bit depth for float pixel format textures.
virtual void setZoneGeometry(const String &filename, PCZSceneNode *parentNode)
Called by PCZSM during setZoneGeometry()
SmallVector & operator=(const SmallVectorImpl< T > &RHS)
Definition: OgreSmallVector.h:766
@ VET_USHORT4
Definition: OgreHardwareVertexBuffer.h:145
void _prepare(void)
Internal method for preparing this object for load, as part of Material::prepare.
bool intersects(const Ray &ray)
Check if portal intersects a ray.
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
size_t getMemoryUsage(void) const
Gets the current memory usage, in bytes.
Definition: OgreResourceManager.h:159
const String & getWorldResourceGroupName(void) const
Gets the resource group that 'world' resources will use.
Definition: OgreResourceGroupManager.h:839
Factory for OctreeSceneManager.
Definition: OgreOctreeSceneManager.h:221
Class encapsulating a set of AnimationState objects.
Definition: OgreAnimationState.h:197
@ RSC_HWOCCLUSION_ASYNCHRONOUS
Supports asynchronous hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:192
unsigned short getNextFreeTextureCoordinate() const
Return the index of the next free texture coordinate set which may be added to this declaration.
bool transparentShadowCastersMode
Are we in transparent shadow caster mode?
Definition: OgreSceneManager.h:389
bool operator==(const TerrainLayerSamplerElement &e) const
Definition: OgreTerrainMaterialGenerator.h:80
void setSourceModifier(unsigned short index, SourceModifier modType, int customNum)
Set the source modifier parameters for a given texture unit.
virtual bool isManuallyLoaded(void) const
Is this resource manually loaded?
Definition: OgreResource.h:281
Definition: OgreVector.h:129
const String & getFragmentProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1299
@ OR_DEGREE_0
Definition: OgreFrustum.h:50
void rotate(const Quaternion &q, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an aritrary axis using a Quarternion.
@ VSOCP_LOW
Definition: OgreShaderPrerequisites.h:82
void rotate(const Quaternion &q)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
Definition: OgreGpuProgram.h:378
void seek(size_t pos)
Repositions the read point to a specified byte.
Definition: OgreD3D11RenderTarget.h:9
size_t getVertexSize(unsigned short source) const
Gets the vertex size defined by this declaration for a given source.
bool hasAnimationState(const String &name) const
Tests if state for the named animation is present.
static String TargetLanguage
Definition: OgreShaderGLSLESProgramWriter.h:76
VertexData * getVertexDataByTrackHandle(unsigned short handle)
Gets a pointer to a vertex data element based on a morph animation track handle.
static bool isNaN(Real f)
Definition: OgreMath.h:319
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)=0
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
ParticleAffector * addAffector(const String &affectorType)
Adds an affector to this particle system.
bool isBatchFull(void) const
Definition: OgreInstanceBatch.h:247
GL3PlusHardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
bool hasCompileError(void) const
Did this program encounter a compile error when loading?
Real getTileX(ushort layer=0) const
void addVertexData(const VertexData *vertexData)
Add a set of vertex geometry data to the edge builder.
Class for calculating a tangent space basis.
Definition: OgreTangentSpaceCalc.h:48
PageManager * getManager() const
Get the manager of this world.
Definition: OgrePagedWorld.h:78
A pose is a linked set of vertex offsets applying to one set of vertex data.
Definition: OgrePose.h:55
void FromEulerAnglesYZX(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
Vector3 & getMaximum(void)
Gets a modifiable version of the maximum corner of the box.
Definition: OgreAxisAlignedBox.h:142
@ RSC_TEXTURE_COMPRESSION_PVRTC
Supports compressed textures in the PVRTC format.
Definition: OgreRenderSystemCapabilities.h:147
void install()
Perform the plugin initial installation sequence.
virtual void _update(void)
Overridden from OverlayElement.
virtual void getRenderOperation(RenderOperation &op)
Sets up the LegacyRenderOperation for rendering this scene node as geometry.
void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
@ ACT_TANTIME_0_2PI
Tangent of "Time0_2PI". Equivalent to RenderMonkey's "TanTime0_2PI".
Definition: OgreGpuProgramParams.h:1053
ChunkParameters * getChunkParameters(void)
Gets the parameters with which the chunktree got loaded.
ShaderProgramWriterCGFactory()
Definition: OgreShaderCGProgramWriter.h:121
void setFrameTextureName(const String &name, unsigned int frameNumber)
Sets the name of the texture associated with a frame.
static GLenum getClosestGLImageInternalFormat(PixelFormat format)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format for i...
void setDepthWriteEnabled(bool enabled)
Sets whether or not each Pass renders with depth-buffer writing on or not.
DXGI_RATIONAL getRefreshRate() const
std::vector< CompositorInstance * > Instances
Data types.
Definition: OgreCompositorChain.h:57
@ AU_DEGREE
Definition: OgreMath.h:213
void setSubroutine(GpuProgramType gptype, unsigned int slotIndex, const String &subroutineName)
@ ID_SUBROUTINE
Definition: OgreScriptCompiler.h:864
static Radian ATan2(Real fY, Real fX)
Arc tangent between two values function.
Definition: OgreMath.h:310
Command object for particle_width (see ParamCommand).
Definition: OgreParticleSystem.h:99
virtual void readData(size_t offset, size_t length, void *pDest)=0
Reads data from the buffer and places it in the memory pointed to by pDest.
bool writeG
Definition: OgreBlendMode.h:270
virtual void setAssociatedAnimable(const AnimableValuePtr &val)
Sets the associated animable object which will be automatically affected by calls to 'apply'.
void convertTerrainSlotToWorldPosition(long x, long y, Vector3 *pos) const
Convert a slot location to a world position at the centre.
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
virtual void extrudeVertices(const Vector4 &lightPos, Real extrudeDist, const float *srcPositions, float *destPositions, size_t numVertices)=0
Extruding vertices by a fixed distance based on light position.
AreaEmitter(ParticleSystem *psys)
Definition: OgreAreaEmitter.h:81
@ TEX_TYPE_EXTERNAL_OES
GLES2 only OES texture type.
Definition: OgreTexture.h:109
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for Pages in this world.
Definition: OgrePagedWorld.h:174
FunctionAtomInstanceList::const_iterator FunctionAtomInstanceConstIterator
Definition: OgreShaderFunctionAtom.h:326
virtual void startup(bool forceRestart=true)=0
Start up the queue with the options that have been set.
const Any & getUserAny(void) const
Definition: OgreNode.h:666
UniformParameterPtr resolveAutoParameterInt(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, size_t data, size_t size=0)
Resolve uniform auto constant parameter with associated int data of this program.
ShaderProgramWriterHLSLFactory()
Definition: OgreShaderHLSLProgramWriter.h:78
Command object for setting the caption.
Definition: OgreTextAreaOverlayElement.h:169
virtual void _updateAllRenderTargets(bool swapBuffers=true)
Internal method for updating all render targets attached to this rendering system.
This is the main class for the compiler.
Definition: OgreScriptCompiler.h:187
std::vector< LayerInstance > LayerInstanceList
Definition: OgreTerrain.h:308
RingEmitter(ParticleSystem *psys)
int type
Definition: OgreInput.h:80
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
uint getUpdateDisplayFrequency() const
Gets the frequency that the Profiler display is updated.
LodOutsideMarker(LodData::VertexList &vertexList, Real boundingSphereRadius, Real walkAngle)
@ VECTOR2
Definition: OgreAnimable.h:79
static SceneLoaderManager & getSingleton(void)
Get the singleton instance.
unsigned long ulong
Definition: OgrePrerequisites.h:69
MapIterator(typename T::iterator start, typename T::iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:326
AllocatedObject SceneObjAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:101
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED_ARRAY
Array of light diffuse colours scaled by light power (count set by extra param)
Definition: OgreGpuProgramParams.h:879
void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
bool isLoadingBarVisible()
Definition: OgreTrays.h:935
void _update(void)
Internal method to update the element based on transforms applied.
void toggle(bool notifyListener=true)
void getViewport(int *array)
Definition: OgreGLStateCacheManagerCommon.h:99
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreGLSLShaderCommon.h:88
virtual OverlayElement * getChild(const String &name)
Gets the named child of this container.
bool operator<(const Degree &d) const
Definition: OgreMath.h:141
Encapsulates a node in a BSP tree.
Definition: OgreBspNode.h:59
WorkQueue * getWorkQueue() const
Get the WorkQueue for processing background tasks.
Definition: OgreRoot.h:932
virtual const String & getRenderQueueInvocationSequenceName(void) const
Gets the name of the render queue invocation sequence for this target.
const String & getMovableType(void) const
Returns the type name of this object.
ConstAnimationStateIterator getAnimationStateIterator(void) const
Get an iterator over all the animation states in this set.
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
bool scalingShearingSupport
Definition: OgreShaderExHardwareSkinning.h:70
void setMaximumY(Real y)
Definition: OgreAxisAlignedBox.h:206
@ SPC_POSTOLIGHT_TANGENT_SPACE7
Definition: OgreShaderParameter.h:167
OctreeSceneManager(const String &name)
Standard Constructor.
const Vector3 & getDirection(void) const
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
std::map< String, OverlayElement * > ChildMap
Definition: OgreOverlayContainer.h:59
DistanceLodStrategyBase(const String &name)
Default constructor.
Real getCosTime_0_2Pi(Real x) const
static RenderSystemCapabilitiesManager * getSingletonPtr(void)
Get the singleton instance.
virtual SceneNode * createSceneNode(void)
Creates a PCZSceneNode
static Radian Sign(const Radian &rValue)
Definition: OgreMath.h:377
uint32 getWidth() const
Gets the width of this buffer.
Definition: OgreHardwarePixelBuffer.h:176
const GpuSharedParamUsageList & getSharedParameters() const
Get the list of shared parameter sets.
Real getTimeFactor(void) const
Return relative speed of time as perceived by time based controllers.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
virtual void destroyInstance(SubRenderState *subRenderState)
Destroy the given instance.
void setSkyBoxEnabled(bool enable)
Enables / disables a 'sky box'.
Definition: OgreSceneManager.h:2030
MemoryCategory
A set of categories that indicate the purpose of a chunk of memory being allocated.
Definition: OgreMemoryAllocatorConfig.h:53
Builds the difference between two sources.
Definition: OgreVolumeCSGSource.h:279
bool isDeferredProcessInProgress() const
If true, it's not safe to access this Page at this time, contents may be changing.
Definition: OgrePage.h:110
bool restoreConfig(void)
Checks for saved video/sound/etc settings.
Real getFrameDelay(void) const
OctreeAxisAlignedBoxSceneQuery(SceneManager *creator)
~D3D9HardwareBufferManager()
Definition: OgreSTBICodec.h:76
@ SBF_SOURCE_ALPHA
The texel alpha value.
Definition: OgreBlendMode.h:238
void _notifyIndexBufferDestroyed(HardwareIndexBuffer *buf)
Notification that a hardware index buffer has been destroyed.
virtual ~InstancedEntity()
void lock(const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:433
void setTimeFactor(Real tf)
Class representing the state of a single texture unit during a Pass of a Technique,...
Definition: OgreTextureUnitState.h:241
void setMinimum(Real x, Real y, Real z)
Definition: OgreAxisAlignedBox.h:156
void setTime(Real timeVal)
Set the time value manually.
uint32 ABGR
Definition: OgreColourValue.h:43
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
@ SPC_LIGHTDIRECTION_VIEW_SPACE7
Definition: OgreShaderParameter.h:197
virtual Real getLoadRadius() const
Get the loading radius.
Definition: OgreGrid3DPageStrategy.h:142
void setTextureType(TextureType ttype)
Sets the type of texture; can only be changed before load()
Definition: OgreTexture.h:141
virtual ~ScriptLoader()
Definition: OgreScriptLoader.h:62
size_t getSize(void) const
Retrieves info about the size of the resource.
Default implementation of IntersectionSceneQuery.
Definition: OgreSceneManager.h:3474
virtual bool getOption(const String &, void *)
Gets the given option for the Scene Manager.
int _OgreExport findCommandLineOpts(int numargs, char **argv, UnaryOptionList &unaryOptList, BinaryOptionList &binOptList)
Locate command-line options of the unary form '-blah' and of the binary form '-blah foo',...
Virtual interface of the stereo driver.
Definition: OgreD3D9StereoDriverAMD.h:46
Definition: OgreSceneManager.h:232
void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
int getTargetLodLevel() const
Definition: OgreTerrain.h:1861
Collection of renderables by priority.
Definition: OgreRenderQueueSortingGrouping.h:311
virtual void save()
Save page data to an automatically generated file name.
void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
void refreshAvailableAnimationState(void)
Updates the internal animation state set to include the latest available animations from the attached...
Specialized SceneNode that is customized for working within an Octree.
Definition: OgreOctreeNode.h:60
static void setDefaultVisibilityFlags(uint32 flags)
Set the default visibility flags for all future MovableObject instances.
Definition: OgreMovableObject.h:446
static bool isSampler(GpuConstantType c)
Definition: OgreGpuProgramParams.h:181
virtual ~CPreprocessor()
Destroy the preprocessor object.
Definition: OgreGLRenderSystemCommon.h:42
@ TU_AUTOMIPMAP
Mipmaps will be automatically generated for this texture.
Definition: OgreTexture.h:63
virtual void write(const Vector3 *vec, size_t count=1)
void setShininess(Real val)
Sets the shininess of the pass, affecting the size of specular highlights.
void injectMovableObject(MovableObject *m)
Inject a MovableObject instance created externally.
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
bool isResourceGroupInGlobalPool(const String &name) const
Checks the status of a resource group.
const ShaderParameterList & getInputParameters() const
Return a list of input parameters.
Definition: OgreShaderFunction.h:217
void setSplitPassesByLightingType(bool split)
Sets whether or not the queue will split passes by their lighting type, ie ambient,...
Definition: OgreRenderQueueSortingGrouping.h:416
virtual void setStyle(CameraStyle style)
Sets the movement style of our camera man.
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
Definition: src/GLSL/include/OgreGLSLProgram.h:55
const ShaderProfiles & getSupportedShaderProfiles() const
Returns a set of all supported shader profiles.
Definition: OgreRenderSystemCapabilities.h:576
@ VET_SHORT2_NORM
unsigned bytes (normalized to 0..1)
Definition: OgreHardwareVertexBuffer.h:157
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:247
static ShadowCameraSetupPtr create()
Definition: OgreShadowCameraSetup.h:90
virtual void destroyLight(Light *light)
Removes the light from the scene and destroys it based on a pointer.
void queueEndRendering(bool state=true)
Queues the end of rendering.
virtual String writeContentsToTimestampedFile(const String &filenamePrefix, const String &filenameSuffix)
Writes the current contents of the render target to the (PREFIX)(time-stamp)(SUFFIX) file.
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in the latest format.
virtual SceneNode * createSceneNodeImpl(const String &name)
Creates a specialized OctreeNode.
void mul(const In &arg0, const In &arg1, const Out &dst) const
dst = arg0 * arg1;
Definition: OgreShaderFunction.h:79
TextureAddressingMode
Texture addressing modes - default is TAM_WRAP.
Definition: OgreCommon.h:120
Image & flipAroundY()
Flips (mirrors) the image around the Y-axis.
void _endFrame(void)
Ends rendering of a frame to the current viewport.
void _findNodes(const Ray &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
virtual void setSource(Source *a)
Sets the source.
This is a abstract class that that provides the interface for the query class for hardware occlusion.
Definition: OgreHardwareOcclusionQuery.h:52
@ M_ANIMATION_POSE_REF
Definition: OgreMeshFileFormat.h:202
void removeListener(ProfileSessionListener *listener)
static uint16 uint16Cast(size_t t)
saturated cast of size_t to uint16
Definition: OgreMath.h:391
String filename
Filename, if this is to be loaded from a file.
Definition: OgreTerrainGroup.h:320
void setTextureAnisotropy(unsigned int maxAniso)
Sets the anisotropy level to be used for all textures.
void addPCZSceneNode(PCZSceneNode *sn, PCZone *zone)
add a PCZSceneNode to the scene by putting it in a zone NOTE: This zone will be the scene node's home...
void setCommonUpVector(const Vector3 &vec)
Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF.
void copyMatchingState(AnimationStateSet *target) const
Copy the state of any matching animation states from this to another.
Real maxDistanceInFrustum
The farthest object in the frustum regardless of visibility / shadow caster flags.
Definition: OgreSceneManager.h:113
@ SPC_LIGHTDIRECTION_TANGENT_SPACE1
Definition: OgreShaderParameter.h:201
void setActiveRenderTargetDevice(D3D9Device *device)
void getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
VertexList mVertexList
Definition: OgreLodData.h:152
Definition: OgreLodCollapseCost.h:44
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a hardware uniform buffer.
@ BF_ALPHA_PREMUL
Definition: OgreHlmsPbsMaterial.h:52
bool isUsingSharedParameters(const String &sharedParamsName) const
Returns whether this parameter set is using the named shared parameter set.
Real minDistance
The closest a visible object is to the camera.
Definition: OgreSceneManager.h:107
@ FILTER_LINEAR
Definition: OgreImage.h:396
General purpose class used for encapsulating the reading and writing of data.
Definition: OgreDataStream.h:179
virtual void setMaterialName(size_t subIndex, const String &name, const String &group=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Alter the material for a subsection of this object after it has been specified.
Specialisation of HardwareBuffer for a vertex buffer.
Definition: OgreHardwareVertexBuffer.h:49
void getWorldTransforms(Matrix4 *xform) const
See Renderable.
@ ID_IDENTIFIER
Definition: OgreScriptCompiler.h:820
Entity * createEntity(const String &meshName)
Create an Entity (instance of a discrete mesh) with an autogenerated name.
const String & getName(void) const
Definition: OgrePCZone.h:98
void setAutoTracking(bool enabled, SceneNode *const target=0, const Vector3 &offset=Vector3::ZERO)
Enables / disables automatic tracking of a SceneNode.
bool isHardwareGammaEnabled() const
Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
void detachRenderWindow(D3D9RenderWindow *renderWindow)
virtual Terrain::Alignment getAlignment() const
Retrieve the alignment of the grid of terrain (cannot be modified after construction).
Definition: OgreTerrainGroup.h:121
TextureScope
Definition: OgreCompositionTechnique.h:52
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
Lighting sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPLighting.h:52
void setVertex(const Vector3 &vdata, size_t vertexIndex)
Sets a specific vertex of a polygon.
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
~PCZIntersectionSceneQuery()
Factory class for GLSL ES programs.
Definition: OgreGLSLESCgProgramFactory.h:40
Real getPixelDisplayRatio() const
Returns an estimated ratio between a pixel and the display area it represents.
Definition: OgreCamera.h:651
virtual void _notifyBeforeIlluminationPassesCleared(Technique *mat)
Internal method for sorting out illumination passes for a scheme.
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
virtual void setValue(const Vector3 &)
Set value.
Definition: OgreAnimable.h:159
@ ID_LIGHT_CLIP_PLANES
Definition: OgreScriptCompiler.h:654
bool isShadowTechniqueAdditive(void) const
Is there an additive shadowing technique in use?
Definition: OgreSceneManager.h:3007
GPUDeviceNameRule()
Definition: OgreTechnique.h:138
std::list< SceneQuery::WorldFragment * > SceneQueryResultWorldFragmentList
Definition: OgreSceneQuery.h:201
@ ACT_VIEWPROJ_MATRIX
The current view & projection matrices concatenated.
Definition: OgreGpuProgramParams.h:737
Real calculate(Real source)
static Vector4 calculateFaceNormalWithoutNormalize(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal without normalize, including the w component which is the offset from the ori...
Definition: OgreVector.h:901
@ ID_ONE
Definition: OgreScriptCompiler.h:622
unsigned long getVersion() const
Get the version number of this shared parameter set, can be used to identify when changes have occurr...
Definition: OgreGpuProgramParams.h:482
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
void extractAllMovableObjectsByType(const String &typeName)
Extract all injected MovableObjects of a given type.
virtual void generateLodLevels(LodConfig &lodConfig, LodCollapseCostPtr cost=LodCollapseCostPtr(), LodDataPtr data=LodDataPtr(), LodInputProviderPtr input=LodInputProviderPtr(), LodOutputProviderPtr output=LodOutputProviderPtr(), LodCollapserPtr collapser=LodCollapserPtr())
Generates the Lod levels for a mesh.
void prepare(size_t originalSize)
Definition: OgreLod0Stripifier.h:67
const String & getTarget(void) const
Gets the shader target to compile down to, e.g.
Definition: OgreD3D11HLSLProgram.h:294
int TrackVertexColourType
An enumeration describing which material properties should track the vertex colours.
Definition: OgreCommon.h:300
NodeAnimationTrack * createNodeTrack(unsigned short handle, Node *node)
Creates a new AnimationTrack automatically associated with a Node.
@ G2D_X_Y
Grid is in the X/Y plane.
Definition: OgreGrid2DPageStrategy.h:52
void doSet(void *target, const String &val)
virtual ~D3D9StereoDriverNVIDIA()
static ParameterPtr createOutTexcoord(GpuConstantType type, int index, Parameter::Content content)
virtual void addListener(Listener *lis)
Register a listener on this resource.
virtual const String & getName(void) const
Gets resource name.
Definition: OgreResource.h:304
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
Definition: OgreSharedPtr.h:40
@ GCT_SAMPLER_EXTERNAL_OES
Definition: OgreGpuProgramParams.h:81
uchar * getCurrentPtr(void)
Get a pointer to the current position in the memory block this stream holds.
Definition: OgreDataStream.h:434
void setPassIterationCount(const size_t count)
set the number of iterations that this pass should perform when doing fast multi pass operation.
Definition: OgrePass.h:1482
Real maxTimePercent
The maximum percentage of frame time this profile has taken.
Definition: OgreProfiler.h:119
void removeEmitter(unsigned short index)
Removes an emitter from the system.
LodConfig(MeshPtr &_mesh, LodStrategy *_strategy=DistanceLodBoxStrategy::getSingletonPtr())
Info about Lod levels.
static String parse(String &inBuffer, PropertyMap &properties, const StringVector &pieceFiles)
A viewpoint from which the scene will be rendered.
Definition: OgreCamera.h:75
virtual void load()=0
Load - will be called in main thread.
static void _initialisePool()
Initialise the internal polygon pool used to minimise allocations.
Provides methods to find out where the Ogre config files are stored and where logs and settings files...
Definition: OgreFileSystemLayer.h:47
virtual void windowFocusChange(Ogre::RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:106
OGRE_AUTO_MUTEX
Definition: OgreResourceGroupManager.h:251
void setGlobalInstanceVertexBufferVertexDeclaration(VertexDeclaration *val)
Sets vertex declaration for the global vertex buffer for the global instancing.
Texture surface.
Definition: OgreGLES2HardwarePixelBuffer.h:54
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
StateCacheManager * createOrRetrieveStateCacheManager()
Get the state cache manager, creating it on demand.
Definition: OgreGLContext.h:77
VertexOffsetIterator getVertexOffsetIterator(void)
bool isVisible(const PortalBase *portal) const
size_t getEmittedEmitterQuota(void) const
Returns the maximum number of emitted emitters this system is allowed to have active at once.
Factory for default scene manager.
Definition: OgreSceneManagerEnumerator.h:47
void setDiffuse(const ColourValue &diffuse)
This is an overloaded member function, provided for convenience. It differs from the above function o...
RenderWindowDescription getRenderWindowDescription() const
get a RenderWindowDescription from the current ConfigOptionMap
Utility class for controlling the camera in samples.
Definition: OgreCameraMan.h:57
static StringVector parseStringVector(const String &val)
Definition: OgreStringConverter.h:323
~PixelBox()
Definition: OgrePixelFormat.h:345
@ HBL_NO_OVERWRITE
As HBL_DISCARD, except the application guarantees not to overwrite any region of the buffer which has...
Definition: OgreHardwareBuffer.h:167
shared_ptr< UniformParameter > UniformParameterPtr
Definition: OgreShaderPrerequisites.h:76
virtual ~QueuedRenderableVisitor()
Definition: OgreRenderQueueSortingGrouping.h:74
bool isNull(void) const
Returns true if the box is null i.e.
Definition: OgreAxisAlignedBox.h:500
uint getCustomAttribute(const String &name)
simplified API for bindings
Definition: OgreTexture.h:432
unsigned short getMaxSimultaneousLights(void) const
Gets the maximum number of lights to be used by this pass.
virtual void adjustTrays()
Fits trays to their contents and snaps them to their anchor locations.
bool hasCamera(const String &name) const
Returns whether a camera with the given name exists.
@ M_HEADER
Definition: OgreMeshFileFormat.h:59
void _notifyAutotrackingSceneNode(SceneNode *node, bool autoTrack)
Internal method for notifying the manager that a SceneNode is autotracking.
VertexData * vertexData
Vertex source data.
Definition: OgreRenderOperation.h:108
Class to provide access to common mathematical functions.
Definition: OgreMath.h:204
bool getReceiveDynamicShadowsEnabled() const
Whether to support dynamic texture shadows received from other objects, on the terrain (default true)...
Definition: OgreTerrainMaterialGeneratorA.h:124
bool getPortalsUpdated(void)
Definition: OgrePCZone.h:244
@ ID_INVERT
Definition: OgreScriptCompiler.h:844
virtual bool prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
Definition: OgrePageManager.h:69
Command object for randomness (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:57
TexturePtr getByName(const String &name, const String &groupName=RGN_DEFAULT)
Retrieves a pointer to a resource by name, or null if the resource does not exist.
@ ID_VISIBILITY_MASK
Definition: OgreScriptCompiler.h:811
ResourcePool(const String &name)
Definition: OgreLodData.h:53
const HardwareVertexBufferSharedPtr & getVertexBuffer(void) const
Gets the vertex buffer containing positions for this keyframe.
void setName(const String &name)
Set the name of the technique.
void increaseLodLevel(bool synchronous=false)
Increase Terrain's LOD level by 1.
SampleTextureAtom(const In &sampler, const In &texcoord, const Out &dst, int groupOrder)
static Real Log2(Real fValue)
Definition: OgreMath.h:362
void _collectIdentityNodeTracks(TrackHandleList &tracks) const
Internal method for collecting identity node tracks.
void setTextureScale(Real uScale, Real vScale)
Sets the scaling factor applied to texture coordinates.
bool isSkyDomeEnabled(void) const
Return whether a skydome is enabled.
Definition: OgreSceneManager.h:2118
Command object for material (see ParamCommand).
Definition: OgreParticleSystem.h:85
Technique * getTechnique(unsigned short index) const
Gets the indexed technique.
bool getTreatLuminanceAsAlpha(void) const
Gets whether luminace pixel format will treated as alpha format when load this texture.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
ZoneIterator getZoneIterator(void)
Definition: OgrePCZSceneManager.h:325
Real getShadowDirectionalLightExtrusionDistance(void) const
Gets the distance a shadow volume is extruded for a directional light.
unsigned short _getEmissionCount(Real timeElapsed)
See ParticleEmitter.
Real getPointMaxSize(void) const
Get the maximum point size, when point attenuation is in use.
Definition: OgreGLCopyingRenderTexture.h:40
virtual void set(T val)
Set the property value.
Definition: OgreProperty.h:239
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
virtual void tangent(const Vector3 &tan)
Add a vertex tangent to the current vertex.
std::vector< PlaneBoundedVolume > PlaneBoundedVolumeList
Definition: OgrePlaneBoundedVolume.h:128
@ FFP_PS_FOG
Definition: OgreShaderFFPRenderState.h:62
IDirect3DSurface9 * getRenderSurface()
Accessor for render surface.
bsp_header_t * mHeader
Definition: OgreQuake3Level.h:119
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreD3D11RenderWindow.h:131
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreBorderPanelOverlayElement.h:335
@ RENDER_QUEUE_2
Definition: OgreRenderQueue.h:60
const String & getName() const
Returns the name of the rendering system.
Singleton wrapper for hardware buffer manager.
Definition: OgreHardwareBufferManager.h:421
void setAlphaToCoverageEnabled(bool enabled)
Sets whether to use alpha to coverage (A2C) when blending alpha rejected values.
virtual ManualObjectSection * end(void)
Finish defining the object and compile the final renderable version.
void setTargetLanguage(const String &shaderLanguage)
Set the target shader language.
String currentValue
Definition: OgreConfigOptionMap.h:52
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
void notifyNeighbours()
Tell this instance to notify all neighbours that will be affected by a height change that has taken p...
ShadowCaster::ShadowRenderableList & getShadowRenderableList()
Definition: OgreStaticGeometry.h:377
bool isDebugDisplayEnabled(void) const
Gets whether debug display of this object is enabled.
Definition: OgreMovableObject.h:574
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
BillboardChain(const String &name, size_t maxElements=20, size_t numberOfChains=1, bool useTextureCoords=true, bool useColours=true, bool dynamic=true)
Constructor (don't use directly, use factory)
Pass * getParent(void) const
Gets the parent Pass object.
Definition: OgreTextureUnitState.h:1039
virtual SceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
virtual ~ZipArchiveFactory()
Definition: OgreZip.h:58
void setShadowTextureSelfShadow(bool selfShadow)
Sets whether or not texture shadows should attempt to self-shadow.
SharedPtr< MemoryDataStream > MemoryDataStreamPtr
Definition: OgrePrerequisites.h:296
void removeSpecialCaseRenderQueue(uint8 qid)
Removes an item to the 'special case' render queue list.
void setLayerNames(const std::vector< String > &names)
Set image names to be loaded as layers (3d & texture array) or cubemap faces.
Definition: OgreTexture.h:451
void setQueuedRenderableVisitor(SceneMgrQueuedRenderableVisitor *visitor)
Advanced method for supplying an alternative visitor, used for parsing the render queues and sending ...
static void _destroyPool()
Tear down the internal polygon pool used to minimise allocations.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreTechnique.h:700
uint32 getHeight()
Definition: OgreGLPBuffer.h:48
size_t level
The current LOD level.
Definition: OgreVolumeChunkHandler.h:62
virtual void viewportCameraChanged(Viewport *viewport)
Notification of when a new camera is set to target listening Viewport.
~Program()
Class destructor.
_OgreExport const char *const RGN_AUTODETECT
Special resource group name which causes resource group to be automatically determined based on searc...
String toString() const
Definition: OgreRenderSystemCapabilities.h:234
virtual void setKeepParticlesInLocalSpace(bool keepLocal)=0
Setting carried over from ParticleSystem.
void closeDialog()
Hides whatever dialog is currently showing.
RenderTexture(HardwarePixelBuffer *buffer, uint32 zoffset)
void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
Sets the current colour mask.
bool isRenderQueueGroupSet(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
Definition: OgreSubEntity.h:186
bool getLightScissoringEnabled() const
Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are...
Definition: OgrePass.h:1515
void _notifyAnimationStateEnabled(AnimationState *target, bool enabled)
Internal method respond to enable/disable an animation state.
@ ERR_NOT_IMPLEMENTED
Definition: OgreException.h:119
void setCubicTextureName(const String &name, bool forUVW=false)
Definition: OgreTextureUnitState.h:376
@ ID_MAX
Definition: OgreScriptCompiler.h:636
void add3D(SceneNode *node)
Adds a node capable of holding 3D objects to the overlay.
virtual ProgramWriter * create(void) OGRE_NODISCARD=0
Create writer instance.
void clip(const Plane &pl, bool keepNegative=true)
Clips the object by the positive half space of a plane.
@ ID_SAWTOOTH
Definition: OgreScriptCompiler.h:773
void setDefaultGlobalColourMapSize(uint16 sz)
Set the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2039
Real normalise(void)
Normalises the plane.
Definition: OgrePlane.h:216
static const Quaternion ZERO
Definition: OgreQuaternion.h:341
Command object for setting entry point.
Definition: OgreCgProgram.h:56
void _writeRawConstant(size_t physicalIndex, const TransformBaseReal *m, size_t numEntries)
Write a list of Matrix4 parameters to the program.
SharedPtr< HardwarePixelBuffer > HardwarePixelBufferSharedPtr
Definition: OgrePrerequisites.h:290
const ColourValue getLightSpecularColourWithPower(size_t index) const
Real noise(Real xIn, Real yIn, Real zIn) const
3D noise function.
@ ID_SHADOW_RECEIVER_MATERIAL
Definition: OgreScriptCompiler.h:591
void _cleanupDepthBuffers(bool bCleanManualBuffers=true)
Removes all depth buffers.
static eD3DTexType get(TextureType ogreTexType)
return the D3DtexType equivalent of a Ogre tex. type
uint64_t getMicrosecondsCPU()
Returns microseconds since initialisation or last reset, only CPU time measured.
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
void setLodLevels(const LodValueList &lodValues)
Sets the distance at which level-of-detail (LOD) levels come into effect.
void setShadowCasterVertexProgramParameters(GpuProgramParametersSharedPtr params)
size_t getSize() const
Returns the size of the data buffer.
AutoConstantEntry(AutoConstantType theType, size_t theIndex, Real theData, uint16 theVariability, size_t theElemCount=4)
Definition: OgreGpuProgramParams.h:1289
CompositorChain(Viewport *vp)
bool ToEulerAnglesYXZ(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
void replaceLayer(uint8 index, bool keepBlends, Real worldSize=0, const StringVector *textureNames=0)
Replace an existing terrain layer, optionally preserving all other layer blend maps.
void baseVertexPointerToElement(void *pBase, float **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:272
bool resourceExists(const String &group, const String &filename) const
Find out if the named file exists in a group.
@ GCT_UINT1
Definition: OgreGpuProgramParams.h:109
const String & getMovableType(void) const
Overridden from MovableObject.
SceneBlendFactor blendSrc
Definition: OgreQuake3Shader.h:80
@ PF_ASTC_RGBA_8X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x8)
Definition: OgrePixelFormat.h:258
A factory class for creating types of world section.
Definition: OgrePagedWorldSection.h:302
void _endFrame()
Ends rendering of a frame to the current viewport.
CreateGpuProgramScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup, const String &source, const String &syntax, GpuProgramType programType)
Definition: OgreScriptCompiler.h:519
virtual ~RenderTargetListener()
Definition: OgreRenderTargetListener.h:88
void autoUpdateLod(long x, long y, bool synchronous, const Any &data)
Automatically checks if terrain's LOD level needs to be updated.
GLSLESProgramProcessor()
Class constructor.
SharedPtr< GpuProgramParameters > GpuProgramParametersPtr
Definition: OgrePrerequisites.h:286
void _copyContentsToMemory(Viewport *vp, const Box &src, const PixelBox &dst, RenderWindow::FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
void setTarget(const String &target)
Sets the shader target to compile down to, e.g.
const_iterator begin() const
Definition: OgreSmallVector.h:161
void removeWidgetFromTray(TrayLocation trayLoc, const Ogre::String &name)
Definition: OgreTrays.h:1052
virtual void clear(void)
Completely clear the contents of the object.
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLES2FBORenderTexture.h:58
int getHighestLodLoaded()
Definition: OgreTerrainLodManager.h:121
void setCompositeMapAmbient(const ColourValue &c)
Set the composite map ambient light to use.
Definition: OgreTerrain.h:1923
@ ACT_SINTIME_0_1
Sine of "Time0_1". Equivalent to RenderMonkey's "SinTime0_1".
Definition: OgreGpuProgramParams.h:1036
uint16 currentLoadedLod
Definition: OgreTerrainLodManager.h:71
bool createShaderBasedTechnique(const Technique *srcTech, const String &dstTechniqueSchemeName, bool overProgrammable=false)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ ID_SHARED_PARAMS
Definition: OgreScriptCompiler.h:783
void setUserData(void *userData)
Definition: OgrePCZone.h:247
Radian operator/(Real a, const Radian &b)
Definition: OgreMath.h:796
Lightweight struct to represent a mesh vertex.
Definition: OgreVolumeMeshBuilder.h:48
reverse_iterator rend()
Definition: OgreSmallVector.h:172
Real mExtent
Definition: OgreSegment.h:77
@ BOTH_SIDE
Definition: OgrePlane.h:100
void destroyInstance(ParticleSystemRenderer *ptr)
Destroys an object which was created by this factory.
bool isVertexCompressionSupported()
Definition: OgreTerrainMaterialShaderHelpers.h:45
static const uint16 WORKQUEUE_CHANGECOLLECTION_REQUEST
Definition: OgrePage.h:192
SceneBlendOperation getSceneBlendingOperation() const
Returns the current blending operation.
ID3D11Buffer * getConstantBuffer(GpuProgramParametersSharedPtr params, uint16 variabilityMask)
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGL3PlusFBORenderTexture.h:57
PCZPlaneBoundedVolumeListSceneQuery(SceneManager *creator)
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
Vector3 getRealRight(void) const
Gets the real world right vector of the camera, including any rotation inherited from a node attachme...
TerrainLayerSamplerSemantic
Enumeration of types of data that can be read from textures that are specific to a given layer.
Definition: OgreTerrainMaterialGenerator.h:56
void setForceApplication(ForceApplication fa)
Sets how the force vector is applied to a particle.
SharedPtr< HardwareIndexBuffer > HardwareIndexBufferSharedPtr
Definition: OgrePrerequisites.h:289
virtual Grid2DPageStrategy * getGridStrategy() const
Convenience method - this section always uses a grid strategy.
const String & getResourceGroup() const
Get the resource group in which files will be located.
Definition: OgreTerrainGroup.h:166
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGLES2PixelFormat.h:40
unsigned short getNumLodLevels(unsigned short schemeIndex) const
Gets the number of levels-of-detail this material has in the given scheme, based on Technique::setLod...
virtual void setAutoUpdated(bool autoupdate)
Sets whether this target should be automatically updated if Ogre's rendering loop or Root::_updateAll...
float lightmap[2]
Definition: OgreQuake3Types.h:211
virtual PagedWorld * getWorld() const
Get the parent world.
Definition: OgrePagedWorldSection.h:133
This class is used to provide an external random value provider.
Definition: OgreMath.h:221
GLES2FrameBufferObject(GLES2FBOManager *manager, uint fsaa)
Definition: OgreGL3PlusTextureManager.h:43
void _notifyObjectMoved(const MovableObject *mov, const Vector3 &pos)
Ensures that the MovableObject is attached to the right leaves of the BSP tree.
void loadRawData(DataStreamPtr &stream, ushort uWidth, ushort uHeight, PixelFormat eFormat)
Loads the data from a raw stream.
bool getLoop(void) const
Gets whether or not this animation loops
Definition: OgreAnimationState.h:120
bool hasShaderBasedTechnique(const String &materialName, const String &groupName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName) const
Checks if a shader based technique has been created for a given technique.
Quaternion interpolate(unsigned int fromIndex, Real t, bool useShortestPath=true)
Interpolates a single segment of the spline given a parametric value.
MaterialSerializer()
default constructor
std::vector< ProfiledEdge > LodProfile
Definition: OgreLodConfig.h:50
T value_type
Definition: OgreSmallVector.h:147
bool hasRibbonTrail(const String &name) const
Returns whether a ribbon trail with the given name exists.
Real crossProduct(const VectorBase &rkVector) const
Calculates the 2 dimensional cross-product of 2 vectors, which results in a single floating point val...
Definition: OgreVector.h:84
VertexData * vertexData
Dedicated vertex data (only valid if useSharedVertices = false).
Definition: OgreSubMesh.h:84
@ ACT_TANTIME_0_X
Tangent of "Time0_X". Equivalent to RenderMonkey's "TanTime0_X".
Definition: OgreGpuProgramParams.h:1023
void setMaterialScheme(const String &schemeName)
Set the material scheme used by this pass.
virtual ~AxisAlignedBoxSceneQuery()
bool operator()(const IdObject *left, const IdObject *right)
Definition: OgreId.h:76
virtual Real getKeyFramesAtTime(const TimeIndex &timeIndex, KeyFrame **keyFrame1, KeyFrame **keyFrame2, unsigned short *firstKeyIndex=0) const
Gets the 2 KeyFrame objects which are active at the time given, and the blend value between them.
Internal shared values of the chunks which are equal in the whole tree.
Definition: OgreVolumeChunk.h:112
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled for every Pass.
static const char * getGL3CompatDefines()
std::list< T >::const_iterator const_iterator
Definition: OgrePrerequisites.h:353
bool useOneWeight() const
Definition: OgreInstanceBatchVTF.h:195
virtual ~ScriptCompilerEvent()
Definition: OgreScriptCompiler.h:350
Listener()
Definition: OgreSceneManager.h:242
void execute(SceneQueryListener *listener)
See SceneQuery.
static const String & DEFAULT_RESOURCE_GROUP
Definition: OgreOverlayElement.h:106
void endSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:310
virtual bool canGenerateUsingDeclaration(const TerrainLayerDeclaration &decl)
Whether this generator can generate a material for a given declaration.
Definition: OgreTerrainMaterialGenerator.h:270
Real alphaArg2
Manual alpha value for manual source2.
Definition: OgreBlendMode.h:158
static void bulkPixelConversion(const PixelBox &src, const PixelBox &dst)
Convert pixels from one format to another.
GpuConstantDefinition()
Definition: OgreGpuProgramParams.h:298
void setBlueAdjust(float blue)
Sets the blue adjustment to be made per second to particles.
Ray(const Vector3 &origin, const Vector3 &direction)
Definition: OgreRay.h:52
Technique * getTechnique(const String &name) const
searches for the named technique.
DepthBuffer * getDepthBuffer() const
const Vector3 & getInitialPosition(void) const
Gets the initial position of this node, see setInitialState for more info.
Definition: OgreNode.h:590
A way of recording the way each LODs is recorded this Mesh.
Definition: OgreMesh.h:1009
String doGet(const void *target) const
virtual void initialise()=0
Perform any tasks the plugin needs to perform on full system initialisation.
float * getHeightData(long x, long y) const
Get a pointer to the height data for a given point.
void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this SubEntity will be rendered through.
virtual bool requiresZoneSpecificNodeData(void)=0
Indicates whether or not this zone requires zone-specific data for each scene node.
static const IdString LightsPoint
Definition: OgreHlmsPropertyHelper.h:68
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
PCZoneFactory(const String &typeName)
Struct recording a pass which can be used for a specific illumination stage.
Definition: OgrePass.h:1658
void setInUse(bool used)
Sets whether the entity is in use.
Abstract class that defines a 'codec'.
Definition: OgreCodec.h:55
bool getPassTransformStates(void) const
Returns whether a vertex program wants transform state to be passed through fixed pipeline low level ...
AntiPortal datastructure for occlusion culling.
Definition: OgreAntiPortal.h:40
float bbox[6]
Definition: OgreQuake3Types.h:154
std::vector< Vector3 > VertexList
Definition: OgrePolygon.h:56
bool _isAnimated(void) const
Tests if any animation applied to this entity.
String logObjectInfo(const String &msg, GLuint obj)
If there is a message in GL info log then post it in the Ogre Log.
Vector3 getLightPosition(size_t index) const
Viewport * getCurrentViewport(void) const
Gets the current viewport being rendered (advanced use only, only valid during viewport update.
Definition: OgreSceneManager.h:3414
@ PF_ASTC_RGBA_5X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x5)
Definition: OgrePixelFormat.h:248
void setPosition(Real left, Real top)
Sets the position of the top-left corner of the element, relative to the screen size (1....
IdObject(IdType id)
We don't call generateNewId() here, to prevent objects in the stack (i.e.
Definition: OgreId.h:71
@ MS_MAIN
Definition: OgreHlmsPbsMaterial.h:68
Animation(const String &name, Real length)
You should not use this constructor directly, use the parent object such as Skeleton instead.
void setSpecular(const ColourValue &specular)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setDirection(const Vector3 &direction)
Overloaded to update the trans.
float * getHeightData() const
Get a pointer to all the height data for this terrain.
Thread-safe buffer for storing Hardware vertex buffer.
Definition: OgreLodBuffer.h:54
std::vector< T, AlignedAllocator< T, Alignment > > aligned_vector
Definition: OgrePrerequisites.h:346
TargetPassIterator getTargetPassIterator(void)
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
void sort(const Camera *cam)
Sorts the objects which have been added to the queue; transparent objects by their depth in relation ...
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
Ogre::DisplayString getParamValue(unsigned int index)
std::map< String, PCZoneFactory * > PCZoneFactoryMap
Definition: OgrePCZoneFactory.h:89
virtual StreamSerialiser * readWorldStream(const String &filename)
Get a serialiser set up to read PagedWorld data for the given world filename.
Definition: OgrePageManager.h:99
PixelBox getPixelBox(size_t face=0, size_t mipmap=0) const
Get a PixelBox encapsulating the image data of a mipmap.
SharedPtr< D3D11Texture > D3D11TexturePtr
Definition: OgreD3D11Prerequisites.h:115
Abstract class defining the interface to be implemented by creators of ParticleEmitter subclasses.
Definition: OgreParticleEmitterFactory.h:57
Vector operator-(const Vector &b) const
Definition: OgreVector.h:709
const SmallVectorImpl & operator=(const SmallVectorImpl &RHS)
Definition: OgreSmallVector.h:637
Real getOwnWidth(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:125
static BaseConstantType getBaseType(GpuConstantType ctype)
Definition: OgreGpuProgramParams.h:186
std::vector< RenderWindow * > RenderWindowList
Render window container.
Definition: OgreCommon.h:817
@ ACT_SPOTLIGHT_WORLDVIEWPROJ_MATRIX_ARRAY
An array of the view/projection matrix of a given spotlight projection frustum, combined with the cur...
Definition: OgreGpuProgramParams.h:998
WorkQueue()
Definition: OgreWorkQueue.h:222
const LODBucketList & getLODBuckets() const
Get an list of the LODs in this region.
Definition: OgreStaticGeometry.h:465
ParticleEmitter * getEmitter(unsigned short index) const
Retrieves an emitter by it's index (zero-based).
MovablePlane(const String &name)
std::vector< MeshLodUsage > MeshLodUsageList
Definition: OgreMesh.h:99
CompositionTargetPass * getOutputTargetPass()
Get output (final) target pass.
Vector3 convertDirection(Space inSpace, const Vector3 &inDir, Space outSpace) const
Convert a direction from one space to another with respect to this terrain.
~PCZSceneManagerFactory()
Definition: OgrePCZSceneManager.h:390
ushort poseIndex
The linked pose index.
Definition: OgreKeyFrame.h:203
Real getRandomness(void) const
Gets the randomness to apply to the particles in a system.
MaterialPtr generate(const Terrain *terrain)
Generate / reuse a material for the terrain.
@ TEX_TYPE_1D
1D texture, used in combination with 1D texture coordinates
Definition: OgreTexture.h:96
PagedWorldSection * getSection(const String &name)
Retrieve a section of the world.
void setPointSize(GLfloat size)
@ ID_SHADOW_CASTER_MATERIAL
Definition: OgreScriptCompiler.h:590
MapIterator< Instances > SceneManagerIterator
Definition: OgreSceneManagerEnumerator.h:182
virtual ~ParticleEmitter()
Virtual destructor essential.
const Vector3 getCenter(void) const
Gets the center of this cell.
Definition: OgreVolumeOctreeNode.h:203
std::map< String, MaterialBucket * > MaterialBucketMap
Lookup of Material Buckets in this region.
Definition: OgreStaticGeometry.h:313
virtual void _destroyVao(GLContext *context, uint32 vao)
Destroy VAO immediately or defer if it was created on other context.
Definition: OgreGLRenderSystemCommon.h:153
void setGeometryProgramNumOutputVertices(int numOutputVertices)
Set the number of vertices a single geometry program run can emit.
Definition: OgreRenderSystemCapabilities.h:746
void rotate(const Vector3 &axis, const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an arbitrary axis.
virtual void read(Real *val, size_t count=1)
LiSPSMShadowCameraSetup(Real n=0.1f, bool useSimpleNOpt=true, Degree angle=Radian(0.451f))
static CmdStateChange msStateCmd
Definition: OgreColourFaderAffector2.h:199
String doGet(const void *target) const
void _notifyVisualData(ParticleVisualData *vis)
Internal method for notifying the particle of it's optional visual data.
Definition: OgreParticle.h:141
LodOutputProviderCompressedMesh(MeshPtr mesh)
static DECL_MALLOC void * allocate(size_t size)
Allocate memory with default platform dependent alignment.
HollowEllipsoidEmitter(ParticleSystem *psys)
const Vector3 getCorner2(void) const
Gets the coordinate of corner 2.
Definition: OgreVolumeOctreeNode.h:467
@ CNT_VARIABLE
Definition: OgreScriptCompiler.h:51
void setNumMultiRenderTargets(ushort num)
The number of simultaneous render targets supported.
Definition: OgreRenderSystemCapabilities.h:452
uint16 getMaxBatchSize() const
Get the maximum size in vertices along one side of a batch.
void parseScript(DataStreamPtr &stream)
Parses a RenderSystemCapabilities script file passed as a stream.
Octree * getOctant()
Returns the Octree in which this OctreeNode resides.
Definition: OgreOctreeZone.h:232
float g
Definition: OgreColourValue.h:76
Command object for setting entry point.
Definition: OgreGLSLESCgProgram.h:51
Stream object which targets a log.
Definition: OgreLog.h:197
bool isCustomViewMatrixEnabled(void) const
Returns whether a custom view matrix is in use.
Definition: OgreFrustum.h:394
@ ID_SPECULAR
Definition: OgreScriptCompiler.h:617
This class is used to perform Resource operations in a background thread.
Definition: OgreResourceBackgroundQueue.h:83
Technique * getParent(void) const
Gets the parent Technique.
Definition: OgrePass.h:1141
bool watchForMax(void)
Definition: OgreProfiler.h:158
~OctreeAxisAlignedBoxSceneQuery()
CompositorInstance * getNextInstance(CompositorInstance *curr, bool activeOnly=true)
Get the next instance in this chain to the one specified.
bool isBorderRight(const OctreeNode &root) const
Gets whether this cell is at the right of the given root cell.
Definition: OgreVolumeOctreeNode.h:243
LodOutputBuffer & getBuffer()
void skip(long count)
Skip a defined number of bytes.
unsigned short getNumPoints(void) const
Gets the number of control points in the spline.
const Radian & getRotation(void) const
Definition: OgreParticle.h:133
virtual const String & getMovableType(void) const override
Returns the type name of this object.
@ SPC_POSITION_LIGHT_SPACE4
Definition: OgreShaderParameter.h:100
@ D3D_TEX_TYPE_CUBE
cube texture
Definition: OgreD3D9Mappings.h:50
float getLineWidth() const
Definition: OgrePass.h:401
@ VET_FLOAT2
Definition: OgreHardwareVertexBuffer.h:122
void download()
download data from GPU memory. Must have a writable HardwareBuffer
bool isAutoUpdated() const
Gets whether this viewport is automatically updated if Ogre's rendering loop or RenderTarget::update ...
@ PT_UNSIGNED_SHORT
Definition: OgreStringInterface.h:54
virtual void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)=0
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
void defragmentBatches(bool optimizeCulling)
After creating many entities (which turns in many batches) and then removing entities that are in the...
BoneAssignmentIterator getBoneAssignmentIterator(void)
static const Real HALF_PI
Definition: OgreMath.h:752
static PixelFormat _getPF(DXGI_FORMAT d3dPF)
utility method, convert D3D11 pixel format to Ogre pixel format
bool hasCustomCompositionPass(const String &name)
Check if a compositor pass exists.
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
Real normalise(void)
Normalises this quaternion, and returns the previous length.
Definition: OgreQuaternion.h:213
PCZSceneManager * mPCZSM
Pointer to the pcz scene manager that created this zone.
Definition: OgrePCZone.h:253
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new resource, or retrieve an existing one with the same name if it already exists.
void postExtraThreadsStarted()
Tell the rendersystem to perform any tasks it needs to directly after other threads which might acces...
void removeWidgetFromTray(TrayLocation trayLoc, size_t place)
Definition: OgreTrays.h:1057
Terrain * getNeighbour(NeighbourIndex index) const
Retrieve the terrain's neighbour, or null if not present.
Holds all the data associated with a Binary Space Parition (BSP) based indoor level.
Definition: OgreBspLevel.h:64
SmallVectorTemplateBase(size_t Size)
Definition: OgreSmallVector.h:268
DefaultAxisAlignedBoxSceneQuery(SceneManager *creator)
virtual ConfigOptionMap getConfigOptions()
Add any special config values to the system.
Definition: OgreGLNativeSupport.h:101
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
Vector3 & getPrevPosition(void)
Definition: OgrePCZSceneNode.h:92
void setColourOperation(const LayerBlendOperation op)
Determines how this texture layer is combined with the one below it (or the diffuse colour of the geo...
void _notifyNeedsRecompile(void)
Tells the material that it needs recompilation.
@ CNT_QUOTE
Definition: OgreScriptCompiler.h:55
MovableObject * movableObject
The movable object whose level of detail has changed.
Definition: OgreLodListener.h:47
static UINT _getAccessFlags(TextureUsage usage)
Definition: OgreD3D11Mappings.h:85
virtual void _notifyCurrentCamera(Camera *cam) override
Internal method to notify the object of the camera to be used for the next rendering operation.
virtual void destroyContentCollection(PageContentCollection *coll)
Destroy a PageContentCollection within this page.
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
SceneNode(SceneManager *creator)
Constructor, only to be called by the creator SceneManager.
NumericAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
void setWidgetPadding(Ogre::Real padding)
@ ACT_LIGHT_DIRECTION_VIEW_SPACE
A light direction in view space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:859
Implementation of a dual quaternion, i.e.
Definition: OgreDualQuaternion.h:48
TextureDefinition()
Definition: OgreCompositionTechnique.h:80
int type
Definition: OgreInput.h:58
@ IRS_RENDER_TO_TEXTURE
Render to texture stage, used for texture based shadows.
Definition: OgreSceneManager.h:195
static Radian Abs(const Radian &rValue)
Absolute value function.
Definition: OgreMath.h:284
void setNamedConstant(const String &name, const Vector4 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Real getAnimationDuration(void) const
Get the animated-texture animation duration.
SceneQueryMovableWorldFragmentIntersectionList movables2world
List of movable / world intersections.
Definition: OgreSceneQuery.h:492
ParticleSystem * createTemplate(const String &name, const String &resourceGroup)
Create a new particle system template.
void _writeRawConstant(size_t physicalIndex, const Vector2 &vec)
Write a 2-element floating-point parameter to the program via Vector2.
TimeIndex _getTimeIndex(Real timePos) const
Internal method used to convert time position to time index object.
Real getVolumeSpaceToWorldSpaceFactor(void) const
Overridden from VolumeSource.
Plugin()
Definition: OgrePlugin.h:82
virtual void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
Definition: OgreRenderSystem.h:483
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D9GpuProgram.h:66
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
virtual Node * createChild(const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new Node as a child of this node.
virtual bool getRequestsAccepted() const =0
Returns whether requests are being accepted right now.
LodDataPtr data
Definition: OgreLodWorkQueueRequest.h:45
Vector3i getThreadGroups()
Definition: OgreCompositionPass.h:328
virtual ~TerrainQuadTreeNode()
int numPasses
Definition: OgreQuake3Shader.h:106
void addSoftwareAnimationRequest(bool normalsAlso)
Add a request for software animation.
void removeCompositorChain(const Viewport *vp)
Remove the compositor chain from a viewport if exists.
HardwareUniformBuffer HardwareCounterBuffer
Definition: OgreHardwareUniformBuffer.h:66
LayerBlendSource
List of valid sources of values for blending operations used in TextureUnitState::setColourOperation ...
Definition: OgreBlendMode.h:113
ParticleSystem * getParticleSystem(const String &name) const
Retrieves a pointer to the named ParticleSystem.
ValueType getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition: OgreIteratorWrapper.h:170
static ParameterPtr createOutColor(int index)
const Vector3 & getDerivedDirection() const
Get the direction of the portal in world coordinates.
Definition: OgrePortalBase.h:132
GL3PlusRenderToVertexBuffer()
VSOutputCompactPolicy getVertexShaderOutputsCompactPolicy() const
Get the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:407
void getVectorAlign(Real x, Real y, Real z, Alignment align, Vector3 *outVec) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ PF_R8G8B8
24-bit pixel format, 8 bits for red, green and blue.
Definition: OgrePixelFormat.h:73
Definition: OgreGLES2HardwarePixelBuffer.h:37
void setPolygonModeOverrideable(bool PolygonModeOverrideable)
Sets whether the polygon mode of this entire entity may be overridden by the camera detail settings.
Defines an interface to classes which have one or more AnimableValue instances to expose.
Definition: OgreAnimable.h:234
TerrainPagedWorldSection * createWorldSection(PagedWorld *world, TerrainGroup *terrainGroup, Real loadRadius, Real holdRadius, int32 minX=-10, int32 minY=-10, int32 maxX=10, int32 maxY=10, const String §ionName=BLANKSTRING, uint32 loadingIntervalMs=900)
Create a TerrainPagedWorldSection.
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
void clearResourceGroup(const String &name)
Clears a resource group.
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
PlaneBoundedVolumeListSceneQuery * createPlaneBoundedVolumeQuery(const PlaneBoundedVolumeList &volumes, uint32 mask)
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
void setOriginPlane(const Vector3 &rkNormal, const Vector3 &rkPoint)
Set the origin plane.
void ToRotationMatrix(Matrix3 &kRot) const
static D3D_DRIVER_TYPE parseDriverType(const Ogre::String &value, D3D_DRIVER_TYPE fallback=D3D_DRIVER_TYPE_HARDWARE)
bool _getDepthBufferCheckEnabled(void)
void _notifyParticleRotated(void)
Optional callback notified when particles are rotated.
virtual Real getSquaredRenderingDistance(void) const
Gets the squared distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:682
void setVerbose(bool v)
Sets whether this manager and its resources habitually produce log output.
Definition: OgreResourceManager.h:426
String refCompName
Definition: OgreCompositionTechnique.h:67
@ ID_SCROLL_ANIM
Definition: OgreScriptCompiler.h:761
ColourFaderAffector(ParticleSystem *psys)
Default constructor.
Utility class to handle Window Messages.
Definition: OgreWindowEventUtilities.h:117
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareVertexBuffer.h:66
Vector3 mC4
Definition: OgreVolumeDualGridGenerator.h:54
virtual StreamSerialiser * writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to write Page data for the given PageID, or null if this provider cannot supp...
Definition: OgrePageManager.h:124
TextureType textureType
Definition: OgreHlmsPbsMaterial.h:121
static const uint32 CHUNK_ID
Definition: OgreGrid3DPageStrategy.h:125
const Sphere & getSphere() const
Gets the sphere which is being used for this query.
GLES2StateCacheManager * getStateCacheManager()
uint16 minBatchSize
Minimum batch size (along one edge) in vertices; must be 2^n+1.
Definition: OgreTerrain.h:346
virtual void getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
int32 value
Definition: OgreHlmsPropertyMap.h:51
void _dirtyCompositeMapRect(const Rect &rect)
Mark a region of the terrain composite map as dirty.
Model of OpenGL program object created using the glLinkProgram method of linking.
Definition: OgreGLSLMonolithicProgram.h:50
const Plane & _getDerivedPlane(void) const
Get the derived plane as transformed by its parent node.
@ BBO_BOTTOM_RIGHT
Definition: OgreBillboardSet.h:64
LightList * _getLightList()
Returns a pointer to the current list of lights for this object.
Definition: OgreMovableObject.h:502
virtual void setDefaultHeight(Real height)
See setDefaultDimensions - this sets 1 component individually.
RotationAffector(ParticleSystem *psys)
Default constructor.
virtual void _updateFromParent(void)
Updates this elements transform based on it's parent.
Real getCompositeMapDistance() const
Get the distance at which to start using a composite map if present.
Definition: OgreTerrain.h:1929
@ TEXTINPUT
Definition: OgreInput.h:42
MemoryDataStream(const DataStreamPtr &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a stream which pre-buffers the contents of another stream.
@ ID_PER_N_LIGHTS
Definition: OgreScriptCompiler.h:687
void _setLeft(Real left)
Sets the left of this element in relation to the screen (where 1.0 = screen width)
@ BBO_CENTER_RIGHT
Definition: OgreBillboardSet.h:61
~VertexCacheProfiler()
Definition: OgreVertexIndexData.h:294
@ TU_DEFAULT
Default to automatic mipmap generation static textures.
Definition: OgreTexture.h:76
String doGet(const void *target) const
static void clearDirtyHashList(void)
Static method to reset the list of passes which need their hash values recalculated.
void attachChildShader(const String &name)
Overridden.
virtual void setValue(int)
Set value.
Definition: OgreAnimable.h:147
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
Converts a uniform projection matrix to suitable for this render system.
Holds the results of an intersection scene query (pair values).
Definition: OgreSceneQuery.h:488
Real getPointExtrusionDistance(const Light *l) const
Get the distance to extrude for a point/spot light.
virtual bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
Definition: OgreGpuProgram.h:311
@ ID_SEPARATE_SCENE_BLEND
Definition: OgreScriptCompiler.h:632
Definition: OgreGLDepthBuffer.h:37
@ SPC_POSTOCAMERA_OBJECT_SPACE
View vector in object space.
Definition: OgreShaderParameter.h:118
static GpuConstantType getGpuConstantType(int mask)
Return the gpu constant type of the given mask.
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
void _populateLightList(const Vector3 &position, Real radius, LightList &destList, uint32 lightMask=0xFFFFFFFF)
Populate a light list with an ordered set of the lights which are closest to the position specified.
MapIterator< PriorityMap > PriorityMapIterator
Definition: OgreRenderQueueSortingGrouping.h:456
void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
ID3D11DeviceContextN * GetImmediateContext()
Definition: OgreD3D11Device.h:62
void convertWorldPositionToTerrainSlot(const Vector3 &pos, long *x, long *y) const
Convert a world position to terrain slot coordinates.
static Real RadiansToDegrees(Real radians)
Definition: OgreMath.h:512
Chunk * origin
The chunk which created this request.
Definition: OgreVolumeChunkHandler.h:77
virtual uint32 getWidth() const
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
InstanceBatch forms part of the new Instancing system This is an abstract class that must be derived ...
Definition: OgreInstanceBatch.h:89
virtual void initialise(void)
Initialise.
@ LB_BlendSoftLight
Definition: OgreShaderExLayeredBlending.h:63
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
PixelFormat format
The format required of this texture.
Definition: OgreTerrainMaterialGenerator.h:107
Specialized frustum shaped culling volume that has culling planes created from portals.
Definition: OgrePCZFrustum.h:70
std::map< String, ParticleSystemRendererFactory * > ParticleSystemRendererFactoryMap
Definition: OgreParticleSystemManager.h:81
void calculateCell(PageID inPageID, int32 *x, int32 *y)
void setLightCountAutoUpdate(bool autoUpdate)
Set the light count auto update state.
Definition: OgreShaderRenderState.h:103
Real valueDegrees() const
Definition: OgreMath.h:761
Implements the plane optimal shadow camera algorithm.
Definition: OgreShadowCameraSetupPlaneOptimal.h:63
@ TL_BOTTOM
Definition: OgreTrays.h:63
TransformSpace
Enumeration denoting the spaces which a transform can be relative to.
Definition: OgreNode.h:62
@ GCT_UINT3
Definition: OgreGpuProgramParams.h:111
void beginBillboards(size_t numBillboards=0)
Begin injection of billboard data; applicable when constructing the BillboardSet for external data us...
virtual const String & getName() const =0
void present(D3D9RenderWindow *renderWindow)
@ ID_REPLACE
Definition: OgreScriptCompiler.h:730
bool isPointAttenuationEnabled(void) const
Returns whether points are attenuated with distance.
virtual void clearScene(void)
Overridden to clean up zones.
void _setBoundingSphereRadius(Real radius)
Manually set the bounding radius.
virtual String getType() const
Returns the type of the codec as a String.
Quaternion operator*(const Quaternion &rkQ) const
static Profiler * getSingletonPtr(void)
Get the singleton instance.
GLTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLRenderSystem *renderSystem)
void activate(void)
Makes a program pipeline object active by making sure it is linked and then putting it in use.
@ LL_LOW
Definition: OgreLog.h:52
@ RENDER_QUEUE_OVERLAY
Use this queue for objects which must be rendered last e.g. overlays.
Definition: OgreRenderQueue.h:74
ImageData()
Definition: OgreImageCodec.h:56
@ SBF_ONE
Constant value of 1.0.
Definition: OgreBlendMode.h:231
virtual void textureCoord(const Vector4 &xyzw)
@overload
@ VET_SHORT3
Definition: OgreHardwareVertexBuffer.h:129
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
Definition: OgreGL3PlusTexture.h:40
static CompositorManager & getSingleton(void)
Get the singleton instance.
Command object for inner size (see ParamCommand).
Definition: OgreRingEmitter.h:66
ParticleEmitterFactory()
Definition: OgreParticleEmitterFactory.h:61
virtual ~LiSPSMShadowCameraSetup()
@ ID_LIGHT_MASK
Definition: OgreScriptCompiler.h:691
const String & getDictionaryStringName(void) const
Returns dictionary name.
Definition: OgreExternalTextureSource.h:140
int getSoftwareAnimationRequests(void) const
Returns the number of requests that have been made for software animation.
Definition: OgreEntity.h:638
void setEnclosureNode(PCZSceneNode *)
Set the enclosure node for this Zone.
const ShadowRenderableList & getShadowVolumeRenderableList(ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, size_t *indexBufferUsedSize, bool extrudeVertices, Real extrusionDistance, unsigned long flags=0) override
Define a default implementation of method from ShadowCaster which implements no shadows.
ConstVectorIterator< ShadowTextureConfigList > ConstShadowTextureConfigIterator
Definition: OgreSceneManager.h:76
void setNormaliseEnabled(bool enable)
normalise the blinn-phong reflection model to make it energy conserving
Definition: OgreShaderFFPLighting.h:89
Rule controlling whether technique is deemed supported based on GPU vendor.
Definition: OgreTechnique.h:124
void sampleTexture(const In &sampler, const In &texcoord, const Out &dst) const
dst = texture(sampler, texcoord);
Definition: OgreShaderFunction.h:66
GLFBOMultiRenderTarget(GLFBOManager *manager, const String &name)
EdgeData * build(void)
Builds the edge information based on the information built up so far.
A specialisation of the PanelOverlayElement to provide a panel with a border.
Definition: OgreBorderPanelOverlayElement.h:58
Region * getParent(void)
Definition: OgreStaticGeometry.h:355
virtual void _updateCustomGpuParameter(uint16 paramIndex, const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
Update a custom GpuProgramParameters constant which is derived from information only this Light knows...
void setBuildEdgesEnabled(bool b)
int lm_texture
Definition: OgreQuake3Types.h:193
virtual void setCullIndividually(bool cullIndividual)
Sets whether culling tests particles in this individually as well as in a group.
void init(AxisAlignedBox &box, int d)
Initializes the manager to the given box and depth.
ScriptingAllocatedObject ScriptCompilerAlloc
Definition: OgreMemoryAllocatorConfig.h:144
@ PF_ATC_RGBA_EXPLICIT_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:240
bool isLoaded(void) const
Is this loaded?
AnimationContainer * getContainer()
Retrieve the container of this animation.
@ ID_TRANSPARENT_SORTING
Definition: OgreScriptCompiler.h:655
const Sphere & getDerivedSphere() const
Get the sphere centered on the derived CP of the portal in world coordinates.
Definition: OgrePortalBase.h:138
void _updateOctreeNode(OctreeNode *)
Checks the given OctreeNode, and determines if it needs to be moved to a different octant.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
High level interface of Direct3D9 Device.
Definition: OgreD3D9Device.h:43
Interface definition for factories of ShaderProgramWriter.
Definition: OgreShaderProgramWriterManager.h:48
SceneBlendType
Types of blending that you can specify between an object and the existing contents of the scene.
Definition: OgreBlendMode.h:216
void setHeight(Real Height)
Sets the height (local y size) of the emitter.
#define OGRE_WQ_LOCK_RW_MUTEX_READ(name)
Definition: OgreThreadDefinesBoost.h:43
SamplerPtr createSampler(const String &name=BLANKSTRING)
create a new sampler
Definition: OgreTextureManager.h:68
@ GPU_UNKNOWN
Definition: OgreRenderSystemCapabilities.h:261
void setIndexBufferPolicy(HardwareBuffer::Usage usage, bool shadowBuffer=false)
Sets the policy for the index buffers to be used when loading this Mesh.
@ SHADOWDETAILTYPE_ADDITIVE
Mask for additive shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:220
virtual void setAutoextend(bool autoextend)
Tells the set whether to allow automatic extension of the pool of billboards.
@ M_GEOMETRY_NORMALS
Definition: OgreMeshFileFormat.h:238
bool isHardwareGammaEnabled() const
Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
Definition: OgreTexture.h:205
@ SPC_LIGHTDIRECTION_VIEW_SPACE1
Definition: OgreShaderParameter.h:191
const String & getName() const
Get the name of this function.
Definition: OgreShaderFunction.h:115
@ ID_BACK
Definition: OgreScriptCompiler.h:662
virtual void setSortByDistance(bool sort, ushort maxresults=0)
Sets whether the results of this query will be sorted by distance along the ray.
const Vector3 & getAutoTrackLocalDirection(void)
Get the auto tracking local direction for this node, if it is auto tracking.
Definition: OgreSceneNode.h:416
virtual void detachDepthBuffer()
unsigned short getStartLight(void) const
Gets the light index that this pass will start at in the light list.
virtual const String & getName() const =0
Get the name of the plugin.
bool _getLastVertexCollapseTo(LodData *data, Vector3 &outVec)
Returns the destination of the edge, which was last reduced.