 |
OGRE
13.4
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.
TerrainQuadTreeNode * getQuadTree()
Get the top level of the quad tree which is used to divide up the terrain.
Definition: OgreTerrain.h:1512
@ SM_Source2Modulate
Definition: OgreShaderExLayeredBlending.h:85
AnimationControllerFunction(Real sequenceTime, Real timeOffset=0.0f)
RenderTexture implementation for D3D11.
Definition: OgreD3D11Texture.h:135
VulkanHardwareBuffer(uint32 target, size_t sizeBytes, Usage usage, bool useShadowBuffer, VulkanDevice *device)
Viewport * viewport
Definition: OgreSceneManager.h:1016
void notifyOnDeviceDestroy(D3D9Device *device)
void setUseMinPixelSize(bool enable)
Sets whether to use min display size calculations.
Definition: OgreCamera.h:645
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:615
@ ID_AUTO
Definition: OgreScriptCompiler.h:850
std::pair< Vector3, Vector3 > Edge
Definition: OgrePolygon.h:59
unsigned int getTextureAnisotropy() const
Get this layer texture anisotropy level.
Definition: OgreTextureUnitState.h:707
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:760
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:176
void preViewportUpdate(const RenderTargetViewportEvent &evt)
Called just before a Viewport on a RenderTarget is to be updated.
bool affectsVisibleZone(void)
Definition: OgrePCZLight.h:83
void unnameSubMesh(const String &name)
Removes a name from a SubMesh.
void setOutBuffers(const TargetBuffers &buffers)
Definition: OgreShaderExGBuffer.h:86
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.
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
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:143
Real getValue(void) const override
Definition: OgrePredefinedControllers.h:66
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:346
Vertex * dst
Definition: OgreLodData.h:90
size_t physicalIndex
Physical buffer index.
Definition: OgreGpuProgramParams.h:354
Vector3 getRealUp(void) const
Gets the real world up vector of the camera, including any rotation inherited from a node attachment.
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.
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:165
float normalise(void)
Normalises this quaternion, and returns the previous length.
Definition: OgreQuaternion.h:213
D3D9Device * getActiveDevice()
Definition: OgreD3D9DeviceManager.h:46
std::vector< TargetLayout > TargetBuffers
Definition: OgreShaderExGBuffer.h:62
PixelFormat getDesiredFormat(void) const
Returns the desired pixel format for the texture surface.
Definition: OgreTexture.h:331
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:170
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.
@ ID_SOURCE
Definition: OgreScriptCompiler.h:582
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:637
virtual ~Listener()
Definition: OgreRenderSystem.h:1012
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:991
MeshPtr mesh
Definition: OgreLodConfig.h:129
unsigned char repeat
Definition: OgreInput.h:61
bool getLightingEnabled(void) const
Returns whether or not dynamic lighting is enabled.
Definition: OgrePass.h:431
@ LL_BOREME
Definition: OgreLog.h:54
void addChild(Node *child)
Adds a (precreated) child scene node to this node.
The VulkanDescriptorPool class A VulkanDescriptorPool manages the pool of a single set (i....
Definition: OgreVulkanDescriptorPool.h:40
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:76
void setSkyPlaneEnabled(bool enable)
Enables / disables a 'sky plane'.
Definition: OgreSceneManager.h:1970
const ChildMap & getChildren() const
Gets all the children of this object.
Definition: OgreOverlayContainer.h:94
void _setRawAutoConstantReal(size_t physicalIndex, AutoConstantType acType, float rData, uint16 variability, uint8 elementSize=4)
As setAutoConstantReal, but sets up the auto constant directly against a physical buffer index.
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
Definition: OgreD3D11RenderWindow.h:60
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: OgreAnimationState.h:44
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.
VkRenderPass mRenderPass
Contains baked info of load/store/clear Doesn't reference ImageViews, however it mentions them by att...
Definition: OgreVulkanRenderPassDescriptor.h:69
@ SPC_LIGHTPOSITIONVIEW_SPACE6
Definition: OgreShaderParameter.h:238
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:111
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...
@ ID_CUBIC_REFLECTION
Definition: OgreScriptCompiler.h:740
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:221
void setAlignment(Alignment a)
Definition: OgreTextAreaOverlayElement.h:115
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:511
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=HBU_GPU_ONLY, HardwareBuffer::Usage indexBufferUsage=HBU_GPU_ONLY, bool vertexShadowBuffer=false, bool indexShadowBuffer=false)
Creates a basic plane, by default majoring on the x/y axes facing positive Z.
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:290
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.
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.
bool orientationEquals(const Quaternion &other, float tolerance=1e-3f) const
Compare two quaternions which are assumed to be used as orientations.
Definition: OgreQuaternion.h:281
const VertexElement * findElementBySemantic(VertexElementSemantic sem, unsigned short index=0) const
Finds a VertexElement with the given semantic and index.
const DriverVersion & getDriverVersion(void) const
Returns the driver version.
Definition: OgreRenderSystem.h:837
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:99
void destroyAllRibbonTrails(void)
Removes & destroys all RibbonTrails from the SceneManager.
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:101
AnyNumeric & operator*=(const AnyNumeric &rhs)
Definition: OgreAny.h:362
@ ID_DECREMENT
Definition: OgreScriptCompiler.h:823
_OgreExport const char *const RGN_DEFAULT
Default resource group name.
@ HBL_NO_OVERWRITE
As HBL_WRITE_ONLY, except the application guarantees not to overwrite any region of the buffer which ...
Definition: OgreHardwareBuffer.h:164
void setCommonUpVector(const Vector3 &vec)
Use this to specify the common up-vector given to billboards.
Definition: OgreBillboardSet.h:628
void setShadowDirLightExtrusionDistance(Real dist)
Sets the shadow extrusion distance to be used for dir lights.
virtual PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)=0
SubMeshIterator getSubMeshIterator(void)
Gets an iterator over the available submeshes.
Definition: OgreMesh.h:294
std::set< T, P >::const_iterator const_iterator
Definition: OgreDeprecated.h:65
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:496
@ ID_COMPUTE_PROGRAM_REF
Definition: OgreScriptCompiler.h:837
Comparator for sorting lights relative to a point.
Definition: OgreSceneManager.h:265
void _setWorldMatrix(const Matrix4 &m)
Definition: OgreRenderSystem.h:308
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
uint8 mRandomTexcoordOffset
Definition: OgreParticle.h:77
Definition: OgreD3D11RenderWindow.h:113
Command object for setting matrix packing in column-major order.
Definition: OgreD3D11HLSLProgram.h:61
const_reference front() const
Definition: OgreCommon.h:486
void setMipmapBias(float bias)
Sets the bias value applied to the mipmap calculation.
Definition: OgreTextureUnitState.h:164
uint32 compareMask
The bitmask applied to both the stencil value and the reference value before comparison.
Definition: OgreRenderSystem.h:123
virtual void destroyInstance(PagedWorldSection *)=0
@ ACT_CAMERA_POSITION
The current camera's position in world space.
Definition: OgreGpuProgramParams.h:906
virtual bool getInterpolatedKeyFrame(const AnimationTrack *t, const TimeIndex &timeIndex, KeyFrame *kf)=0
Get an interpolated keyframe for this track at the given time.
void _setCullingMode(CullingMode mode)
Sets the culling mode for the render system based on the 'vertex winding'.
Definition: OgreException.h:229
std::map< ushort, RenderPriorityGroup *, std::less< ushort > > PriorityMap
Definition: OgreRenderQueueSortingGrouping.h:384
~RenderQueueGroup()
Definition: OgreRenderQueueSortingGrouping.h:411
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...
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
float getOwnHeight(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:102
@ SPC_POSTOLIGHT_VIEW_SPACE0
Light vector in view space index 0-7.
Definition: OgreShaderParameter.h:152
Command object for plane normal (see ParamCommand).
Definition: OgreDeflectorPlaneAffector.h:58
void build(bool stencilShadows)
Build.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
ushort maxBoneCount
Definition: OgreShaderExHardwareSkinning.h:66
void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
Real getLength() const
Gets the total length of this animation (may be shorter than whole animation)
const String & getTypeName(void) const
Gets the type name of the element.
Definition: OgreGLGpuNvparseProgram.h:38
std::pair< int, RenderSystemOperation * > RenderSystemOpPair
Definition: OgreCompositorInstance.h:112
@ SPC_LIGHTDIRECTION_WORLD_SPACE6
Definition: OgreShaderParameter.h:188
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.
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:157
virtual PageStrategy * getStrategy() const
Get the page strategy which this section is using.
Definition: OgrePagedWorldSection.h:101
uint32 width
Definition: OgreImageCodec.h:85
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.
std::vector< VideoMode > VideoModes
Definition: OgreGLNativeSupport.h:50
virtual const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreScriptCompiler.h:509
bool isEnabled() const
Definition: OgreOverlayElement.h:209
~RenderPriorityGroup()
Definition: OgreRenderQueueSortingGrouping.h:279
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.
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
@ ID_WAVE_XFORM
Definition: OgreScriptCompiler.h:747
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:324
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.
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:625
virtual RaySceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
uint32 left
Definition: OgreCommon.h:726
size_t getReferencedMRTIndex() const
Gets the MRT index of the texture in the compositor that this texture references.
Definition: OgreTextureUnitState.h:1018
bool recursive
Whether this location was added recursively.
Definition: OgreResourceGroupManager.h:265
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:80
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:61
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.
std::vector< std::pair< unsigned short, bool > > SchemeHardwareAnimMap
Definition: OgreEntity.h:87
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:110
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
@ ID_TEX_BORDER_COLOUR
Definition: OgreScriptCompiler.h:700
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.
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:104
static size_t getComponentCount(PixelFormat fmt)
Returns the component count for a certain pixel format.
virtual ~Listener()
Definition: OgreCamera.h:94
Struct collecting together the information for named constants.
Definition: OgreGpuProgramParams.h:312
Definition: OgreDefaultZone.h:40
@ CMPF_LESS_EQUAL
Write if (new_Z <= existing_Z)
Definition: OgreCommon.h:66
@ ID_NONE
Definition: OgreScriptCompiler.h:658
iterator add(const T &item)
Definition: OgreVectorSetImpl.h:57
@ GPT_GEOMETRY_PROGRAM
Definition: OgreGpuProgram.h:52
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:514
virtual HardwareBufferPtr createUniformBuffer(size_t sizeBytes, HardwareBufferUsage usage=HBU_CPU_TO_GPU, bool useShadowBuffer=false)
Create uniform buffer.
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)
virtual MaterialPtr generate(const Terrain *terrain)
Generate a material for the given terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:292
Real factor
Manual blending factor.
Definition: OgreBlendMode.h:160
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
const String & getActiveScheme(void) const
Returns the name of the active material scheme.
Definition: OgreMaterialManager.h:256
Operation setup for a RenderTarget (collected).
Definition: OgreCompositorInstance.h:117
virtual ChildContainerIterator getChildContainerIterator(void)
Gets an iterator for just the container children of this object.
Real getElapsedTime(void) const
Return the elapsed time.
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:334
@ SPC_POSTOLIGHT_VIEW_SPACE7
Definition: OgreShaderParameter.h:159
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:293
bool getRemoveRenderQueueStructuresOnClear() const
Get whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:345
SceneBlendOperation getSceneBlendingOperationAlpha() const
Returns the current alpha blending operation.
Definition: OgrePass.h:721
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:361
SmallVector(const SmallVector &RHS)
Definition: OgreSmallVector.h:762
static UINT _getAccessFlags(HardwareBuffer::Usage usage)
virtual SceneManager * createInstance(const String &instanceName)=0
Create a new instance of a SceneManager.
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.
UniformParameterPtr resolveAutoParameterInt(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, uint32 data, size_t size=0)
Resolve uniform auto constant parameter with associated int data of this program.
const Matrix4 & getInverseTransposeWorldViewMatrix(void) const
bool isManuallyLoaded(void) const
Is this resource manually loaded?
Definition: OgreResource.h:287
@ DEFORM_FUNC_WAVE
Definition: OgreQuake3Types.h:136
bool getTransparentSortingEnabled(void) const
Returns whether or not transparent sorting is enabled.
Definition: OgrePass.h:1044
static uint32 getDefaultQueryFlags()
Get the default query flags for all future MovableObject instances.
Definition: OgreMovableObject.h:413
size_t getLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the buffer, for programs which support th...
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 ...
void _unregisterContext(GL3PlusContext *context)
Unregister a render target->context mapping.
SubRenderStateSet::const_iterator SubRenderStateSetConstIterator
Definition: OgreShaderSubRenderState.h:166
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.
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.
Frustum(const String &name=BLANKSTRING)
Named constructor.
virtual const ShadowRenderableList & getShadowVolumeRenderableList(const Light *light, const HardwareIndexBufferPtr &indexBuffer, size_t &indexBufferUsedSize, float extrusionDistance, int flags=0)=0
Gets an list of the renderables required to render the shadow volume.
const GpuConstantDefinition * _findNamedConstantDefinition(const String &name, bool throwExceptionIfMissing=false) const
Find a constant definition for a named parameter.
provides OpenGL Context creation using GLX, WGL, EGL, Cocoa
Definition: OgreGLNativeSupport.h:56
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:1014
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
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:153
@ GCT_MATRIX_2X2
Definition: OgreGpuProgramParams.h:83
@ ST_GENERIC
Definition: OgreDeprecated.h:88
std::vector< RenderWindowDescription > RenderWindowDescriptionList
Render window creation parameters container.
Definition: OgreCommon.h:839
bool getEnabled() const
Get enabled flag.
Definition: OgreCompositorInstance.h:182
Class defining a single pass of a Technique (of a Material): a single rendering call.
Definition: OgrePass.h:106
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:2895
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:51
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.
T value_type
Definition: OgreProperty.h:220
bool isParentTagPoint() const
Gets whether the parent node is a TagPoint (or a SceneNode)
Definition: OgreMovableObject.h:225
static String eventType
Definition: OgreScriptCompiler.h:502
void destroyBillboardSet(MovableObject *set)
Removes & destroys an BillboardSet from the SceneManager.
Definition: OgreSceneManager.h:2220
virtual void entriesModified(bool createFbo)
const SkeletonPtr & getSkeleton(void) const
Gets a pointer to any linked Skeleton.
Definition: OgreMesh.h:433
ShaderFunctionList::const_iterator ShaderFunctionConstIterator
Definition: OgreShaderFunction.h:270
BillboardType
The type of billboard to use.
Definition: OgreBillboardSet.h:84
MetalTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, MetalDevice *device)
Matrix4 getTransposeWorldViewProjMatrix() const
std::map< String, ResourceManager * > ResourceManagerMap
Definition: OgreResourceGroupManager.h:257
void allowToVisit(bool yesno)
Definition: OgrePCZSceneNode.h:81
virtual void bakeLodLevel(LodData *data, int lodIndex)=0
Radian angleBetween(const Vector &dest) const
Gets the angle between 2 vectors.
Definition: OgreVector.h:560
int mNumModels
Definition: OgreQuake3Level.h:129
static const Vector2 UNIT_SCALE
Definition: OgreVector.h:125
void setCreationPolicy(D3D9ResourceCreationPolicy creationPolicy)
Real getViewportAspectRatio(void) const
Ogre assumes that there are separate programs to deal with but GLSL has one program object that repre...
Definition: OgreGLSLProgramManagerCommon.h:52
void _setCurrentImage(VkImage image, uint32 imageIdx)
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
Retrieves the distance from the frustum to 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:184
void setProjectiveTexturing(bool enabled, const Frustum *projectionSettings=0)
Enables or disables projective texturing on this texture unit.
Implements the uniform shadow mapping algorithm in focused mode.
Definition: OgreShadowCameraSetupFocused.h:58
@ ID_ADD
Definition: OgreScriptCompiler.h:713
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:1949
virtual void unload()
Unload this page.
bool getAlive() const
Get alive flag.
Definition: OgreCompositorInstance.h:194
TargetOperation(RenderTarget *inTarget)
Definition: OgreCompositorInstance.h:122
size_t mWindowHandle
Definition: OgreVulkanWindow.h:71
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:127
std::pair< bool, Real > intersects(const Ray &ray)
Intersection test with a Ray.
Definition: OgrePlaneBoundedVolume.h:121
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.
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...
Definition: OgreCommon.h:76
ManualResourceLoader()
Definition: OgreResource.h:477
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:251
Vector operator-(Real s) const
Definition: OgreVector.h:691
@ SPC_LIGHTPOSITION_WORLD_SPACE3
Definition: OgreShaderParameter.h:225
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:298
size_t indexSize
Definition: OgreLodData.h:142
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:343
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
virtual ~DebugDrawer()
Definition: OgreSceneManager.h:3425
void sort(void)
Sorts the elements in this list to be compatible with D3D7 graphics cards.
GpuProgramType mProgramType
Definition: OgreScriptCompiler.h:512
ProgressBar * createProgressBar(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width, Ogre::Real commentBoxWidth)
uint32 depth
Definition: OgreImageCodec.h:86
GlyphInfo::CodePoint CodePoint
Definition: OgreFont.h:105
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:250
void unlockImpl() override
Internal implementation of unlock()
@ 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:1353
void setFog(FogMode mode, const ColourValue &colour, Real expDensity, Real linearStart, Real linearEnd)
UserObjectBindings & operator=(const UserObjectBindings &rhs)
virtual const String & getFSAAHint() const
RenderSystem specific FSAA option. See RenderSystem::_createRenderWindow for details.
Definition: OgreRenderTarget.h:366
ColourValue(const uchar *byte)
Definition: OgreColourValue.h:73
btDynamicsWorld * getBtWorld() const
Definition: OgreBullet.h:105
virtual void setHoldRadius(Real sz)
Set the Holding radius.
static String normalizeFilePath(const String &init, bool makeLowerCase=false)
Returns a normalized version of a file path This method can be used to make file path strings which p...
@ ID_TRIANGLE
Definition: OgreScriptCompiler.h:753
@ LB_BlendColor
Definition: OgreShaderExLayeredBlending.h:75
const Vector4 & getCustomParam(unsigned char idx)
const AutoConstantList & getAutoConstantList() const
Get a reference to the list of auto constant bindings.
Definition: OgreGpuProgramParams.h:1542
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
void _autoTrack(void)
Internal method used by OGRE to update auto-tracking cameras.
@ SPC_BLEND_WEIGHTS
Blending weights.
Definition: OgreShaderParameter.h:245
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.
bool hasComputeProgram(void) const
Returns true if this pass uses a programmable compute pipeline.
Definition: OgrePass.h:1190
const String & getName(void) const
Get the name of the pass.
Definition: OgrePass.h:286
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:1191
virtual void read(Node *node, size_t count=1)
@ ID_MODULATE
Definition: OgreScriptCompiler.h:714
@ OR_DEGREE_90
Definition: OgreFrustum.h:50
@ 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.
@ Undefined
Definition: OgreVulkanTextureGpu.h:56
@ ID_ENV_MAP
Definition: OgreScriptCompiler.h:737
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:136
bool succeeded() const
Return whether this is a successful response.
Definition: OgreWorkQueue.h:142
size_t getNumSupportedTechniques() const
Get the number of supported techniques.
Definition: OgreCompositor.h:97
@ LBS_MANUAL
a colour supplied manually as a separate argument
Definition: OgreBlendMode.h:123
Ogre::RenderWindow * render
Definition: OgreApplicationContextBase.h:78
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:828
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.
@ GPT_VERTEX_PROGRAM
Definition: OgreGpuProgram.h:50
LinkedSkeletonAnimationSource(const String &skelName, Real scl)
Definition: OgreSkeleton.h:478
void _setCurrentSceneManager(SceneManager *sm)
Sets the scene manager currently being used to render.
Definition: OgreRoot.h:773
void setPosition(const Vector3 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ CE_FEWERPARAMETERSEXPECTED
Definition: OgreScriptCompiler.h:196
Billboard(const Vector3 &position, BillboardSet *owner, const ColourValue &colour=ColourValue::White)
Normal constructor as called by BillboardSet.
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
@ ID_FILTERING
Definition: OgreScriptCompiler.h:701
DecodeResult decode(const DataStreamPtr &input) const override
@ SPC_POSTOLIGHT_OBJECT_SPACE7
Definition: OgreShaderParameter.h:139
NumericTrackIterator getNumericTrackIterator(void) const
Definition: OgreAnimation.h:395
virtual const HardwarePixelBufferSharedPtr & getBuffer(size_t face=0, size_t mipmap=0)
Return hardware pixel buffer for a surface.
void _setHardwareBuffer(const HardwareBufferPtr &data)
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:530
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:74
@ UnusedIdx
Definition: OgreLod0Stripifier.h:85
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:825
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
const Passes & getPasses() const
Get the Passes in this TargetPass.
Definition: OgreCompositionTargetPass.h:141
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:504
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:79
std::unordered_set< Vertex *, VertexHash, VertexEqual > UniqueVertexSet
Definition: OgreLodData.h:68
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:1331
@ ID_CLAMP
Definition: OgreScriptCompiler.h:697
void setDepthClear(float depth)
Sets the initial depth buffer value of the viewport (before rendering).
Definition: OgreViewport.h:218
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:135
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:560
~AntiPortalFactory()
Definition: OgreAntiPortal.h:55
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:163
bool getEnableBackwardsCompatibility(void) const
Gets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:183
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:465
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...
Definition: OgreHardwareBuffer.h:298
@ D3D_ERROR
Definition: OgreD3D11Device.h:93
T::key_type KeyType
Type you expect to get by funktions like peekNextKey.
Definition: OgreIteratorWrapper.h:265
virtual RenderWindow * _createRenderWindow(const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0)
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:690
@ LB_BlendDifference
Definition: OgreShaderExLayeredBlending.h:56
@ ID_ILLUMINATION_STAGE
Definition: OgreScriptCompiler.h:638
void setComputeProgramConstantFloatCount(ushort c)
The number of floating-point 4-vector constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:642
EdgeData * edgeData
Edge list for this LOD level (may be derived from manual mesh).
Definition: OgreMesh.h:975
virtual void setConfigOption(const String &name, const String &value)
Sets an option for this API.
static VkBlendOp get(SceneBlendOperation blendOp)
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:202
Command object for force vector (see ParamCommand).
Definition: OgreLinearForceAffector.h:60
uint8 getTexcoordStart(void) const
Definition: OgreTextureAnimatorAffector.h:37
void remove(iterator it)
Definition: OgreVectorSetImpl.h:47
virtual void windowMovedOrResized()
Query the current size and position from an external window handle.
Definition: OgreRenderWindow.h:131
This class implements an overlay element which contains simple unformatted text.
Definition: OgreTextAreaOverlayElement.h:45
ushort maxWeightCount
Definition: OgreShaderExHardwareSkinning.h:67
std::vector< Real > SplitPointList
Definition: OgreShadowCameraSetupPSSM.h:60
uint32 getGLFBOID() const
Get the GL id for the FBO.
Definition: OgreGLRenderTexture.h:79
~HardwareSkinningFactory()
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.
@ ID_SOLID
Definition: OgreScriptCompiler.h:653
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Definition: OgreGLGpuProgramManager.h:47
VkImageLayout mCurrLayout
The current layout we're in. Including any internal stuff.
Definition: OgreVulkanTextureGpu.h:115
std::map< K, V, P > type
Definition: OgreDeprecated.h:71
@ ACT_INVERSE_VIEWPORT_HEIGHT
This variable represents 1.0/ViewportHeight.
Definition: OgreGpuProgramParams.h:1022
@ SHADOWTYPE_TEXTURE_MODULATIVE_INTEGRATED
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Definition: OgreCommon.h:294
Chunk()
Definition: OgreStreamSerialiser.h:105
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:242
virtual ~CompositorChain()
Another gcc warning here, which is no problem because RenderTargetListener is never used to delete an...
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
#define MANAGED_RESOURCE
Definition: OgreGLES2ManagedResource.h:65
@ TL_DIFFUSE_SPECULAR
Definition: OgreShaderExGBuffer.h:60
virtual void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
Definition: OgreRenderSystem.h:348
void addRequestToQueue(LodWorkQueueRequest *request)
@ LB_BlendReflect
Definition: OgreShaderExLayeredBlending.h:71
Definition: OgreLod0Stripifier.h:65
virtual Real getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:623
@ SKELETON_VERSION_LATEST
Latest version available.
Definition: OgreSkeletonSerializer.h:48
DeflateStream(const DataStreamPtr &compressedStream, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating unnamed stream wrapping another stream.
virtual void labelHit(Label *label)
Definition: OgreTrays.h:97
void sub(const In &arg0, const In &arg1, const Out &dst) const
dst = arg0 - arg1;
Definition: OgreShaderFunction.h:85
void setAsBGRA(BGRA val)
Set value from PF_B8G8R8A8.
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.
Dummy structure for render system contexts - implementing RenderSystems can extend as needed.
Definition: OgreRenderSystem.h:653
StringVectorPtr listResourceLocations(const String &groupName) const
List all resource locations in a resource group.
int build
Definition: OgreRenderSystemCapabilities.h:218
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.
DefaultHardwareBuffer DefaultHardwareUniformBuffer
Definition: OgreDefaultHardwareBufferManager.h:59
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:366
size_t tell(void) const
Returns the current byte offset from beginning.
Definition: OgreColourImageAffector.h:41
virtual ~AnimationTrack()
SubRenderStateFactory * getSubRenderStateFactory(size_t index)
Returns a sub render state factory by index.
~Billboard()
Default destructor.
const String & getLanguage(void) const override
Get the name of the language this factory creates programs for.
@ SBF_ONE_MINUS_DEST_COLOUR
1 - SBF_DEST_COLOUR
Definition: OgreBlendMode.h:235
bool operator==(const LayerBlendModeEx &rhs) const
Definition: OgreBlendMode.h:162
const String & getName(void) const
Gets resource name.
Definition: OgreResource.h:310
@ SPC_POSTOLIGHT_VIEW_SPACE2
Definition: OgreShaderParameter.h:154
const String & getTypeName(void) const override
Gets the type name of the element.
virtual ~OverlayElementFactory()
Destroy the overlay element factory.
Definition: OgreOverlayElementFactory.h:61
void saveChildren(const String &filename)
Save the scene hierarchy starting at this node to file.
size_t elementCount
Definition: OgreGpuProgramParams.h:1189
ParamDictionary * getParamDictionary(void)
Retrieves the parameter dictionary for this class.
Definition: OgreStringInterface.h:200
@ ID_COLOUR
Definition: OgreScriptCompiler.h:810
MapIterator< ParticleSystemRendererFactoryMap > ParticleRendererFactoryIterator
Definition: OgreParticleSystemManager.h:308
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
Image * getImage()
Definition: OgreTinyWindow.h:31
void setPointMinSize(Real min)
Set the minimum point size, when point attenuation is in use.
PCZ implementation of IntersectionSceneQuery.
Definition: OgrePCZSceneQuery.h:41
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:54
void setDisabled(GLenum flag)
Disables a piece of OpenGL functionality.
virtual void _resumeFrame(RenderSystemContext *context)
Resume rendering for a frame.
LightTypes
Defines the type of light.
Definition: OgreLight.h:104
@ CS_ORBIT
Definition: OgreCameraMan.h:49
uchar * data
The data pointer.
Definition: OgrePixelFormat.h:383
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.
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 (...
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
void draw3dText(const btVector3 &location, const char *textString)
Definition: OgreBullet.h:144
HardwareBufferPtr createUniformBuffer(size_t sizeBytes, HardwareBufferUsage usage=HBU_CPU_TO_GPU, bool useShadowBuffer=false) override
Create uniform buffer.
virtual void allocateVertexBuffers(Terrain *forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr &destPos, HardwareVertexBufferSharedPtr &destDelta)=0
Allocate (or reuse) vertex buffers for a terrain LOD.
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.
PixelFormatFlags
Flags defining some on/off properties of pixel formats.
Definition: OgrePixelFormat.h:310
Factory object for creating Entity instances.
Definition: OgreEntity.h:855
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:139
T height() const
Definition: OgreCommon.h:627
virtual ~D3D9StereoDriverAMD()
VkImageView _createView(uint8 mipLevel, uint8 numMipmaps, uint16 arraySlice, uint32 numSlices=0u, VkImage imageOverride=0) const
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.
void _setDepthClamp(bool enable)
Clamp depth values to near and far plane rather than discarding.
Side
The "positive side" of the plane is the half space to which the plane normal points.
Definition: OgrePlane.h:96
@ ID_ANISOTROPIC
Definition: OgreScriptCompiler.h:704
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)
Definition: OgrePredefinedControllers.h:75
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:303
~GLSLLinkProgramManager(void)
void stopSharingSkeletonInstance()
Stops sharing the SkeletonInstance with other entities.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)=0
String doGet(const void *target) const
std::map< String, SceneManager * > Instances
Scene manager instances, indexed by instance name.
Definition: OgreSceneManagerEnumerator.h:91
@ ID_2DARRAY
Definition: OgreScriptCompiler.h:686
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:64
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 position(const Vector3 &pos)
Add a vertex position, starting a new vertex at the same time.
Definition: OgreManualObject.h:203
void setAsARGB(ARGB val)
Set value from PF_A8R8G8B8.
virtual void setRepeatDelay(Real min, Real max)
Sets the range of random duration for this emitter.
@ VET_UINT4
Definition: OgreHardwareVertexBuffer.h:153
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.
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
static VkSamplerMipmapMode getMipFilter(FilterOptions filter)
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:1010
OGRE_MUTEX(mTexUnitChangeMutex)
void removeSubRenderStateInstance(SubRenderState *subRenderState) const
Remove SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:187
virtual void viewportDimensionsChanged(Viewport *viewport)
Notification of when target listening Viewport's dimensions changed.
Definition: OgreViewport.h:69
@ ID_EMITTER
Definition: OgreScriptCompiler.h:770
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:80
virtual const Real * getOtherTextureCoordRange(void) const
Get the range of the texture coordinates generated across the width of the chain elements.
Definition: OgreBillboardChain.h:172
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:429
Vector3 mHalfSize
Vector containing the dimensions of this octree / 2.
Definition: OgreOctree.h:107
const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreShadowCaster.h:74
void setPixelRatio(float ratio)
Sets the pixel ratio: how many viewport pixels represent a single overlay pixel (in one dimension).
@ ACT_INVERSE_TRANSPOSE_PROJECTION_MATRIX
Provides inverse transpose of projection matrix.
Definition: OgreGpuProgramParams.h:678
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:271
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.
bool operator!=(const AnimationState &rhs) const
Inequality operator.
HardwareVertexBufferSharedPtr getGlobalInstanceVertexBuffer() const
Returns the global instance vertex buffer.
VulkanQueue::QueueFamily usage
Definition: OgreVulkanDevice.h:44
void setScissorTest(bool enabled, const Rect &rect=Rect())
Sets the 'scissor region' i.e.
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:176
LayeredBlending()
Class default constructor.
GuiVerticalAlignment
Enum describing where '0' is in relation to the parent in the vertical dimension.
Definition: OgreOverlayElement.h:75
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
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:98
PCZone * getHomeZone(void)
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
@ FB_BACK
Definition: OgreRenderTarget.h:87
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:389
~LodCollapseCostOutside()
virtual bool isAttributeValid(VertexElementSemantic semantic, uint index)
Test whether attribute index for a given semantic is valid.
@ HBU_CPU_TO_GPU
Mappable on host and preferably fast to access by GPU.
Definition: OgreHardwareBuffer.h:76
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:62
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:176
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
Inner class which should also be subclassed to provide profile-specific material generation.
Definition: OgreTerrainMaterialGenerator.h:168
virtual void _addPortal(Portal *newPortal)
Add a portal to the zone.
shared_ptr< GLTexture > GLTexturePtr
Definition: OgreGLPrerequisites.h:48
@ GCT_MATRIX_DOUBLE_2X3
Definition: OgreGpuProgramParams.h:102
void endComputeEncoder(void)
bool isFullyVisible(const AxisAlignedBox &bound) const
Struct containing information about a mesh LOD change event for entities.
Definition: OgreLodListener.h:55
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.
Definition: OgreViewport.h:72
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:978
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:76
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)
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:856
void _updateFromShadow() override
Updates the real buffer from the shadow buffer, if required.
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).
Common subclass of DataStream for handling data from chunks of memory.
Definition: OgreDataStream.h:200
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:197
Definition: OgreD3D9ResourceManager.h:54
int shaderIndex
Definition: OgreQuake3Types.h:248
Defines the functionality of a 3D API.
Definition: OgreRenderSystem.h:165
This is a container class for sub render state class.
Definition: OgreShaderRenderState.h:51
void execute(SceneQueryListener *listener) override
Executes the query and returns each match through a listener interface.
static ResourceBackgroundQueue & getSingleton(void)
Get the singleton instance.
Specialized viewpoint from which an Octree can be rendered.
Definition: OgreOctreeCamera.h:72
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:102
GLSLangProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
SkinningType skinningType
Definition: OgreShaderExHardwareSkinning.h:68
virtual void finializeSession()=0
All internal resources should be deleted here.
void * pData
Definition: OgreHardwareBuffer.h:451
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:71
Definition: OgreException.h:193
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
bool isBuildEdgesEnabled(void) const
Returns true(by default) if the submesh should be included in the mesh EdgeList, otherwise returns fa...
Definition: OgreSubMesh.h:214
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.
Vector< 2, Real > Vector2
Definition: OgrePrerequisites.h:242
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
std::unordered_map< uint32, VulkanFrameBufferDescValue > VulkanFrameBufferDescMap
Definition: OgreVulkanRenderPassDescriptor.h:74
void dump(std::ofstream &of) const
Dump contents for diagnostics.
@ PT_MATRIX4
Definition: OgreStringInterface.h:60
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:81
virtual ~SphereSceneQuery()
virtual ~OverlayElement()
bool isPrepared(void) const
Returns true if the Resource has been prepared, false otherwise.
Definition: OgreResource.h:316
CompositionTechnique(Compositor *parent)
std::map< String, AnimationState * > AnimationStateMap
Definition: OgreAnimationState.h:190
SharedPtr< AnimableValue > AnimableValuePtr
Definition: OgrePrerequisites.h:270
uint16 variability
The variability of this parameter (see GpuParamVariability)
Definition: OgreGpuProgramParams.h:1219
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:625
@ ID_DEST_COLOUR
Definition: OgreScriptCompiler.h:606
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 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,...
PreApplyTextureAliasesScriptCompilerEvent(Material *material, AliasTextureNamePairList *aliases)
Definition: OgreScriptCompiler.h:465
@ ID_MIRROR
Definition: OgreScriptCompiler.h:699
void shutdown(void)
Shuts down the system manually.
void loadFromSource(void)
Overridden from GLSLESProgram.
Alignment getAlignment() const
Definition: OgreTextAreaOverlayElement.h:120
virtual GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreGpuProgram.h:181
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreDualQuaternion.h:123
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:212
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:1163
std::set< T, P >::iterator iterator
Definition: OgreDeprecated.h:64
void setNamedAutoConstant(const String &name, AutoConstantType acType, uint32 extraInfo=0)
Sets up a constant which will automatically be updated by the system.
virtual void endGPUSampleProfile(const String &name)
VectorIterator< Passes > PassIterator
Definition: OgreCompositionTargetPass.h:61
virtual ~SceneManagerFactory()
Definition: OgreSceneManager.h:3500
@ D3D_INFO
Definition: OgreD3D11Device.h:95
BillboardType getBillboardType(void) const
Returns the billboard type in use.
Definition: OgreBillboardSet.h:593
Entity * getDualGrid(SceneManager *sceneManager)
Gets the lazily created entity of the dualgrid debug visualization.
RibbonTrailFactory()
Definition: OgreRibbonTrail.h:229
@ ID_TEXTURE_UNIT
Definition: OgreScriptCompiler.h:564
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:111
void setAmbient(const ColourValue &ambient)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:307
size_t getBufferCount(void) const
Definition: OgreHardwareVertexBuffer.h:513
virtual String toString() const =0
bool isDriverOlderThanVersion(const DriverVersion &v) const
Definition: OgreRenderSystemCapabilities.h:360
const GpuProgramPtr & getTessellationHullProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1200
@ HWInstancingBasic
Needs SM 3.0+ and HW instancing support InstanceBatchHW.
Definition: OgreInstanceManager.h:65
virtual ~TerrainMaterialGenerator()
GpuProgramPtr getByName(const String &name, const String &group=RGN_DEFAULT) const
Get a resource by name.
#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:59
void bindGLTexture(GLenum target, GLuint texture)
Bind an OpenGL texture of any type.
String DriverName() const
String devicePattern
Definition: OgreTechnique.h:135
static Matrix3 lookRotation(const Vector3 &direction, const Vector3 &yaw)
Create a rotation matrix from direction and yaw.
Definition: OgreMatrix3.h:329
Render window creation parameters.
Definition: OgreCommon.h:830
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.
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:609
@ SKELETON_ANIMATION_LINK
Definition: OgreSkeletonFileFormat.h:104
bool enabled
Turns stencil buffer checking on or off.
Definition: OgreRenderSystem.h:129
@ IS_UNKNOWN
Not determined.
Definition: OgrePass.h:57
Separator * createSeparator(TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width=0)
std::vector< Renderable * > RenderableList
Definition: OgreRenderQueueSortingGrouping.h:45
uint32 getNumMipmaps(void) const
Gets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:147
GLHardwareBufferManager()
int mNumBrushes
Definition: OgreQuake3Level.h:158
@ SM_DISTANCE
Sort by distance from the camera.
Definition: OgreCommon.h:322
const ShadowRenderableList & getShadowVolumeRenderableList(const Light *light, const HardwareIndexBufferPtr &indexBuffer, size_t &indexBufferUsedSize, float extrusionDistance, int flags=0) override
Define a default implementation of method from ShadowCaster which implements no shadows.
Definition: OgreLodOutputProviderCompressedBuffer.h:41
Animation * getParent() const
Returns the parent Animation object for this track.
Definition: OgreAnimationTrack.h:242
OverlayElement * createOverlayElementFromTemplate(const String &templateName, const String &typeName, const String &instanceName, bool=false)
void setSpotlightNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by spotlights that use light clipping,...
Definition: OgreLight.h:295
@ BCT_FLOAT
Definition: OgreGpuProgramParams.h:54
virtual bool hasAnimation(const String &name) const =0
Returns whether this object contains the named animation.
Degree & operator=(const float &f)
Definition: OgreMath.h:118
TextureType type
Definition: OgreCompositionTechnique.h:72
Utility class for provides optimised functions.
Definition: OgreOptimisedUtil.h:48
void setQueueData(VulkanDevice *owner, QueueFamily family, uint32 familyIdx, uint32 queueIdx)
@ ID_TEXTURE
Definition: OgreScriptCompiler.h:681
Real skyDomeCurvature
Definition: OgreSceneManager.h:294
float * ptr()
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:128
iterator end()
Definition: OgreSmallVector.h:162
void setBlueAdjust2(float blue)
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:532
VectorBase()
Definition: OgreVector.h:130
const Ogre::DisplayString & getText()
Definition: OgreTrays.h:261
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.
uint16 variability
How this parameter varies (bitwise combination of GpuProgramVariability)
Definition: OgreGpuProgramParams.h:158
std::vector< float > BoneBlendMask
Typedef for an array of float values used as a bone blend mask.
Definition: OgreAnimationState.h:63
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.
virtual bool isSorted(const Mesh::LodValueList &values) const
Determine if the LOD values are sorted from greatest detail to least detail.
MaterialPtr getShadowReceiverMaterial() const
return this material specific shadow receiving specific material
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:108
FunctionAtomInstanceList::iterator FunctionAtomInstanceIterator
Definition: OgreShaderFunctionAtom.h:318
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:142
bool _isSkeletonAnimated(void) const
Tests if skeleton was animated.
VkImageLayout mNextLayout
The layout we're expected to be when rendering or doing compute, rather than when doing internal stuf...
Definition: OgreVulkanTextureGpu.h:122
IDirect3DSurface9 * getFSAASurface(IDirect3DDevice9 *d3d9Device)
Accessor for AA surface.
Definition: OgreD3D9HardwarePixelBuffer.h:140
void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards.
Definition: OgreBillboardParticleRenderer.h:93
SceneManager * createSceneManager(uint16 typeMask, const String &instanceName=BLANKSTRING)
Definition: OgreSceneManagerEnumerator.h:162
virtual bool isKeyEnabled() const
Definition: OgreOverlayElement.h:431
bool intersects(const Plane &p) const
Tests whether this box intersects a plane.
Definition: OgreAxisAlignedBox.h:632
@ VECTOR4
Definition: OgreAnimable.h:81
TerrainQuadTreeNode(Terrain *terrain, TerrainQuadTreeNode *parent, uint16 xoff, uint16 yoff, uint16 size, uint16 lod, uint16 depth)
Constructor.
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:114
std::vector< TextureDefinition * > TextureDefinitions
Definition: OgreCompositionTechnique.h:88
uint32 getFamilyIdx() const
Definition: OgreVulkanQueue.h:76
#define _OgreGLExport
Definition: OgreGLPrerequisites.h:95
std::pair< ResourcePtr, bool > ResourceCreateOrRetrieveResult
Definition: OgreResourceManager.h:127
@ SPC_POSTOLIGHT_OBJECT_SPACE4
Definition: OgreShaderParameter.h:136
virtual void finalize(LodData *data)
Definition: OgreLodOutputProviderMesh.h:47
VectorBase()
Definition: OgreVector.h:48
@ ID_COMBINED_UVW
Definition: OgreScriptCompiler.h:693
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.
@ ID_2D
Definition: OgreScriptCompiler.h:683
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:174
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
bool isVisible(void) const override
Indicates whether the window is visible (not minimized or obscured)
Definition: OgreVulkanWindow.h:120
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:793
@ TL_BOTTOM
Definition: OgreTrays.h:67
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:371
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:66
GLint getGLBufferBinding(void) const
Definition: OgreGLES2HardwareBuffer.h:77
const Vector4 & getLodCameraPositionObjectSpace(void) const
Real x
Definition: OgreDualQuaternion.h:166
const Affine3 & getViewMatrix(void) const
_OgreExport const String MSN_SHADERGEN
Material scheme of the shader generator.
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.
@ ID_SPHERICAL
Definition: OgreScriptCompiler.h:738
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:126
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
@ ERR_RENDERINGAPI_ERROR
Definition: OgreException.h:113
GL3PlusStateCacheManager * getStateCacheManager()
VkInstance getVkInstance(void) const
Definition: OgreVulkanRenderSystem.h:152
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:924
virtual bool isAdjacencyInfoRequired(void) const
Definition: OgreGpuProgram.h:262
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.
@ CULL_NONE
Hardware never culls triangles and renders everything it receives.
Definition: OgreCommon.h:160
unsigned long getLastVisibleFrame(void)
Definition: OgrePCZSceneNode.h:94
uint16 batchSize
Number of vertices rendered down one side (not including skirts)
Definition: OgreTerrainQuadTreeNode.h:133
ShadowTechnique getShadowTechnique(void) const
Gets the current shadow technique.
Definition: OgreSceneManager.h:2616
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:3471
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
bool isAttributeValid(VertexElementSemantic semantic, uint index)
float getClearDepth() const
Get the viewport clear depth (defaults to 1.0)
@ TVC_DIFFUSE
Definition: OgreCommon.h:302
size_t getWorldMatrixCount(void) const
static const uint16 WORKQUEUE_PREPARE_REQUEST
Definition: OgrePage.h:184
@ PF_FLOAT16_R
16-bit pixel format, 16 bits (float) for red
Definition: OgrePixelFormat.h:125
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
@ ACT_TRANSPOSE_VIEWPROJ_MATRIX
Provides transpose of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:689
@ ACT_FAR_CLIP_DISTANCE
This variable provides the far clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1052
virtual ~STBIImageCodec()
Definition: OgreSTBICodec.h:57
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
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.
Definition: OgreViewport.h:168
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:239
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.
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:796
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:867
static void setHashFunction(HashFunc *hashFunc)
Set the hash function used for all passes.
Definition: OgrePass.h:1532
static void _addRenderWindow(Ogre::RenderWindow *window)
Call upon creation of Ogre windows.
virtual void read(Vector3 *vec, size_t count=1)
@ WFT_PLANE_BOUNDED_REGION
Return pointers to convex plane-bounded regions.
Definition: OgreSceneQuery.h:83
@ INTERSECT_NO_CROSS
Definition: OgrePortalBase.h:164
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool) override
Converts a uniform projection matrix to suitable for this render system.
virtual Chunk * createInstance(void)
Overridable factory method.
Ogre::ShadowRenderableList ShadowRenderableList
Definition: OgreShadowCaster.h:145
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.
void setFrameSmoothingPeriod(Real period)
Sets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:827
void doSet(void *target, const String &val)
static CgFxScriptLoader & getSingleton(void)
Get the singleton instance.
float mTotalTimeToLive
Total Time to live, number of seconds of particles natural life.
Definition: OgreParticle.h:70
static bool _isDynamic(HardwareBuffer::Usage usage)
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()
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:152
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:113
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
ushort getComputeProgramConstantBoolCount(void) const
Definition: OgreRenderSystemCapabilities.h:789
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.
static GpuProgramManager * getSingletonPtr(void)
Get the singleton instance.
@ ANIMBLEND_CUMULATIVE
Animations are applied by calculating a weighted cumulative total.
Definition: OgreSkeleton.h:52
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:250
bool getUseColumnMajorMatrices() const
Returns whether Ogre will pass auto-bound matrices as column-major.
Definition: OgreShaderProgram.h:177
BillboardRotationType getBillboardRotationType(void) const
Sets billboard rotation type.
Definition: OgreBillboardSet.h:473
virtual bool display()=0
Displays the dialog.
GeometryBucket(MaterialBucket *parent, const VertexData *vData, const IndexData *iData)
static GLSLProgramManager * getSingletonPtr(void)
String doGet(const void *target) const
const Vector3i & getLightCount() const
Get the light count per light type.
virtual void setVisible(bool visible)
Set the visibility state.
Definition: OgreRenderWindow.h:145
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:46
int getHResult() const
Definition: OgreD3D11Prerequisites.h:155
friend Quaternion operator*(float s, const Quaternion &q)
Definition: OgreQuaternion.h:190
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
@ GCT_SAMPLER1D
Definition: OgreGpuProgramParams.h:75
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 link(const RenderState &templateRS, Pass *srcPass, Pass *dstPass)
Add the SubRenderStates of the given render state as templates to this render state.
unsigned long bestFrameTime
Definition: OgreRenderTarget.h:75
Image * getImage()
Definition: OgreTinyTexture.h:18
@ SPC_LIGHTDIRECTION_WORLD_SPACE5
Definition: OgreShaderParameter.h:187
void setOperands(const OperandVector &ops)
'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:1976
virtual void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
Definition: OgreRenderSystem.h:1094
@ ID_GEOMETRY
Definition: OgreScriptCompiler.h:839
void deleteGLBuffer(GLenum target, GLuint buffer)
Delete an OpenGL buffer of any type.
@ VET_DOUBLE2
Definition: OgreHardwareVertexBuffer.h:139
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:141
const String & getName() const
Definition: OgrePagedWorld.h:75
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
This ResourceManager manages GPU shader programs.
Definition: OgreGpuProgramManager.h:69
CameraMan(Ogre::SceneNode *cam)
void setGlyphInfoFromTexCoords(CodePoint id, const UVRect &rect, float textureAspect=1.0)
Sets the texture coordinates of a glyph.
Definition: OgreFont.h:223
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.
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: OgreDeprecated.h:73
virtual void update(SceneManager *sceneMgr)=0
Update the contents of this vertex buffer by rendering.
bool operator==(const TerrainLayerDeclaration &dcl) const
Definition: OgreTerrainMaterialGenerator.h:136
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:145
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
Query the real capabilities of the GPU and driver in the RenderSystem.
Inner class to use as callback for shadow caster scene query.
Definition: OgreSceneManager.h:809
GpuConstantDefinitionMap map
Map of parameter names to GpuConstantDefinition.
Definition: OgreGpuProgramParams.h:318
size_t calculateSize(void) const
void saturate(void)
Clamps colour value to the range [0, 1].
Definition: OgreColourValue.h:126
const String & getType() const
Get the type of the object to be created.
Definition: OgrePortal.h:85
const StencilState & getStencilState() const
Definition: OgreCompositionPass.h:231
void setColour(const ColourValue &colour)
Sets the colour of this billboard.
Definition: OgreBillboard.h:146
void _notifyEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Notify that an entity mesh LOD change event has occurred.
void setInputMode(InputMode mode)
Set input mode of this TargetPass.
size_t getNumKeyFrames(void) const
Returns the number of keyframes in this animation.
Definition: OgreAnimationTrack.h:150
unsigned int useCount() const
Definition: OgreSharedPtr.h:82
~D3D9HardwareOcclusionQuery()
Object destructor.
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:129
const AxisAlignedBox & getAABB() const
Get the AABB (local coords) of the entire terrain.
ResourceHandle getHandle(void) const
Container struct to allow params to safely & update shared list of logical buffer assignments.
Definition: OgreGpuProgramParams.h:370
short value
Definition: OgreInput.h:93
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:295
_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:267
uint32 _getHash(uint32 seed=0) const
internal method to get the microcode cache id
uint32 getClearBuffers() const
Get the viewport clear buffers.
virtual const String & getType() const
virtual void _beginFrame()
Signifies the beginning of a frame, i.e.
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.
@ TextureEffectPlay_ASAP
Video starts out paused.
Definition: OgreExternalTextureSource.h:77
MeshManager * getMeshManager(void)
Retrieves a reference to the current MeshManager.
void setVendor(GPUVendor v)
Definition: OgreRenderSystemCapabilities.h:344
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
VectorImpl::const_reference const_reference
Definition: OgreCommon.h:404
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:623
Octree * mOctant
Octree this node is attached to.
Definition: OgreOctreeZone.h:246
StringStream StrStreamType
Definition: OgreString.h:53
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:168
void getValue(const String &name, T &value) const
Get a named property value.
Definition: OgreProperty.h:316
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.
@ ID_DEST_ALPHA
Definition: OgreScriptCompiler.h:610
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:811
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.
void * lockImpl(size_t offset, size_t length, LockOptions options) override
Internal implementation of lock()
CSGNegateSource(void)
Constructor.
void uninstall()
Perform the final plugin uninstallation sequence.
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:1815
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.
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.
void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:79
Vector & operator/=(const Vector &b)
Definition: OgreVector.h:632
Particle emitter which emits particles randomly from points inside an ellipsoid.
Definition: OgreEllipsoidEmitter.h:45
Pass * getPass(size_t index) const
Retrieves the Pass with the given index.
Definition: OgreTechnique.h:184
virtual ~ShadowCameraSetup()
Need virtual destructor in case subclasses use it.
Definition: OgreShadowCameraSetup.h:73
@ FFP_PS_TEXTURING
Definition: OgreShaderFFPRenderState.h:60
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:1180
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.
void getCopyEncoderV1Buffer(const bool bDownload)
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)
Definition: OgreTextureUnitState.h:1049
Real distance
Distance along the ray.
Definition: OgreSceneQuery.h:345
Definition: OgreD3D11TextureManager.h:37
@ VAT_NONE
No animation.
Definition: OgreAnimationTrack.h:468
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
std::vector< VkSemaphore > mRenderFinishedSemaphores
Definition: OgreVulkanWindow.h:84
AssignmentAtom(const Out &lhs, const In &rhs, int groupOrder)
uint32 width
Definition: OgreCompositionTechnique.h:70
static CmdBlueAdjust msBlueCmd
Definition: OgreColourFaderAffector.h:136
@ PF_ETC2_RGB8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:238
void increaseLodLevel(long x, long y, bool synchronous=false)
Loads terrain's next LOD level.
PixelFormat suggestPixelFormat() const override
Overridden - see RenderTarget.
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 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:225
ScriptCompilerListener * getListener()
Returns the currently set listener used for compiler instances.
void setVisible(bool visible)
Set the visibility state.
Definition: OgreGLWindow.h:43
void setProfiles(const StringVector &profiles)
Sets the Cg profiles which can be supported by the program.
static AbsolutePixelCountLodStrategy * getSingletonPtr(void)
Get the singleton instance.
void install()
Perform the plugin initial installation sequence.
virtual ~RenderSystem()
Destructor.
Real getWidth(void) const
Gets the width of this element in relation to the current GuiMetricsMode.
virtual const AxisAlignedBox & getWorldBoundingBox(bool derive=false) const
Retrieves the axis-aligned bounding box for this object in world coordinates.
uint8 mTexcoordIndex
Index into the array of texture coordinates.
Definition: OgreParticle.h:76
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLProgram.
An object which renders geometry to a vertex.
Definition: OgreGLRenderToVertexBuffer.h:45
An in memory cache of the OpenGL state.
Definition: OgreGLStateCacheManagerCommon.h:57
NativeWindowPair createWindow(QWindow *window, Ogre::NameValuePairList miscParams=Ogre::NameValuePairList())
This is an overloaded member function, provided for convenience. It differs from the above function o...
int color
Definition: OgreQuake3Types.h:213
virtual void setDuration(Real duration)
Sets the duration of the emitter.
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:184
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:3017
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:179
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:69
static ResourceGroupManager & getSingleton(void)
Get the singleton instance.
virtual void setOrigin(const Vector3 &worldOrigin)
Set the origin of the grid in world space.
TextureDefinition * getTextureDefinition(size_t idx) const
Get a local texture definition.
Definition: OgreCompositionTechnique.h:102
@ SPC_TEXTURE_COORDINATE6
Definition: OgreShaderParameter.h:299
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:631
@ GPU_IMAGINATION_TECHNOLOGIES
Definition: OgreRenderSystemCapabilities.h:236
StencilOperation getStencilFailOp() const
Get stencil fail operation.
RenderState * getRenderState(const String &schemeName, const Material &mat, uint16 passIndex=0)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderGenerator.h:204
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:68
uint getGLHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLLinkProgram.h:80
void _setParent(OverlayContainer *parent)
Definition: OgreOverlayElement.h:439
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:533
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
void setDirection(const Vector3 &vec, TransformSpace relativeTo=TS_PARENT, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
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.
void exportScene(SceneNode *rootNode, const String &outFileName)
virtual ~LodStrategy()
Virtual destructor.
Information about predefined program constants.
Definition: OgreGpuProgramParams.h:145
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
@ PF_BYTE_LA
2 byte pixel format, 1 byte luminance, 1 byte alpha
Definition: OgrePixelFormat.h:68
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:270
static IDirect3D9 * getDirect3D9()
void setActiveDevice(D3D9Device *device)
Template class for creating single-instance global classes.
Definition: OgreSingleton.h:71
std::unordered_map< String, ResourceMap > ResourceWithGroupMap
Definition: OgreResourceManager.h:464
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:712
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:392
Real getSpeedFactor(void) const
Gets the 'speed factor' on this particle system.
Definition: OgreParticleSystem.h:322
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
const WidgetList & getWidgets(TrayLocation trayLoc) const
Gets all the widgets of a specific tray.
Definition: OgreTrays.h:982
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 setDebugColour(const ColourValue &col)
Definition: OgreFrustum.h:458
void _rename(const String &newName, bool onlyLocal=false)
internal function for aliasing to GLSL builtins e.g. gl_Position
Definition: OgreShaderParameter.h:340
Technique * getCurrentTechnique(void) const
Get the current Technique.
Definition: OgreStaticGeometry.h:275
static const uint16 WORKQUEUE_LOAD_LOD_DATA_REQUEST
Definition: OgreTerrainLodManager.h:92
void addRequestToQueue(LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser)
unsigned long worstFrameTime
Definition: OgreRenderTarget.h:76
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.
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:654
const Vector3 & getOrigin(void) const
Gets the origin of the ray.
Definition: OgreRay.h:58
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...
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
bool hasScreenSpaceRect(const String &name) const
Returns whether a object instance with the given name exists.
void destroyAllManualObjects(void)
Removes & destroys all ManualObjects from the SceneManager.
ushort getStencilBufferBitDepth(void) const
Definition: OgreRenderSystemCapabilities.h:424
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:135
Reference to a pose at a given influence level.
Definition: OgreKeyFrame.h:195
virtual ~GLES2TextureManager()
ElementType
Defines the base element type of the auto constant.
Definition: OgreGpuProgramParams.h:1176
bool getSplitPassesByLightingType(void) const
Gets whether or not the queue will split passes by their lighting type, ie ambient,...
PixelFormatList formatList
Definition: OgreCompositionTechnique.h:75
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)
float w
Definition: OgreQuaternion.h:344
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.
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:157
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
@ PF_ASTC_RGBA_12X12_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 12x12)
Definition: OgrePixelFormat.h:276
@ PF_R16G16B16_UINT
48-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int), 16 bits green (unsigned...
Definition: OgrePixelFormat.h:163
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
@ SPC_NORMAL_OBJECT_SPACE
Normal in object space.
Definition: OgreShaderParameter.h:108
D3DDISPLAYMODE getDisplayMode() const
Definition: OgreD3D9VideoMode.h:57
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:135
@ HBL_READ_ONLY
Lock the buffer for reading only.
Definition: OgreHardwareBuffer.h:159
Real skyDomeTiling
Definition: OgreSceneManager.h:295
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:125
An animation sequence.
Definition: OgreAnimation.h:91
BSP specialisation of RaySceneQuery.
Definition: OgreBspSceneManager.h:237
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.
bool mouseMoved(const MouseMotionEvent &evt)
Processes mouse movement differently for each style.
The definition of the information each layer will contain in this terrain.
Definition: OgreTerrainMaterialGenerator.h:132
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:631
static const uint16 CHUNK_VERSION
Definition: OgrePagedWorld.h:63
static const Vector3 UNIT_X
Definition: OgreVector.h:257
void setVertexShaderOutputsCompactPolicy(VSOutputCompactPolicy policy)
Set the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:414
Factory object for creating Portal instances.
Definition: OgrePortal.h:75
void setLateMaterialResolving(bool isLate)
Sets whether to use late material resolving or not.
Definition: OgreSceneManager.h:3036
std::list< ResourceDeclaration > ResourceDeclarationList
List of resource declarations.
Definition: OgreResourceGroupManager.h:256
Structure used to define a box in a 3-D integer space.
Definition: OgreCommon.h:725
void dump(std::ofstream &of) const
Dump contents for diagnostics.
Factory object for creating RibbonTrail instances.
Definition: OgreRibbonTrail.h:225
CreateCallbackWrapper(const String &lang, CreateGpuProgramCallback cb)
Definition: OgreGLGpuProgramManager.h:53
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:170
SharedPtr< Material > MaterialPtr
Definition: OgrePrerequisites.h:284
@ BBO_TOP_CENTER
Definition: OgreBillboardSet.h:59
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.
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.
Definition: OgreManualObject.h:438
bool getShadowsEnabled(void) const
Returns whether or not shadows (defined in the SceneManager) are displayed in this viewport.
Definition: OgreViewport.h:336
int getCurrentLod() const
Get the current LOD index (only valid after calculateCurrentLod)
Definition: OgreTerrainQuadTreeNode.h:244
void open(const String &filename)
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:177
Link to another skeleton to share animations.
Definition: OgreSkeleton.h:474
size_t batchCount
number of batches rendered in the last update() call.
Definition: OgreRenderTarget.h:80
void _swapBuffers()
Actually performs present.
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.
Definition: OgrePass.h:820
void initializeCache()
Initialize our cache variables and sets the GL states on the current context.
Basic slider widget.
Definition: OgreTrays.h:516
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: OgreDeflate.h:140
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.
Definition: OgreViewport.h:126
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:464
void setListener(Listener *listener)
Sets a listener for this object.
Definition: OgreMovableObject.h:448
virtual ~SubRenderStateFactory()
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:303
void setVertexBufferBinding(VertexBufferBinding *binding)
static void convertColourValue(const ColourValue &colour, uint32 *pDest)
Definition: OgreRoot.h:559
virtual Response * handleRequest(const Request *req, const WorkQueue *srcQ)=0
The handler method every subclass must implement.
bool getSkipAnimationStateUpdate() const
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:812
bool validateMaterialIlluminationPasses(const String &schemeName, const String &materialName, const String &groupName=RGN_DEFAULT)
Validate specific material scheme.
void pitch(const Radian &angle)
Pitches the camera up/down anticlockwise around it's local z axis.
Window createXWindow(Display *display, Window parent, XVisualInfo *visualInfo, int &left, int &top, uint &width, uint &height, Atom wmFullScreen, bool fullScreen)
Real * ptr()
Definition: OgreVector.h:73
void _markBuffersUnusedForAnimation(void)
Mark all vertex data as so far unanimated.
static const uint16 TERRAINGENERALINFO_CHUNK_VERSION
Definition: OgreTerrain.h:289
virtual void _setLineWidth(float width)
Set the line width when drawing as RenderOperation::OT_LINE_LIST/ RenderOperation::OT_LINE_STRIP.
Definition: OgreRenderSystem.h:527
void setLightCountPerIteration(unsigned short c)
If light iteration is enabled, determine the number of lights per iteration.
Definition: OgrePass.h:1156
ConvexBody(const ConvexBody &cpy)
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:287
D3D11HLSLProgram * _getBoundGeometryProgram() const
GPUDeviceNameRule(const String &pattern, IncludeOrExclude ie, bool caseSen)
Definition: OgreTechnique.h:140
@ GPU_PROGRAM
Definition: OgreScriptCompiler.h:476
TerrainLayerSamplerElement(uint8 src, TerrainLayerSamplerSemantic sem, uint8 elemStart, uint8 elemCount)
Definition: OgreTerrainMaterialGenerator.h:93
virtual CompositorInstance::RenderSystemOperation * createOperation(CompositorInstance *instance, const CompositionPass *pass)=0
Create a custom composition operation.
DefaultRaySceneQuery(SceneManager *creator)
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=HBU_GPU_ONLY, HardwareBuffer::Usage indexBufferUsage=HBU_GPU_ONLY, bool vertexShadowBuffer=false, bool indexShadowBuffer=false)
Creates a genuinely curved plane, by default majoring on the x/y axes facing positive Z.
A collection of Bone objects used to animate a skinned mesh.
Definition: OgreSkeleton.h:86
const TerrainSlotMap & getTerrainSlots() const
Get the defined terrains.
Definition: OgreTerrainGroup.h:483
void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
@ ACT_SURFACE_ALPHA_REJECTION_VALUE
Surface alpha rejection value, not as set in Pass::setAlphaRejectValue, but a floating number between...
Definition: OgreGpuProgramParams.h:754
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.
Usage getUsage(void) const
Returns the Usage flags with which this buffer was created.
Definition: OgreHardwareBuffer.h:367
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
@ VAT_MORPH
Morph animation is made up of many interpolated snapshot keyframes.
Definition: OgreAnimationTrack.h:470
CameraStyle
enumerator values for different styles of camera movement
Definition: OgreCameraMan.h:47
Vector< 3, Real > Vector3
Definition: OgrePrerequisites.h:245
void setAutoUpdated(bool autoupdate)
Sets whether this viewport should be automatically updated if Ogre's rendering loop or RenderTarget::...
Definition: OgreViewport.h:253
std::map< String, PCZone * > ZoneMap
Definition: OgrePCZone.h:51
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:199
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE
Definition: OgreScriptCompiler.h:806
static size_t calculateLoadingStages(const String &levelName)
Calculate the number of loading stages required for a given level.
void _setMorphRequired(bool morph)
Request vertex morphing information.
Definition: OgreTerrain.h:1455
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
void destroy(HighLevelGpuProgram *prog)
~GLHardwareBufferManager()
void drawFrustum(const Frustum *frust)
const std::vector< VkImageView > & getSwapchainImageViews() const
Definition: OgreVulkanWindow.h:146
void setShadowCastersCannotBeReceivers(bool ind)
Sets whether or not objects which cast shadows should be treated as never receiving shadows.
Definition: OgreRenderQueueSortingGrouping.h:361
void _notifyActiveEncoderEnded()
void _populateLightList(const SceneNode *sn, Real radius, LightList &destList, uint32 lightMask=0xFFFFFFFF)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreSceneManager.h:1331
void _defragmentBatchDiscard(void)
bool isSampler() const
Definition: OgreGpuProgramParams.h:181
virtual ~GLES2RenderToVertexBuffer()
D'tor.
const ColourValue & getBorderColour(void) const
Definition: OgreTextureUnitState.h:204
bool isCapabilityRenderSystemSpecific(const Capabilities c) const
Returns true if capability is render system specific.
Definition: OgreRenderSystemCapabilities.h:437
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:109
float getDuration(void) const
Definition: OgreTextureAnimatorAffector.h:51
bool isChecked()
Definition: OgreTrays.h:654
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D11HLSLProgram.h:179
void destroy()
Delete any input data if this struct is set to do so.
Definition: OgreTerrain.h:475
MapIterator< ParticleAffectorFactoryMap > ParticleAffectorFactoryIterator
Definition: OgreParticleSystemManager.h:306
bool isCursorVisible()
Definition: OgreTrays.h:823
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
@ ID_DIFFUSE
Definition: OgreScriptCompiler.h:598
ParticleAffector(ParticleSystem *parent)
Definition: OgreParticleAffector.h:82
static const Matrix3 IDENTITY
Definition: OgreMatrix3.h:297
static const PassSet & getPassGraveyard(void)
Static method to retrieve all the Passes which are pending deletion.
Definition: OgrePass.h:1365
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:436
virtual void getChunksOfLevel(const size_t level, VecChunk &result) const
Gathers all visible chunks (containing triangles) of a specific LOD level.
ControllerReal * createTextureVScroller(TextureUnitState *layer, Real vSpeed)
Creates a basic time-based texture v coordinate modifier designed for creating scrolling textures.
@ PF_L8
8-bit pixel format, all bits luminance.
Definition: OgrePixelFormat.h:59
Material * getParent(void) const
Gets the parent Material.
Definition: OgreTechnique.h:218
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.
uint8 mCurrentFrameIdx
Definition: OgreVulkanQueue.h:86
void doSet(void *target, const String &val)
uint16 variability
How the contents of this slot vary.
Definition: OgreGpuProgramParams.h:358
This class stores the capabilities of the graphics card.
Definition: OgreRenderSystemCapabilities.h:254
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:454
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)
~LodOutputProviderCompressedMesh()
@ EncoderComputeOpen
Definition: OgreVulkanQueue.h:66
@ D3D_FUSAGE_MIN
min filter
Definition: OgreD3D9Mappings.h:61
void shutdown(void)
Shutdown the renderer and cleanup resources.
String manualMeshName
Set's a mesh as the Lod Level for given distance.
Definition: OgreLodConfig.h:113
@ RENDER_QUEUE_BACKGROUND
Use this queue for objects which must be rendered first e.g. backgrounds.
Definition: OgreRenderQueue.h:55
const ShadowTextureConfigList & getShadowTextureConfigList() const
Get the current shadow texture settings.
Definition: OgreSceneManager.h:2821
size_t _getIndexInFrame() const
Returns the index at which this light is in the current render.
Definition: OgreLight.h:425
@ 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
Definition: OgreHardwareVertexBuffer.h:158
void addOrganisationMode(OrganisationMode om)
Add a required sorting / grouping mode to this collection when next used.
Definition: OgreRenderQueueSortingGrouping.h:194
~D3D11HLSLProgramFactory()
void setValue(Real value)
ControllerValue implementation.
Definition: OgreAnimationState.h:313
static GLint convertStencilOp(StencilOperation op, bool invert=false)
const String & getName() const
Get the name of the plugin.
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:526
Quaternion()
Default constructor, initializes to identity rotation (aka 0°)
Definition: OgreQuaternion.h:60
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.
virtual void setValue(const AnyNumeric &val)
Set the value at this keyframe.
Source which does a unary operation to another one.
Definition: OgreVolumeCSGSource.h:307
@ ID_MAX
Definition: OgreScriptCompiler.h:618
void setShowPortals(bool b)
Sets the portal visibility flag.
Definition: OgrePCZSceneManager.h:281
DecodeResult decode(const DataStreamPtr &input) const override
virtual void setCellRange(int32 minX, int32 minY, int32 maxX, int32 maxY)
Set the index range of all cells (values outside this will be ignored)
Texture surface.
Definition: OgreGLHardwarePixelBuffer.h:38
Radian operator/(float a, const Radian &b)
Definition: OgreMath.h:789
void removeAllLinkedSkeletonAnimationSources(void)
Remove all links to other skeletons for the purposes of sharing animation.
void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
Radian(float r=0)
Definition: OgreMath.h:63
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
@ ID_STENCIL
Definition: OgreScriptCompiler.h:799
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:840
static bool isDouble(GpuConstantType c)
Definition: OgreGpuProgramParams.h:170
bool getAlwaysUpdateMainSkeleton() const
The skeleton of the main entity will be updated even if the an LOD entity is being displayed.
Definition: OgreEntity.h:828
Packages the details of a configuration option.
Definition: OgreConfigOptionMap.h:50
@ SPC_POSTOLIGHT_VIEW_SPACE5
Definition: OgreShaderParameter.h:157
void getPointFromSelfOrNeighbour(int32 x, int32 y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
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.
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
Definition: OgreGLNativeSupport.h:89
Local texture definition.
Definition: OgreCompositionTechnique.h:64
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.
void unlock(void)
Releases the lock on this buffer.
Definition: OgreHardwareBuffer.h:254
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:775
const PoseRefList & getPoseReferences(void) const
Get a const reference to the list of pose references.
static VkBlendFactor get(SceneBlendFactor blendFactor)
void compile(bool autoManageTextureUnits=true)
'Compiles' this Material.
GL3PlusStateCacheManager(void)
virtual void load()=0
Load - will be called in main thread.
T * getPointer() const
Definition: OgreSharedPtr.h:84
@ PFF_FLOAT
This is a floating point format.
Definition: OgrePixelFormat.h:317
GL3PlusRenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
Real getFrameSmoothingPeriod(void) const
Gets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:829
const MaterialPtr & getMaterial() const
Gets the material generated for this font, as a weak reference.
Definition: OgreFont.h:291
@ 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:86
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:72
SharedPtr< D3D11HLSLProgram > D3D11HLSLProgramPtr
Definition: OgreD3D11Prerequisites.h:122
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
@ SPC_LIGHTDIRECTION_VIEW_SPACE3
Definition: OgreShaderParameter.h:195
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:182
bool autoLights
Automatic light handling?
Definition: OgreSceneManager.h:395
~GLSLMonolithicProgram(void)
A TerrainMaterialGenerator which can cope with normal mapped, specular mapped terrain.
Definition: OgreTerrainMaterialGeneratorA.h:59
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:541
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
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:281
unsigned short targetBufferIndex
Definition: OgreVertexIndexData.h:106
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:348
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:65
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.
Definition: OgreManualObject.h:390
size_t getCurrentChunkDepth() const
Report the current depth of the chunk nesting, whether reading or writing.
Definition: OgreStreamSerialiser.h:156
@ SPC_LIGHTDIRECTION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:178
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.
Definition: OgrePass.h:885
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:461
int elem_start
Definition: OgreQuake3Types.h:191
const GpuProgramParametersPtr & getFixedFunctionParams(TrackVertexColourType tracking, FogMode fog)
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
TextureMipmap
Enum identifying special mipmap numbers.
Definition: OgreTexture.h:113
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:1036
float dy
Definition: OgreInput.h:83
Represents a layer which is rendered on top of the 'normal' scene contents.
Definition: OgreOverlay.h:72
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:141
uint32_t uint32
Definition: OgrePlatform.h:270
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
int * getRegPointer(size_t pos)
get a pointer to register storage
Definition: OgreGpuProgramParams.h:1534
@ GPT_FRAGMENT_PROGRAM
Definition: OgreGpuProgram.h:51
AbstractNodeList values
Definition: OgreScriptCompiler.h:131
void copyMatchingNamedConstantsFrom(const GpuProgramParameters &source)
Copies the values of all matching named constants (including auto constants) from another GpuProgramP...
@ PF_ASTC_RGBA_8X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x6)
Definition: OgrePixelFormat.h:262
static const String CustomAttributeString_TARGET
Definition: OgreGLRenderTexture.h:116
Vector< 2, float > vec2
Definition: OgreTinyRenderSystem.h:24
void merge(const RenderQueueGroup *rhs)
Merge group of renderables.
Definition: OgreRenderQueueSortingGrouping.h:590
Matrix4 getInverseWorldViewProjMatrix() const
String name
Definition: OgreScriptCompiler.h:172
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false) override
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
virtual bool getDynamic(void) const
Gets whether or not the buffers created for this object are suitable for dynamic alteration.
Definition: OgreBillboardChain.h:194
TextureUnitState(Pass *parent, const String &texName, unsigned int texCoordSet=0)
Name-based constructor.
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:238
virtual ~DefaultWorkQueueBase()
const ColourValue & getEmissive(void) const
Gets the self illumination colour of the pass.
Definition: OgrePass.h:408
void setTransparentSortingEnabled(bool enabled)
Sets whether or not transparent sorting is enabled.
Definition: OgrePass.h:1040
@ BBT_PERPENDICULAR_COMMON
Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and ...
Definition: OgreBillboardSet.h:92
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.
static void bulkPixelConversion(void *src, PixelFormat srcFormat, void *dst, PixelFormat dstFormat, unsigned int count)
Convert consecutive pixels from one format to another.
Definition: OgrePixelFormat.h:638
void addTextureAlias(const String &aliasName, const String &textureName)
GL3PlusHardwareBuffer(GLenum target, size_t sizeInBytes, uint32 usage, bool useShadowBuffer=false)
CompositionPass * getPass(size_t idx) const
Get a pass.
Definition: OgreCompositionTargetPass.h:135
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:72
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:162
void _initParticle(Particle *pParticle) override
Initialises a particle based on the emitter's approach and parameters.
void _cleanupDepthBuffers(IDirect3DSurface9 *manualSurface)
This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
unsigned int getWidth() const
Definition: OgreD3D9VideoMode.h:53
bool operator==(const HashedVector< T > &b)
Definition: OgreCommon.h:566
Ogre::Ray getCursorRay(Ogre::Camera *cam)
Returns a 3D ray into the scene that is directly underneath the cursor.
uint16 getDefaultGlobalColourMapSize() const
Get the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2004
GeneralAllocatedObject TerrainAlloc
Definition: OgreTerrainPrerequisites.h:40
void _notifyCustomStageEnded(void) const
Notify this manager that one custom loading stage has been completed.
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:1173
@ ID_CMPTEST
Definition: OgreScriptCompiler.h:705
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.
@ ID_MIPMAP_BIAS
Definition: OgreScriptCompiler.h:710
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:178
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:72
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:400
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:160
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.
GpuProgramPtr getByName(const String &name, const String &group, bool preferHighLevelPrograms) const
Definition: OgreGpuProgramManager.h:113
@ PF_ASTC_RGBA_10X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x6)
Definition: OgrePixelFormat.h:268
void _updateBounds(void)
Internal method for updating the bounds of the particle system.
ID3D11Buffer * getD3DBuffer(void) const
Get the D3D-specific buffer.
Definition: OgreD3D11HardwareBuffer.h:81
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:307
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:618
Utility class for loading the plugins statically.
Definition: OgreStaticPluginLoader.h:26
@ RSC_TEXTURE_1D
Supports 1d textures.
Definition: OgreRenderSystemCapabilities.h:113
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:314
Ogre::SceneNode * getTarget()
Definition: OgreCameraMan.h:76
void update()
Definition: OgreBullet.h:127
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.
@ HBU_GPU_TO_CPU
Memory mappable on host and cached.
Definition: OgreHardwareBuffer.h:50
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.
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
virtual ~Listener()
Definition: OgreSceneManager.h:323
const String & getName(void) const
Return the name of the pose (may be blank)
Definition: OgrePose.h:66
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:198
Real getScrollY(void) const
Gets the current Y scroll value.
HashedVector(size_type n)
Definition: OgreCommon.h:458
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:110
virtual Vector3 getCellSize() const
Get the size of the cells in the grid.
Definition: OgreGrid3DPageStrategy.h:137
void removeAllConstantDefinitions()
Remove a constant definition from this shared set of parameters.
Definition: OgreShaderProgramWriterManager.h:62
const String & getFullDescription(void) const
Returns a string with the full description of this error.
Definition: OgreException.h:148
virtual void shutdown(void)
Shutdown the renderer and cleanup resources.
void clearCache()
Clears all cached values.
#define Status
Definition: OgreX11.h:13
@ RSC_TEXTURE_COMPRESSION
Supports compressed textures.
Definition: OgreRenderSystemCapabilities.h:136
float bbox[6]
Definition: OgreQuake3Types.h:197
@ ID_1D
Definition: OgreScriptCompiler.h:682
const String & getOrigin(void) const
Get the origin of this resource, e.g.
Definition: OgreResource.h:410
static unsigned short POSITION_BUFFER
Buffer binding used for holding positions.
Definition: OgreTerrainQuadTreeNode.h:257
const LightList & getLights(void) const override
Gets a list of lights, ordered relative to how close they are to this renderable.
@ PF_DXT5
DDS (DirectDraw Surface) DXT5 format.
Definition: OgrePixelFormat.h:100
@ LBX_BLEND_CURRENT_ALPHA
as LBX_BLEND_DIFFUSE_ALPHA, but use current alpha from previous stages
Definition: OgreBlendMode.h:99
void _addNode(OctreeNode *)
Adds an Octree scene node to this octree level.
Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreBillboardSet.h:530
This affector scales particles in flight.
Definition: OgreScaleAffector.h:46
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.
bool mReinterpretingGS
Definition: OgreD3D11HLSLProgram.h:220
static void removeWindowEventListener(Ogre::RenderWindow *window, WindowEventListener *listener)
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.
void setColourBlendState(const ColourBlendState &state) override
Sets the global blending factors for combining subsequent renders with the existing frame contents.
void calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Real lambda=0.95f)
Calculate a new splitting scheme.
Locking helper.
Definition: OgreHardwareBuffer.h:397
@ GCT_MATRIX_DOUBLE_3X4
Definition: OgreGpuProgramParams.h:106
void setExternalMicrocode(ID3DXBuffer *pMicrocode)
Tells the program to load from some externally created microcode instead of a file or source.
Real getLodValue(void) const
Get the LOD value.
Definition: OgreStaticGeometry.h:314
static const uint32 CHUNK_ID
Definition: OgrePagedWorld.h:62
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)
Creates a new OverlayElement object from the specified template name.
@ Read
Definition: OgreVulkanTextureGpu.h:57
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:323
void setMaterial(const MaterialPtr &mat)
Sets the the material this element will use.
@ 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
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
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)
VkSemaphore getRenderFinishedSemaphore() const
Definition: OgreSceneManager.h:293
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGL3PlusFBOMultiRenderTarget.h:48
ControllerReal * 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,...
This emitter emits particles from a random location within a 3-dimensional box.
Definition: OgreBoxEmitter.h:45
Octree implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgreOctreeSceneQuery.h:88
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.
bool requiresTextureFlipping() const
Definition: OgreD3D9MultiRenderTarget.h:49
static bool parse(const String &str, double &v)
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
@ ID_BLEND_TEXTURE_ALPHA
Definition: OgreScriptCompiler.h:726
static void advanceRawPointer(const T *&ptr, ptrdiff_t offset)
Advance the pointer with raw offset.
Definition: OgreOptimisedUtil.h:230
@ GPV_PASS_ITERATION_NUMBER
Varies with pass iteration number.
Definition: OgreGpuProgramParams.h:133
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.
VulkanRenderPassDescriptor * getRenderPassDescriptor() const
Definition: OgreVulkanWindow.h:108
CompositionTargetPass * getTargetPass(size_t idx) const
Get a target pass.
Definition: OgreCompositionTechnique.h:131
@ TLSS_NORMAL
Tangent-space normal information from a detail texture.
Definition: OgreTerrainMaterialGenerator.h:61
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:304
void initialiseCounts(void)
Utility function read the header and set up counters.
virtual ~GLSLProgramCommon()
Definition: OgreGLSLProgramCommon.h:60
ColourValue getDerivedSceneColour(void) const
Operand & mask(OpMask opMask)
Definition: OgreShaderFunctionAtom.h:119
void _setDepthBufferWriteEnabled(bool enabled=true)
virtual void setUseRenderingDistance(bool use)
Set whether this camera should use the 'rendering distance' on objects to exclude distant objects fro...
Definition: OgreCamera.h:627
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.
TexturePtr getByName(const String &name, const String &groupName=RGN_DEFAULT) const
Retrieves a pointer to a resource by name, or null if the resource does not exist.
@ ID_TARGET_HEIGHT_SCALED
Definition: OgreScriptCompiler.h:782
static ControllerValueRealPtr create(GpuProgramParametersSharedPtr params, size_t index)
Constructor.
Definition: OgrePredefinedControllers.h:178
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:1116
AxisAlignedBoxSceneQuery(SceneManager *mgr)
uint8 getRetryCount() const
Get the remaining retry count.
Definition: OgreWorkQueue.h:116
void set(const Vector3 &newOrigin, const Vector3 &newEnd)
std::map< String, Animation * > AnimationList
Definition: OgreSceneManager.h:415
void destroyAllWidgets()
Destroys all widgets.
virtual void execute(IntersectionSceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
virtual void setScissorTest(bool enabled, const Rect &rect=Rect())=0
Sets the 'scissor region' i.e.
virtual ~GL3PlusRenderToVertexBuffer()
const TexturePtr & getGlobalColourMap() const
Get access to the global colour map, if enabled.
Definition: OgreTerrain.h:1398
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:176
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
Definition: OgreException.h:205
VkPhysicalDeviceMemoryProperties mDeviceMemoryProperties
Definition: OgreVulkanDevice.h:66
ConstMapIterator< PriorityMap > ConstPriorityMapIterator
Definition: OgreRenderQueueSortingGrouping.h:386
GpuProgramType
Enumerates the types of programs which can run on the GPU.
Definition: OgreGpuProgram.h:49
bool isPreparedForShadowVolumes(void) const
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes.
Definition: OgreMesh.h:725
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)
@ FRUSTUM_PLANE_FAR
Definition: OgreFrustum.h:72
D3DFORMAT _getDepthStencilFormatFor(D3DFORMAT fmt)
Check which depthStencil formats can be used with a certain pixel format, and return the best suited.
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...
@ VES_COLOUR
Colour, typically VET_UBYTE4.
Definition: OgreHardwareVertexBuffer.h:99
@ ID_SHADOW_RECEIVER_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:571
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
void blitFromMemory(const PixelBox &src, const Box &dstBox) override
Copies a region from normal memory to a region of this pixelbuffer.
static OverlayManager & getSingleton(void)
Override standard Singleton retrieval.
@ OPT_0
Optimisation level 0.
Definition: OgreD3D9HLSLProgram.h:136
uint16 getType() const
Get the type of this request within the given channel.
Definition: OgreWorkQueue.h:112
void executeRenderPassDescriptorDelayedActions(bool officialCall=true)
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
virtual void deinitGPUProfiling(void)
static Radian ASin(Real fValue)
Arc sine function.
bool isDouble() const
Definition: OgreGpuProgramParams.h:169
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:367
void link(const StringVector &srsTypes, Pass *srcPass, Pass *dstPass)
Add the SubRenderStates to this render state.
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:244
static size_t parseSizeT(const String &val, size_t defaultValue=0)
Converts a String to size_t.
Definition: OgreStringConverter.h:250
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.
@ GPT_COMPUTE_PROGRAM
Definition: OgreGpuProgram.h:55
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)
ControllerReal * createTextureRotater(TextureUnitState *layer, Real speed)
Creates a basic time-based texture coordinate modifier designed for creating rotating textures.
bool intersects(const Capsule &) const
~DefaultPlaneBoundedVolumeListSceneQuery()
virtual Real getLoadRadiusInCells()
Get the load radius as a multiple of cells.
Definition: OgreGrid2DPageStrategy.h:170
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:274
const QueuedRenderableCollection & getSolidsDiffuseSpecular(void) const
Get the collection of solids currently queued per light (only applicable in additive shadow modes).
Definition: OgreRenderQueueSortingGrouping.h:289
void touch(void)
'Touches' the resource to indicate it has been used.
Definition: OgreMaterial.h:657
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreHighLevelGpuProgram.h:124
@ ACT_RENDER_TARGET_FLIPPING
-1 if requires texture flipping, +1 otherwise.
Definition: OgreGpuProgramParams.h:730
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:589
static const uint32 TERRAINGENERALINFO_CHUNK_ID
Definition: OgreTerrain.h:288
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:207
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:174
virtual ~LodCollapseCost()
Definition: OgreLodCollapseCost.h:46
PCPlane * getUnusedCullingPlane(void)
Get an unused PCPlane from the CullingPlane Reservoir.
void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
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:257
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:63
uint8 getMaxLayers(const Terrain *terrain) const
Get the number of layers supported.
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
void setVisible(bool visible)
Shows or hides this overlay.
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:903
void show(void)
Shows this element if it was hidden.
Definition: OgreOverlayElement.h:198
static T Clamp(T val, T minval, T maxval)
Clamp a value within an inclusive range.
Definition: OgreMath.h:693
Definition: OgreInstancedEntity.h:80
@ GCT_MATRIX_DOUBLE_4X4
Definition: OgreGpuProgramParams.h:109
void preDeltaCalculation(const Rect &rect)
Notify the node (and children) that deltas are going to be calculated for a given range.
Image & loadRawData(const DataStreamPtr &stream, uint32 width, uint32 height, uint32 depth, PixelFormat format, uint32 numFaces=1, uint32 numMipMaps=0)
Loads raw data from a stream.
void addListener(Listener *l)
Add a listener to this viewport.
uint size
Definition: OgreTerrainLodManager.h:81
virtual void frameEnd(Real timeElapsed)=0
Called when the frame ends.
void getPoint(uint32 x, uint32 y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
void setGLBufferBinding(GLint binding)
const AxisAlignedBox & getBox(void) const
Gets the box which is being used for this query.
Listener which gets called back on Node events.
Definition: OgreNode.h:78
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
uint32 top
Definition: OgreCommon.h:726
UniformParameterPtr getParameterByType(GpuConstantType type, int index)
Get parameter by a given type and index.
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:449
virtual void write(const bool *boolean, size_t count=1)
virtual ~SubRenderState()
Class destructor.
void destroyWorld(const String &name)
Destroy a world.
void removeConstantDefinition(const String &name)
bool operator<(const HashedVector< T > &b)
Definition: OgreCommon.h:569
~HashedVector()
Definition: OgreCommon.h:470
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:73
@ SHADER_DEPTHWRITE
Definition: OgreQuake3Types.h:88
Specialised AnimationTrack for dealing with generic animable values.
Definition: OgreAnimationTrack.h:264
void flushShaderCache()
Flush the shader cache.
virtual void removeAllAnimations(void)
Removes all morph Animations from this mesh.
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.
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.
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:129
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:705
Operand & x()
Definition: OgreShaderFunctionAtom.h:112
@ RSC_HWRENDER_TO_VERTEX_BUFFER
Supports rendering to vertex buffers.
Definition: OgreRenderSystemCapabilities.h:133
const Any & getUserAny(void) const
Retrieves the custom key less user object associated with this class.
void setSampler(const SamplerPtr &sampler)
Definition: OgreTextureUnitState.h:654
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:676
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:198
bool hasVertex(const Vertex *v) const
Definition: OgreLodData.h:127
bool writeA
Definition: OgreBlendMode.h:274
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.
Any(const ValueType &value)
Definition: OgreAny.h:68
const AutoParamDataSource * _getAutoParamDataSource()
Definition: OgreSceneManager.h:3418
void bind(IDirect3DDevice9 *dev, IDirect3DVolume9 *mVolume, IDirect3DBaseTexture9 *mipTex)
virtual void _render(const RenderOperation &op)
Render something to the active viewport.
CompositorInstance * getCompositor(const String &name) const
Get compositor instance by name.
void customStageStarted(const Ogre::String &description)
This event is fired when a custom loading stage is about to start.
Definition: OgreTrays.h:1122
@ LF_DEFAULT
Only reloadable resources are processed, reload restores initial state.
Definition: OgreResource.h:122
void setScissorTest(bool enabled, const Rect &rect=Rect())
Sets the 'scissor region' i.e.
void _cursorReleased(const Ogre::Vector2 &cursorPos)
std::pair< CodePoint, CodePoint > CodePointRange
A range of code points, inclusive on both ends.
Definition: OgreFont.h:108
@ ID_MODULATE_X2
Definition: OgreScriptCompiler.h:719
VertexOffsetMap & _getVertexOffsets()
writable access to the vertex offsets for offline processing
Definition: OgrePose.h:121
GpuProgramParametersSharedPtr createParameters(void) override
Creates a new parameters object compatible with this program definition.
void setTessellationDomainProgramConstantBoolCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:759
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
Query the real capabilities of the GPU and driver in the RenderSystem.
~TempBlendedBufferInfo(void)
@ GCT_FLOAT1
Definition: OgreGpuProgramParams.h:71
ComPtr & operator=(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:146
shorthand for "dst = texture(sampler, uv);" instead of using FFP_SampleTexture
Definition: OgreShaderFunctionAtom.h:300
virtual ~ControllerValue()
Definition: OgreController.h:102
@ CMPF_ALWAYS_PASS
Always writes a pixel to the render target.
Definition: OgreCommon.h:64
ParticleSystemRenderer()
Constructor.
Definition: OgreParticleSystemRenderer.h:53
virtual ~CompositionTechnique()
virtual PageID getPageID(const Vector3 &worldPos)
Get the page ID for a given world position.
friend Vector operator/(Real s, const Vector &v)
Definition: OgreVector.h:660
float valueAngleUnits() const
Definition: OgreMath.h:759
Particle()
Definition: OgreParticle.h:79
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:46
std::map< String, ParticleAffectorFactory * > ParticleAffectorFactoryMap
Definition: OgreParticleSystemManager.h:78
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:330
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
@ SMT_FRAME_SEQUENTIAL
Definition: OgreCommon.h:344
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:158
void removeSubRenderState(SubRenderState *subRenderState)
Remove a sub render state from this render state.
void setTextureFiltering(TextureFilterOptions filterType)
Set the texture filtering for this unit, using the simplified interface.
Definition: OgreTextureUnitState.h:680
const AxisAlignedBox & getAAB()
Returns an updated AAB of the portal for intersection test.
@ PCT_BYTE
Definition: OgrePixelFormat.h:333
virtual ~ParticleSystemManager()
IDirect3DDevice9 * getD3D9Device()
Pose * clone(void) const
Clone this pose and create another one configured exactly the same way (only really useful for clonin...
static Vector3 parseVector3(const String &val, const Vector3 &defaultValue=Vector3::ZERO)
Parses a Vector3 out of a String.
Definition: OgreStringConverter.h:281
PixelFormat getSrcFormat(void) const
Returns the pixel format of the original input texture (may differ due to hardware requirements and p...
Definition: OgreTexture.h:339
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
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)
MaterialPtr generateForCompositeMap(const Terrain *terrain)
Generate / reuse a material for the terrain.
unsigned int getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreRenderWindow.h:180
Definition: OgreGLRenderTarget.h:16
@ FO_LINEAR
Average of a 2x2 pixel area, denotes bilinear for MIN and MAG, trilinear for MIP.
Definition: OgreCommon.h:108
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:129
void setShadowIndexBufferSize(size_t size)
Sets the maximum size of the index buffer used to render shadow primitives.
@ CMPF_ALWAYS_FAIL
Never writes a pixel to the render target.
Definition: OgreCommon.h:63
@ ID_DEPTH_BIAS
Definition: OgreScriptCompiler.h:623
virtual void removeBillboard(Billboard *pBill)
Removes a billboard from the set.
virtual void setParticleVelocity(Real speed)
Sets the initial velocity of particles emitted.
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.
Definition: OgreGLNativeSupport.h:42
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.
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.
@ ID_GAMMA
Definition: OgreScriptCompiler.h:689
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.
Definition: OgreLodConfigSerializer.h:42
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
Definition: OgreBorderPanelOverlayElement.h:241
AnyNumeric(const ValueType &value)
Definition: OgreAny.h:233
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:139
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreOctreeSceneManager.h:234
virtual Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
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 loading order for scripts of this type.
void convertToSubMesh(SubMesh *sm) const
convert this section to a SubMesh
static 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:169
void doSet(void *target, const String &val)
@ SO_GOURAUD
Colour at each vertex is linearly interpolated across the face.
Definition: OgreCommon.h:138
const Any & getUserAny(const String &key) const
Retrieves the custom user object associated with this class and key.
virtual void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
The handler method every subclass must implement.
void _initParticle(Particle *pParticle) override
Method called to allow the affector to initialize all newly created particles in the system.
RotationInterpolationMode
The types of rotational interpolation available.
Definition: OgreAnimation.h:105
@ SPC_LIGHTDIRECTION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:179
uint32 getHash(void) const
Gets the 'hash' of this pass, ie a precomputed number to use for sorting.
Definition: OgrePass.h:1323
virtual const Vector3 & getUp(void) const
Returns the up vector of the emitter.
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:90
static VkImageAspectFlags getImageAspect(PixelFormatGpu pf, const bool bPreferDepthOverStencil=false)
void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
Sets the current colour mask.
ConstVectorIterator< ObjectMap > ConstObjectIterator
Definition: OgreSceneNode.h:66
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:1502
void setLodIndex(unsigned short index)
Assigns a level-of-detail (LOD) index to this Technique.
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, unsigned short stencil=0)
static void unlockDeviceAccess()
uint32 registerCustomWordId(const String &word)
Adds a custom word id which can be used for custom script translators.
VulkanHardwarePixelBuffer(VulkanTextureGpu *tex, uint32 width, uint32 height, uint32 depth, uint8 face, uint32 mip)
ParameterPtr getLocalParameter(Parameter::Content content)
get local parameter by content
Definition: OgreShaderFunction.h:184
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.
virtual Real getTrailLength(void) const
Get the length of the trail.
Definition: OgreRibbonTrail.h:108
unsigned int flags
Definition: OgreQuake3Shader.h:105
@ ID_MODULATE_X4
Definition: OgreScriptCompiler.h:720
virtual Light * createLight(const String &name)
Creates a light for use in the scene.
const String & getZoneTypeName() const
Definition: OgrePCZone.h:94
#define _OgreD3D11Export
Definition: OgreD3D11Prerequisites.h:141
@ RSC_TEXTURE_COMPRESSION_ETC1
Supports compressed textures in the ETC1 format.
Definition: OgreRenderSystemCapabilities.h:146
void setVertexDeclaration(VertexDeclaration *decl)
void increaseRefreshRate(unsigned int rr)
Definition: OgreD3D9VideoMode.h:58
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:133
static void _writeToCache(uint32 id, GLuint programHandle)
@ PCT_COUNT
Unsigned integer per component.
Definition: OgrePixelFormat.h:339
@ PM_SOLID
The normal situation - polygons are filled in.
Definition: OgreCommon.h:208
MapIterator< AnimationList > AnimationIterator
Definition: OgreSceneManager.h:2237
PointEmitter(ParticleSystem *psys)
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
Specialised AnimationTrack for dealing with changing vertex position information.
Definition: OgreAnimationTrack.h:479
In(UniformParameterPtr p)
Definition: OgreShaderFunctionAtom.h:158
std::list< WireBoundingBox * > BoxList
Definition: OgreOctreeSceneManager.h:65
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:77
Real getDefaultLayerTextureWorldSize() const
Get the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:1996
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:252
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)=0
~DynLib()
Default destructor.
static void setExceptionsErrorLevel(const eExceptionsErrorLevel exceptionsErrorLevel)
D3D9Driver(const D3D9Driver &ob)
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:289
virtual void save(const String &filename)
Save page data to a file.
@ GPV_PER_OBJECT
Varies per object (based on an auto param usually), but not per light setup.
Definition: OgreGpuProgramParams.h:129
SkeletonVersion
Skeleton compatibility versions.
Definition: OgreSkeletonSerializer.h:41
std::map< String, ParamCommand * > ParamCommandMap
Definition: OgreStringInterface.h:84
@ ID_LINEAR
Definition: OgreScriptCompiler.h:659
MaterialPtr material
Definition: OgreStaticGeometry.h:161
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:619
void install()
Perform the plugin initial installation sequence.
void _setPolygonMode(PolygonMode level) override
Sets how to rasterise triangles, as points, wireframe or solid polys.
bool calculateCurrentLod(const Camera *cam, Real cFactor)
Calculate appropriate LOD for this node and children.
@ ID_SCROLL_X
Definition: OgreScriptCompiler.h:748
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.
@ SHADER_TCMOD
Definition: OgreQuake3Types.h:101
A SkeletonInstance is a single instance of a Skeleton used by a world object.
Definition: OgreSkeletonInstance.h:54
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,...
FastArray< VkQueueFamilyProperties > mQueueProps
Definition: OgreVulkanDevice.h:68
@ SPC_LIGHTPOSITION_WORLD_SPACE6
Definition: OgreShaderParameter.h:228
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:1096
~GLES2FrameBufferObject()
std::vector< T > FastArray
Definition: OgreVulkanPrerequisites.h:62
MapIterator< StrategyMap > getIterator()
Get an iterator for all contained strategies.
int type
Definition: OgreInput.h:76
void _setDepthBufferWriteEnabled(bool enabled=true)
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:188
bool getUseRayBoxDistanceCalculation() const
Returns whether or not to use an accurate calculation of camera distance from a terrain tile (ray / A...
Definition: OgreTerrain.h:1961
bool deleteInputData
Whether this structure should 'own' the input data (inputImage and inputFloat), and therefore delete ...
Definition: OgreTerrain.h:381
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid3DPageStrategy.h:133
Real _getLodBiasInverse(void) const
Internal method for OGRE to use for LOD calculations.
Plugin instance for ParticleFX Manager.
Definition: OgreParticleFXPlugin.h:41
virtual Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const =0
Get the squared distance between the camera and the LOD object.
void setupBoundingBox(const AxisAlignedBox &aabb)
Builds the wireframe line list.
ColourBufferType
Defines the colour buffer types.
Definition: OgreCommon.h:334
@ CE_OBJECTALLOCATIONERROR
Definition: OgreScriptCompiler.h:200
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 _setTextureAddressingMode(size_t unit, const Sampler::UVWAddressingMode &uvw)
Definition: OgreRenderSystem.h:587
MeshPtr load(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HBU_GPU_ONLY, HardwareBuffer::Usage indexBufferUsage=HBU_GPU_ONLY, bool vertexBufferShadowed=false, bool indexBufferShadowed=false)
Loads a mesh from a file, making it immediately available for use.
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
Definition: OgreVulkanTextureGpuManager.h:67
std::map< uint16, DepthBufferVec > DepthBufferMap
Definition: OgreRenderSystem.h:54
SharedPtr< Font > FontPtr
Definition: OgreFont.h:344
std::pair< MovableObject *, MovableObject * > SceneQueryMovableObjectPair
Definition: OgreSceneQuery.h:473
static int32 getFixedAttributeIndex(VertexElementSemantic semantic, uint index)
Get the fixed attribute bindings normally used by GL for a semantic.
@ ID_ALIGN_TO_FACE
Definition: OgreScriptCompiler.h:852
void exportLodConfig(Ogre::LodConfig &config, const Ogre::String &filename, Endian endianMode=ENDIAN_NATIVE)
const Vector3 & getCommonDirection(void) const
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
Definition: OgreBillboardSet.h:612
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
Radian operator/(float f) const
Definition: OgreMath.h:87
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:2935
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:363
std::multimap< size_t, VertexBoneAssignment > VertexBoneAssignmentList
Multimap of vertex bone assignments (orders by vertex index).
Definition: OgreMesh.h:102
bool _isUpdated(void) const
float heightFactor
Definition: OgreCompositionTechnique.h:74
HalfFloatGridSource(const String &serializedVolumeFile, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
@ ID_SCROLL
Definition: OgreScriptCompiler.h:742
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:976
@ CS_FREELOOK
Definition: OgreCameraMan.h:48
void install()
Perform the plugin initial installation sequence.
Definition: OgreSTBICodec.h:80
GpuProgramType getType() const
Get the type of this program.
const TextureUnitStates & getTextureUnitStates() const
Get the TextureUnitStates contained in this Pass.
Definition: OgrePass.h:581
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:97
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:78
CacheSource(const Source *src)
Constructor.
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)
void create(const String &name, unsigned int widthPt, unsigned int heightPt, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
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:599
void build(bool stencilShadows)
Build this region.
#define _OgreCgPluginExport
Definition: OgreCgPrerequisites.h:58
size_t estimateWorldGeometry(const String &filename)
Specialised from SceneManager to support Quake3 bsp files.
virtual void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
Definition: OgreMovableObject.h:601
@ ACT_LIGHT_POSITION_VIEW_SPACE
A light position in view space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:795
@ ACDT_NONE
no data is required
Definition: OgreGpuProgramParams.h:1167
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
void validateParentWindow(Display *display, Window parentWindow)
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
void drawBone(const Node *node)
void createDevice(FastArray< const char * > &extensions, uint32 maxComputeQueues, uint32 maxTransferQueues)
RenderSystemOpPairs renderSystemOperations
RenderSystem operations to queue into the scene manager, by uint8.
Definition: OgreCompositorInstance.h:137
void setFragmentProgramConstantFloatCount(ushort c)
The number of floating-point 4-vector constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:538
virtual bool load(StreamSerialiser &stream)=0
Load this data from a stream (returns true if successful)
Definition: OgreGLGpuProgramManager.h:43
uchar * getPtr(void)
Get a pointer to the start of the memory block this stream holds.
Definition: OgreDataStream.h:318
static const uint32 CHUNK_ID
Definition: OgrePage.h:91
void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
Sets the color to clear to.
void setYawPitchDist(const Ogre::Radian &yaw, const Ogre::Radian &pitch, Ogre::Real dist)
Sets the spatial offset from the target.
const Vector2 & getScaleRange() const
Definition: OgreScaleAffector.h:74
void setCastShadows(bool enabled)
Sets whether or not this object will cast shadows.
Definition: OgreMovableObject.h:516
TextureType getTextureType(void) const
Gets the type of texture.
Definition: OgreTexture.h:143
const String & getFilenamePrefix() const
Definition: OgreTerrainGroup.h:159
ushort getGeometryProgramConstantFloatCount(void) const
The number of floating-point 4-vector constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:505
bool setParameter(const String &name, const String &value) override
generic set method for parameters that connot be derived in preAddToRenderState
virtual void resourceStreamOpened(const String &name, const String &group, Resource *resource, DataStreamPtr &dataStream)
This event is called when a resource stream has been opened, but not processed yet.
Definition: OgreResourceGroupManager.h:210
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:88
static CmdImageAdjust msImageCmd
Definition: OgreColourImageAffector.h:62
_OgreBulletExport btBoxShape * createBoxCollider(const MovableObject *mo)
create box collider using ogre provided data
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
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:663
static ControllerManager & getSingleton(void)
Get the singleton instance.
void setClearStencil(uint16 value)
Set the viewport clear stencil value (defaults to 0)
VectorImpl::reference reference
Definition: OgreCommon.h:403
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:1115
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
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:679
bool getBillboardsInWorldSpace()
Gets whether billboards are treated as being in world space.
Definition: OgreBillboardSet.h:680
float mTimeToLive
Time to live, number of seconds left of particles natural life.
Definition: OgreParticle.h:68
void setColourBlendState(const ColourBlendState &state)
Sets the global blending factors for combining subsequent renders with the existing frame contents.
eExceptionsErrorLevel
Definition: OgreD3D11Device.h:90
Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework.
Definition: OgreCompositionTargetPass.h:48
bool isDerivedDataUpdateInProgress() const
Query whether a derived data update is in progress or not.
Definition: OgreTerrain.h:1587
virtual ~Listener()
Definition: OgreAnimationTrack.h:133
bool isInitialised(void) const
Returns whether the system is initialised or not.
Definition: OgreRoot.h:333
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:56
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:305
ResourceMapIterator getResourceIterator(void)
Returns an iterator over all resources in this manager.
Definition: OgreResourceManager.h:491
void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
Sets the color to clear to.
@ FOG_NONE
No fog. Duh.
Definition: OgreCommon.h:146
const String & getMaterialName(void) const
bool queryResult(SceneQuery::WorldFragment *fragment)
Called when a WorldFragment is returned by a query.
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
value packed as PF_A8B8G8R8
void copyStateFrom(const AnimationState &animState)
Copies the states from another animation state, preserving the animation name (unlike operator=) but ...
@ ID_MATERIAL
Definition: OgreScriptCompiler.h:558
static bool isCodecRegistered(const String &codecType)
Return whether a codec is registered already.
Definition: OgreCodec.h:72
size_t indexCount
The number of indexes to use from the buffer.
Definition: OgreVertexIndexData.h:276
ButtonState
enumerator values for button states
Definition: OgreTrays.h:73
static ControllerValueRealPtr create(TextureUnitState *t)
Definition: OgrePredefinedControllers.h:89
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.
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
Retrieves the distance from the frustum to 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:200
const VertexElement & addElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Adds a new VertexElement to this declaration.
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:132
RGBA mColour
Current colour.
Definition: OgreParticle.h:66
virtual ~GLStateCacheManagerCommon()
Definition: OgreGLStateCacheManagerCommon.h:98
virtual bool _shouldRebindBackBuffer()
Definition: OgreD3D11RenderWindow.h:122
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
Definition: OgreTinyRenderSystem.h:169
virtual Real _getDerivedLeft(void)
Gets the 'left' position as derived from own left and that of parents.
SceneBlendOperation alphaOperation
Definition: OgreBlendMode.h:290
bool getCullIndividually(void) const
Returns whether or not billboards in this are tested individually for culling.
Definition: OgreBillboardSet.h:545
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.
void setTexParameteri(GLenum target, GLenum pname, GLint param)
Sets an integer parameter value per texture target.
void _renderScene(Viewport *vp)
Tells the Camera to contact the SceneManager to render from it's viewpoint.
virtual Bone * getBone(const String &name) const
Gets a bone by it's name.
@ GVA_TOP
Definition: OgreOverlayElement.h:76
@ 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
@ MANUAL_CULL_BACK
Cull triangles whose normal is pointing away from the camera (default).
Definition: OgreCommon.h:177
void setRotation(const Radian &rotation)
Set the rotation of the billboard.
Definition: OgreBillboard.h:110
void _cursorPressed(const Ogre::Vector2 &cursorPos)
std::vector< Real > SplitPointList
Definition: OgreShaderExIntegratedPSSM3.h:54
void setScale(Real x, Real y, Real z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreNode.h:282
@ TU_DYNAMIC_WRITE_ONLY
same as HBU_CPU_TO_GPU
Definition: OgreTexture.h:59
virtual VertexPoseKeyFrame * createVertexPoseKeyFrame(Real timePos)
Creates the single pose KeyFrame and adds it to this animation.
void resetAllBindings(void)
static LodWorkQueueInjector * getSingletonPtr()
DepthBuffer(uint16 poolId, uint32 width, uint32 height, uint32 fsaa, bool manual)
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)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void unloadAll(Resource::LoadingFlags flags)
Unloads all resources.
BillboardSet * getBillboardSet(void) const
Access BillboardSet in use.
Definition: OgreBillboardParticleRenderer.h:146
void setTessellationHullProgramConstantIntCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:734
Class encapsulates rendering properties of an object.
Definition: OgreMaterial.h:91
virtual void setCurrent()=0
Enable the context.
String cameraOverride
Definition: OgreCompositorInstance.h:169
HashedVector< Light * > LightList
Definition: OgreCommon.h:587
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.
void getCopyEncoder(const BufferPacked *buffer, VulkanTextureGpu *texture, const bool bDownload)
Call this function when you need to start copy/transfer operations.
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:89
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:256
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...
bool twoSidedOperation
Toggles two-sided stencil operation, which swaps increment and decrement for back-facing polygons.
Definition: OgreRenderSystem.h:131
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:353
void clear(void)
Clears all the points in the spline.
static D3DFORMAT get(HardwareIndexBuffer::IndexType itype)
Get index type.
VulkanRenderPassDescriptor * getRenderPassDescriptor() const
Definition: OgreVulkanTextureGpu.h:181
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:317
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
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:450
size_t triangleCount
number of triangles rendered in the last update() call.
Definition: OgreRenderTarget.h:78
@ ACT_LOD_CAMERA_POSITION
Provides the position of the LOD camera in world space, allowing you to perform separate LOD calculat...
Definition: OgreGpuProgramParams.h:1147
ConstParameter(valueType val, GpuConstantType type, const Semantic &semantic, const Content &content)
Definition: OgreShaderParameter.h:634
const String & getName(void) const
Returns the name of the rendering system.
D3D9Device * getDeviceFromD3D9Device(IDirect3DDevice9 *d3d9Device)
@ GVA_BOTTOM
Definition: OgreOverlayElement.h:78
virtual bool afterIlluminationPassesCreated(Technique *technique)
Called right after illuminated passes were created, so that owner of runtime generated technique can ...
Definition: OgreMaterialManager.h:124
@ ST_INTERIOR
Definition: OgreDeprecated.h:92
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:701
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:598
Pass(Technique *parent, unsigned short index)
Default constructor.
CompositionTechnique * getTechnique() const
Get CompositionTechnique used by this instance.
Definition: OgreCompositorInstance.h:252
static VkStencilOp get(StencilOperation stencilOp)
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:70
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:1017
static const uint16 WORKQUEUE_LOAD_REQUEST
Definition: OgreTerrainGroup.h:517
Scrollable text box widget.
Definition: OgreTrays.h:238
void setRemoveRenderQueueStructuresOnClear(bool r)
Set whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:350
@ ACT_TEXTURE_WORLDVIEWPROJ_MATRIX
The view/projection matrix of the assigned texture projection frustum, combined with the current worl...
Definition: OgreGpuProgramParams.h:928
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:229
@ LB_FFPBlend
Definition: OgreShaderExLayeredBlending.h:48
HashedVector(size_type n, const T &t)
Definition: OgreCommon.h:459
@ SPC_LIGHTPOSITION_OBJECT_SPACE0
Light position in object space index 0-7.
Definition: OgreShaderParameter.h:212
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:225
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)
@ ID_LIGHT_MASK
Definition: OgreScriptCompiler.h:673
@ PF_SHORT_GR
32-bit pixel format, 16-bit green, 16-bit red
Definition: OgrePixelFormat.h:129
float getPointSize(void) const
Gets the point size of the pass.
Definition: OgrePass.h:450
String mClass
Definition: OgreScriptCompiler.h:490
static DXGI_FORMAT _getPF(PixelFormat ogrePF)
utility method, convert Ogre pixel format to D3D11 pixel format
unsigned short mod
Definition: OgreInput.h:55
const VertexElement * getElement(unsigned short index) const
Get a single element.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
DataStreamPtr encode(const Any &input) const override
Codes the input and saves the result in the output stream.
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:588
NormalsMap & _getNormals()
writable access to the vertex normals for offline processing
Definition: OgrePose.h:127
GeneralAllocatedObject StateCacheAlloc
Definition: OgreGLStateCacheManagerCommon.h:38
Factory for PCZSceneManager.
Definition: OgrePCZSceneManager.h:371
int y
Definition: OgreInput.h:65
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:458
void _destroyRenderer(ParticleSystemRenderer *renderer)
Internal method for destroying a renderer.
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 setConfigOption(const String &name, const String &value)
Specific options:
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:1569
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
@ ID_COMPOSITOR_LOGIC
Definition: OgreScriptCompiler.h:783
virtual void resourceRemove(const ResourcePtr &resource)
This event is fired when a resource is about to be removed.
Definition: OgreResourceGroupManager.h:187
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:175
void _setFog(FogMode mode)
const SamplerPtr & getSampler() const
get the associated sampler
Definition: OgreTextureUnitState.h:653
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 height)
void _notifySkeleton(const SkeletonPtr &pSkel)
Internal notification, used to tell the Mesh which Skeleton to use without loading it.
void _updateRenderQueue(RenderQueue *queue)
Overloaded to be able to updated the vertex texture.
ChildNodeIterator getChildIterator(void)
GpuProgramFactory HighLevelGpuProgramFactory
Definition: OgrePrerequisites.h:113
void setScissorTest(bool enabled, const Rect &rect=Rect())
Sets the 'scissor region' i.e.
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:226
const Quaternion & getOrientation() const
Returns a quaternion representing the nodes orientation.
Definition: OgreNode.h:221
void destroyRenderWindow(const String &name)
Destroys a render window.
AnyNumeric & operator=(const AnyNumeric &rhs)
Definition: OgreAny.h:320
Definition: OgreAlignedAllocator.h:111
TRect(TRect const &o)
Definition: OgreCommon.h:611
StreamSerialiser(const DataStreamPtr &stream, Endian endianMode=ENDIAN_AUTO, bool autoHeader=true, RealStorageFormat realFormat=REAL_FLOAT)
Constructor.
static CmdRedAdjust1 msRedCmd1
Definition: OgreColourFaderAffector2.h:185
LodStrategyManager()
Default constructor.
void setTextureAnisotropy(unsigned int maxAniso)
Sets the anisotropy level to be used for all textures.
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:229
void setValue(const String &name, T value)
Set a named property value.
Definition: OgreProperty.h:331
std::vector< Triangle > TriangleList
Definition: OgreLodData.h:67
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:158
static String Type
Definition: OgreShaderExLayeredBlending.h:151
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:95
void getWorldTransform(btTransform &ret) const override
Definition: OgreBullet.h:53
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:261
void flipVisibility(bool cascade=true) const
Inverts the visibility of all objects attached to this node.
PortalBase * getPortal()
Returns the Portal that was used to create this plane.
Definition: OgrePCPlane.h:71
Degree & operator/=(float f)
Definition: OgreMath.h:140
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:240
void destroySubMesh(const String &name)
Destroy a SubMesh with the given name.
virtual void setValue(const ColourValue &)
Set value.
Definition: OgreAnimable.h:176
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...
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
@ CAPS_CATEGORY_COMMON
Definition: OgreRenderSystemCapabilities.h:62
HashedVector(const HashedVector< T > &rhs)
Definition: OgreCommon.h:460
static void setDefaultOrientationMode(OrientationMode orientationMode)
Set the initial orientation mode of viewports.
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
static void unpackColour(uint8 *r, uint8 *g, uint8 *b, uint8 *a, PixelFormat pf, const void *src)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ GPT_HULL_PROGRAM
Definition: OgreGpuProgram.h:54
Vector3 mC3
Definition: OgreVolumeDualGridGenerator.h:53
std::vector< HardwareBuffer::Usage > BufferUsageList
Define a list of usage flags.
Definition: OgreVertexIndexData.h:45
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
Rule controlling whether technique is deemed supported based on GPU device name.
Definition: OgreTechnique.h:134
virtual HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware index buffer.
PixelFormat suggestPixelFormat() const
Override since windows don't usually have alpha.
Definition: OgreVulkanWindow.h:124
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.
MemoryDataStreamPtr Microcode
Definition: OgreGpuProgramManager.h:89
std::deque< T >::const_iterator const_iterator
Definition: OgreDeprecated.h:41
GLES2RenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
static DynLibManager & getSingleton(void)
Get the singleton instance.
BillboardChainFactory()
Definition: OgreBillboardChain.h:365
PortalBase - Base class to Portal and AntiPortal classes.
Definition: OgrePortalBase.h:45
static Real LogN(Real base, Real fValue)
Definition: OgreMath.h:365
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:234
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
VulkanDevice * getVulkanDevice() const
Definition: OgreVulkanRenderSystem.h:197
virtual RenderSystemCapabilities * createRenderSystemCapabilities(void) const
Query the real capabilities of the GPU and driver in the RenderSystem.
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.
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:105
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.
VulkanRenderPassDescriptor RenderPassDescriptor
Definition: OgreVulkanRenderPassDescriptor.h:48
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:586
void incPassIterationNumber(void)
increments the multipass number entry by 1 if it exists
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its device context if needed.
@ 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:1164
void setWorldMatrices(const Affine3 *m, size_t count)
Sets the world matrices, avoid query from renderable again.
@ LB_BlendPhoenix
Definition: OgreShaderExLayeredBlending.h:73
void setStencilState(const StencilState &state) override
This method allows you to set all the stencil buffer parameters in one call.
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:79
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.
TargetMode
The target animation mode.
Definition: OgreAnimationTrack.h:483
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:395
uint32 getHeight() const
Get the height of this box.
Definition: OgreCommon.h:791
@ 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:305
@ SPC_POSTOLIGHT_TANGENT_SPACE1
Definition: OgreShaderParameter.h:163
@ 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:85
bool getUseIdentityProjection(void) const
Returns whether or not to use an 'identity' projection.
Definition: OgreManualObject.h:487
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:168
SwapchainStatus mSwapchainStatus
Definition: OgreVulkanWindow.h:87
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.
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
unsigned int getDisplayMonitorCount() const
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:162
static float Tan(Real fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:508
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
The main containing class for a chunk of terrain.
Definition: OgreTerrain.h:263
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
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
std::vector< String > ParameterList
Definition: OgreStringInterface.h:73
const String & getType(void) const
Get the type of the object to be created.
const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
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.
virtual void _beginFrame(void)
Signifies the beginning of a frame, i.e.
const GPUDeviceNameRuleList & getGPUDeviceNameRules() const
Get the currently registered device name rules.
Definition: OgreTechnique.h:691
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:89
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)
@ 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:541
Class defining particle system based special effects.
Definition: OgreParticleSystem.h:64
virtual void setBindingPose(void)
Sets the current position / orientation to be the 'binding pose' i.e.
virtual void destroy(GpuProgram *prog)
Definition: OgreGpuProgramManager.h:56
SceneManager * getSceneManager() const
Definition: OgreInstanceManager.h:160
void removeVisibilityFlags(uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on t...
Definition: OgreMovableObject.h:430
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
@ ID_SOURCE1
Definition: OgreScriptCompiler.h:717
Class that allows listening in on the various stages of SceneManager processing, so that custom behav...
Definition: OgreSceneManager.h:320
Definition: OgreVulkanHardwareBufferManager.h:38
static Real Sqr(Real fValue)
Squared function.
Definition: OgreMath.h:430
ushort getZOrder(void) const
Gets the Z-order of this overlay.
@ CLIPPED_NONE
Nothing was clipped.
Definition: OgreCommon.h:821
Real worldSize
The world size of the terrain.
Definition: OgreTerrain.h:354
SceneBlendFactor destFactorAlpha
Definition: OgreBlendMode.h:283
size_t getShadowTextureCount(void) const
Definition: OgreSceneManager.h:2859
void addParameter(const ParameterDef &def, ParamCommand *paramCmd)
Definition: OgreStringInterface.h:142
virtual ~ProgramWriter()
Class destructor.
void setShadowCasterMaterial(const String &name)
set this material specific shadow casting specific material
void setNodeHomeZone(SceneNode *, PCZone *)
Set the home zone for a scene node.
Real skyPlaneTiling
Definition: OgreSceneManager.h:305
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
static CmdPlanePoint msPlanePointCmd
Command objects.
Definition: OgreDeflectorPlaneAffector.h:96
virtual void updateCompositeMap(const Terrain *terrain, const Rect &rect)
Update the composite map for a terrain.
Definition: OgreTerrainMaterialGenerator.h:337
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.
SharedPtr< ControllerValue< Real > > ControllerValueRealPtr
Definition: OgreControllerManager.h:47
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)
Definition: OgreRenderSystemCapabilities.h:739
void _getCullBounds(AxisAlignedBox *) const
Creates the AxisAlignedBox used for culling this octree.
@ GCT_DOUBLE3
Definition: OgreGpuProgramParams.h:99
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
@ ID_ONE_MINUS_SRC_ALPHA
Definition: OgreScriptCompiler.h:613
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:156
Ogre::TextureAddressingMode TextureAddressingMode
Definition: OgreTextureUnitState.h:297
virtual void destroyAllEntities(void)
Removes & destroys all Entities.
void writeAttribute(unsigned short level, const String &att, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:317
ushort getLod(void) const
Get the LOD index.
Definition: OgreStaticGeometry.h:312
@ ID_DEPTH_CHECK
Definition: OgreScriptCompiler.h:620
void _autogenerateMipmaps(void)
virtual ~TerrainMaterialGeneratorA()
void textureCoord(const Vector2 &uv)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:321
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:65
Matrix4 getTransposeViewProjMatrix() const
virtual void drawBone(const Node *node)=0
Command object for getting/setting micro code.
Definition: OgreD3D9HLSLProgram.h:72
void setMaterialScheme(const String &schemeName)
Set the material scheme which the viewport should use.
Definition: OgreViewport.h:266
static bool getIgnoreHidden()
Get whether hidden files are ignored during filesystem enumeration.
Base for a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:373
Operand(ParameterPtr parameter, OpSemantic opSemantic, OpMask opMask=OPM_ALL, ushort indirectionLevel=0)
Class constructor.
bool ToEulerAnglesXYZ(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
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.
TextureUnitState * getTextureUnitState(size_t index) const
Retrieves a const pointer to a texture unit state.
Definition: OgrePass.h:556
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer) override
Copy data from another buffer into this one.
@ ST_EXTERIOR_REAL_FAR
Definition: OgreDeprecated.h:91
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:290
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
static String currentLanguage
Definition: OgreD3D9GpuProgramManager.h:39
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
Definition: OgreD3D11RenderWindow.h:53
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...
@ 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:174
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
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:60
@ OPT_NONE
No optimisation.
Definition: OgreD3D9HLSLProgram.h:134
bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
float getFogEnd(void) const
Returns the fog end distance for this pass.
Definition: OgrePass.h:975
void _updateRenderQueue(RenderQueue *)
Overridden from MovableObject.
Definition: OgreMovablePlane.h:79
const String & getName(void) const
Returns the name of the rendering system.
MaterialPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) const
Get a resource by name.
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)
Real getLoadingOrder(void) const override
Gets the loading order for scripts of this type.
Definition: OgreResourceManager.h:383
void setNewHomeZone(PCZone *zone)
Set the zone this portal should be moved to.
static const uint32 TERRAIN_CHUNK_ID
Definition: OgreTerrain.h:273
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 setDirection(const Vector3 &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ ID_DEFAULT_PARAMS
Definition: OgreScriptCompiler.h:584
std::vector< PageContent * > ContentList
Definition: OgreSimplePageContentCollection.h:69
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:261
LogMessageLevel getMinLogLevel() const
Gets the level of the log detail.
Definition: OgreLog.h:161
virtual bool useBoneWorldMatrices() const
Tells whether world bone matrices need to be calculated.
Definition: OgreInstanceBatch.h:324
void setGamma(float gamma)
Sets the gamma adjustment factor applied to this texture on loading the data.
SubRenderStateList::const_iterator SubRenderStateListConstIterator
Definition: OgreShaderSubRenderState.h:162
@ FFP_VS_LIGHTING
Definition: OgreShaderFFPRenderState.h:48
@ TAM_WRAP
Any value beyond 1.0 wraps back to 0.0. Texture is repeated.
Definition: OgreCommon.h:120
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:202
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:328
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
@ ID_POLYGON_MODE_OVERRIDEABLE
Definition: OgreScriptCompiler.h:656
std::map< String, ParticleEmitterFactory * > ParticleEmitterFactoryMap
Definition: OgreParticleSystemManager.h:79
Listener()
Definition: OgreNode.h:80
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
MaterialPtr clone(const String &newName, bool changeGroup, const String &newGroup=BLANKSTRING) const
Definition: OgreMaterial.h:283
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:81
const MaterialPtr & getMaterial(void) const
Get the material for this bucket.
Definition: OgreStaticGeometry.h:265
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
void hide(void)
Hides this element if it was visible.
Definition: OgreOverlayElement.h:201
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:1403
@ FA_AVERAGE
Take the average of the force vector and the particle momentum.
Definition: OgreLinearForceAffector.h:77
virtual int32 getCellRangeMaxZ() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:172
Alignment getAlignment() const
Get the alignment of the terrain.
iterator erase(iterator first, iterator last)
Definition: OgreCommon.h:542
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:325
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)
IDirect3DVertexShader9 * getVertexShader(void)
Gets the vertex shader.
const ColourValue & getSurfaceAmbientColour(void) const
GpuSharedParametersPtr getSharedParams() const
Definition: OgreGpuProgramParams.h:583
@ TFO_BILINEAR
2x2 box filtering is performed when magnifying or reducing a texture, and a mipmap is picked from the...
Definition: OgreCommon.h:82
@ SPC_LIGHTDIRECTION_TANGENT_SPACE6
Definition: OgreShaderParameter.h:208
RenderState * getRenderState(const String &schemeName, const String &materialName, const String &groupName, unsigned short passIndex)
Get render state of specific pass.
AnimableObject()
Definition: OgreAnimable.h:266
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:554
Structure defining an auto constant that's available for use in a parameters object.
Definition: OgreGpuProgramParams.h:1186
Vector< 3, int > Vector3i
Definition: OgrePrerequisites.h:247
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:211
float y
Definition: OgreQuaternion.h:344
GLenum getDepthFunc(void) const
Gets the current depth test function.
Definition: OgreGL3PlusStateCacheManager.h:164
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
void setColourBlendState(const ColourBlendState &state)
Sets the global blending factors for combining subsequent renders with the existing frame contents.
void reset(void)
Resets the object.
Real getSquaredViewDepth(const Camera *cam) const override
Returns the squared distance between the camera and this renderable.
float getTop(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
Definition: OgreViewport.h:145
const AxisAlignedBox & getBoundingBox(void) const
Retrieves the local axis-aligned bounding box for this object.
bool isCubic(void) const
Definition: OgreTextureUnitState.h:517
static LodStrategyManager * getSingletonPtr(void)
Get the singleton instance.
FrameTimeControllerValue()
virtual void destroyAllLights(void)
Removes and destroys all lights in the scene.
@ PT_PERSPECTIVE
Definition: OgreFrustum.h:64
void setDefaultWidth(Real width)
See setDefaultDimensions - this sets 1 component individually.
Definition: OgreBillboardSet.h:492
@ RSC_HWRENDER_TO_TEXTURE_3D
Definition: OgreRenderSystemCapabilities.h:187
@ SBF_ONE_MINUS_SOURCE_COLOUR
1 - SBF_SOURCE_COLOUR
Definition: OgreBlendMode.h:236
@ ID_CUBIC_TEXTURE
Definition: OgreScriptCompiler.h:691
Vector4f getPackedTextureSize(size_t index) const
ImportData()
Definition: OgreTerrain.h:399
static PixelFormat getFormatForBitDepths(PixelFormat fmt, ushort integerBits, ushort floatBits)
Returns the similar format but according 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.
@ OT_TRIANGLE_LIST
A list of triangles, 3 vertices per triangle.
Definition: OgreRenderOperation.h:56
int minor
Definition: OgreRenderSystemCapabilities.h:216
@ 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
Definition: OgreLog.h:51
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
@ SHADER_TCGEN_ENV
Definition: OgreQuake3Types.h:103
@ ACT_INVERSE_TRANSPOSE_WORLDVIEW_MATRIX
The current world & view matrices concatenated, then inverted & transposed.
Definition: OgreGpuProgramParams.h:704
void setPolygonModeOverrideable(bool override)
Sets whether the PolygonMode set on this pass can be downgraded by the camera.
Definition: OgrePass.h:907
String mMessages
Any diagnostic messages.
Definition: OgreWorkQueue.h:132
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.
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.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Sets the colour buffer that the render system will to draw.
@ BBO_CENTER
Definition: OgreBillboardSet.h:62
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
Returns the near clip plane distance to be used by spotlights that use light clipping.
Definition: OgreLight.h:300
void deleteAllOutputParameters()
Delete all output parameters from this function.
bool isSkyBoxEnabled(void) const
Return whether a skybox is enabled.
Definition: OgreSceneManager.h:2037
GLenum getProgramType(void) const
Get the GL type for the program.
ShaderParameterList::iterator ShaderParameterIterator
Definition: OgreShaderParameter.h:400
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
float valueDegrees() const
Definition: OgreMath.h:122
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:1186
@ IM_LINEAR
Values are interpolated along straight lines.
Definition: OgreAnimation.h:98
virtual void needUpdate(bool forceParentUpdate=false)
To be called in the event of transform changes to this node that require it's recalculation.
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:2048
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:373
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.
FastArray< VulkanWindow * > mWindowsPendingSwap
Definition: OgreVulkanQueue.h:103
Plane(const Vector4 &v)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePlane.h:81
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:798
@ PF_R8_UINT
8-bit pixel format, 8 bits red (unsigned int).
Definition: OgrePixelFormat.h:151
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.
@ ID_ALWAYS_FAIL
Definition: OgreScriptCompiler.h:625
@ PF_ASTC_RGBA_5X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x4)
Definition: OgrePixelFormat.h:252
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
virtual void freeAllBuffers()=0
Free any buffers we're holding.
Parallel Split Shadow Map (PSSM) shadow camera setup.
Definition: OgreShadowCameraSetupPSSM.h:57
Definition: OgreSceneManager.h:303
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
Initialize the render system from the capabilities.
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+ InstanceBatchVTF.
Definition: OgreInstanceManager.h:64
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreGLSLESCgProgram.h:63
void setAmbientLightColour(const ColourValue &ambient)
size_t getNumSubEntities(void) const
Retrieves the number of SubEntity objects making up this entity.
Definition: OgreEntity.h:357
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:2805
size_t getNumTextureUnitStates(void) const
Returns the number of texture unit settings.
Definition: OgrePass.h:594
float x
Definition: OgreInput.h:82
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.
virtual Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
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:359
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:536
float a
Definition: OgreColourValue.h:84
Handles the management of skeleton resources.
Definition: OgreSkeletonManager.h:52
std::vector< GeometryBucket * > GeometryBucketList
list of Geometry Buckets in this region
Definition: OgreStaticGeometry.h:236
UniformParameterList::iterator UniformParameterIterator
Definition: OgreShaderParameter.h:624
@ 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:845
Command object for red adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:49
CSGIntersectionSource(const Source *a, const Source *b)
Constructor.
StringVector textureNames
List of texture names to import; must match with TerrainLayerDeclaration.
Definition: OgreTerrain.h:302
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:84
Technique * getSupportedTechnique(size_t index) const
Gets the indexed supported technique.
Definition: OgreMaterial.h:246
Ogre::Real getPadding()
Definition: OgreTrays.h:246
bool renderOneFrame(void)
Updates all the render targets automatically.
void setSequenceTime(Real seqVal)
Set the sequence duration value manually.
void _load(void)
Internal method for loading this object as part of Material::load.
std::multimap< K, V, P >::iterator iterator
Definition: OgreDeprecated.h:80
void load(const String &filename)
Load world data from a file.
@ LB_BlendNormal
Definition: OgreShaderExLayeredBlending.h:49
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 object instance with the given name exists.
void unlockImpl() override
Internal implementation of unlock()
StreamSerialiser * _writeWorldStream(const String &filename)
Get a serialiser set up to write PagedWorld data.
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:1879
Wrapper class which identifies a value as the currently default angle type, as defined by Math::setAn...
Definition: OgreMath.h:164
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:188
DefaultPlaneBoundedVolumeListSceneQuery(SceneManager *creator)
TriangleList triangles
Main triangles array, stores all triangles of this edge list.
Definition: OgreEdgeListBuilder.h:125
void _destroyVisualData(ParticleVisualData *)
Definition: OgreParticleSystemRenderer.h:89
VertexAnimationType
Type of vertex animation.
Definition: OgreAnimationTrack.h:466
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:1193
void uninstall()
Perform the final plugin uninstallation sequence.
Vector< 4, float > Vector4f
Definition: OgrePrerequisites.h:249
TerrainLayerBlendMap * getLayerBlendMap(uint8 layerIndex)
Retrieve the layer blending map for a given layer, which may be used to edit the blending information...
@ ACT_TRANSPOSE_WORLD_MATRIX
Provides transpose of world matrix.
Definition: OgreGpuProgramParams.h:635
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreD3D11RenderWindow.h:62
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()
static CmdRedAdjust2 msRedCmd2
Definition: OgreColourFaderAffector2.h:186
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Definition: OgreBorderPanelOverlayElement.h:243
virtual bool isConstParameter() const
Returns true if this instance is a ConstParameter otherwise false.
Definition: OgreShaderParameter.h:360
VkFence mProtectingFence
Definition: OgreVulkanQueue.h:57
@ SPC_LIGHTDIRECTION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:175
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const override
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:685
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:3029
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:65
Definition: OgreComPtr.h:86
MeshLodUsage()
Definition: OgreMesh.h:977
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareIndexBuffer.h:67
Factory class for GLSL programs.
Definition: OgreGLSLProgramFactory.h:42
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.
void destroyView(VkImageView imageView)
@ GCT_SAMPLER3D
Definition: OgreGpuProgramParams.h:77
@ SPC_LIGHTPOSITIONVIEW_SPACE3
Definition: OgreShaderParameter.h:235
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:104
@ ID_SCROLL_ANIM
Definition: OgreScriptCompiler.h:743
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.
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.
ushort newLodIndex
New level of detail index.
Definition: OgreLodListener.h:69
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:746
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.
CreateGpuProgramScriptCompilerEvent CreateHighLevelGpuProgramScriptCompilerEvent
Definition: OgreScriptCompiler.h:523
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
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:571
@ PF_BYTE_BGRA
32-bit pixel format, 8 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:300
DefaultSphereSceneQuery(SceneManager *creator)
bool isReloadable(void) const
Real inputBias
How to bias the input values provided (if any)
Definition: OgreTerrain.h:386
TrackVertexColourEnum
Definition: OgreCommon.h:299
ConstChildNodeIterator getChildIterator(void) const
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D11RenderWindow.h:64
String getTopRightBorderUVString() const
@ ID_ALPHA_BLEND
Definition: OgreScriptCompiler.h:715
RenderWindow()
Default constructor.
float getAlphaAdjust2(void) const
@ OPT_2
Optimisation level 2.
Definition: OgreD3D9HLSLProgram.h:140
VectorImpl::iterator iterator
Definition: OgreCommon.h:407
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
Information about the position and size of a glyph in a texture.
Definition: OgreFont.h:63
void _deinitialise(void)
Tear down the internal structures of this Entity, rendering it uninitialised.
@ SPC_POSTOLIGHT_WORLD_SPACE7
Definition: OgreShaderParameter.h:149
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:40
Definition: OgreD3D11Mappings.h:39
LodStrategy(const String &name)
Constructor accepting name.
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.
void setLayerSpecularMappingEnabled(bool enabled)
Whether to support specular mapping per layer in the shader (default true).
@ LB_BlendAverage
Definition: OgreShaderExLayeredBlending.h:53
virtual Real getTimeToLive(void) const
Gets the time each particle will live for.
SourceModifier sourceModifier
Definition: OgreShaderExLayeredBlending.h:98
const SkyBoxGenParameters & getSkyBoxGenParameters(void) const
Get the parameters used to generate the current SkyBox, if any.
Definition: OgreSceneManager.h:2043
virtual PagedWorldSection * createInstance(const String &name, PagedWorld *parent, SceneManager *sm)=0
String validateConfigOptions()
Validates the options set for the rendering system, returning a message if there are problems.
int type
Definition: OgreInput.h:90
@ OR_PORTRAIT
Definition: OgreFrustum.h:54
void setDefiner(TerrainDefiner *terrainDefiner)
Definition: OgreTerrainPagedWorldSection.h:168
@ VRM_CONSTANT
Exact vertex count to be removed from each submesh.
Definition: OgreLodConfig.h:75
void loadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
@ CNT_COLON
Definition: OgreScriptCompiler.h:58
int member
Definition: OgreComPtr.h:185
static const uint32 CHUNK_SECTIONDECLARATION_ID
Definition: OgrePagedWorld.h:64
bool validateScheme(const String &schemeName)
Validate a given scheme.
DefaultHardwareBufferManager as a Singleton.
Definition: OgreDefaultHardwareBufferManager.h:106
D3D11StereoDriverBridge(StereoModeType stereoMode)
const String & getName() const
Get the name of the plugin.
@ IM_USEBONEDUALQUATERNIONS
Definition: OgreCommon.h:363
bool intersects(const Segment &) const
@ SHADER_NEEDCOLOURS
Definition: OgreQuake3Types.h:91
bool isReflected(void) const
Returns whether this frustum is being reflected.
Definition: OgreFrustum.h:530
const String & getType(void) const
Return the type code of this Archive.
Definition: OgreArchive.h:218
void * lockImpl(size_t offset, size_t length, LockOptions options) override
Internal implementation of lock()
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:739
@ GCT_BOOL3
Definition: OgreGpuProgramParams.h:116
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)=0
void execute(RaySceneQueryListener *listener) override
Executes the query and returns each match through a listener interface.
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:708
virtual const std::set< WorldFragmentType > * getSupportedWorldFragmentTypes(void) const
Returns the types of world fragments this query supports.
Definition: OgreSceneQuery.h:171
std::set< ushort > TrackHandleList
A list of track handles.
Definition: OgreAnimation.h:427
GpuLogicalIndexUse(size_t bufIdx, size_t curSz, uint16 v, BaseConstantType t)
Definition: OgreGpuProgramParams.h:364
uint32 visibilityMask
Scene visibility mask If this is 0, the scene is not rendered at all.
Definition: OgreCompositorInstance.h:141
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:189
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.
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:96
Definition: OgreSmallVector.h:139
SceneMgrQueuedRenderableVisitor * getQueuedRenderableVisitor(void) const
Gets the current visitor object which processes queued renderables.
Definition: OgreSceneManager.h:3374
const String & getType(void) const
Get the type of the object to be created.
GLES2StateCacheManager * _getStateCacheManager()
Definition: OgreGLES2RenderSystem.h:192
void setOutputSlice(int slice)
sets the slice of output texture
Definition: OgreCompositionTargetPass.h:75
SharedPtr< AbstractNodeList > AbstractNodeListPtr
Definition: OgreScriptCompiler.h:89
static GLSLProgramManager & getSingleton(void)
PlaneOptimalShadowCameraSetup(const MovablePlane *plane)
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.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const override
Maps a magic number header to a file extension, if this codec recognises it.
FileHandleDataStream(const String &name, FILE *handle, uint16 accessMode=READ)
Create named stream from a C file handle.
virtual bool setParameter(const String &name, const String &value)
generic set method for parameters that connot be derived in preAddToRenderState
Definition: OgreShaderSubRenderState.h:128
@ 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.
CompositionTechnique * getParent()
Get parent object.
Class defining a generic OGRE plugin.
Definition: OgrePlugin.h:80
const D3d11ShaderParameters & getInputParams() const
Definition: OgreD3D11HLSLProgram.h:224
PCZSceneNode(SceneManager *creator, const String &name)
Standard constructor.
@ GCT_MATRIX_3X4
Definition: OgreGpuProgramParams.h:88
const_iterator begin() const
Definition: OgreCommon.h:428
StereoModeType
Defines the stereo mode types.
Definition: OgreCommon.h:342
Contains the data of an element of the BillboardChain.
Definition: OgreBillboardChain.h:85
String to_string(const Matrix4 &v)
Definition: OgreStringConverter.h:366
SceneManager * _getManager(void) const
Get the manager of this object, if any (internal use only)
Definition: OgreMovableObject.h:183
void setDeviceName(const String &name)
sets the device name for Render system
Definition: OgreRenderSystemCapabilities.h:516
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters=0)=0
A rendersystem-specific event occurred.
@ ID_CUBIC
Definition: OgreScriptCompiler.h:685
const ParameterList & getParameters(void) const
Retrieves a list of parameters valid for this object.
Definition: OgreStringInterface.h:151
void _setMaterial(MaterialPtr &mat)
Sets the material this renderer must use; called by ParticleSystem.
Definition: OgreBillboardParticleRenderer.h:115
Structure for automatic Lod configuration.
Definition: OgreLodConfig.h:55
float maxEdgeAngle
Definition: OgreAssimpLoader.h:87
virtual void visit(Renderable *rend, ushort lodIndex, bool isDebug, Any *pAny=0)=0
Generic visitor method.
@ RSC_VAO
Support for Vertex Array Objects (VAOs)
Definition: OgreRenderSystemCapabilities.h:195
void destroyWorldSection(PagedWorldSection *s)
Destroy an instance of PagedWorldSection.
PCZone * getDefaultZone(void)
Get the default zone.
Definition: OgrePCZSceneManager.h:272
An object which renders geometry to a vertex.
Definition: OgreGL3PlusRenderToVertexBuffer.h:44
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:674
uint32 numberOfInstances
The number of instances for the render operation - this option is supported in only a part of the ren...
Definition: OgreRenderOperation.h:117
void dirtyNodeByMovingPortals(void)
Mark nodes dirty base on moving portals.
Vector3 position
Definition: OgreStaticGeometry.h:164
@ INTERSECT_BACK_NO_CROSS
Definition: OgrePortalBase.h:165
const String & getShaderCachePath() const
Get the output shader cache path.
Definition: OgreShaderGenerator.h:160
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.
virtual void _getDepthStencilFormatFor(PixelFormat internalColourFormat, uint32 *depthFormat, uint32 *stencilFormat)
Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE.
virtual ~RayResultCallback()
Definition: OgreBullet.h:84
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:614
void setTextureStacksAndSlices(uchar stacks, uchar slices)
Generate texture coordinate rects for a tiled texture sheet.
virtual void initGPUProfiling(void)
const uchar * getData(uint32 x=0, uint32 y=0, uint32 z=0) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreImage.h:332
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
bool isAutoDepthStencil() const
void _initialise() override
Start up the renderer using the settings selected (Or the defaults if none have been selected).
@ ID_SET_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:580
std::atomic< T > AtomicScalar
Definition: OgreDeprecated.h:22
size_t getShadowIndexBufferSize(void) const
Get the size of the shadow index buffer.
Definition: OgreSceneManager.h:2704
@ ACT_DERIVED_LIGHT_SPECULAR_COLOUR_ARRAY
Array of derived light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:886
VectorImpl::size_type size_type
Definition: OgreCommon.h:405
ColourBufferType getDrawBuffer() const
Returns the current colour buffer type for this viewport.
Definition: OgreViewport.h:378
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.
Ogre::RenderWindow * getRenderWindow() const
get the main RenderWindow owns the context on OpenGL
Definition: OgreApplicationContextBase.h:97
Default implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgreSceneManager.h:3462
VkImageType getVulkanTextureType(void) const
@ SRF_INCLUDE_DARK_CAP
For shadow volume techniques only, generate a dark cap on the volume.
Definition: OgreShadowCaster.h:115
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.
Definition: OgrePass.h:481
String doGet(const void *target) const
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:249
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:57
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: OgreAnimationState.h:43
@ SHADER_NOMIPMAPS
Definition: OgreQuake3Types.h:90
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:253
void addOrganisationMode(QueuedRenderableCollection::OrganisationMode om)
Add a required sorting / grouping mode for the solids in this group.
Definition: OgreRenderQueueSortingGrouping.h:558
virtual bool supportsPCZoneType(const String &zoneType)=0
const PoseList & getPoseList(void) const
Get pose list.
void setTextureCoords(const std::vector< FloatRect > &coords)
BillboardSet can use custom texture coordinates for various billboards.
FocusedShadowCameraSetup(bool useAggressiveRegion=true)
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:1531
bool getIncludesNormals() const
Return whether the pose vertices include normals.
Definition: OgrePose.h:82
virtual void _removeAntiPortal(AntiPortal *removeAntiPortal)
Remove an anti portal from the zone.
size_t physicalIndex
The target (physical) constant index.
Definition: OgreGpuProgramParams.h:1210
BspIntersectionSceneQuery(SceneManager *creator)
std::unordered_map< String, ResourcePtr > ResourceMap
Definition: OgreResourceManager.h:463
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:384
bool getIsOptimised(void)
Gets if the GLSL source has been optimised successfully.
Definition: OgreGLSLESProgram.h:66
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:221
@ 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:750
~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
@ TEX_TYPE_3D
3D volume texture, used in combination with 3D texture coordinates
Definition: OgreTexture.h:100
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:166
const SubRenderStateList & getSubRenderStates() const
Get the list of the sub render states composing this render state.
Definition: OgreShaderRenderState.h:76
virtual ~Listener()
Need virtual destructor in case subclasses use it.
Definition: OgreResourceBackgroundQueue.h:106
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
Real getSquaredViewDepth(const Camera *cam) const override
Returns the squared distance between the camera and 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:1321
Definition: OgreShaderFunctionAtom.h:175
static PropertyType getTypeForValue(const Vector3 &val)
Definition: OgreProperty.h:166
IDirect3DDevice9 * getDeviceCreator() const
void setShadowReceiverMaterial(MaterialPtr val)
set this material specific shadow receiving specific material
GLContext * getGLContext() const
Definition: OgreGLDepthBufferCommon.h:36
Renderable * _getTexturedRectangle2D()
Get a textured fullscreen 2D rectangle, for internal use.
std::set< Texture * > UniqueTextureSet
Definition: OgreCompositorManager.h:127
@ SPC_POSTOCAMERA_TANGENT_SPACE
View vector in tangent space.
Definition: OgreShaderParameter.h:129
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:263
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:227
float getAttenuationLinear(void) const
Returns the linear factor in the attenuation formula.
Definition: OgreLight.h:203
void initialiseResourceGroup(const String &name)
Initialises a resource group.
Technique * getBestTechnique(unsigned short lodIndex=0, const Renderable *rend=0)
Gets the best supported technique.
virtual void destroyLight(const String &name)
Removes the 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:430
void setAlignCameraToFace(bool val)
Definition: OgreCompositionPass.h:321
SortMode getSortMode() const
get the currently used SortMode
Definition: OgreCamera.h:666
static void destroy()
Destroy the Shader Generator instance.
In(const Vector3 &v)
Definition: OgreShaderFunctionAtom.h:163
Degree & operator+=(const Degree &d)
Definition: OgreMath.h:129
void doSet(void *target, const String &val)
@ SHADER_FUNC_NONE
Definition: OgreQuake3Types.h:109
VkDescriptorSet allocate()
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
const ShadowRenderableList & getShadowVolumeRenderableList(const Light *light, const HardwareIndexBufferPtr &indexBuffer, size_t &indexBufferUsedSize, float extrusionDistance, int flags=0) override
Gets an list of the renderables required to render the shadow volume.
void setPointMaxSize(Real max)
Set the maximum point size, when point attenuation is in use.
virtual DecodeResult decode(const DataStreamPtr &input) const
Definition: OgreImageCodec.h:104
@ 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:808
void copyFromFramebuffer(size_t zoffset)
bool onlyInitial
Definition: OgreCompositorInstance.h:156
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:60
virtual ~CollisionListener()
Definition: OgreBullet.h:78
Summary class collecting together index data source information.
Definition: OgreVertexIndexData.h:260
void beginOcclusionQuery()
Starts the hardware occlusion query.
@ FOG_LINEAR
Fog density increases linearly between the start and end distances.
Definition: OgreCommon.h:152
void setNamedConstantFromTime(const String &name, Real factor)
Definition: OgreGpuProgramParams.h:1641
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:325
Plugin instance for Vulkan Manager.
Definition: OgreVulkanPlugin.h:38
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:147
void abortRequest()
Abort the request.
Definition: OgreWorkQueue.h:148
void setDepth(uint32 d)
Set the depth of the texture (only applicable for 3D textures); can only do this before load();.
Definition: OgreTexture.h:258
Vector3 mPosition
World position.
Definition: OgreParticle.h:62
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:93
IteratorType & current()
Full access to the current iterator.
Definition: OgreIteratorWrapper.h:114
void _notifyNeedsRecompile(void)
Tells the class that it needs recompilation.
GenFunc rgbGenFunc
Definition: OgreQuake3Shader.h:86
void setStencilBufferBitDepth(ushort num)
Definition: OgreRenderSystemCapabilities.h:385
void _unregisterResourceManager(const String &resourceType)
Internal method for unregistering a ResourceManager.
Definition: OgreAssimpLoader.h:50
bool hasEnabledAnimationState(void) const
Tests if exists enabled animation state in this set.
Definition: OgreAnimationState.h:258
static bool parse(const String &str, Vector4 &v)
Real getShadowExtrusionDistance(void) const
void setScissorTest(bool enabled, const Rect &rect=Rect()) override
Sets the 'scissor region' i.e.
@ RSC_FIXED_FUNCTION
Supports fixed-function pipeline.
Definition: OgreRenderSystemCapabilities.h:154
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
@ ID_FLAT
Definition: OgreScriptCompiler.h:649
@ OPS_IN
The parameter is a input parameter.
Definition: OgreShaderFunctionAtom.h:55
@ PARTIAL
Definition: OgrePCZFrustum.h:73
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
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
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.
TextureType getTextureType(void) const
Returns the type of this texture.
virtual void getAABB(AxisAlignedBox &)
Get the world coordinate aabb of the zone.
@ CT_HULL
Definition: OgreBullet.h:34
bool getShadowUseLightClipPlanes() const
Gets whether when using a built-in additive shadow mode, user clip planes should be used to restrict ...
Definition: OgreSceneManager.h:2775
virtual void nodeUpdated(const Node *)
Called when a node gets updated.
Definition: OgreNode.h:89
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
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)
GpuProgram *(* CreateGpuProgramCallback)(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GpuProgramType gptype, const String &syntaxCode)
Definition: OgreGLGpuProgramManager.h:37
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:275
const Quaternion & getInitialOrientation(void) const
Gets the initial orientation of this node, see setInitialState for more info.
Definition: OgreNode.h:612
const std::vector< FloatRect > & getTextureCoords() const
getTextureCoords() returns the current texture coordinate rects in effect.
Definition: OgreBillboardSet.h:743
SortMode
Function used compute the camera-distance for sorting objects.
Definition: OgreCommon.h:309
@ GPU_INTEL
Definition: OgreRenderSystemCapabilities.h:235
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
void install()
Perform the plugin initial installation sequence.
void renderObjects(const QueuedRenderableCollection &objs, QueuedRenderableCollection::OrganisationMode om, bool lightScissoringClipping, bool doLightIteration, const LightList *manualLightList=0, bool transparentShadowCastersMode=false)
Render a set of objects.
static Real RangeRandom(Real fLow, Real fHigh)
Generate a random number within the range provided.
Definition: OgreMath.h:477
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:868
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:179
Real _getWidth(void) const
Gets the width of this element in relation to the screen (where 1.0 = screen width)
Definition: OgreOverlayElement.h:244
virtual void _getBoneMatrices(Affine3 *pMatrices)
Populates the passed in array with the bone matrices based on the current position.
int content
Definition: OgreQuake3Types.h:238
void _initParticle(Particle *pParticle) override
Method called to allow the affector to initialize all newly created particles in the system.
const NodeBrushList & getSolidBrushes(void) const
Main brush memory held on level.
Class for rendering the border of a BorderPanelOverlayElement.
Definition: OgreBorderPanelOverlayElement.h:229
VectorBase(T _x, T _y, T _z)
Definition: OgreVector.h:54
UserObjectBindings & swap(UserObjectBindings &rhs)
size_t _getConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability, BaseConstantType type)
Gets the physical buffer index associated with a logical float constant index.
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.
@ CMPF_GREATER_EQUAL
Write if (new_Z >= existing_Z)
Definition: OgreCommon.h:69
GpuProgramParametersSharedPtr getVertexProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
HardwareIndexBufferPtr HardwareIndexBufferSharedPtr
Definition: OgrePrerequisites.h:295
bool operator==(const TerrainLayerSampler &s) const
Definition: OgreTerrainMaterialGenerator.h:110
bool hasMovableObject(const String &name, const String &typeName) const
Returns whether a object instance with the given name exists.
static PropertyType getTypeForValue(const Vector4 &val)
Definition: OgreProperty.h:167
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
Abstract interface which classes must implement if they wish to receive events from the scene manager...
Definition: OgreRenderObjectListener.h:44
unsigned int getDefaultAnisotropy() const
Get the default maxAnisotropy.
bool _isManualLodLevel(unsigned short level) const
Internal methods for loading LOD, do not use.
function< T(void) > getter_func
Definition: OgreProperty.h:221
void setSelfIllumination(float red, float green, float blue)
Sets the amount of self-illumination of every Pass in every Technique.
@ ID_TARGET_HEIGHT
Definition: OgreScriptCompiler.h:780
Real tcModStretchParams[4]
Definition: OgreQuake3Shader.h:96
@ VES_DIFFUSE
Definition: OgreHardwareVertexBuffer.h:111
void setTextureFiltering(TextureFilterOptions filterType)
Set texture filtering for every texture unit in every Pass.
3D Line Segment class for intersection testing in Ogre3D
Definition: OgreSegment.h:43
Frame Buffer Object abstraction.
Definition: OgreGLRenderTexture.h:54
void init(VkDevice device, VkQueue queue, VulkanRenderSystem *renderSystem)
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.
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:84
@ ID_QUAD_NORMALS
Definition: OgreScriptCompiler.h:805
bool operator<=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:246
static String FACTORY_TYPE_NAME
Definition: OgreManualObject.h:708
void applyFixedFunctionParams(const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Vector< 4, Real > Vector4
Definition: OgrePrerequisites.h:248
void setUserAny(const Any &anything)
Definition: OgreNode.h:651
const Vector3i & getThreadGroups() const
Definition: OgreCompositionPass.h:316
static float fixedToFloat(unsigned value, unsigned int bits)
Fixed point to float.
Definition: OgreBitwise.h:247
This struct allows a single comparison of result data no matter what the type.
Definition: OgreSceneQuery.h:343
@ OR_LANDSCAPERIGHT
Definition: OgreFrustum.h:55
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...
@ ID_SCOPE_GLOBAL
Definition: OgreScriptCompiler.h:787
std::vector< SceneNode * > NodeList
Definition: OgrePCZone.h:58
Real tcModScale[2]
Definition: OgreQuake3Shader.h:89
ConstNormalsIterator getNormalsIterator(void) const
@ PFF_NATIVEENDIAN
Format is in native endian.
Definition: OgrePixelFormat.h:322
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
~OctreeSceneManagerFactory()
Definition: OgreOctreeSceneManager.h:232
Vector3 pos
Position of the terrain.
Definition: OgreTerrain.h:351
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.
Real getLayerUVMultiplier(uint8 index) const
Get the layer UV multiplier.
virtual void touch()
'Touch' the page to let it know it's being used
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false) override
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject ...
TerrainLodManager(Terrain *t, const String &filename="")
size_t getOffset(void) const
Gets the offset into the buffer where this element starts.
Definition: OgreHardwareVertexBuffer.h:198
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 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)
PCZ implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgrePCZSceneQuery.h:105
ShadeOptions getShadingMode(void) const
Returns the type of light shading to be used.
Definition: OgrePass.h:889
ushort getZOrder() const
Returns the zOrder of the element.
Definition: OgreOverlayElement.h:444
bool isEdgeListBuilt(void) const
Returns whether this mesh has an attached edge list.
Definition: OgreMesh.h:728
UsageEnum
Rather use HardwareBufferUsage.
Definition: OgreHardwareBuffer.h:116
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.
Definition: OgreScriptCompiler.h:92
size_t getPoseCount(void) const
Get the number of poses.
Definition: OgreMesh.h:908
unsigned int width
Definition: OgreSceneManager.h:66
void destroyRenderWindow(const String &name)
Destroys a render window.
const Matrix4 & getProjectionMatrix(void) const
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
bool isNaN() const
Check whether this dual quaternion contains valid values.
Definition: OgreDualQuaternion.h:148
static CmdRandomness msRandomnessCmd
Command objects.
Definition: OgreDirectionRandomiserAffector.h:93
Ogre::Overlay * getTraysLayer()
Definition: OgreTrays.h:773
bool hasBlendMask() const
Return whether there is currently a valid blend mask set.
Definition: OgreAnimationState.h:166
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:45
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).
Definition: OgreViewport.h:209
Overlay * create(const String &name)
Create a new Overlay.
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:206
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:214
static int ICeil(float fValue)
Definition: OgreMath.h:263
bool magicNumberMatch(const char *magicNumberPtr, size_t maxbytes) const
Returns whether a magic number header matches this codec.
Definition: OgreCodec.h:127
void _initRenderTargets(void)
Utility method for initialising all render targets attached to this rendering system.
VectorIterator< TextureUnitStates > TextureUnitStateIterator
Definition: OgrePass.h:530
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:301
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:351
~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.
bool isSpecialization() const
Definition: OgreGpuProgramParams.h:184
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:167
static bool _isDynamic(TextureUsage usage)
Definition: OgreD3D11Mappings.h:85
@ NONE
Definition: OgrePCZCamera.h:58
IteratorWrapper< T, IteratorType, typename T::mapped_type >::ValueType ValueType
Redefined ValueType for a map/set.
Definition: OgreIteratorWrapper.h:258
GpuBufferAllocator()
Definition: OgreTerrain.h:535
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
Definition: OgreCommon.h:62
@ DEFORM_FUNC_NONE
Definition: OgreQuake3Types.h:134
virtual uint32 getStrategyId()
Definition: OgreTerrainAutoUpdateLod.h:80
static const vec4b & sample2D(const Image &img, const vec2 &uv)
Definition: OgreTinyRenderSystem.h:37
void setShadowCasterMaterial(MaterialPtr val)
Sets the details of the material to use when rendering as a shadow caster.
@ ANT_ATOM
Definition: OgreScriptCompiler.h:79
Real getFogStart(void) const
Returns the fog start distance for the scene.
void setFragmentProgramConstantBoolCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:729
@ FFP_TRANSFORM
Definition: OgreShaderFFPRenderState.h:71
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:178
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:228
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.
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:141
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.
FloatRect UVRect
Definition: OgreFont.h:65
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:538
void setHomePath(const Ogre::String &path)
Definition: OgreFileSystemLayer.h:117
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).
RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
QueueFamily
Definition: OgreVulkanQueue.h:46
const_reference at(size_type n) const
Definition: OgreCommon.h:456
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...
Definition: OgreBillboardParticleRenderer.h:111
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:165
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)
@ SHADER_TRANSPARENT
Definition: OgreQuake3Types.h:87
void set(const Vector3 &newOrigin, const Vector3 &newEnd, Real newRadius)
Vector3 position
Definition: OgreLodData.h:102
~FocusedShadowCameraSetup()
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:540
Real determinant() const
Definition: OgreMatrix3.h:169
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...
Definition: OgreManualObject.h:319
VertexTrackIterator getVertexTrackIterator(void) const
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.
Real getMaxPointSize(void) const
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:549
@ PF_B8G8R8A8
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:86
@ SPC_POSITION_VIEW_SPACE
Position in view space.
Definition: OgreShaderParameter.h:92
const AutoConstantList & getAutoConstants() const
Gets the automatic constant bindings currently in place.
Definition: OgreGpuProgramParams.h:1591
Class which determines how a TextureUnitState accesses data from a Texture.
Definition: OgreTextureUnitState.h:51
int x
Definition: OgreInput.h:65
@ SPC_POSTOLIGHT_WORLD_SPACE4
Definition: OgreShaderParameter.h:146
static String FACTORY_TYPE_NAME
Definition: OgreStaticGeometry.h:734
RenderQueueGroup(bool splitPassesByLightingType, bool splitNoShadowPasses, bool shadowCastersNotReceivers)
Definition: OgreRenderQueueSortingGrouping.h:400
size_t rowPitch
Number of elements between the leftmost pixel of one row and the left pixel of the next.
Definition: OgrePixelFormat.h:388
GLFBOManager * getManager()
Definition: OgreGLFrameBufferObject.h:58
void createBuffer(IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
void removeGPUDeviceNameRule(const String &devicePattern)
Removes a matching device name rule.
@ GCT_MATRIX_3X2
Definition: OgreGpuProgramParams.h:86
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
uint16 getCompositeMapSize() const
Get the default size of the composite maps for a new terrain.
Definition: OgreTerrain.h:2022
#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:130
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false) override
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
static bool startsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string begins with the pattern passed in.
bool sharesSkeletonInstance() const
Returns whether this entity shares it's SkeltonInstance with other entity instances.
Definition: OgreEntity.h:674
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:954
TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software morph animation.
void increaseRefreshRate(DXGI_RATIONAL rr)
reference front()
Definition: OgreSmallVector.h:196
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:203
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:346
Octree datastructure for managing scene nodes.
Definition: OgreOctree.h:71
virtual uint32 getTypeFlags(void) const
Get the 'type flags' for this MovableObject.
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)
IlluminationStage
Categorisation of passes for the purpose of additive lighting.
Definition: OgrePass.h:49
void resetOrientation(void)
Resets the nodes orientation (local axes as world axes, no rotation).
Listener on any general material events.
Definition: OgreMaterialManager.h:83
unsigned short * pshort
Definition: OgreLodData.h:137
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
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.
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:726
IndexMap sharedBlendIndexToBoneIndexMap
Shared index map for translating blend index to bone index.
Definition: OgreMesh.h:332
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
void setThreadGroups(const Vector3i &g)
Definition: OgreCompositionPass.h:315
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
Definition: OgreRenderSystemCapabilities.h:784
void rotate(const Radian &angle)
Adds the passed in angle to the rotation applied to this overlay.
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:2771
A class for performing queries on a scene.
Definition: OgreSceneQuery.h:69
std::map< String, Overlay * > OverlayMap
Definition: OgreOverlayManager.h:59
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:131
@ TL_LEFT
Definition: OgreTrays.h:63
@ PF_DEPTH
Definition: OgrePixelFormat.h:119
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
VkQueue mPresentQueue
Definition: OgreVulkanDevice.h:55
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:3502
@ RSC_GEOMETRY_PROGRAM
Supports hardware geometry programs.
Definition: OgreRenderSystemCapabilities.h:131
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.
virtual void setRegionDimensions(const Vector3 &size)
Sets the size of a single region of geometry.
Definition: OgreStaticGeometry.h:666
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:105
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:401
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
VulkanDevice * getDevice() const
Definition: OgreVulkanTextureGpuManager.h:83
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.
virtual void _renderScene(Camera *camera, Viewport *vp, bool includeOverlays=true)
Prompts the class to send its contents to the renderer.
virtual void destroy(void)
Destroys the window.
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:119
~GL3PlusHardwareOcclusionQuery()
Object destructor.
EdgeData * getEdgeList(void)
Returns details of the edges which might be used to determine a silhouette.
Definition: OgreMovableObject.h:496
RenderSystem::RenderSystemContext * rsContext
Definition: OgreSceneManager.h:1019
void setConstant(size_t index, const Vector3 &vec)
Sets a 4-element floating-point parameter to the program via Vector3.
static int mod(int a, int b)
Definition: OgreTinyRenderSystem.h:33
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...
Definition: OgreMetalTextureManager.h:49
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
void drawContactPoint(const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color)
Definition: OgreBullet.h:136
virtual const String & getTypeName(void) const override
Gets the type name of the element.
PrefabType
Prefab shapes available without loading a model.
Definition: OgreSceneManager.h:1427
@ BCT_BOOL
Definition: OgreGpuProgramParams.h:58
void clearAllTrays()
Removes all widgets from all widget trays.
Comparator function to be used for sorting.
Definition: OgreShaderFunctionAtom.h:270
void setPolygonMode(PolygonMode mode)
Sets the type of polygon rendering required.
Definition: OgrePass.h:896
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.
Definition: OgrePass.h:780
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.
Real getValueImpl(const MovableObject *movableObject, const Camera *camera) const override
Compute the LOD value for a given movable object relative to a given camera.
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.
Definition: OgreHardwareBuffer.h:280
virtual bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
Definition: OgreGpuProgram.h:257
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:444
A group of manually updated parameters that are shared between many parameter sets.
Definition: OgreGpuProgramParams.h:403
Request(uint16 channel, uint16 rtype, const Any &rData, uint8 retry, RequestID rid)
Constructor.
Vector3 mC7
Definition: OgreVolumeDualGridGenerator.h:57
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgrePCZSceneManager.h:378
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Definition: OgreTinyRenderSystem.h:91
ushort getMaxCalculableBoneCount() const
The maximum number of bones for which hardware skinning is performed.
Definition: OgreShaderExHardwareSkinning.h:248
unsigned long getLastVisibleFrame(void)
Get the lastVisibleFrame counter value.
Definition: OgrePCZone.h:115
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:94
bool operator>=(const Degree &d) const
Definition: OgreMath.h:146
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
LayerBlendSource source1
The first source of colour/alpha.
Definition: OgreBlendMode.h:147
void parseScript(DataStreamPtr &stream, const String &groupName) override
Parse a script file.
void bindGLProgramPipeline(GLuint handle)
Bind an OpenGL separable program pipeline.
void destroy()
Definition: OgreAny.h:138
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.
virtual ~RequestHandler()
Definition: OgreWorkQueue.h:168
size_t hwAnimDataItemsUsed
Number of hardware animation data items used.
Definition: OgreVertexIndexData.h:113
~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:451
int getZOrder(void) const
Gets the Z-Order of this viewport.
Definition: OgreViewport.h:136
VkImageView getDefaultDisplaySrv(void) const
Definition: OgreVulkanTextureGpu.h:158
Factory class for GLSLang programs.
Definition: OgreGLSLangProgramManager.h:48
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:244
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:529
@ CNT_QUOTE
Definition: OgreScriptCompiler.h:55
Definition: OgreVulkanTextureGpu.h:78
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:1184
void setAutoBuildEdgeLists(bool autobuild)
Sets whether or not this Mesh should automatically build edge lists when asked for them,...
Definition: OgreMesh.h:832
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)
bool isMicrocodeAvailableInCache(uint32 id) const
Check if a microcode is available for a program in the microcode cache.
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:48
Real getInitialWidth(size_t chainIndex) const
Get the starting ribbon width in world units.
Definition: OgreRibbonTrail.h:146
static Real boundingRadiusFromAABBCentered(const AxisAlignedBox &aabb)
Get the radius of the bbox-centered bounding sphere from the bounding box.
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
MovableObject * getAttachedObject(size_t index) const
Retrieves a pointer to an attached object by index.
Definition: OgreSceneNode.h:143
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:61
std::vector< Pose * > PoseList
Definition: OgrePose.h:148
virtual void setCurrentPassIterationCount(const size_t count)
set the current multi pass count value.
Definition: OgreRenderSystem.h:979
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:172
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:89
@ SPC_LIGHTDIRECTION_OBJECT_SPACE4
Definition: OgreShaderParameter.h:176
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
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:258
@ 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...
virtual RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
Frustum * getCullingFrustum(void) const
Returns the custom culling frustum in use.
Definition: OgreCamera.h:586
virtual void removeResponseHandler(uint16 channel, ResponseHandler *rh)=0
Remove a Response handler.
const T & const_reference
Definition: OgreSmallVector.h:155
@ RENDER_QUEUE_MAX
Final possible render queue, don't exceed this.
Definition: OgreRenderQueue.h:75
virtual ~PageStrategyData()
Definition: OgrePageStrategy.h:53
_OgreBulletExport btCapsuleShape * createCapsuleCollider(const MovableObject *mo)
create capsule collider using ogre provided data
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:155
virtual void setValue(const Quaternion &)
Set value.
Definition: OgreAnimable.h:172
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.
uint8 getIndexSize(void) const
Get the size in bytes of each index.
Definition: OgreHardwareIndexBuffer.h:73
void attachToProgramObject(const GLuint programObject)
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:116
@ 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.
@ ID_SOURCE2
Definition: OgreScriptCompiler.h:718
GLContext * _getCurrentContext()
Returns the current context.
Definition: OgreGLRenderSystemCommon.h:98
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:605
virtual MovableObject * detachObject(const String &name)
Detaches the named object from this node and returns a pointer to it.
PageProvider()
Definition: OgrePageManager.h:60
@ ACT_VIEW_UP_VECTOR
This variable provides the view up vector (world space).
Definition: OgreGpuProgramParams.h:1040
const char * getCompatibleTarget(void) const
Gets the shader target promoted to the first compatible, e.g.
Defines the interface which all components wishing to supply OverlayElement subclasses must implement...
Definition: OgreOverlayElementFactory.h:58
Definition: OgreD3D9MultiRenderTarget.h:40
FastArray< VkFramebuffer > mFramebuffers
Definition: OgreVulkanRenderPassDescriptor.h:62
void setDimensions(float left, float top, float width, float height)
Sets the dimensions (after creation).
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.
bool _isFitToTray()
Definition: OgreTrays.h:481
bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
Definition: OgreGLWindow.h:42
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
Concrete IteratorWrapper for nonconst access to the underlying container.
Definition: OgreCompositionTargetPass.h:36
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:450
@ PF_DXT4
DDS (DirectDraw Surface) DXT4 format.
Definition: OgrePixelFormat.h:98
PCZAxisAlignedBoxSceneQuery(SceneManager *creator)
static int32 parseInt(const String &val, int32 defaultValue=0)
Converts a String to a whole number.
Definition: OgreStringConverter.h:220
const LinkedSkeletonAnimSourceList & getLinkedSkeletonAnimationSources() const override
Get the linked skeletons used as animation sources.
@ GPT_DOMAIN_PROGRAM
Definition: OgreGpuProgram.h:53
bool getXVideoModes(Display *display, VideoMode ¤tMode, VideoModes &videoModes)
TargetRenderState()
Class default constructor.
@ SPC_LIGHTPOSITION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:217
PCZRaySceneQuery(SceneManager *creator)
static IDirect3DDevice9 * getActiveD3D9Device()
A caching Source.
Definition: OgreVolumeCacheSource.h:57
Vector operator*(Real s) const
Definition: OgreVector.h:679
@ SHADER_BLEND
Definition: OgreQuake3Types.h:99
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:1457
Real getWorldSize() const
Get the size of the terrain in world units.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:177
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:322
static void toUpperCase(String &str)
Upper-cases all the characters in the string.
Real x
Definition: OgreVector.h:132
@ ID_COMPUTE
Definition: OgreScriptCompiler.h:842
Vector & operator+=(const Vector &b)
Definition: OgreVector.h:611
static PropertyType getTypeForValue(const String &val)
Definition: OgreProperty.h:164
LightFactory()
Definition: OgreLight.h:622
Real skyDomeDistance
Definition: OgreSceneManager.h:296
bool requiresZoneSpecificNodeData(void)
Indicates whether or not this zone requires zone-specific data for each scene node.
LodInfo & getLodInfo(uint lodLevel)
Definition: OgreTerrainLodManager.h:122
size_t getIndexOffset(void) const
Returns the index offset used by this buffer to write data into the buffer.
Definition: OgrePatchSurface.h:127
VkImageView mImageViews[OGRE_MAX_MULTIPLE_RENDER_TARGETS *2u+2u]
Definition: OgreVulkanRenderPassDescriptor.h:56
const Vector3 getCorner1(void) const
Gets the coordinate of corner 1.
Definition: OgreVolumeOctreeNode.h:458
STBIImageCodec(const String &type)
~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 affector defines a plane which deflects particles which collide with it.
Definition: OgreDeflectorPlaneAffector.h:46
void setConfigOption(const String &name, const String &value)
Specific options:
@ D3D_NO_EXCEPTION
Definition: OgreD3D11Device.h:91
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.
static String format(const char *fmt,...)
create a string from a printf expression
Manages the target rendering window.
Definition: OgreRenderWindow.h:63
virtual Endian getEndian() const
Get the endian mode.
Definition: OgreStreamSerialiser.h:140
const String & getName(void) const
Returns the name of the rendering system.
virtual uint getNumberOfViews() const =0
@ GPU_AMD
Definition: OgreRenderSystemCapabilities.h:234
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:665
Representation of a dynamic light source in the scene.
Definition: OgreLight.h:95
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...
CompareFunction getAlphaRejectFunction(void) const
Gets the alpha reject function.
Definition: OgrePass.h:1006
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:2763
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...
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:141
void addDependency(const String &libFileName)
Add dependency for this program.
@ SPC_POSITION_LIGHT_SPACE1
Definition: OgreShaderParameter.h:99
VulkanTextureGpu * getTexture()
Definition: OgreVulkanWindow.h:110
~StaticGeometryFactory()
Definition: OgreStaticGeometry.h:732
OptimisedSubMeshGeometry()
Definition: OgreStaticGeometry.h:138
@ PF_R32_UINT
32-bit pixel format, 32 bits red (unsigned int).
Definition: OgrePixelFormat.h:167
const Affine3 & getReflectionMatrix(void) const
Returns the reflection matrix of the frustum if appropriate.
Definition: OgreFrustum.h:532
const Affine3 & _getFullLocalTransform(void) const
Gets the transform of this node just for the skeleton (not entity)
@ PF_DEPTH32
Definition: OgrePixelFormat.h:277
GLint convertStencilOp(StencilOperation op, bool invert=false) const
virtual void _compileTargetOperations(CompiledState &compiledState)
Recursively collect target states (except for final Pass).
ConstVectorIterator< InstanceBatchVec > InstanceBatchIterator
Definition: OgreInstanceManager.h:292
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled for every Pass.
@ ENDIAN_AUTO
Automatically determine endianness.
Definition: OgreStreamSerialiser.h:76
Vector()
Default constructor.
Definition: OgreVector.h:312
float x
Definition: OgreQuaternion.h:344
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:74
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
@ NewFrameIdx
Same as FlushOnly + fences the data so that VaoManager::mDynamicBufferCurrentFrame can be incremented...
Definition: OgreVulkanPrerequisites.h:102
Real getOverlayLeft() const
@ GCT_MATRIX_4X4
Definition: OgreGpuProgramParams.h:91
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
static size_t calculateSize(uint32 mipmaps, uint32 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 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:71
Renderbuffer surface.
Definition: OgreGL3PlusHardwarePixelBuffer.h:39
std::vector< Vector3 > extremityPoints
A list of extreme points on the submesh (optional).
Definition: OgreSubMesh.h:126
void setShadowTextureCount(size_t count)
Set the number of textures allocated for texture-based shadows.
Definition: OgreSceneManager.h:2856
float valueDegrees() const
Definition: OgreMath.h:754
void uninstall()
Perform the final plugin uninstallation sequence.
Definition: OgreFreeImageCodec.h:90
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:284
bool hasMovableObjectFactory(const String &typeName) const
Checks whether a factory is registered for a given MovableObject type.
const UserObjectBindings & getUserObjectBindings() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreRenderable.h:309
size_t getDualCellCount(void) const
Gets the amount of generated dual cells.
Definition: OgreVolumeDualGridGenerator.h:337
@ TL_TOPRIGHT
Definition: OgreTrays.h:62
TRect(T const &l, T const &t, T const &r, T const &b)
Definition: OgreCommon.h:607
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
String textureName
Definition: OgreQuake3Shader.h:75
void endRenderPassDescriptor()
void setAmbient(float red, float green, float blue)
Sets the ambient colour reflectance properties of this pass.
virtual bool isChildrenProcessEvents() const
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:131
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.
Definition: OgrePass.h:998
virtual void setChildrenProcessEvents(bool val)
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:135
RenderableListener * getRenderableListener(void) const
Definition: OgreRenderQueue.h:285
virtual void setMinDuration(Real min)
Sets the minimum duration of this emitter in seconds (see setDuration for more details)
static void throwException(Exception::ExceptionCodes code, const String &desc, const String &src, const char *file, long line)
Definition: OgreException.h:276
String getImageAdjust(void) const
float normal[3]
Definition: OgreQuake3Types.h:198
Predefined controller function based on linear function interpolation.
Definition: OgrePredefinedControllers.h:318
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.
bool isInt() const
Definition: OgreGpuProgramParams.h:172
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
@ TS_CHAIN
Definition: OgreCompositionTechnique.h:57
VkImageMemoryBarrier getImageMemoryBarrier(void) const
Returns a fresh VkImageMemoryBarrier filled with common data.
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:541
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:665
virtual void setEnclosureNode(PCZSceneNode *)
Set the enclosure node for this OctreeZone.
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.
@ ID_ONCE
Definition: OgreScriptCompiler.h:666
void bindToFramebuffer(uint32 attachment, uint32 zoffset) override
Bind surface to frame buffer.
@ 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
@ TEX_TYPE_2D_ARRAY
2D texture array
Definition: OgreTexture.h:105
void setWidth(Real width)
Sets the width of this element in relation to the current GuiMetricsMode.
void _updateFromShadow(void) override
Updates the real buffer from the shadow buffer, if required.
AnimationState(const String &animName, AnimationStateSet *parent, Real timePos, Real length, Real weight=1.0, bool enabled=false)
Normal constructor with all params supplied.
virtual void setHoldRadius(Real sz)
Set the Holding radius.
@ ID_COLOUR_WRITE
Definition: OgreScriptCompiler.h:662
unsigned short submeshID
Definition: OgreLodData.h:119
void destroy(Overlay *overlay)
Destroys an existing overlay.
GLSLProgramCommon(const GLShaderList &shaders)
DriverVersion()
Definition: OgreRenderSystemCapabilities.h:220
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:394
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
SerializeEvent
Definition: OgreMaterialSerializer.h:52
float getWidth(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
Definition: OgreViewport.h:150
Side getSide(const Vector3 &rkPoint) const
Definition: OgrePlane.h:103
Real getTop(void) const
Gets the top of this element in relation to the current GuiMetricsMode (where 0 = top).
@ ID_MAX_LIGHTS
Definition: OgreScriptCompiler.h:663
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:149
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:291
static void extrudeVertices(const HardwareVertexBufferSharedPtr &vertexBuffer, size_t originalVertexCount, const Vector4 &lightPos, Real extrudeDist)
Utility method for extruding vertices based on a light.
void tangent(const Vector3 &tan)
Add a vertex tangent to the current vertex.
Definition: OgreManualObject.h:256
static String toString(uint32 val)
Definition: OgreStringConverter.h:80
RenderOperation * renderOp
General render operation structure, fallback if nothing else is available.
Definition: OgreSceneQuery.h:115
PixelFormat format
Definition: OgreImageCodec.h:92
bool getReceiveDynamicShadowsLowLod() const
Whether to use shadows on low LOD material rendering (when using composite map) (default false).
Definition: OgreTerrainMaterialGeneratorA.h:149
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:1305
@ PT_UNSIGNED_LONG
Definition: OgreStringInterface.h:56
VulkanWindow(const String &title, uint32 width, uint32 height, bool fullscreenMode)
uint32 getVisibilityFlags(void) const
Get the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:1935
virtual void notifyDeviceRestored(D3D11Device *device)=0
RegionSceneQuery(SceneManager *mgr)
Standard constructor, should be called by SceneManager.
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:228
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:908
size_t vertexCount
The number of vertices to process in this particular rendering group.
Definition: OgreVertexIndexData.h:100
@ 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:316
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)
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.
Real calcMaxHeightDelta
Temp calc area for max height delta.
Definition: OgreTerrainQuadTreeNode.h:139
Template struct which creates a distinct type for each exception code.
Definition: OgreException.h:181
@ ID_TECHNIQUE
Definition: OgreScriptCompiler.h:562
void _setDepthBufferCheckEnabled(bool enabled=true)
OperandVector & getOperandList()
Get a list of parameters this function invocation will use in the function call as arguments.
Definition: OgreShaderFunctionAtom.h:202
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:266
An individual profile that will be processed by the Profiler.
Definition: OgreProfiler.h:456
Struct containing information about a RenderTarget Viewport-specific event.
Definition: OgreRenderTargetListener.h:53
In(const Operand &rhs)
Definition: OgreShaderFunctionAtom.h:156
DisplayMode
Definition: OgreOverlayProfileSessionListener.h:54
GLGpuNvparseProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
@ ID_VERTEX_PROGRAM
Definition: OgreScriptCompiler.h:559
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
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...
Definition: OgrePass.h:1198
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:512
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:286
void setAutoConstant(size_t index, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreGpuProgramParams.h:1561
const Ogre::DisplayString & getComment()
Definition: OgreTrays.h:722
float getBlendMaskEntry(size_t boneHandle) const
Get the weight for the bone identified by the given handle.
Definition: OgreAnimationState.h:170
Degree operator*(float f) const
Definition: OgreMath.h:136
virtual void bakeLodLevel(LodData *data, int lodIndex)
@ FILTER_NEAREST
Definition: OgreImage.h:427
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.
Definition: OgreBillboardParticleRenderer.h:138
A collection of billboards (faces which are always facing the given direction) with the same (default...
Definition: OgreBillboardSet.h:119
@ TS_LOCAL
Definition: OgreCompositionTechnique.h:55
std::vector< Plane > * planes
Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION.
Definition: OgreSceneQuery.h:111
D3D9Device * getActiveRenderTargetDevice()
void setDimensions(float width, float height)
Sets the width and height for this particle.
Definition: OgreParticle.h:89
const Affine3 & getInverseWorldViewMatrix(void) const
virtual void shutdown()
Cleans up and shuts down the context.
ScriptCompilerEvent(const String &type)
Definition: OgreScriptCompiler.h:345
bool isBorderBottom(const OctreeNode &root) const
Gets whether this cell is at the bottom of the given root cell.
Definition: OgreVolumeOctreeNode.h:254
@ ID_TRANSPARENT_SORTING
Definition: OgreScriptCompiler.h:637
@ 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:459
bool getCastsDynamicShadows() const
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1907
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Definition: OgreMesh.h:103
@ ID_SINE
Definition: OgreScriptCompiler.h:752
CompareFunction compareOp
Comparison operator for the stencil test.
Definition: OgreRenderSystem.h:112
void addZoneToAffectedZonesList(PCZone *zone)
Manually add a zone to the zones affected list.
float getFogStart(void) const
Returns the fog start distance for this pass.
Definition: OgrePass.h:969
static const String & vendorToString(GPUVendor v)
Convert a vendor enum to a string.
@ SHADER_ALPHAFUNC
Definition: OgreQuake3Types.h:100
LODBucket * getParent(void)
Definition: OgreStaticGeometry.h:254
virtual ~MeshSerializer()
ApplicationContextBase(const Ogre::String &appName="Ogre3D")
Built, renderable section of geometry.
Definition: OgreManualObject.h:564
@ BCT_UNKNOWN
Definition: OgreGpuProgramParams.h:61
static Degree Abs(const Degree &dValue)
Absolute value function.
Definition: OgreMath.h:279
VectorIterator< Techniques > TechniqueIterator
Definition: OgreMaterial.h:193
const String & getType(void) const
Get the type of the object to be created.
float getHeight(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
Definition: OgreViewport.h:154
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:104
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
@ LT_POINT
Point light sources give off light equally in all directions, so require only position not direction.
Definition: OgreLight.h:106
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.
UVRect uvRect
Definition: OgreFont.h:68
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
static ControllerFunctionRealPtr create(bool deltaInput=false)
Constructor.
Definition: OgrePredefinedControllers.h:201
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const override
@ ACT_LIGHT_DIRECTION_ARRAY
Array of light directions in world space (count set by extra param)
Definition: OgreGpuProgramParams.h:836
TexturePtr load(const String &name, const String &group, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Loads a texture from a file.
void setCastsDynamicShadows(bool s)
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1914
std::stringstream StringStream
Definition: OgrePrerequisites.h:314
OctreeNode * root
The octree node to use.
Definition: OgreVolumeChunkHandler.h:74
const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
Definition: OgreManualObject.h:550
String doGet(const void *target) const
static VkSamplerAddressMode get(TextureAddressingMode mode)
void reset()
Definition: OgreVertexIndexData.h:317
Implements the Light Space Perspective Shadow Mapping Algorithm .
Definition: OgreShadowCameraSetupLiSPSM.h:92
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
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:131
Quaternion orientation
Definition: OgreStaticGeometry.h:176
static void packColour(const ColourValue &colour, const PixelFormat pf, void *dest)
Pack a colour value to memory.
Definition: OgrePixelFormat.h:587
void doSet(void *target, const String &val)
A factory that enables creation of LayeredBlending instances.
Definition: OgreShaderExLayeredBlending.h:199
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.
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
@ VET_COLOUR_ABGR
Definition: OgreHardwareVertexBuffer.h:164
RenderingAPIException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:225
static String FACTORY_TYPE_NAME
Definition: OgreLight.h:625
GLES2StateCacheManager(void)
size_t calculateSize(void) const
@ ET_UVSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:253
@ ID_MIN
Definition: OgreScriptCompiler.h:617
Real getShadowDirLightTextureOffset(void) const
Gets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2918
@ SPC_NORMAL_TANGENT_SPACE
Normal in tangent space.
Definition: OgreShaderParameter.h:117
virtual void _notifyResourceTouched(Resource *res)
Notify this manager that a resource which it manages has been 'touched', i.e.
void setAlphaAdjust(float alpha)
Sets the alpha adjustment to be made per second to particles.
void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model.
Definition: OgreBillboardSet.h:644
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.
SkeletonPtr getByName(const String &name, const String &groupName=RGN_DEFAULT) const
Get a resource by name.
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:74
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:352
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....
@ PF_R8G8
16-bit pixel format, 8 bits red, 8 bits green.
Definition: OgrePixelFormat.h:217
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:58
@ SHADER_FUNC_SQUARE
Definition: OgreQuake3Types.h:112
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:217
bool isDerivedDataUpdateInProgress() const
Calls Terrain::isDerivedDataUpdateInProgress on each loaded instance and returns true if any of them ...
int64_t int64
Definition: OgrePlatform.h:277
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
@ TL_BOTTOMRIGHT
Definition: OgreTrays.h:68
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
ContextProfile
Definition: OgreGLNativeSupport.h:60
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:1425
void _forceReleaseBufferCopies(const HardwareVertexBufferSharedPtr &sourceBuffer)
Internal method that forces the release of copies of a given buffer.
void createPhysicalDevice(uint32 deviceIdx)
static ScreenRatioPixelCountLodStrategy & getSingleton(void)
Get the singleton instance.
void install()
Perform the plugin initial installation sequence.
String mResourceGroup
Definition: OgreScriptCompiler.h:528
std::shared_ptr< TargetRenderState > TargetRenderStatePtr
Definition: OgreShaderRenderState.h:209
int refCount
Definition: OgreLodData.h:92
void removeTemplate(const String &name, bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
@ FBT_DEPTH
Definition: OgreCommon.h:328
Class providing a much simplified interface to generating manual objects with custom geometry.
Definition: OgreManualObject.h:107
Real getSurfaceAlphaRejectionValue(void) const
@ TLSS_SPECULAR
Specular reflectance.
Definition: OgreTerrainMaterialGenerator.h:65
Node(const String &name)
Constructor, should only be called by parent, not directly.
Listener()
Definition: OgreCamera.h:93
This is a class that is the base class of the query class for hardware occlusion.
Definition: OgreGLHardwareOcclusionQuery.h:73
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.
Definition: OgreMesh.h:423
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
@ ID_LIGHTING
Definition: OgreScriptCompiler.h:647
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,...
SceneBlendOperation operation
Definition: OgreBlendMode.h:289
TextureUnitStateIterator getTextureUnitStateIterator(void)
Get an iterator over the TextureUnitStates contained in this Pass.
@ GCT_MATRIX_DOUBLE_3X3
Definition: OgreGpuProgramParams.h:105
size_t getGlobalNumberOfInstances() const
Gets the global number of instances.
@ ID_REVERSE_SUBTRACT
Definition: OgreScriptCompiler.h:616
void _genMipmaps()
Internal function to update mipmaps on update of level 0.
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:631
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:271
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
AutoConstantEntry(AutoConstantType theType, size_t theIndex, float theData, uint16 theVariability, uint8 theElemCount=4)
Definition: OgreGpuProgramParams.h:1230
void getMetrics(unsigned int &width, unsigned int &height)
Retrieve information about the render target.
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:144
virtual void changeEnableState(bool enabled)
void setDefaultStrategy(LodStrategy *strategy)
Set the default strategy.
void setDirection(Real x, Real y, Real z)
const VertexBoneAssignmentList & getBoneAssignments() const
Gets a const reference to the list of bone assignments.
Definition: OgreMesh.h:483
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:42
@ ACT_TEXTURE_SIZE
Provides texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1119
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.
Basic triangle structure.
Definition: OgreEdgeListBuilder.h:59
void putText(BillboardSet *bbs, String text, float height, const ColourValue &colour=ColourValue::White)
Write a text into a BillboardSet for positioning in Space.
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:76
void setSpaceWidth(Real width)
void createScheme(const String &schemeName)
Create a scheme.
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) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
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:188
std::multimap< uchar, RenderTarget * > RenderTargetPriorityMap
Definition: OgreRenderSystem.h:56
@ VET_DOUBLE1
Definition: OgreHardwareVertexBuffer.h:138
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:1208
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:57
void blitToMemory(const Box &srcBox, const PixelBox &dst) override
Copies a region of this pixelbuffer to normal memory.
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.
NativeWindowType * native
Definition: OgreApplicationContextBase.h:79
void setEnabled(bool b)
Definition: OgreOverlayElement.h:210
PageID calculatePageID(int32 x, int32 y)
@ ID_SRC_TEXTURE
Definition: OgreScriptCompiler.h:731
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.
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:97
void _initParticle(Particle *pParticle) override
Initialises a particle based on the emitter's approach and parameters.
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
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
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.
VkSwapchainKHR mSwapchain
Definition: OgreVulkanWindow.h:78
Command object for getting/setting assembler code.
Definition: OgreD3D9HLSLProgram.h:80
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)
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:623
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
TrayLocation
enumerator values for widget tray anchoring locations
Definition: OgreTrays.h:59
const ConfigOptionMap & getConfigOptions() const
Returns the details of this API's configuration options.
Definition: OgreRenderSystem.h:200
3D Line-Swept-Sphere class for intersection testing in Ogre3D Some algorithms based off code from the...
Definition: OgreCapsule.h:46
virtual unsigned short _getEmissionCount(Real timeElapsed)
Gets the number of particles which this emitter would like to emit based on the time elapsed.
Definition: OgreParticleEmitter.h:385
~GLSLESProgramManager(void)
GLFBORenderTexture(GLFBOManager *manager, const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
OverlayElement * getOverlayElement(const String &name, bool=false)
Gets a reference to an existing element.
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
VkPhysicalDeviceFeatures mDeviceFeatures
Definition: OgreVulkanDevice.h:67
@ ID_SHADOW_RECEIVER_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:570
void destroyBufferResources(IDirect3DDevice9 *d3d9Device)
Destroy resources associated with the given device.
void setSkiesEnabled(bool enabled)
Tells this viewport whether it should display skies.
Definition: OgreViewport.h:318
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:591
uint flags
Definition: OgreImageCodec.h:90
Definition: OgreInput.h:63
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:339
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:67
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer) override
Create a hardware index buffer.
VertexData(VertexDeclaration *dcl, VertexBufferBinding *bind)
Constructor.
@ HBU_DYNAMIC_WRITE_ONLY
same as HBU_CPU_TO_GPU
Definition: OgreHardwareBuffer.h:128
void setBounds(const AxisAlignedBox &box, Real radius)
Set the bounds of the BillboardSet.
void undeclareResource(const String &name, const String &groupName)
Undeclare a resource.
GLSLSeparableProgram(const GLShaderList &shaders)
Constructor should only be used by GLSLSeparableProgramManager.
String doGet(const void *target) const
GPUDeviceNameRuleIterator getGPUDeviceNameRuleIterator() const
float getGreenAdjust(void) const
Gets the green adjustment to be made per second to particles.
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:336
TextureScope scope
Definition: OgreCompositionTechnique.h:80
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:2034
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
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)
virtual void customStageStarted(const String &description)
This event is fired when a custom loading stage is about to start.
Definition: OgreResourceGroupManager.h:171
This class uses as accessor from a template SubRenderState to all of its instances that created based...
Definition: OgreShaderSubRenderState.h:176
@ OGREPROF_USER_DEFAULT
User default profile.
Definition: OgreProfiler.h:82
const PluginInstanceList & getInstalledPlugins() const
Gets a read-only list of the currently installed plugins.
Definition: OgreRoot.h:655
Real parametric
Definition: OgreVertexIndexData.h:107
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.
ShadeOptions
Light shading modes.
Definition: OgreCommon.h:136
void visit(const Pass *p, RenderableList &rs)
When visiting a collection grouped by pass, this is called.
void setShadowPointLightExtrusionDistance(Real dist)
Sets the shadow extrusion distance to be used for point lights.
ObjectIterator getAttachedObjectIterator(void)
virtual ~InstanceBatchHW_VTF()
void setStartLight(unsigned short startLight)
Sets the light index that this pass will start at in the light list.
Definition: OgrePass.h:1085
virtual void _setDepthClamp(bool enable)
Clamp depth values to near and far plane rather than discarding.
Definition: OgreRenderSystem.h:749
void shutdown() override
Cleans up and shuts down the context.
void setHeightAtPoint(uint32 x, uint32 y, float h)
Set the height data for a given terrain point.
String manualName
Only relevant if mIsLodManual is true, the name of the alternative mesh to use.
Definition: OgreMesh.h:971
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:3499
PCZCamera * getLastVisibleFromCamera()
Get the lastVisibleFromCamera pointer.
Definition: OgrePCZone.h:121
bool isAlphaToCoverageEnabled() const
Gets whether to use alpha to coverage (A2C) when blending alpha rejected values.
Definition: OgrePass.h:1025
virtual Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
void _setDestinationRenderSystem(RenderSystem *sys)
Notifies the scene manager of its destination render system.
uint16 SceneTypeMask
Bitmask containing scene types.
Definition: OgreDeprecated.h:85
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 importLodConfig(Ogre::LodConfig *config, const Ogre::String &filename)
MultiRenderTarget for GL.
Definition: OgreGLFBOMultiRenderTarget.h:38
Affine3 getPointTransform() const
Get a transform which converts Vector4(xindex, yindex, height, 1) into an object-space position inclu...
void rebind(D3D11HardwarePixelBuffer *buffer)
SceneNode * createSceneNodeImpl(void)
Creates a specialized BspSceneNode.
bool isAA() const
Definition: OgreD3D9RenderWindow.h:53
Radian operator*(float a, const Radian &b)
Definition: OgreMath.h:784
#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.
SceneBlendFactor getDestBlendFactor() const
Retrieves the destination blending factor for the material.
Definition: OgrePass.h:690
IncludeOrExclude includeOrExclude
Definition: OgreTechnique.h:126
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:192
GeneralAllocatedObject RTShaderSystemAlloc
Definition: OgreShaderPrerequisites.h:47
DataStream(uint16 accessMode=READ)
Constructor for creating unnamed streams.
Definition: OgreDataStream.h:83
bool contains(const Box &def) const
Return true if the other box is a part of this one.
Definition: OgreCommon.h:782
Callback class used to send out window events to client app.
Definition: OgreWindowEventUtilities.h:53
@ PF_R8
8-bit pixel format, all bits red.
Definition: OgrePixelFormat.h:215
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
Definition: OgreFrameListener.h:97
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:172
ShadowRenderable(MovableObject *parent, const HardwareIndexBufferSharedPtr &indexBuffer, const VertexData *vertexData, bool createSeparateLightCap, bool isLightCap=false)
std::vector< T > type
Definition: OgreDeprecated.h:47
@ GPV_ALL
Full mask (16-bit)
Definition: OgreGpuProgramParams.h:137
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.
float mHeight
Particle height.
Definition: OgreParticle.h:56
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:296
@ ID_AFFECTOR
Definition: OgreScriptCompiler.h:771
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 ...
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:139
void setIlluminationStage(IlluminationStage is)
Manually set which illumination stage this pass is a member of.
Definition: OgrePass.h:1491
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.
void _initParticle(Particle *pParticle) override
Initialises a particle based on the emitter's approach and parameters.
virtual ChildIterator getChildIterator(void)
Definition: OgreInput.h:53
@ GCT_MATRIX_2X4
Definition: OgreGpuProgramParams.h:85
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
@ ID_ADD_SIGNED
Definition: OgreScriptCompiler.h:721
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.
Edge data.
Definition: OgreEdgeListBuilder.h:74
@ RENDER_QUEUE_SKIES_LATE
Penultimate queue(before overlays), used for skyboxes if rendered last.
Definition: OgreRenderQueue.h:71
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:594
MaterialPtr getShadowCasterMaterial() const
return this material specific shadow casting specific material
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:98
A group of edges sharing the same vertex data.
Definition: OgreEdgeListBuilder.h:103
virtual const String & getName(void) const
Returns the name of the rendering system.
@ ANT_UNKNOWN
Definition: OgreScriptCompiler.h:78
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...
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...
GpuProgramManager HighLevelGpuProgramManager
Definition: OgrePrerequisites.h:115
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:205
virtual PagedWorldSection * getParentSection() const
Get the PagedWorldSection this page belongs to.
Definition: OgrePage.h:108
void setEnabled(bool value)
Set enabled flag.
@ PFF_DEPTH
This is a depth format (for depth textures)
Definition: OgrePixelFormat.h:319
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:282
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool)
Converts a uniform projection matrix to suitable for this render system.
bool _isFrameFinished(uint8 frameIdx)
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
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 pollEvents() override
process all window events since last call
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:356
void setGlyphAspectRatio(CodePoint id, Real ratio)
Sets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:238
void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Bind Gpu program parameters.
Definition: OgreTinyRenderSystem.h:161
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...
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
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.
@ ID_SRC_DIFFUSE
Definition: OgreScriptCompiler.h:732
uint treeEnd
Definition: OgreTerrainLodManager.h:78
@ SPC_POSTOLIGHT_OBJECT_SPACE6
Definition: OgreShaderParameter.h:138
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:84
void stopSharingTransform()
void setIsInstanceData(const bool val)
Set if this vertex buffer is an "instance data" buffer (per instance)
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:133
bool Undef(const char *iMacroName, size_t iMacroNameLen)
Undefine a macro.
void refitContents()
Makes adjustments based on new padding, size, or alignment info.
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:1946
static const uint8 DERIVED_DATA_DELTAS
Definition: OgreTerrain.h:1161
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:72
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 writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false) override
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
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.
Definition: OgrePass.h:959
MemoryDataStream(void *pMem, size_t size, bool freeOnClose=false, bool readOnly=false)
Wrap an existing memory chunk in a stream.
PixelFormat PixelFormatGpu
Definition: OgreVulkanPrerequisites.h:84
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.
void textureCoord(const Vector4 &xyzw)
@overload
Definition: OgreManualObject.h:325
SceneBlendFactor getSourceBlendFactorAlpha() const
Retrieves the alpha source blending factor for the material.
Definition: OgrePass.h:694
ParticleSystemRenderer * createInstance(const String &name)
Creates a new object.
void setDebug(bool enable)
Definition: OgreShaderExIntegratedPSSM3.h:95
void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
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.
size_t getNumTechniques() const
Get the number of techniques.
Definition: OgreCompositor.h:74
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
@ ID_SPOT
Definition: OgreScriptCompiler.h:671
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 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:179
SceneBlendFactor sourceFactor
Definition: OgreBlendMode.h:280
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:443
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:318
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:117
virtual bool useBoneWorldMatrices() const
Definition: OgreInstanceBatchVTF.h:198
VulkanDevice * mDevice
Definition: OgreVulkanWindow.h:73
VectorIterator< TextureDefinitions > TextureDefinitionIterator
Definition: OgreCompositionTechnique.h:89
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:316
@ 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:151
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:742
size_t getNumTechniques(void) const
Retrieves the number of techniques.
Definition: OgreMaterial.h:218
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:68
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
static constexpr Real POS_INFINITY
Definition: OgreMath.h:741
@ ID_ITERATION_DEPTH_BIAS
Definition: OgreScriptCompiler.h:624
ControllerFunction(bool deltaInput)
Constructor.
Definition: OgreController.h:83
virtual void _updateRenderQueue(RenderQueue *queue) override
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
const UniformParameterList & getParameters() const
Get the list of uniform parameters of this program.
Definition: OgreShaderProgram.h:127
GL3PlusHardwareBufferManager()
@ ST_LINEAR
Definition: OgreShaderPrerequisites.h:89
void resize(unsigned int widthPt, unsigned int heightPt) override
Alter the size of the window.
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:158
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.
static Matrix4 convertD3DXMatrix(const D3DMATRIX &mat)
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()
FrustumPlane
Worldspace clipping planes.
Definition: OgreFrustum.h:70
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:57
virtual PCZone * updateNodeHomeZone(PCZSceneNode *pczsn, bool allowBackTouces)
Update a node's home zone.
@ HBU_STATIC_WRITE_ONLY
same as HBU_GPU_ONLY
Definition: OgreHardwareBuffer.h:126
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:60
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:777
static void clearShadowRenderableList(ShadowRenderableList &shadowRenderables)
Common implementation of releasing shadow renderables.
@ FFP_VS_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:45
@ OT_POINT_LIST
A list of points, 1 vertex per point.
Definition: OgreRenderOperation.h:50
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:961
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
Class for quickly loading settings from a text file.
Definition: OgreConfigFile.h:62
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.
void removePassGroup(Pass *p)
Remove the group entry (if any) for a given Pass.
void loadImage(const Image &img)
Load an image into this blend layer.
virtual TerrainSlotDefinition * getTerrainDefinition(long x, long y) const
Get the definition of a slot in the terrain.
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:92
BillboardParticleRenderer()
void normal(const Vector3 &norm)
Add a vertex normal to the current vertex.
Definition: OgreManualObject.h:237
virtual const String & getTargetLanguage() const =0
Return the target language of this writer.
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
Definition: OgreD3D9Texture.h:41
Specialization for connecting with Qt.
Definition: OgreApplicationContextQt.h:37
@ PF_R8G8B8A8
32-bit pixel format, 8 bits for red, green, blue and alpha.
Definition: OgrePixelFormat.h:116
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: OgreDeflate.h:125
const Sampler::UVWAddressingMode & getTextureAddressingMode(void) const
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:661
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.
@ HBU_GPU_ONLY
Device-local GPU (video) memory.
Definition: OgreHardwareBuffer.h:71
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:87
virtual void nodeDestroyed(const Node *)
Node is being destroyed.
Definition: OgreNode.h:91
Math(unsigned int trigTableSize=4096)
Default constructor.
Log * getLog(const String &name)
Retrieves a log managed by this class.
std::vector< std::shared_ptr< VulkanDescriptorPool > > mDescriptorPoolGraveyard
Definition: OgreVulkanQueue.h:60
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
@ SPC_LIGHTPOSITION_WORLD_SPACE1
Definition: OgreShaderParameter.h:223
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.
@ ID_PHONG
Definition: OgreScriptCompiler.h:651
virtual void copyFromTemplate(OverlayElement *templateOverlay)
Definition: OgreOverlayElement.h:461
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:271
@ LBX_BLEND_DIFFUSE_ALPHA
use interpolated alpha value from vertices to scale source1, then add source2 scaled by (1-alpha)
Definition: OgreBlendMode.h:95
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:124
void setNearClipDistance(Real nearDist)
Sets the position of the near clipping plane.
void setRedAdjust2(float red)
static const Vector2 NEGATIVE_UNIT_Y
Definition: OgreVector.h:124
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 ~VulkanRenderPassDescriptor()
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
@ ID_CUBIC_NORMAL
Definition: OgreScriptCompiler.h:741
void execute(SceneQueryListener *listener)
See SceneQuery.
uint32 getDepth(void) const
Returns the depth of the texture (only applicable for 3D textures).
Definition: OgreTexture.h:233
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 ...
A MotionState is Bullet's way of informing you about updates to an object.
Definition: OgreBullet.h:47
void labelHit(Label *label)
Toggles visibility of advanced statistics.
virtual uint32 getVisibilityFlags(void) const
Returns the visibility flags relevant for this object.
Definition: OgreMovableObject.h:433
void insert(iterator pos, InputIterator f, InputIterator l)
Definition: OgreCommon.h:523
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.
Definition: OgrePass.h:390
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:816
virtual ~D3D11StereoDriverBridge()
static ControllerFunctionRealPtr create(Real sequenceTime, Real timeOffset=0.0f)
Constructor.
Definition: OgrePredefinedControllers.h:226
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:1110
SharedPtr< D3D9HLSLProgram > D3D9HLSLProgramPtr
Definition: OgreD3D9Prerequisites.h:95
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:740
void getActualDimensions(int &left, int &top, int &width, int &height) const
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:125
@ SPC_TEXTURE_COORDINATE2
Definition: OgreShaderParameter.h:295
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
virtual 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...
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:162
CompareFunction getStencilFunc() const
Get stencil compare function.
size_t getSize(void) const
const_reverse_iterator rend() const
Definition: OgreSmallVector.h:173
VkBuffer getVkBuffer() const
Definition: OgreVulkanHardwareBuffer.h:54
void setBatchesAsStaticAndUpdate(bool bStatic)
Tells this batch to stop updating animations, positions, rotations, and display all it's active insta...
SkeletonAnimationBlendMode
Definition: OgreSkeleton.h:48
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:372
int getTargetLodLevel()
Definition: OgreTerrainLodManager.h:120
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...
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 * lock(LockOptions options)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreHardwareBuffer.h:238
void releasePBuffer(PixelComponentType ctype)
Release PBuffer for a certain pixel format.
ConstVectorIterator(const T &c)
Constructor.
Definition: OgreIteratorWrapper.h:232
void waitForDerivedProcesses()
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 4-vector constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:533
void setRotation(const Radian &rad)
Sets the current rotation.
Definition: OgreParticle.h:105
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) and hardware instan...
Definition: OgreInstanceBatchHW_VTF.h:60
SharedPtr< Texture > TexturePtr
Definition: OgrePrerequisites.h:292
@ SPC_LIGHTDIRECTION_TANGENT_SPACE0
Light direction in tangent space index 0-7.
Definition: OgreShaderParameter.h:202
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:962
ObjectAbstractNode(AbstractNode *ptr)
@ LBX_BLEND_MANUAL
as LBX_BLEND_DIFFUSE_ALPHA but use a constant manual blend value (0.0-1.0)
Definition: OgreBlendMode.h:101
void setIsAlpha(bool isAlpha)
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.
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:118
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.
std::pair< uint32, uint32 > getTextureDimensions(unsigned int frame=0) const
Returns the width and height of the texture in the given frame.
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:509
void saveMicrocodeCache(DataStreamPtr stream) const
Saves the microcode cache to disk.
void prepare(bool lightInFrustum, const PlaneBoundedVolumeList *lightClipVolumes, const Light *light, const Camera *cam, ShadowCasterList *casterList, Real farDistSquared)
Definition: OgreSceneManager.h:823
virtual void postUpdateSceneGraph(SceneManager *source, Camera *camera)
Called after updating the scene graph in this SceneManager.
Definition: OgreSceneManager.h:340
virtual void postRenderTargetUpdate(const RenderTargetEvent &evt)
Called just after a RenderTarget has been rendered to.
Definition: OgreRenderTargetListener.h:111
Definition: OgreGLES2HardwarePixelBuffer.h:85
void _updateFromShadow() override
Updates the real buffer from the shadow buffer, if required.
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.
const String & getLanguage(void) const
Overridden from GpuProgram.
int which
Definition: OgreInput.h:91
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:146
VkDevice mDevice
Definition: OgreVulkanQueue.h:71
virtual bool windowClosing(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:130
@ 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
@ ID_STENCIL_VALUE
Definition: OgreScriptCompiler.h:814
virtual const ContentList & getContentList() const
Get const access to the list of content.
Definition: OgreSimplePageContentCollection.h:90
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:165
Real getMaxScaleCoef() const
Returns the maximum derived scale coefficient among the xyz values.
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareBuffer.h:65
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:157
void setVisibilityFlags(uint32 flags)
Set the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:1940
DefaultSceneManagerFactory()
Definition: OgreSceneManagerEnumerator.h:51
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
GLSLLinkProgramManager(void)
VertexDataBindChoice
Identify which vertex data we should be sending to the renderer.
Definition: OgreEntity.h:752
Rectangle2D(const String &name, bool includeTextureCoordinates=false, HardwareBuffer::Usage vBufUsage=HBU_GPU_ONLY)
bool linkSeparable()
Only used for separable programs.
GLenum getTarget() const
Definition: OgreGL3PlusHardwareBuffer.h:67
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:1927
SharedPtr< StringVector > StringVectorPtr
Definition: OgreStringVector.h:44
const Vector3 & getPoint(unsigned short index) const
Gets the detail of one of the control points of the spline.
~D3D11HardwarePixelBuffer()
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:372
void requestUpdate(Node *child, bool forceParentUpdate=false)
Called by children to notify their parent that they need an update.
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:846
const EnabledAnimationStateList & getEnabledAnimationStates() const
Get an iterator over all the enabled animation states in this set.
Definition: OgreAnimationState.h:270
void clearAllInputs()
Clear all inputs.
void setTopSpeed(Ogre::Real topSpeed)
Sets the camera's top speed.
Definition: OgreCameraMan.h:89
VulkanSampler(VkDevice device)
reference back()
Definition: OgreCommon.h:487
IteratorWrapper< T, IteratorType, typename T::value_type >::PointerType PointerType
Definition: OgreIteratorWrapper.h:140
@ CT_CAPSULE
Definition: OgreBullet.h:32
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,...
bool getHasAlpha() const
Returns true if the image has an alpha component.
bool getShadowTextureSelfShadow(void) const
Gets whether or not texture shadows attempt to self-shadow.
Definition: OgreSceneManager.h:2953
static VkCompareOp get(CompareFunction compareFunc)
virtual const ProfileList & getProfiles() const
Get the list of profiles that this generator supports.
Definition: OgreTerrainMaterialGenerator.h:213
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:1356
void setOrientation(const Quaternion &q)
Sets the camera's orientation.
void notifyContextDestroyed(GLContext *context)
Definition: OgreGLVertexArrayObject.h:56
virtual const Source * getSource(void) const
Gets the source.
@ ID_TARGET_WIDTH_SCALED
Definition: OgreScriptCompiler.h:781
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.
size_t getNumSections(void) const
Definition: OgreManualObject.h:526
const FloatRect & getTexcoordRect(void) const
getTexcoordRect() returns the previous value set by setTexcoordRect().
Definition: OgreBillboard.h:206
@ 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:711
virtual DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const
Definition: OgreImageCodec.h:97
@ ANIMBLEND_AVERAGE
Animations are applied by calculating a weighted average of all animations.
Definition: OgreSkeleton.h:50
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.
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:2754
Definition: OgreTerrainQuadTreeNode.h:131
virtual bool isStereoEnabled(const String &renderWindowName)=0
@ ET_VSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:257
void updateToLodLevel(int lodLevel, bool synchronous=false)
@ TextureEffectPause
Definition: OgreExternalTextureSource.h:76
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,...
@ SPC_LIGHTPOSITION_WORLD_SPACE4
Definition: OgreShaderParameter.h:226
void removeFactory(GpuProgramFactory *factory)
Remove a factory object for programs of a given language.
@ 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
@ CNT_IMPORT
Definition: OgreScriptCompiler.h:54
virtual ID3D11Texture2D * getSurface(uint index=0) const
Command object for setting backwards compatibility.
Definition: OgreD3D11HLSLProgram.h:68
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:144
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:235
Vector(T _x, T _y, T _z)
Definition: OgreVector.h:314
static CmdRotationSpeedRangeStart msRotationSpeedRangeStartCmd
Definition: OgreRotationAffector.h:109
std::vector< RenderSystem * > RenderSystemList
Definition: OgreRoot.h:49
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:820
virtual void detachDepthBuffer()
static DistanceLodSphereStrategy & getSingleton(void)
Get the singleton instance.
void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards.
Definition: OgreBillboardSet.h:609
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 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).
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:409
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:938
void updatePortalsZoneData(void)
Update the zone data for each portal.
void skip(long count)
Skip a defined number of bytes.
virtual void clearResults(void)
Clears the results of the last query execution.
@ VET_COLOUR
Definition: OgreHardwareVertexBuffer.h:162
Specialises the SceneQuery class for querying within an axis aligned box.
Definition: OgreSceneQuery.h:266
void _setDepthBufferCheckEnabled(bool enabled=true)
std::pair< size_t, size_t > VertexSplit
Definition: OgreTangentSpaceCalc.h:52
virtual Camera * createCamera(const String &name)
Creates a specialized PCZCamera.
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:165
void setGlyphInfo(const GlyphInfo &info)
Definition: OgreFont.h:229
virtual ~GLSLESLinkProgram(void)
@ ID_TESSELLATION_DOMAIN_PROGRAM_REF
Definition: OgreScriptCompiler.h:836
PropertyAbstractNode(AbstractNode *ptr)
String getDeviceName() const
gets the device name for render system
Definition: OgreRenderSystemCapabilities.h:522
Affine3(const Vector3 &position, const Quaternion &orientation, const Vector3 &scale=Vector3::UNIT_SCALE)
Building a Affine3 from orientation / scale / position.
Definition: OgreMatrix4.h:325
@ ID_SQUARE
Definition: OgreScriptCompiler.h:754
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:318
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
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
void setShadowUseInfiniteFarPlane(bool enable)
Sets whether we should use an infinite camera far plane when rendering stencil shadows.
Definition: OgreSceneManager.h:2747
IteratorWrapper< T, IteratorType, typename T::value_type >::ValueType ValueType
Definition: OgreIteratorWrapper.h:139
DXGI_OUTPUT_DESC getDisplayMode() const
@ IM_NONE
Definition: OgreCompositionTargetPass.h:57
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': a collection of objects and potentially world ge...
Definition: OgreSceneManager.h:238
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:474
void _notifyCustomStageStarted(const String &description) const
Notify this manager that one custom loading stage has been started.
virtual uint32 getHeight(void) const
@ PF_BC4_UNORM
DDS (DirectDraw Surface) BC4 format (unsigned normalised)
Definition: OgrePixelFormat.h:201
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.
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:134
String doGet(const void *target) const
@ TL_RIGHT
Definition: OgreTrays.h:65
const PlaneBoundedVolumeList & getVolumes() const
Gets the volume which is being used for this query.
@ 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:114
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:520
PixelFormat
The pixel format used for images, textures, and render surfaces.
Definition: OgrePixelFormat.h:55
size_t getNumTextureDefinitions() const
Get the number of local texture definitions.
Definition: OgreCompositionTechnique.h:109
const String & getCameraName() const
Definition: OgreCompositionPass.h:319
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.
@ ID_COMPOSITOR
Definition: OgreScriptCompiler.h:773
const Plane & getSplitPlane(void) const
Returns details of the plane which is used to subdivide the space of his node's children.
@ TL_BOTTOMLEFT
Definition: OgreTrays.h:66
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.
@ MANUAL_CULL_FRONT
Cull triangles whose normal is pointing towards the camera.
Definition: OgreCommon.h:179
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:1011
void setCameraRelativeRendering(bool rel)
Set whether to use camera-relative coordinates when rendering, ie to always place the camera at the o...
Definition: OgreSceneManager.h:1203
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:693
VectorIterator< BoneList > BoneIterator
Definition: OgreSkeleton.h:164
Light * createLight(const String &name, Light::LightTypes type)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreSceneManager.h:1236
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:232
void clearQueue()
Clears the internal buffer.
@ CE_NUMBEREXPECTED
Definition: OgreScriptCompiler.h:195
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.
void reportGLSLError(GLenum glErr, const String &ogreMethod, const String &errorTextPrefix, const uint obj, const bool forceInfoLog=false, const bool forceException=false)
Check for GL errors and report them in the Ogre Log.
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: OgreDeprecated.h:78
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
unsigned short getSource(void) const
Gets the vertex buffer index from where this element draws it's values.
Definition: OgreHardwareVertexBuffer.h:196
bool operator<=(const Radian &r) const
Definition: OgreMath.h:91
Vector< 4, float > vec4
Definition: OgreTinyRenderSystem.h:26
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:208
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.
void registerProgramFactory(const String &syntaxCode, CreateGpuProgramCallback createFn)
Definition: OgreGLGpuProgramManager.h:60
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.
Holds the results of a scene query.
Definition: OgreSceneQuery.h:206
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:197
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 4-vector constants tessellation Hull programs support.
Definition: OgreRenderSystemCapabilities.h:667
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.
@ ID_ALPHA_OP_EX
Definition: OgreScriptCompiler.h:736
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:271
void setFragmentProgramParameters(GpuProgramParametersSharedPtr params)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePCZoneFactory.h:66
const int * getRegPointer(size_t pos) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreGpuProgramParams.h:1536
Exception(const Exception &rhs)
Copy constructor.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false) override
Copy data from another buffer into this one.
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:73
Vector< 3, float > Vector3f
Definition: OgrePrerequisites.h:246
ushort getTessellationHullProgramConstantFloatCount(void) const
The number of floating-point 4-vector constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:662
bool _getBuffersMarkedForAnimation(void) const
Are buffers already marked as vertex animated?
Definition: OgreEntity.h:762
@ PT_RENDERSCENE
Render the scene or part of it.
Definition: OgreCompositionPass.h:58
virtual ~RenderableListener()
Definition: OgreRenderQueue.h:108
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.
@ FFP_PS_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:63
ushort getComputeProgramConstantFloatCount(void) const
The number of floating-point 4-vector constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:647
Definition: OgreDeprecated.h:46
bool requiresTextureFlipping() const
Definition: OgreTinyWindow.h:29
@ 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
SubMesh * getSubMesh(void)
Accessor method to read mesh data.
Definition: OgreMetalTexture.h:44
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:1464
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:214
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:764
void _initParticle(Particle *pParticle) override
Initialises a particle based on the emitter's approach and parameters.
void setCorners(float left, float top, float right, float bottom, bool updateAABB=false)
Sets the corners of the rectangle, in relative coordinates.
static const String & getTypeName(PropertyType theType)
Get a string name of a property type.
@ ID_PARAM_NAMED
Definition: OgreScriptCompiler.h:586
int vBlankMissCount
Definition: OgreRenderTarget.h:81
Real getOverlayWidth() const
void close(void)
Close the stream; this makes further operations invalid.
virtual void read(bool *val, size_t count=1)
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:487
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:582
void drawSceneNode(const SceneNode *node)
Definition: OgreD3D9Mappings.h:42
void setLodBias(Real factor=1.0)
Sets the level-of-detail factor for this Camera.
virtual void remove(const String &filename)
Delete a named file.
Definition: OgreD3D9TextureManager.h:37
Definition: OgreAssimpLoader.h:82
@ ID_DEPTH_FUNC
Definition: OgreScriptCompiler.h:622
void SetColumn(size_t iCol, const Vector3 &vec)
Definition: OgreMatrix3.h:112
Definition: OgrePCZone.h:295
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:536
@ SPC_LIGHTDIRECTION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:173
Specialises the SceneQuery class for querying within a plane-bounded volume.
Definition: OgreSceneQuery.h:300
void detachFromProgramObject(const uint programObject)
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:361
virtual void _updateRenderQueue(RenderQueue *queue)=0
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
void bindToFramebuffer(uint32 attachment, uint32 zoffset) override
Bind surface to frame buffer.
ID3D11DeviceN * operator->() const
Definition: OgreD3D11Device.h:70
bool isUsed()
Definition: OgreShaderParameter.h:376
RenderSystemCapabilitiesSerializer()
default constructor
std::map< String, PropertyBase * > PropertyMap
Definition: OgreProperty.h:302
~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.
@ TLSS_HEIGHT
Height information for the detail texture.
Definition: OgreTerrainMaterialGenerator.h:63
void _setTexture(size_t unit, bool enabled, const TexturePtr &texPtr) override
Sets the texture to bind to a given texture unit.
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)
Determines whether the velocity of particles is unchanged.
void clearCache()
Clears all cached values.
Portal datastructure for connecting zones.
Definition: OgrePortal.h:47
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
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).
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:67
ResourceManagerIterator getResourceManagerIterator()
Definition: OgreResourceGroupManager.h:862
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLES2FBOMultiRenderTarget.h:48
EnvMapType
Enumeration to specify type of envmap.
Definition: OgreTextureUnitState.h:268
AutoConstantDefinition(AutoConstantType _acType, const String &_name, size_t _elementCount, ElementType _elementType, ACDataType _dataType)
Definition: OgreGpuProgramParams.h:1195
MaterialPtr clone(const String &newName, const char *newGroup) const
Definition: OgreMaterial.h:280
virtual void bindToFramebuffer(uint32 attachment, uint32 zoffset)
Bind surface to frame buffer.
const Ogre::ColourValue & getBackgroundColour()
Definition: OgreDotSceneLoader.h:42
void _updateRenderQueue(RenderQueue *queue)
Overridden from OverlayElement.
virtual PixelFormat suggestPixelFormat() const
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMem...
Definition: OgreRenderTarget.h:325
virtual void _notifyBoundingBox(const AxisAlignedBox &aabb)
Tells the Renderer about the ParticleSystem bounds.
Definition: OgreParticleSystemRenderer.h:115
void setPointParameters(bool attenuation, const Vector4f ¶ms)
void _update(bool updateChildren, bool parentHasChanged)
Internal method to update the Node.
const ColourValue & getDiffuse(void) const
Gets the diffuse colour reflectance of the pass.
Definition: OgrePass.h:394
Real getBoundingRadius(void) const
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreRectangle2D.h:92
const String & getVertexProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1250
Definition: OgreDeprecated.h:38
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:96
~ManualObjectFactory()
Definition: OgreManualObject.h:706
virtual void destroyAllCameras(void)
Removes (and destroys) all cameras from the scene.
size_t getSize(void) const
Retrieves info about the size of the resource.
Definition: OgreResource.h:299
void setSortMode(SortMode sm)
Set the function used to compute the camera-distance for sorting Renderables.
Definition: OgreCamera.h:664
Vector3 getDirection(void) const
Gets the camera's direction.
static void TensorProduct(const Vector3 &rkU, const Vector3 &rkV, Matrix3 &rkProduct)
Command object for setting target assembler.
Definition: OgreD3D9HLSLProgram.h:50
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.
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
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
@ TEX_TYPE_EXTERNAL_OES
GLES2 only OES texture type.
Definition: OgreTexture.h:107
A factory that enables creation of FFPTexturing instances.
Definition: OgreShaderFFPTexturing.h:236
@ ID_GOURAUD
Definition: OgreScriptCompiler.h:650
void _applyBaseKeyFrame(const VertexPoseKeyFrame *base)
CPreprocessor()
Create an empty preprocessor object.
virtual ~VulkanTextureGpu()
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
bool isBackgroundLoaded(void) const
Returns whether this Resource has been earmarked for background loading.
Definition: OgreResource.h:357
void registerCustomCompositionPass(const String &name, CustomCompositionPass *customPass)
Register a custom composition pass.
static OverlaySystem * getSingletonPtr()
bool operator!=(const Vector &v) const
Definition: OgreVector.h:384
MovableObject * getAttachedObject(const String &name) const
Retrieves a pointer to an attached object by name.
T * iterator
Definition: OgreSmallVector.h:148
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)
@ ID_NOT_EQUAL
Definition: OgreScriptCompiler.h:630
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:75
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
MouseWheelEvent wheel
Definition: OgreInput.h:106
Profile * getActiveProfile() const
Get the active profile.
Definition: OgreTerrainMaterialGenerator.h:242
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:437
Content getContent() const
Return the content of this parameter.
Definition: OgreShaderParameter.h:357
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:825
@ ID_SHADOW_CASTER_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:568
void _beginFrame()
Signifies the beginning of a frame, i.e.
Specialized SceneManager that uses Portal-Connected-Zones to divide the scene spatially.
Definition: OgrePCZSceneManager.h:55
Specialisation of ZipArchiveFactory for embedded Zip files.
Definition: OgreZip.h:70
bsp_vis_t * mVis
Definition: OgreQuake3Level.h:155
void addListener(ProfileSessionListener *listener)
Register a ProfileSessionListener from the Profiler.
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:1891
Radian mRotationSpeed
Speed of rotation in radians/sec.
Definition: OgreParticle.h:72
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:82
Real y
Definition: OgreDualQuaternion.h:166
void readData(size_t offset, size_t length, void *pDest) override
Reads data from the buffer and places it in the memory pointed to by pDest.
virtual bool setOption(const String &strKey, const void *pValue)
Method for setting a specific option of the Scene Manager.
Definition: OgreSceneManager.h:1770
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:1396
@ ID_NAMED
Definition: OgreScriptCompiler.h:762
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.
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
void setDirection(Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Sets the node's direction vector ie it's local -z.
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:77
reference front()
Definition: OgreCommon.h:480
int face_count
Definition: OgreQuake3Types.h:156
@ SM_DIRECTION
Sort by direction of the camera.
Definition: OgreCommon.h:316
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:75
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:121
void load(const String &filename)
Prepare and load the terrain in one simple call from a standalone file.
Real getTimeFactor(void) const
Definition: OgrePredefinedControllers.h:68
@ ACT_WORLD_MATRIX_ARRAY
The current array of world matrices, used for blending.
Definition: OgreGpuProgramParams.h:645
@ Graphics
Definition: OgreVulkanQueue.h:47
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:514
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:360
void setTextureAddressingMode(Ogre::TextureAddressingMode tam)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:666
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: OgreDeflate.h:101
bool getUseAccurateFacing(void) const
Gets whether or not billboards use an 'accurate' facing model.
Definition: OgreBillboardSet.h:650
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:104
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.
Definition: OgrePass.h:1092
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const override
Maps a magic number header to a file extension, if this codec recognises it.
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
@ ID_PASS_OP
Definition: OgreScriptCompiler.h:828
std::vector< LodLevel * > LodLevelList
Definition: OgreTerrainQuadTreeNode.h:148
GLTextureManager(GLRenderSystem *renderSystem)
const String & getTarget(void) const
Gets the shader target to compile down to, e.g.
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.
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.
void _notifyDeviceStalled(void)
Definition: OgreVulkanHardwareBuffer.h:52
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:76
void setAddressingMode(TextureAddressingMode tam)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:112
Definition: OgreLodOutputProviderMesh.h:43
std::vector< IndexBufferInfo > IndexBufferInfoList
Definition: OgreLodData.h:149
void bindToFramebuffer(uint32 attachment, uint32 zoffset) override
Bind surface to frame buffer.
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
void setWorldTransform(const btTransform &in) override
Definition: OgreBullet.h:58
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:165
GpuSharedParameters(const String &name)
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
@ ID_SAWTOOTH
Definition: OgreScriptCompiler.h:755
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:597
FontType
Enumerates the types of Font usable in the engine.
Definition: OgreFont.h:53
Box(const Vector3i &size)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreCommon.h:776
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)
@ ID_UNLIMITED
Definition: OgreScriptCompiler.h:687
@ CE_VARIABLEEXPECTED
Definition: OgreScriptCompiler.h:197
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:150
int8_t int8
Definition: OgrePlatform.h:276
const LodLevel * getLodLevel(uint16 lod)
Get the LodLevel information for a given lod.
SharedPtr()
Definition: OgreSharedPtr.h:56
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:81
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.
@ ID_SHADOW_RECEIVER_MATERIAL
Definition: OgreScriptCompiler.h:573
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
T * _getImpl()
Definition: OgreHardwareBuffer.h:386
bool operator==(const SmallVectorImpl &RHS) const
Definition: OgreSmallVector.h:562
void setBoneDualQuaternions(bool enable)
Definition: OgreInstanceBatchVTF.h:182
@ CT_SPHERE
Definition: OgreBullet.h:30
std::map< String, PagedWorldSectionFactory * > WorldSectionFactoryMap
Definition: OgrePageManager.h:267
A 2D element which contains other OverlayElement instances.
Definition: OgreOverlayContainer.h:56
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:97
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:94
SharedPtr< ImageData > CodecDataPtr
Definition: OgreImageCodec.h:94
void lock(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:426
@ 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:286
CodePoint codePoint
Definition: OgreFont.h:67
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
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, typically VET_FLOAT3.
Definition: OgreHardwareVertexBuffer.h:97
AbsolutePixelCountLodStrategy()
Default constructor.
bool isLayerParallaxMappingEnabled() const
Whether to support parallax mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:87
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...
Definition: OgreManualObject.h:408
BillboardRotationType getBillboardRotationType() const
Sets billboard rotation type.
Definition: OgreBillboardParticleRenderer.h:88
BatchSettings()
Definition: OgreInstanceManager.h:87
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
Definition: OgreTinyRenderSystem.h:168
@ PT_ORTHOGRAPHIC
Definition: OgreFrustum.h:63
@ 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.
GLenum getCullFace(void) const
Sets the face culling mode.
Definition: OgreGLStateCacheManager.h:204
virtual Real getSquaredViewDepth(const Camera *cam) const =0
Returns the squared distance between the camera and this renderable.
OGRE_MUTEX(mGpuProgramChangeMutex)
std::vector< T >::const_iterator const_iterator
Definition: OgreDeprecated.h:49
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 textureCoord(const Vector3 &uvw)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:323
ConstMapIterator(typename T::const_iterator start, typename T::const_iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:359
void logWarning(const String &message, bool maskDebug=false)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ SwapchainAcquired
We already called VulkanWindow::acquireNextImage.
Definition: OgreVulkanWindow.h:47
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.
Definition: OgreD3D11TextureManager.h:47
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()
std::string String
Definition: OgrePrerequisites.h:313
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:204
@ SPC_LIGHTPOSITION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:218
@ 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:178
void setDebugMode(int mode)
Definition: OgreBullet.h:146
std::vector< const Chunk * > VecChunk
A list of Chunks.
Definition: OgreVolumeChunk.h:441
String name
Definition: OgreGpuProgramParams.h:1188
static LodWorkQueueInjector & getSingleton()
void deleteGLBuffer(GLenum target, GLuint buffer)
Delete an OpenGL buffer of any type.
@ FO_ANISOTROPIC
Similar to FO_LINEAR, but compensates for the angle of the texture plane.
Definition: OgreCommon.h:112
void defaultOrganisationMode(void)
Setthe sorting / grouping mode for the solids in this group to the default.
Definition: OgreRenderQueueSortingGrouping.h:576
@ ID_BLEND_DIFFUSE_COLOUR
Definition: OgreScriptCompiler.h:724
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:683
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:584
@ RSC_ALPHA_TO_COVERAGE
Supports Alpha to Coverage (A2C)
Definition: OgreRenderSystemCapabilities.h:158
BuiltinHashFunction
There are some default hash functions used to order passes so that render state changes are minimised...
Definition: OgrePass.h:1498
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
@ ACT_INVERSE_WORLDVIEWPROJ_MATRIX
Provides inverse of concatenated world, view and projection matrices.
Definition: OgreGpuProgramParams.h:715
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...
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:286
static const AxisAlignedBox BOX_NULL
Definition: OgreAxisAlignedBox.h:802
static const uint16 CHUNK_VERSION
Definition: OgreTerrainGroup.h:519
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
uint32 getAdapterNumber()
@ SPC_BINORMAL_WORLD_SPACE
Binormal in world space.
Definition: OgreShaderParameter.h:266
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)
const String & getComputeProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1252
VulkanTextureGpu * getDepthTexture()
Definition: OgreVulkanWindow.h:111
void setScissorTest(bool enabled, uint32 left, uint32 top=0, uint32 right=800, uint32 bottom=600)
Definition: OgreRenderSystem.h:918
std::vector< LODBucket * > LODBucketList
list of LOD Buckets in this region
Definition: OgreStaticGeometry.h:351
@ ID_INCREMENT_WRAP
Definition: OgreScriptCompiler.h:824
AdvancedRenderControls(TrayManager *trayMgr, Ogre::Camera *cam)
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:548
size_t size_type
Definition: OgreSmallVector.h:145
bool allowedToVisit(void)
Definition: OgrePCZSceneNode.h:82
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:793
const FontPtr & getFont() const
Definition: OgreTextAreaOverlayElement.h:78
virtual void setHidden(bool hidden)
Hide (or show) the window.
Definition: OgreRenderWindow.h:160
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:904
GPUVendorRule()
Definition: OgreTechnique.h:127
const Semantic & getSemantic() const
Get the semantic of this parameter.
Definition: OgreShaderParameter.h:351
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
static const uint32 TERRAINDERIVEDDATA_CHUNK_ID
Definition: OgreTerrain.h:286
size_t indexStart
Index in the buffer to start from for this operation.
Definition: OgreVertexIndexData.h:273
EncoderState getEncoderState(void) const
Definition: OgreVulkanQueue.h:190
@ ID_COLOUR_VALUE
Definition: OgreScriptCompiler.h:812
bool operator!=(const Affine3 &m2) const
Definition: OgreMatrix4.h:382
static bool _isBinaryCompressedFormat(DXGI_FORMAT d3dPF)
void reportErrorWarning(const char *warningString)
Definition: OgreBullet.h:142
virtual void objectDetached(MovableObject *)
MovableObject has been detached from a node.
Definition: OgreMovableObject.h:71
TextureDefinitionIterator getTextureDefinitionIterator(void)
virtual const GpuProgramParametersPtr & getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
void _findNodes(const Ray &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
virtual void _setVertexTexture(size_t unit, const TexturePtr &tex)
void _notifyModified()
Tell the page that it is modified.
Definition: OgrePage.h:181
void clip(const ConvexBody &body)
Clips the body with another body.
@ SHADER_ANIMMAP
Definition: OgreQuake3Types.h:102
String doGet(const void *target) const
ResponseHandler()
Definition: OgreWorkQueue.h:202
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
TexGen texGen
Definition: OgreQuake3Shader.h:76
String getType() const override
Returns the type of the codec as a String.
void moveWidgetToTray(TrayLocation currentTrayLoc, size_t currentPlace, TrayLocation targetTrayLoc, size_t targetPlace=-1)
Definition: OgreTrays.h:1037
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:1521
@ ID_POINT
Definition: OgreScriptCompiler.h:670
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)
static ParameterPtr createConstParam(const Vector3 &val)
Viewport(Camera *camera, RenderTarget *target, float left, float top, float width, float height, int ZOrder)
The usual constructor.
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
@ TL_NONE
Definition: OgreTrays.h:69
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:197
LODFaceList mLodFaceList
Definition: OgreSubMesh.h:105
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()
Query the current size and position from an external window handle.
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...
RGBA mColour
Definition: OgreBillboard.h:85
bool isLeaf() const
Is this a leaf node (no children)
StreamSerialiser * _writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
@ BBT_ORIENTED_COMMON
Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this...
Definition: OgreBillboardSet.h:88
std::vector< InstancedEntity * > InstancedEntityVec
Definition: OgreInstanceBatch.h:91
@ ACT_TRANSPOSE_VIEW_MATRIX
Provides transpose of view matrix.
Definition: OgreGpuProgramParams.h:659
std::vector< CompositionTargetPass * > TargetPasses
Typedefs for several iterators.
Definition: OgreCompositionTechnique.h:86
void nameSubMesh(const String &name, ushort index)
Gives a name to a SubMesh.
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:165
void setFrameDelay(Real fd)
Sets a constant frame rate.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
@ EndFrameAndSwap
Same as NewFrameIdx + swaps windows (presents).
Definition: OgreVulkanPrerequisites.h:105
const Passes & getPasses(void) const
Gets the passes in this Technique.
Definition: OgreTechnique.h:205
void install()
Perform the plugin initial installation sequence.
Real getSquaredViewDepth(const Camera *cam) const override
Returns the squared distance between the camera and this renderable.
void setTextureStacksAndSlices(uchar stacks, uchar slices)
Generate texture coordinate rects for a tiled texture sheet.
Definition: OgreBillboardParticleRenderer.h:62
ValueType getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition: OgreIteratorWrapper.h:299
void setNamedConstant(const String &name, const int *val, uint32 count)
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:65
static Matrix3 parseMatrix3(const String &val, const Matrix3 &defaultValue=Matrix3::IDENTITY)
Parses a Matrix3 out of a String.
Definition: OgreStringConverter.h:301
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
const String & getName() const
Get the name of this profile.
Definition: OgreTerrainMaterialGenerator.h:181
int postProcessSteps
Definition: OgreAssimpLoader.h:85
A plane.
Definition: OgreVolumeCSGSource.h:79
void _cursorReleased(const Ogre::Vector2 &cursorPos)
Definition: OgreTrays.h:314
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreHighLevelGpuProgram.h:142
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)
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:801
@ ID_INVERSE_SAWTOOTH
Definition: OgreScriptCompiler.h:756
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:345
Vector(const typename std::enable_if< N==4, Vector3 >::type &rhs, T fW=1.0f)
Definition: OgreVector.h:319
ConstVectorIterator< PoseRefList > ConstPoseRefIterator
Definition: OgreKeyFrame.h:233
Real getSquaredViewDepth(const Camera *cam) const
Returns the squared distance between the camera and this renderable.
Real getFocalLength() const
Returns focal length of frustum.
static void * allocate(size_t size)
Allocate memory with default platform dependent alignment.
void saveGroupDefinition(const String &filename)
Save the group data only in native form to a file.
bool getInheritParentEntityScale(void) const
Returns true if this TagPoint is affected by scaling factors applied to the parent entity.
@ ID_VERTEXCOLOUR
Definition: OgreScriptCompiler.h:601
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
ControllerReal * createController(const ControllerValueRealPtr &src, const ControllerValueRealPtr &dest, const ControllerFunctionRealPtr &func)
Creates a new controller and registers it with the manager.
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:73
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:481
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.
uint32 getNumLayers() const
Definition: OgreVulkanTextureGpu.h:131
const SmallVector & operator=(const SmallVector &RHS)
Definition: OgreSmallVector.h:735
NativeWindowPair createWindow(const Ogre::String &name, uint32_t w=0, uint32_t h=0, Ogre::NameValuePairList miscParams=Ogre::NameValuePairList()) override
Create a new render window.
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.
virtual Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Definition: OgreRenderSystem.h:943
Radian & operator*=(float f)
Definition: OgreMath.h:86
MeshPtr prepare(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HBU_GPU_ONLY, HardwareBuffer::Usage indexBufferUsage=HBU_GPU_ONLY, bool vertexBufferShadowed=false, bool indexBufferShadowed=false)
Prepares a mesh for loading from a file.
@ RIM_LINEAR
Values are interpolated linearly.
Definition: OgreAnimation.h:109
virtual bool isConstParameter() const
Definition: OgreShaderParameter.h:651
void shutdown(void)
Shutdown the renderer and cleanup resources.
AnyNumeric & operator/=(const AnyNumeric &rhs)
Definition: OgreAny.h:368
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:1303
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.
@ SwapchainReleased
We don't own a swapchain.
Definition: OgreVulkanWindow.h:60
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:133
void index(uint32 idx)
Add a vertex index to construct faces / lines / points via indexing rather than just by a simple list...
Definition: OgreManualObject.h:363
virtual void applyDeltaValue(const Degree &)
Apply delta value.
Definition: OgreAnimable.h:222
A factory that enables creation of IntegratedPSSM3 instances.
Definition: OgreShaderExIntegratedPSSM3.h:192
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
void removeElement(VertexElementSemantic semantic, unsigned short index=0)
Remove the element with the given semantic and usage index.
void endRenderEncoder(const bool endRenderPassDesc=true)
void setTrueTypeSize(Real ttfSize)
Sets the size of a truetype font (only required for FT_TRUETYPE).
const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
ParameterPtr resolveInputParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
Resolve input parameter of this function.
Definition: OgreShaderFunction.h:114
virtual void notifyCamera(Camera *cam)
Notify a world of the current camera.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
@ IM_USEALL
Definition: OgreCommon.h:371
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.
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:78
static bool canGetCompiledShaderBuffer()
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:49
virtual void stopDeflate()
Stop (un)compressing data.
void resize(size_type n, const T &t=T())
Definition: OgreCommon.h:555
virtual ~HardwareBufferLicensee()
Definition: OgreHardwareBufferManager.h:61
virtual ushort getIndex(Real value, const Mesh::MeshLodUsageList &meshLodUsageList) const
Get the index of the LOD usage which applies to a given value.
D3D11HardwareBuffer(BufferType btype, size_t sizeBytes, HardwareBuffer::Usage usage, D3D11Device &device, bool useShadowBuffer, bool streamOut)
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)
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
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
std::vector< T >::iterator iterator
Definition: OgreDeprecated.h:48
Definition: OgreTerrainPagedWorldSection.h:159
virtual void setRenderingDistance(Real dist)
Sets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:617
~ScreenRatioPixelCountLodStrategy()
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.
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:168
virtual void decode(const DataStreamPtr &input, const Any &output) const =0
Codes the data from the input chunk into the output chunk.
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
int size
Definition: OgreQuake3Types.h:225
ParameterPtr resolveInputParameter(const ParameterPtr &out)
resolve input parameter from previous output
Definition: OgreShaderFunction.h:120
shared_ptr< LodData > LodDataPtr
Definition: OgreLodPrerequisites.h:66
const Vector4 & getCameraPositionObjectSpace(void) const
virtual ~VulkanTextureGpuWindow()
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 setUserAny(const Any &anything)
Definition: OgreRenderable.h:299
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:179
const ConstantList & getConstantList() const
Get a reference to the list of constants.
Definition: OgreGpuProgramParams.h:1515
@ OR_DEGREE_0
Definition: OgreFrustum.h:49
void setAlphaAdjust1(float alpha)
Sets the alpha adjustment to be made per second to particles.
bool isBackgroundLoaded(void) const
@ VET_FLOAT4
Definition: OgreHardwareVertexBuffer.h:128
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:1005
void destroyController(ControllerReal *controller)
Removes & destroys the controller passed in as a pointer.
Definition: OgreQuake3Types.h:208
Specialisation to allow reading of files from a zip format source archive.
Definition: OgreZip.h:57
virtual ~VulkanProgramFactory(void)
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.
bool isMultisample() const
Definition: OgreVulkanTextureGpu.h:134
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.
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:653
TexGen
Definition: OgreQuake3Types.h:126
Scales the given volume source.
Definition: OgreVolumeCSGSource.h:367
virtual bool fragment(const vec3 &bar, ColourValue &gl_FragColor)=0
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:76
void logError(const String &message, bool maskDebug=false)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const GpuProgramPtr & getComputeProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1204
virtual void endProfileEvent(void)=0
Ends the currently active GPU profiling event.
Command object for setting profiles.
Definition: OgreCgProgram.h:56
bool isAmbientOnly(void) const
Returns whether this pass is ambient only.
void bindToFramebuffer(uint32 attachment, uint32 zoffset) override
Bind surface to frame buffer.
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.
uint32 getNumFaces(void) const
Get the number of faces of the image.
@ ID_NO_FSAA
Definition: OgreScriptCompiler.h:790
FloatGpuParameterControllerValue(GpuProgramParametersSharedPtr params, size_t index)
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.
std::vector< ShadowRenderable * > ShadowRenderableList
Definition: OgreShadowCaster.h:122
virtual void destroySceneNode(SceneNode *sn)
Destroys a SceneNode.
const String & getType() const
Get the type of the object to be created.
Definition: OgreAntiPortal.h:60
virtual void resourceGroupLoadStarted(const String &groupName, size_t resourceCount)
This event is fired when a resource group begins loading.
Definition: OgreResourceGroupManager.h:158
@ 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.
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:249
MeshPtr clone(const String &newName, const String &newGroup=BLANKSTRING)
Makes a copy of this mesh object and gives it a new name.
@ VET_BYTE4
signed bytes
Definition: OgreHardwareVertexBuffer.h:154
D3D9StereoDriverImpl()
Definition: OgreD3D9StereoDriverImpl.h:43
@ TEX_TYPE_2D
2D texture, used in combination with 2D texture coordinates (default)
Definition: OgreTexture.h:98
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:496
bool getAlignCameraToFace() const
Definition: OgreCompositionPass.h:322
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.
@ LF_ONLY_UNREFERENCED
Process only resources which are not referenced by any other object. Useful to reduce resource consum...
Definition: OgreResource.h:126
const Plane & getPrevDerivedPlane() const
Get the previous portal plane in world coordinates.
Definition: OgrePortalBase.h:147
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:2335
@ SPC_BLEND_INDICES
Blending indices.
Definition: OgreShaderParameter.h:248
std::map< String, OverlayElementFactory * > FactoryMap
Definition: OgreOverlayManager.h:61
Pass * createPass(void)
Creates a new Pass for this Technique.
virtual ~StringInterface()
Virtual destructor, see Effective C++.
Definition: OgreStringInterface.h:191
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.
HardwarePixelBufferPtr HardwarePixelBufferSharedPtr
Definition: OgrePrerequisites.h:296
@ 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:72
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:200
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
static constexpr Real TWO_PI
Definition: OgreMath.h:744
void setCenter(const Vector3 ¢er)
Sets the center point of the sphere.
Definition: OgreSphere.h:77
TouchFingerEvent tfinger
Definition: OgreInput.h:108
uint32 back
Definition: OgreCommon.h:726
@ SRF_INCLUDE_LIGHT_CAP
For shadow volume techniques only, generate a light cap on the volume.
Definition: OgreShadowCaster.h:113
@ SPC_LIGHTPOSITIONVIEW_SPACE0
Light position in view space index 0-7.
Definition: OgreShaderParameter.h:232
GLES2HardwareBuffer(GLenum target, size_t sizeInBytes, GLenum usage, bool useShadowBuffer)
void setListener(Listener *listener)
Sets a listener for this Node.
Definition: OgreNode.h:562
virtual void nodeDetached(const Node *)
Node has been detached from a parent.
Definition: OgreNode.h:95
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:106
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.
const StringVector & getRenderSystemEvents(void) const
Gets a list of the rendersystem specific events that this rendersystem can raise.
Definition: OgreRenderSystem.h:1054
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:386
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:72
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.
void copyFromFramebuffer(size_t zoffset)
Lock a box.
virtual ~ResourceGroupListener()
Definition: OgreResourceGroupManager.h:105
Matrix4(const Real *arr)
Definition: OgreMatrix4.h:240
ManualObjectSection * getSection(size_t index) const
Definition: OgreManualObject.h:524
shared_ptr< Parameter > ParameterPtr
Definition: OgreShaderPrerequisites.h:73
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
Degree(const Radian &r)
Definition: OgreMath.h:116
bool requiresTextureFlipping() const
Definition: OgreGLFBOMultiRenderTarget.h:47
Plugin instance for GL3Plus Manager.
Definition: OgreGL3PlusPlugin.h:40
SampleTextureAtom(int groupOrder)
Definition: OgreShaderFunctionAtom.h:302
CreateCompositorScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:551
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:205
@ ID_SHARED_PARAM_NAMED
Definition: OgreScriptCompiler.h:766
void createSwapchain(void)
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.
A simple structure designed just as a holder of property values between the instances of objects they...
Definition: OgreProperty.h:265
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:175
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:191
D3D11StereoDriverNVIDIA()
bool isVisible(void) const
Gets whether the overlay is displayed or not.
Segment mSegment
Definition: OgreCapsule.h:63
LodOutputProviderCompressedBuffer(MeshPtr mesh)
@ SPC_BINORMAL_OBJECT_SPACE
Binormal in object space.
Definition: OgreShaderParameter.h:263
void setFromOgrePlane(Plane &ogrePlane)
Copy from an Ogre Plane.
ConstVectorIterator< GPUVendorRuleList > GPUVendorRuleIterator
Definition: OgreTechnique.h:616
void setBackgroundLoaded(bool bl)
Tells the resource whether it is background loaded or not.
Definition: OgreResource.h:367
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
static void messagePump()
Call this once per frame.
FactoryObj< ParticleSystemRenderer > ParticleSystemRendererFactory
Definition: OgrePrerequisites.h:168
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
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
Sets the global alpha rejection approach for future renders.
Real getTime(void) const
Gets the time of this keyframe in the animation sequence.
Definition: OgreKeyFrame.h:65
@ ID_FOG_OVERRIDE
Definition: OgreScriptCompiler.h:657
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:189
static String Type
Definition: OgreShaderExHardwareSkinning.h:145
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
void setDefaultLayerTextureWorldSize(Real sz)
Set the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:2000
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:140
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.
Real getScrollX(void) const
Gets the current X scroll value.
std::multimap< K, V, P > type
Definition: OgreDeprecated.h:79
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:74
size_t getHeight(void) const
Gets the height of the texture.
Holds a solid representation of a convex body.
Definition: OgreConvexBody.h:53
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
const SPFMDeleteT SPFM_DELETE_T
Definition: OgreSharedPtr.h:46
virtual Real getMaxParticleVelocity(void) const
Returns the maximum particle velocity.
void addFactory(ProgramWriterFactory *factory)
Definition: OgreShaderProgramWriterManager.h:81
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:105
virtual void applyDeltaValue(Real)
Set value.
Definition: OgreAnimable.h:198
Ogre::OverlayContainer * getBackdropContainer()
Definition: OgreTrays.h:775
String language
Definition: OgreGLGpuProgramManager.h:44
SceneNode * getAutoTrackTarget(void) const
Get the auto tracking target for this node, if any.
Definition: OgreSceneNode.h:410
VulkanRenderSystem * mRenderSystem
Definition: OgreVulkanDevice.h:70
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, unsigned short stencil=0)
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
@ SHADER_DEFORMVERTS
Definition: OgreQuake3Types.h:92
@ RENDER_QUEUE_MAIN
The default render queue.
Definition: OgreRenderQueue.h:64
A surface which is defined by curves of some kind to form a patch, e.g.
Definition: OgrePatchSurface.h:53
Definition: OgreGLGpuProgramManager.h:57
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)
Modifies the vertex data to be suitable for use for rendering shadow geometry as in .
const Radian & getSpotlightOuterAngle(void) const
Returns the angle covered by the spotlights outer cone.
Degree(const Ogre::Degree &rhs)
Definition: OgreMath.h:117
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...
HardwareBufferPtr createUniformBuffer(size_t sizeBytes, HardwareBufferUsage usage, bool useShadowBuffer)
Create uniform buffer.
Definition: OgreDefaultHardwareBufferManager.h:136
void _autogenerateMipmaps(bool bUseBarrierSolver=false)
Codec return class for images.
Definition: OgreImageCodec.h:77
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.
Definition: OgreHardwareVertexBuffer.h:547
void unregisterCustomCompositionPass(const String &name)
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:530
void findTransferQueue(FastArray< uint32 > &inOutUsedQueueCount, uint32 maxNumQueues)
void setListener(TrayListener *listener)
Definition: OgreTrays.h:779
FontPtr getByName(const String &name, const String &groupName=RGN_DEFAULT) const
Get a resource by name.
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:73
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)
@ SPC_POSITION_PROJECTIVE_SPACE
Position in projective space.
Definition: OgreShaderParameter.h:95
Simple implementation of MovableObject and Renderable for single-part custom objects.
Definition: OgreSimpleRenderable.h:51
bool isShadowTechniqueModulative(void) const
Is there a modulative shadowing technique in use?
Definition: OgreSceneManager.h:2757
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...
virtual void setCellRangeMinX(int32 minX)
Set the index range of all cells (values outside this will be ignored)
D3D11RenderWindowSwapChainBased(D3D11Device &device)
SceneBlendFactor destFactor
Definition: OgreBlendMode.h:281
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.
static int IAbs(int iValue)
Definition: OgreMath.h:262
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:204
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:52
bool getFogOverride(void) const
Returns true if this pass is to override the scene fog settings.
Definition: OgrePass.h:953
virtual bool isWriteable() const
Reports whether this stream is writeable.
Definition: OgreDataStream.h:94
void setDirection(const Vector3 &d)
Set the "inward/outward norm" direction of AAB or SPHERE portals NOTE: UNIT_Z = "outward" norm,...
Definition: OgrePortalBase.h:80
void destroyAllOverlayElements(bool=false)
Destroys all the OverlayElement created so far.
@ ACT_LIGHT_POSITION
A light position in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:791
static ControllerManager * getSingletonPtr(void)
Get the singleton instance.
std::list< SceneQueryMovableObjectPair > SceneQueryMovableIntersectionList
Definition: OgreSceneQuery.h:475
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 void download(const PixelBox &data)
Download a box of pixels from the card.
std::map< String, ParamDictionary > ParamDictionaryMap
Definition: OgreStringInterface.h:156
@ SPC_POSTOLIGHT_TANGENT_SPACE2
Definition: OgreShaderParameter.h:164
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:300
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:1885
Log class for writing debug/log data to files.
Definition: OgreLog.h:99
@ LB_BlendSaturation
Definition: OgreShaderExLayeredBlending.h:74
@ VET_INT_10_10_10_2_NORM
signed int (normalized to 0..1)
Definition: OgreHardwareVertexBuffer.h:161
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.
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:230
void addWindowToWaitFor(VkSemaphore imageAcquisitionSemaph)
When we'll call commitAndNextCommandBuffer, we'll have to wait for this semaphore on to execute STAGE...
MovableObject * createMovableObject(const String &name, const String &typeName, const NameValuePairList *params=0)
Create a movable object of the type specified.
virtual ~GLTextureManager()
uint16 getResolutionAtLod(uint16 lodLevel) const
Gets the resolution of the entire terrain (down one edge) at a given LOD level.
@ ID_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:567
@ 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:195
@ TFO_ANISOTROPIC
This is the same as ’trilinear’, except the filtering algorithm takes account of the slope of the tri...
Definition: OgreCommon.h:88
void setClearDepth(GLclampf depth)
Sets the clear depth in the range from [0..1].
void setDimensions(float width, float height)
Sets the width and height for this billboard.
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:55
void _notifyBoundingBox(const AxisAlignedBox &aabb) override
Tells the Renderer about the ParticleSystem bounds.
void appendText(const Ogre::DisplayString &text)
Definition: OgreTrays.h:281
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:337
void Define(const char *iMacroName, size_t iMacroNameLen, const char *iMacroValue, size_t iMacroValueLen)
Define a macro without parameters.
~GpuLogicalBufferStruct()
VulkanTextureGpuWindow(String name, TextureType initialType, TextureManager *textureManager, VulkanWindow *window)
ImageFlags
Definition: OgreImage.h:44
std::vector< byte > MicroCode
Definition: OgreD3D11HLSLProgram.h:37
bool isVertexCompressionSupported() const
Compressed vertex format supported?
TerrainMaterialGenerator()
@ PROP_STRING
Definition: OgreProperty.h:113
void setSelfIllumination(const ColourValue &selfIllum)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:377
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...
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.
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
Returns the intersection of the two rectangles.
Definition: OgreCommon.h:667
std::vector< Operand > OperandVector
Definition: OgreShaderFunctionAtom.h:193
@ SOP_KEEP
Leave the stencil buffer unchanged.
Definition: OgreRenderSystem.h:77
ManualCullingMode getManualCullingMode(void) const
Retrieves the manual culling mode for this pass.
static float AngleUnitsToRadians(float units)
Convert from the current AngleUnit to radians.
virtual void _notifyRenderTargetAttached(RenderTarget *renderTarget)
Called when a RenderTarget is attaches this DepthBuffer.
virtual void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Bind Gpu program parameters.
@ SPC_POSTOLIGHT_VIEW_SPACE6
Definition: OgreShaderParameter.h:158
@ 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.
virtual Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
void setValue(Ogre::Real value, bool notifyListener=true)
Pass * pass
Pointer to the Pass.
Definition: OgreRenderQueueSortingGrouping.h:56
@ MIP_DEFAULT
Use TextureManager default.
Definition: OgreTexture.h:117
Octree(PCZone *zone, Octree *p)
virtual Grid2DMode getMode() const
Set the grid alignment mode.
Definition: OgreGrid2DPageStrategy.h:151
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:1565
void setPosition(const Vector3 &position)
Set the position of the billboard.
Definition: OgreBillboard.h:117
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.
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:43
@ ID_LOD_INDEX
Definition: OgreScriptCompiler.h:591
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:108
@ ID_INVERT
Definition: OgreScriptCompiler.h:826
@ ID_EXP2
Definition: OgreScriptCompiler.h:661
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:72
#define OGRE_EXCEPT_EX(code, num, desc, src)
Definition: OgreD3D11Prerequisites.h:42
@ ID_BACK
Definition: OgreScriptCompiler.h:644
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:150
FileNotFoundException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:189
String customAnimationName
Definition: OgreAssimpLoader.h:86
uint32 mNumImageViews
Definition: OgreVulkanRenderPassDescriptor.h:55
void remove2D(OverlayContainer *cont)
Removes a 2D container from the overlay.
static const uint16 TERRAIN_CHUNK_VERSION
Definition: OgreTerrain.h:274
const String BLANKSTRING
Constant blank string, useful for returning by ref where local does not exist.
Definition: OgreCommon.h:592
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
const T * getData(uint32 x=0, uint32 y=0, uint32 z=0) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreImage.h:346
void parseDriverVersionFromString(const String &versionString)
Definition: OgreRenderSystemCapabilities.h:326
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:127
void uninstall()
Perform the final plugin uninstallation sequence.
@ ID_COMP_FUNC
Definition: OgreScriptCompiler.h:817
uint32 getNumMipmaps() const
Returns the number of mipmaps contained in the image.
T right
Definition: OgreCommon.h:605
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.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer) override
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
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
MetalTextureManager(MetalDevice *device)
@ ACT_TEXTURE_VIEWPROJ_MATRIX
The view/projection matrix of the assigned texture projection frustum.
Definition: OgreGpuProgramParams.h:922
void addParameter(const String &name, ParamCommand *paramCmd)
Method for adding a parameter definition for this class.
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:107
int row_size
Definition: OgreQuake3Types.h:218
const ShaderParameterList & getOutputParameters() const
Return a list of output parameters.
Definition: OgreShaderFunction.h:198
BillboardSetFactory()
Definition: OgreBillboardSet.h:815
ValueType get(void) const
Definition: OgreAny.h:213
virtual ~VulkanHardwareBuffer()
void computeNormal()
Vertex ID in the buffer associated with the submeshID.
Definition: OgreLodData.h:122
int elementStart
Index into a buffer containing vertex indices.
Definition: OgreStaticFaceGroup.h:94
std::bitset< RENDER_QUEUE_COUNT > RenderQueueBitSet
A set of render queues to either include or exclude certain render queues.
Definition: OgreCompositorInstance.h:149
RibbonTrail * getRibbonTrail(const String &name) const
Get a reference to a previously created object instance.
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:3492
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.
RGBA getAsBYTE() const
value packed as PF_BYTE_RGBA
Definition: OgreColourValue.h:102
static String Type
Definition: OgreShaderExIntegratedPSSM3.h:99
Command object for enabling backwards compatibility.
Definition: OgreD3D9HLSLProgram.h:88
void destroyAllResourcePools()
destroy all pools
@ RSC_VERTEX_BUFFER_INSTANCE_DATA
Supports using vertex buffers for instance data.
Definition: OgreRenderSystemCapabilities.h:170
~ParticleSystemFactory()
Definition: OgreParticleSystemManager.h:342
virtual ~ParticleAffectorFactory()
CompositionTechnique * getTechnique(size_t idx) const
Get a technique.
Definition: OgreCompositor.h:70
@ ID_INCREMENT
Definition: OgreScriptCompiler.h:822
String mResourceGroup
Definition: OgreScriptCompiler.h:501
VertexHash(LodData *gen)
Definition: OgreLodData.h:79
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
CompositionPass(CompositionTargetPass *parent)
virtual void loadResource(Resource *resource)=0
Called when a resource wishes to load instead of Resource::loadImpl.
void readData(size_t offset, size_t length, void *pDest) override
Reads data from the buffer and places it in the memory pointed to by pDest.
bool hasAutoConstants(void) const
Returns true if this instance has any automatic constants.
Definition: OgreGpuProgramParams.h:1603
GLES2TextureManager(GLES2RenderSystem *renderSystem)
friend ValueType * any_cast(Any *)
Definition: OgreAny.h:382
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:98
void setVisibilityMask(uint32 mask)
Set the scene visibility mask used by this pass.
@ SPC_LIGHTDIRECTION_WORLD_SPACE7
Definition: OgreShaderParameter.h:189
@ LB_BlendColorBurn
Definition: OgreShaderExLayeredBlending.h:64
int getNumBillboards(void) const
Returns the number of active billboards which currently make up this set.
Definition: OgreBillboardSet.h:357
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:168
virtual void _threadMain()=0
Main function for each thread spawned.
VkImageLayout getCurrentLayout(void) const
Definition: OgreVulkanTextureGpu.h:141
std::vector< size_t > VecIndices
To hold indices.
Definition: OgreVolumeMeshBuilder.h:107
In(const Vector4 &v)
Definition: OgreShaderFunctionAtom.h:164
InterpolationMode
The types of animation interpolation available.
Definition: OgreAnimation.h:96
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:209
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)
std::unique_ptr< VulkanRenderPassDescriptor > mRenderPassDescriptor
Definition: OgreVulkanWindow.h:97
Concrete impl.
Definition: OgreOverlayProfileSessionListener.h:51
void setSetting(BatchSettingId id, bool enabled, const String &materialName=BLANKSTRING)
Applies a setting for all batches using the same material.
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:67
BillboardSet * getBillboardSet(const String &name) const
Retrieves a pointer to the named BillboardSet.
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.
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.
void applyFixedFunctionParams(const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
_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
void _updateRenderQueue(RenderQueue *queue) override
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Definition: OgreLight.h:320
@ RSC_POINT_EXTENDED_PARAMETERS
Supports extra point parameters (minsize, maxsize, attenuation)
Definition: OgreRenderSystemCapabilities.h:125
static Listener * getSharedListener(void)
Retrieve a pointer to the current shared render system listener.
Real getSquaredViewDepth(const Camera *cam) const
Returns the squared distance between the camera and this renderable.
@ SPC_TANGENT_TANGENT_SPACE
Tangent in tangent space.
Definition: OgreShaderParameter.h:260
~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)
HardwareBufferLockGuard(const SharedPtr< T > &p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:407
T * allocate(size_t n)
Definition: OgreAlignedAllocator.h:113
bool getSharedVertexDataAnimationIncludesNormals() const
Returns whether animation on shared vertex data includes normals.
Definition: OgreMesh.h:844
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
@ LOADSTATE_LOADING
Loading is in progress.
Definition: OgreResource.h:107
@ VET_FLOAT1
Definition: OgreHardwareVertexBuffer.h:125
virtual void _addNode(PCZSceneNode *)
Adds an SceneNode to this OctreeZone.
Factory object for creating ManualObject instances.
Definition: OgreManualObject.h:701
void setConfigOption(const String &name, const String &value)
Specific options:
String getParameter(const String &name) const
Generic parameter retrieval method.
const Vector3 & getScale() const
Retrieve the local scale.
Definition: OgreInstancedEntity.h:243
@ FO_POINT
Use the closest pixel.
Definition: OgreCommon.h:106
uint32 getTypeFlags(void) const
Get the 'type flags' for this MovableObject.
@ PF_DEPTH16
Depth texture format, with 16-bit unsigned integer.
Definition: OgrePixelFormat.h:118
@ OT_TRIANGLE_FAN
A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreRenderOperation.h:60
const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
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
void load(Ogre::DataStreamPtr &stream, const Ogre::String &groupName, Ogre::SceneNode *rootNode)
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:110
virtual ~ZoneData()
Standard destructor.
ParticleType mParticleType
Determines the type of particle.
Definition: OgreParticle.h:74
const ColourValue & getCompositeMapDiffuse() const
Get the composite map iffuse light to use.
Definition: OgreTerrain.h:1895
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:476
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:109
virtual void readData(void *buf, size_t size, size_t count)
Read arbitrary data from a stream.
@ SPC_LIGHTPOSITIONVIEW_SPACE7
Definition: OgreShaderParameter.h:239
size_t prevOnlyIndexCount
Used by output providers only!
Definition: OgreLodData.h:145
void initialiseContext(RenderWindow *primary)
bool requiresTextureFlipping() const
Definition: OgreGL3PlusFBOMultiRenderTarget.h:50
@ ID_BLEND_CURRENT_ALPHA
Definition: OgreScriptCompiler.h:727
static unsigned long FACTORY_TYPE_FLAG
Definition: OgrePortal.h:83
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.
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:127
SDL_Window NativeWindowType
Definition: OgreApplicationContextBase.h:62
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:401
bool IsWorkingUnderNsight()
const Vector3 getCenterFrontRight(void) const
Gets the center of the corners 2, 6.
Definition: OgreVolumeOctreeNode.h:449
Definition of a chunk of data in a file.
Definition: OgreStreamSerialiser.h:95
unsigned char getAlphaRejectValue(void) const
Gets the alpha reject value.
Definition: OgrePass.h:1010
std::list< unsigned long > ColorList
Definition: OgreOctreeSceneManager.h:68
const String & getTessellationHullProgramName(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1248
FastArray< VkImageView > mWindowImageViews
Definition: OgreVulkanRenderPassDescriptor.h:57
void setVisibilityFlags(uint32 flags)
Sets the visibility flags of all the regions at once.
String getBottomLeftBorderUVString() const
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:125
int getUsage() const
Returns the TextureUsage identifier for this Texture.
Definition: OgreTexture.h:262
const String & getPreprocessorDefines() const
Definition: OgreShaderProgram.h:181
std::vector< GLUniformReference > GLUniformReferenceList
Definition: OgreGLSLProgramCommon.h:51
bool isError() const
Definition: OgreD3D11Device.h:87
void setShaderCachePath(const String &cachePath)
Set the output shader cache path.
const String & getValue() const
Returns a string value depending on the type of the AbstractNode.
Definition: OgreScriptCompiler.h:136
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
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.
Definition: OgreBillboardParticleRenderer.h:133
@ TA_READ
Definition: OgreTexture.h:86
bool getSortingEnabled(void) const
Returns true if sorting of billboards is enabled based on their distance from the camera.
Definition: OgreBillboardSet.h:391
virtual Real getValue(const Vector3 &position) const
Overridden from VolumeSource.
Stream which compresses / uncompresses data using the 'deflate' compression algorithm.
Definition: OgreDeflate.h:168
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
bool isReverseDepthBufferEnabled() const
Returns if reverse Z-buffer is enabled.
String frames[32]
Definition: OgreQuake3Shader.h:102
size_t getNumPasses() const
Get the number of passes.
Definition: OgreCompositionTargetPass.h:138
UniformParameterPtr resolveParameter(GpuProgramParameters::AutoConstantType autoType, uint32 data=0)
Resolve uniform auto constant parameter.
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
@ ID_SUBTRACT
Definition: OgreScriptCompiler.h:723
void setDepthCheckEnabled(bool enabled)
Sets whether or not each Pass renders with depth-buffer checking on or not.
@ PF_R32G32B32_UINT
96-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int), 32 bits green (unsigned...
Definition: OgrePixelFormat.h:171
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:85
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:111
LockOptions
Locking options.
Definition: OgreHardwareBuffer.h:134
@ SPC_DEPTH_WORLD_SPACE
Depth in world space.
Definition: OgreShaderParameter.h:284
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
@ ID_LOD_VALUES
Definition: OgreScriptCompiler.h:575
@ PF_ETC1_RGB8
ETC1 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:236
@ ACT_DERIVED_LIGHT_DIFFUSE_COLOUR
The derived light diffuse colour (index determined by setAutoConstant call), with 'r',...
Definition: OgreGpuProgramParams.h:875
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:164
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:81
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:1761
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
@ ID_WIREFRAME
Definition: OgreScriptCompiler.h:654
void swap(HashedVector< T > &rhs)
Definition: OgreCommon.h:506
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:426
const float * getFloatPointer(size_t pos) const
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:1519
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.
@ Write
Definition: OgreVulkanTextureGpu.h:58
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:102
bool hasBillboardChain(const String &name) const
Returns whether a object instance with the given name exists.
virtual bool sortLightsAffectingFrustum(LightList &lightList)
Hook to allow the listener to override the ordering of lights for the entire frustum.
Definition: OgreSceneManager.h:205
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:177
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.
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:281
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:69
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:141
void setAutoConstantReal(size_t index, AutoConstantType acType, float rData)
This is an overloaded member function, provided for convenience. It differs from the above function o...
D3D11RenderingAPIException(int hr, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreD3D11Prerequisites.h:148
void destroyNumericTrack(unsigned short handle)
Destroys the numeric track with the given handle.
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
unsigned char axis
Definition: OgreInput.h:92
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
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.
static float Sin(const Radian &fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:412
@ ACT_LIGHT_SPECULAR_COLOUR_ARRAY
Array of light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:821
UniformParameterList::const_iterator UniformParameterConstIterator
Definition: OgreShaderParameter.h:625
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:158
const String & getLanguage(void) const
Overridden from GLSLESProgram.
Vector3 position
Definition: OgreBillboardChain.h:93
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:242
void setVertexDeclaration(VertexDeclaration *decl, bool useGlobalInstancingVertexBufferIsAvailable)
void injectMainWindow(QWindow *window)
allows overriding the main (first) Window with a pre-created QWindow
Definition: OgreApplicationContextQt.h:57
virtual void _notifyManualBonesDirty(void)
Internal method for marking the manual bones as dirty.
static CmdForceApp msForceAppCmd
Definition: OgreLinearForceAffector.h:107
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:2794
@ FT_TRUETYPE
Generated from a truetype (.ttf) font.
Definition: OgreFont.h:55
Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
Definition: OgreBillboardSet.h:498
VariableAccessAbstractNode(AbstractNode *ptr)
void operator()(T *p)
Definition: OgreSharedPtr.h:42
@ CT_CYLINDER
Definition: OgreBullet.h:31
@ mutAuto
Definition: OgreD3D9RenderSystem.h:64
virtual void setValue(const Degree &)
Set value.
Definition: OgreAnimable.h:184
T * operator->() const
Definition: OgreSharedPtr.h:71
@ LB_BlendOverlay
Definition: OgreShaderExLayeredBlending.h:60
IlluminationRenderStage _getCurrentRenderStage()
Definition: OgreSceneManager.h:3416
int getOutputSlice() const
Definition: OgreCompositionTargetPass.h:76
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...
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
@ ID_FIRST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:803
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
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()
@ SPC_FRONT_FACING
gl_FrontFacing
Definition: OgreShaderParameter.h:309
ConstPoseRefIterator getPoseReferenceIterator(void) const
Get a const iterator over the pose references.
uint32 getStencilMask(void) const
Gets the current stencil mask.
Definition: OgreGLStateCacheManagerCommon.h:113
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to prepare page content procedurally.
GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer *delegate)
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:76
virtual bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
Definition: OgreSceneManager.h:1824
~PCZSceneNode()
Standard destructor.
@ 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 clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
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.
Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreManualObject.h:552
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:457
virtual void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)=0
(recursive) Check the given light against all portals in the zone
Definition: OgreD3D9Driver.h:41
@ ID_EQUAL
Definition: OgreScriptCompiler.h:629
@ PF_FLOAT32_R
32-bit pixel format, 32 bits (float) for red
Definition: OgrePixelFormat.h:127
@ ID_CULL_HARDWARE
Definition: OgreScriptCompiler.h:640
virtual bool bind(bool recreateIfNeeded)=0
Bind FrameBufferObject.
ControllerReal * _getAnimController() const
Gets the animation controller (as created because of setAnimatedTexture) if it exists.
Definition: OgreTextureUnitState.h:1071
TRect()
Definition: OgreCommon.h:606
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:213
HardwareBufferManagerBase()
uint16 resolution
Definition: OgreTerrainLodManager.h:80
ushort getVertexProgramConstantIntCount(void) const
Definition: OgreRenderSystemCapabilities.h:674
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:298
~GL3PlusHardwareBufferManager()
bool hasViewRelativeTextureCoordinateGeneration(void) const
Returns whether this unit has texture coordinate generation that depends on the camera.
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:211
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:121
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:849
CompositorPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new compositor.
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
virtual void setColourRangeEnd(const ColourValue &colour)
Sets the maximum colour of particles to be emitted.
virtual void setPageRangeMinX(int32 minX)
Set the index range of all Pages (values outside this will be ignored)
@ LB_BlendDarken
Definition: OgreShaderExLayeredBlending.h:51
const Any & getUserAny(void) const
Definition: OgreRenderable.h:303
Comparator for material map, for sorting materials into render order (e.g.
Definition: OgreSceneManager.h:260
virtual void addRequestHandler(uint16 channel, RequestHandler *rh)
Add a request handler instance to the queue.
const String & getName(void) const
Gets the name of this overlay.
Definition: OgreOverlayElement.h:194
void doSet(void *target, const String &val)
@ ID_PARAM_NAMED_AUTO
Definition: OgreScriptCompiler.h:588
@ RCP_CREATE_ON_ALL_DEVICES
Create the rendering resource on every existing device.
Definition: OgreD3D9ResourceManager.h:50
MeshSerializerListener * getListener()
Returns the current listener.
bool isFloat() const
Definition: OgreGpuProgramParams.h:166
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:473
const String & getProgramName(void) const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:125
Real scale
Definition: OgreSkeleton.h:477
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
StencilOperation stencilFailOp
The action to perform when the stencil check fails.
Definition: OgreRenderSystem.h:114
IlluminationPass()
Definition: OgrePass.h:1571
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:382
void setMinLogLevel(LogMessageLevel lml)
sets the minimal LogMessageLevel for the default log
RenderToVertexBufferPtr RenderToVertexBufferSharedPtr
Definition: OgrePrerequisites.h:294
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:92
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
void destroyRenderTarget(RenderTarget *target)
Destroys the given RenderTarget.
static float Cos(const Radian &fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:334
Structure recording the use of a physical buffer by a logical parameter index.
Definition: OgreGpuProgramParams.h:352
Octree * mChildren[2][2][2]
3D array of children of this octree.
Definition: OgreOctree.h:114
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
Definition: OgreRenderSystemCapabilities.h:679
Real getElapsedTime(void) const
Definition: OgrePredefinedControllers.h:74
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:288
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:92
AxisEvent axis
Definition: OgreInput.h:110
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.
CullingMode
Hardware culling modes based on vertex winding.
Definition: OgreCommon.h:158
BindingType
The type of unit to bind the texture settings to.
Definition: OgreTextureUnitState.h:479
void _notifyCurrentCamera(Camera *cam)
Internal method to notify the object of the camera to be used for the next rendering operation.
void drawAxes(const Affine3 &pose, float size=1.0f)
draw coordinate axes
D3DDEVTYPE getDeviceType() const
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)
const String & getMovableType(void) const
Returns the type name of this object.
std::list< T > type
Definition: OgreDeprecated.h:55
static ParameterPtr createInBiNormal(int index)
unsigned short _getNumBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:587
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:367
void setMaxSimultaneousLights(unsigned short maxLights)
Sets the maximum number of lights to be used by this pass.
Definition: OgrePass.h:1071
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.
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:287
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:276
void setInitialState(void)
Sets the current transform of this node to be the 'initial state' ie that position / orientation / sc...
virtual void bindToFramebuffer(uint32 attachment, size_t zoffset)
Bind surface to frame buffer.
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:72
void destroyStaticGeometry(const String &name)
Remove & destroy a StaticGeometry instance.
@ LBX_SOURCE1
use source1 without modification
Definition: OgreBlendMode.h:77
void setAttenuation(float range, float constant, float linear, float quadratic)
Sets the attenuation parameters of the light source i.e.
Definition: OgreLight.h:188
virtual void bindProgramParameters(GpuProgramParametersSharedPtr params, uint16 mask)=0
Execute the param binding functions for this program.
@ CT_TRIMESH
Definition: OgreBullet.h:33
@ LB_BlendHardMix
Definition: OgreShaderExLayeredBlending.h:70
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.
void setColourBlendState(const ColourBlendState &state)
Sets the global blending factors for combining subsequent renders with the existing frame contents.
bool isSupported(void) const
Overridden from GpuProgram.
FogMode
Fog modes.
Definition: OgreCommon.h:144
virtual void copyFrom(const SubRenderState &rhs)
@ ACT_TIME_0_X_PACKED
Vector of "Time0_X", "SinTime0_X", "CosTime0_X", "TanTime0_X".
Definition: OgreGpuProgramParams.h:971
@ LB_BlendLinearLight
Definition: OgreShaderExLayeredBlending.h:67
Implementation of HardwareBufferManager for D3D11.
Definition: OgreD3D11HardwareBufferManager.h:38
@ ID_SHADOW_CASTER_MATERIAL
Definition: OgreScriptCompiler.h:572
std::list< MovableObject * > SceneQueryResultMovableList
Definition: OgreSceneQuery.h:202
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:210
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:963
void unloadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
@ SPC_POSTOLIGHT_OBJECT_SPACE1
Definition: OgreShaderParameter.h:133
void setDriverVersion(const DriverVersion &version)
Set the driver version.
Definition: OgreRenderSystemCapabilities.h:321
@ ID_BUFFERS
Definition: OgreScriptCompiler.h:809
static DistanceLodBoxStrategy & getSingleton(void)
Get the singleton instance.
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:1341
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
@ ID_INCLUDE
Definition: OgreScriptCompiler.h:594
void bindGLVertexArray(GLuint vao)
Bind an OpenGL Vertex array object.
std::map< String, GpuSharedParametersPtr > SharedParametersMap
Definition: OgreGpuProgramManager.h:87
TRect< Real > RealRect
Structure used to define a rectangle in a 2-D floating point space, subject to double / single floati...
Definition: OgreCommon.h:714
LinkedSkeletonAnimationSource(const String &skelName, Real scl, SkeletonPtr skelPtr)
Definition: OgreSkeleton.h:480
@ TAM_MIRROR
Texture flips every boundary, meaning texture is mirrored every 1.0 u or v
Definition: OgreCommon.h:122
virtual void write(const Matrix4 *m, size_t count=1)
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.
void doSet(void *target, const String &val)
const ColourValue & getDebugColour() const
Definition: OgreFrustum.h:459
void endCopyEncoder(void)
virtual size_t getMaxLookupTableInstances() const
Definition: OgreInstanceBatchVTF.h:201
StaticGeometryFactory()
Definition: OgreStaticGeometry.h:731
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.
Definition: OgreVulkanRenderSystem.h:51
virtual ID3D11RenderTargetView * getRenderTargetView(uint index=0) const
int getSwitchingFullscreenCounter() const
Definition: OgreD3D11RenderSystem.h:204
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:261
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.
virtual Technique * _arbitrateMissingTechniqueForActiveScheme(Material *mat, unsigned short lodIndex, const Renderable *rend)
Internal method for sorting out missing technique for a scheme.
@ CBT_BACK_LEFT
Definition: OgreCommon.h:336
@ ST_EXTERIOR_CLOSE
Definition: OgreDeprecated.h:89
@ PCT_UINT
Signed integer per component.
Definition: OgrePixelFormat.h:338
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:304
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:1829
_OgreOverlayExport std::vector< uint32 > utftoc32(String str)
decode UTF8 encoded bytestream to uint32 codepoints
VkSurfaceTransformFlagBitsKHR getSurfaceTransform() const
Definition: OgreVulkanWindow.h:113
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:81
virtual void addSingleResult(const MovableObject *other, float distance)=0
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?
static const float msEpsilon
Cutoff for sine near zero.
Definition: OgreQuaternion.h:338
@ CLIPPED_ALL
Everything was clipped away.
Definition: OgreCommon.h:825
Basic separator widget.
Definition: OgreTrays.h:496
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)
Inner helper class to implement the visitor pattern for rendering objects in a queue.
Definition: OgreSceneManager.h:379
void setFirstRenderQueue(uint8 id)
Set the first render queue to be rendered in this pass (inclusive)
bool mUseVertexNormals
Definition: OgreLodData.h:169
virtual uint getNumberOfViews() const
virtual HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
const String & getName() const
Get the name of the plugin.
@ RSC_READ_BACK_AS_TEXTURE
D3D11: supports reading back the inactive depth-stencil buffer as texture.
Definition: OgreRenderSystemCapabilities.h:180
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:107
@ SHADOWDETAILTYPE_MODULATIVE
Mask for modulative shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:221
virtual void unloadPage(Page *p, bool forceSynchronous=false)
Ask for a page to be unloaded with the given (section-relative) PageID.
bool createShaderBasedTechnique(const Material &srcMat, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName, bool overProgrammable=false)
Create shader based technique from a given technique.
const SectionMap & getSections() const
Retrieve a const reference to all the sections in this world.
Definition: OgrePagedWorld.h:160
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:293
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.
DrawType
Definition: OgreDefaultDebugDrawer.h:24
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:400
void _setDevice(VulkanDevice *device)
IndexMap blendIndexToBoneIndexMap
Definition: OgreSubMesh.h:102
void notifyTextureDestroyed(VulkanTextureGpu *texture)
TexturePtr load(const String &name, const String &group, TextureType texType, int numMipmaps, Real gamma, bool isAlpha, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreRenderable.h:292
void destroyRTShaderSystem()
Destroy the RT Shader system.
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.
Definition: OgreViewport.h:159
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.
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
void setListener(MeshSerializerListener *listener)
Sets the listener used to control mesh loading through the serializer.
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 (.
void setUVs(const Vector2 &topLeft, const Vector2 &bottomLeft, const Vector2 &topRight, const Vector2 &bottomRight)
Sets the UVs of the rectangle.
Specialisation of HardwareVertexBuffer for OpenGL.
Definition: OgreGLHardwareBuffer.h:38
void setNull()
Definition: OgreSharedPtr.h:88
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:678
void setFilenameExtension(const String &extension)
std::map< String, Camera * > CameraList
Definition: OgreSceneManager.h:414
@ SHADER_FUNC_SIN
Definition: OgreQuake3Types.h:110
@ TextureEffectPlay_Looping
Video starts playing as soon as possible.
Definition: OgreExternalTextureSource.h:78
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:171
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.
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:1063
const double * getDoublePointer(size_t pos) const
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:1523
StaticCache()
Constructor.
Definition: OgreDeflate.h:58
void removeInputListener(NativeWindowType *win, InputListener *lis) override
detatch input listener
Real getBoundingRadius() const
Get the bounding radius of the entire terrain.
@ SPC_LIGHTDIRECTION_WORLD_SPACE3
Definition: OgreShaderParameter.h:185
virtual const ColourValue & getColourRangeEnd(void) const
Gets the maximum colour of particles to be emitted.
Interface describing a manual resource loader.
Definition: OgreResource.h:475
const ColourValue & getSurfaceSpecularColour(void) const
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:101
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:46
uint16 getAccessMode() const
Gets the access mode of the stream.
Definition: OgreDataStream.h:90
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
std::list< OverlayContainer * > OverlayContainerList
Definition: OgreOverlay.h:75
ConstVectorIterator< NodeList > NodeIterator
Definition: OgreRibbonTrail.h:87
@ PF_R16_UINT
16-bit pixel format, 16 bits red (unsigned int).
Definition: OgrePixelFormat.h:159
#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:419
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:57
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.
Real getShadowNearClipDistance() const
Returns the near clip plane distance to be used by the shadow camera, if this light casts texture sha...
Definition: OgreLight.h:460
Utility class for manipulating Strings.
Definition: OgreString.h:50
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.
void setCullIndividually(bool cullIndividual)
Sets whether culling tests billboards in this individually as well as in a group.
Definition: OgreBillboardSet.h:566
PageManager * getManager() const
@ DEFORM_FUNC_AUTOSPRITE2
Definition: OgreQuake3Types.h:140
virtual void finalize(LodData *data)=0
SceneNode * createSceneNodeImpl(void) override
Subclasses can override this to ensure their specialised SceneNode is used.
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:518
int msTriangles[18][13]
Definition: OgreVolumeIsoSurfaceTablesMC.h:363
uint32 width
Definition: OgreGLNativeSupport.h:43
void execute(RaySceneQueryListener *listener)
See RaySceneQuery.
VectorIterator< Passes > PassIterator
Definition: OgreTechnique.h:168
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:224
virtual bool frameEnded(const Ogre::FrameEvent &evt)
Called just after a frame has been rendered.
Definition: OgreApplicationContextBase.h:127
const RegionMap & getRegions() const
Get an list of the regions in this geometry.
Definition: OgreStaticGeometry.h:714
void removeFactory(SceneManagerFactory *fact)
Remove a SceneManagerFactory.
virtual void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
Definition: OgreRenderSystem.h:1099
~AbsolutePixelCountLodStrategy()
virtual void abortPendingRequestsByChannel(uint16 channel)
Abort all previously issued requests in a given channel.
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.
String to_string(const GpuProgramType &v)
Definition: OgreGpuProgram.h:364
Real getViewportWidth() 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:99
void removePortalCullingPlanes(PortalBase *portal)
Remove extra culling planes created from the given portal.
@ RSC_VERTEX_PROGRAM
Supports vertex programs (vertex shaders)
Definition: OgreRenderSystemCapabilities.h:97
GpuProgramType getType(void) const
Get the program type.
Definition: OgreGpuProgram.h:175
String doGet(const void *target) const
uint32 getDrawIdLocation() const
Definition: OgreVulkanProgram.h:55
uint32 getVisibilityFlags(void) const
Get the visibility flags for this terrain.
Definition: OgreTerrain.h:1324
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...
Definition: OgreNode.h:391
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).
VulkanWindow * getWindow() const
Definition: OgreVulkanTextureGpuWindow.h:59
@ SPC_LIGHTPOSITION_WORLD_SPACE0
Light position in world space index 0-7.
Definition: OgreShaderParameter.h:222
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:343
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:881
uint32 _createVao()
Create VAO on current context.
static const String DEFAULT_RESOURCE_GROUP_NAME
same as RGN_DEFAULT
Definition: OgreResourceGroupManager.h:238
virtual Animation * getAnimation(const String &name) const
Returns the named vertex Animation object.
@ ID_DOT_PRODUCT
Definition: OgreScriptCompiler.h:729
Real collapseCost
Definition: OgreLodData.h:91
virtual void createRoot()
Creates the OGRE root.
AnyNumeric operator*(Real factor) const
Definition: OgreAny.h:340
uint8 Usage
Definition: OgreHardwareBuffer.h:113
virtual ~VulkanTextureGpuManager()
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:224
static Radian parseAngle(const String &val, Radian defaultValue=Radian(0))
Converts a String to a Angle.
Definition: OgreStringConverter.h:213
@ PF_R8G8B8A8_SNORM
32-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:226
void setMaterialLodBias(Real factor, ushort maxDetailIndex=0, ushort minDetailIndex=99)
Sets a level-of-detail bias for the material detail of this entity.
static const String CustomAttributeString_FBO
Definition: OgreGLRenderTexture.h:115
CollapseCostHeap::iterator costHeapPosition
Definition: OgreLodData.h:109
void setCurrentRenderTarget(const RenderTarget *target)
Sets the current render target.
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)
String alias
A descriptive name that is merely used to assist in recognition.
Definition: OgreTerrainMaterialGenerator.h:106
@ 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.
SharedPtr< Y > staticCast() const
Definition: OgreSharedPtr.h:75
Definition: OgreD3D9DriverList.h:37
static ControllerFunctionRealPtr create(Real scalefactor, bool deltaInput=false)
Constructor, requires a scale factor.
Definition: OgrePredefinedControllers.h:257
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:694
virtual Real _getRelativeWidth(void)
Gets the 'width' as derived from own width and metrics mode.
uint32 getGLFormat()
Definition: OgreGLHardwarePixelBufferCommon.h:75
@ TVC_AMBIENT
Definition: OgreCommon.h:301
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
@ RSC_POINT_SPRITES
Supports basic point sprite rendering.
Definition: OgreRenderSystemCapabilities.h:123
@ NONE
Definition: OgreTerrainAutoUpdateLod.h:69
@ GCT_BOOL4
Definition: OgreGpuProgramParams.h:117
virtual StringVectorPtr list(bool recursive=true, bool dirs=false) const =0
List all file names in the archive.
void extractUniformsFromProgram(GLuint programObject, const GpuConstantDefinitionMap *(&constantDefs)[6], GLUniformReferenceList &uniformList)
Populate a list of uniforms based on an OpenGL program object.
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:165
void setTransposeMatrices(bool val)
Sets whether or not we need to transpose the matrices passed in from the rest of OGRE.
Definition: OgreGpuProgramParams.h:1759
reference operator[](size_type n)
Definition: OgreCommon.h:443
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.
std::list< AntiPortal * > AntiPortalList
Definition: OgrePCZone.h:56
int face_count
Definition: OgreQuake3Types.h:175
GeneralAllocatedObject PageAlloc
Definition: OgrePagingPrerequisites.h:52
GL3PlusTextureManager(GL3PlusRenderSystem *renderSystem)
Element()
Definition: OgreBillboardChain.h:88
AnyNumeric & operator-=(const AnyNumeric &rhs)
Definition: OgreAny.h:356
static IDirect3DDevice9 * getResourceCreationDevice(UINT index)
@ SPC_TEXTURE_COORDINATE4
Definition: OgreShaderParameter.h:297
@ SPC_POSITION_LIGHT_SPACE7
Definition: OgreShaderParameter.h:105
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
Compositor * getCompositor() const
Get Compositor of which this is an instance.
Definition: OgreCompositorInstance.h:248
void setValue(const String &name, const char *pChar)
Special-case char*, convert to String automatically.
Definition: OgreProperty.h:337
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:114
void setDefaultHeight(Real height)
See setDefaultDimensions - this sets 1 component individually.
Definition: OgreBillboardSet.h:496
void setObjectName(VkDevice device, uint64_t object, VkDebugReportObjectTypeEXT objectType, const char *name)
@ TEX_TYPE_1D
1D texture, used in combination with 1D texture coordinates
Definition: OgreTexture.h:96
uint treeStart
Definition: OgreTerrainLodManager.h:77
virtual bool hasAnimation(const String &name) const
Returns whether this skeleton contains the named animation.
const String & getGroup(void) const
Gets the group which this resource is a member of.
Definition: OgreResource.h:391
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:198
const int * getIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1527
@ 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:51
void setValueMap(const PropertyValueMap &values)
Sets the current state from a given value map.
std::vector< unsigned short > IndexMap
Dedicated index map for translate blend index to bone index (only valid if useSharedVertices = false)...
Definition: OgreSubMesh.h:101
static String toString(const Quaternion &val)
Converts a Quaternion to a String.
bool tcModTurbOn
Definition: OgreQuake3Shader.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.
Definition: OgreDefaultHardwareBufferManager.h:72
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:423
InstancingTechnique getInstancingTechnique() const
Definition: OgreInstanceManager.h:203
virtual void setPoseAnimationIncluded(ushort poseCount)
Sets whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:228
@ ID_LIGHT_CLIP_PLANES
Definition: OgreScriptCompiler.h:636
@ WFT_SAWTOOTH
Gradual steady increase from min to max over the period with an instant return to min at the end.
Definition: OgreCommon.h:192
@ SBO_ADD
Definition: OgreBlendMode.h:249
@ BBR_TEXCOORD
Rotate the billboard's texture coordinates.
Definition: OgreBillboardSet.h:80
virtual void _beginUpdate()
Method for manual management of rendering : fires 'preRenderTargetUpdate' and initialises statistics ...
void releaseRenderBuffer(const GLSurfaceDesc &surface)
Release a render buffer.
virtual ~WorkQueue()
Definition: OgreWorkQueue.h:225
static Root & getSingleton(void)
Get the singleton instance.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
StaticGeometry * getParent(void) const
Definition: OgreStaticGeometry.h:387
@ ID_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:615
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:811
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:62
const PlaneList & getLightClippingPlanes(Light *l)
Retrieve a set of clipping planes for a given light.
virtual bool checkSupport(PixelFormatGpu format, uint32 textureFlags) const
This specific abstract node represents a script object.
Definition: OgreScriptCompiler.h:122
static size_t indexSize(IndexType type)
Definition: OgreHardwareIndexBuffer.h:75
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.
@ ANT_VARIABLE_SET
Definition: OgreScriptCompiler.h:83
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.
@ OR_DEGREE_270
Definition: OgreFrustum.h:52
bool requiresTextureFlipping() const
Definition: OgreD3D11Texture.h:148
ImportData(const ImportData &rhs)
Definition: OgreTerrain.h:416
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:273
static GLenum getGLOriginFormat(PixelFormat mFormat)
Takes the OGRE pixel format and returns the appropriate GL one.
Profile(TerrainMaterialGenerator *parent, const String &name, const String &="")
Definition: OgreTerrainMaterialGenerator.h:173
virtual void _notifyManager(SceneManager *man)
Notify the object of it's manager (internal use only)
Definition: OgreMovableObject.h:181
@ ID_SCOPE_LOCAL
Definition: OgreScriptCompiler.h:785
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:98
void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)
Update params for a terrain.
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
void _markChanged()
Internal method - indicates that a change has been made that would require material regeneration.
Definition: OgreTerrainMaterialGenerator.h:252
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:1064
uint32 getID(void) const
Get the region ID of this region.
Definition: OgreStaticGeometry.h:393
void skip(long count)
Skip a defined number of bytes.
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.
const String & getBlendTextureName(uint8 textureIndex) const
std::list< ConcreteNodePtr > ConcreteNodeList
Definition: OgreScriptCompiler.h:64
static String FACTORY_TYPE_NAME
Definition: OgreParticleSystemManager.h:344
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.
Definition: OgreViewport.h:173
const ParamDictionary * getParamDictionary(void) const
Definition: OgreStringInterface.h:205
void setViewport(const Rect &r)
std::set< Pass * > PassSet
Definition: OgrePass.h:252
static Real Sign(Real fValue)
Definition: OgreMath.h:369
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
ProjectionType
Specifies perspective (realistic) or orthographic (architectural) projection.
Definition: OgreFrustum.h:62
bool hasEdgeList()
Returns whether the object has a valid edge list.
Definition: OgreShadowCaster.h:136
MovableObject * movable
The movable, or NULL if this is not a movable result.
Definition: OgreSceneQuery.h:347
void beginGPUEvent(const String &event)
Mark the beginning of a GPU event group.
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
virtual bool beforeIlluminationPassesCleared(Technique *technique)
Called right before illuminated passes would be removed, so that owner of runtime generated technique...
Definition: OgreMaterialManager.h:130
const String & getName(void)
Returns the name of the stream, if it has one.
Definition: OgreDataStream.h:88
virtual void contact(const MovableObject *other, const btManifoldPoint &manifoldPoint)=0
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
bool shadowsEnabled
Whether shadows will be enabled.
Definition: OgreCompositorInstance.h:167
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:127
@ GCT_INT3
Definition: OgreGpuProgramParams.h:94
static GLint convertCompareFunction(CompareFunction func)
SubMesh * createSubMesh(const String &name)
Creates a new SubMesh and gives it a name.
bool isReloadable(void) const
Returns true if the Resource is reloadable, false otherwise.
Definition: OgreResource.h:280
void _markClean()
Mark the shared set as being clean (values successfully updated by the render system).
@ SM_Source2InvModulate
Definition: OgreShaderExLayeredBlending.h:87
SceneManager(const String &instanceName)
Constructor.
uint getCustomAttribute(const String &name)
simplified API for bindings
Definition: OgreRenderTarget.h:247
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.
@ ID_TARGET
Definition: OgreScriptCompiler.h:774
@ GCT_MATRIX_DOUBLE_2X4
Definition: OgreGpuProgramParams.h:103
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.
const String & getLanguage(void) const override
Returns a string that specifies the language of the gpu programs as specified in a material script.
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
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:201
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
static ProgramManager * getSingletonPtr()
Get the singleton instance.
GpuProgram * _getBindingDelegate(void)
shortcut as we there is no low-level separation here
Definition: OgreD3D11HLSLProgram.h:211
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:341
static D3DDECLTYPE get(VertexElementType vType)
Get vertex data type.
D3D11HardwareBufferManager D3D11HardwareBufferManagerBase
Definition: OgreD3D11HardwareBufferManager.h:64
bool isDebugOutputEnabled() const
Get whether debug output is enabled for this log.
Definition: OgreLog.h:131
@ BBO_TOP_LEFT
Definition: OgreBillboardSet.h:58
static String toString(unsigned long long val)
Definition: OgreStringConverter.h:82
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:85
@ ACT_LIGHT_CASTS_SHADOWS
Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
Definition: OgreGpuProgramParams.h:896
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:246
Definition: OgreLodData.h:141
UINT getAdapterNumber() const
@ BBO_BOTTOM_CENTER
Definition: OgreBillboardSet.h:65
void removeShaderProfile(const String &profile)
Remove a given shader profile, if present.
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:605
This affector applies randomness to the movement of the particles.
Definition: OgreDirectionRandomiserAffector.h:46
bool isHardwareGammaReadToBeUsed() const
Indicates whether the hardware gamma is actually enabled and supported.
Definition: OgreD3D9Texture.h:153
void stall(void)
Waits for the GPU to finish all pending commands.
const Plane & getFrustumPlane(unsigned short plane) const
Retrieves a specified plane of the frustum (world space).
size_t getNumCompositors()
void executeCallback(MeshBuilderCallback *callback, const SimpleRenderable *simpleRenderable, size_t level, int inProcess) const
Executes a MeshBuilderCallback on this instance.
bool mouseWheelRolled(const MouseWheelEvent &evt)
@ SPC_BINORMAL_VIEW_SPACE
Binormal in view space.
Definition: OgreShaderParameter.h:269
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.
void _updateFromShadow() override
Updates the real buffer from the shadow buffer, if required.
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:72
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)=0
HashedVector(InputIterator a, InputIterator b)
Definition: OgreCommon.h:464
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:59
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:93
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.
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:608
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
HardwareBufferPtr createUniformBuffer(size_t sizeBytes, HardwareBufferUsage usage, bool useShadowBuffer) override
Create a uniform buffer.
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:428
@ RSC_DEBUG
Supports debugging/ profiling events.
Definition: OgreRenderSystemCapabilities.h:200
uint32 getHash() const
Get the hash value.
Definition: OgreCommon.h:574
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.
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLProgram.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
Vector< 3, uchar > vec3b
Definition: OgreTinyRenderSystem.h:27
void setDiffuseColour(const ColourValue &colour)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual DataStreamPtr encode(const Any &input) const
Codes the input and saves the result in the output stream.
void setAmbient(const ColourValue &ambient)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreRenderWindow.h:150
void setEmittedEmitterQuota(size_t quota)
Sets the maximum number of emitted emitters this system is allowed to have active at once.
virtual void prepare(LodData *data)
virtual void load(bool synchronous)
Load this page.
Definition: OgreInput.h:75
@ SBO_SUBTRACT
Definition: OgreBlendMode.h:250
@ ID_COLOUR_OP_EX
Definition: OgreScriptCompiler.h:716
int type
Definition: OgreInput.h:59
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...
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:483
virtual ~PagedWorldSectionFactory()
Definition: OgrePagedWorldSection.h:304
VectorIterator< IlluminationPassList > IlluminationPassIterator
Definition: OgreTechnique.h:169
Definition: OgreShaderFunctionAtom.h:155
const Vector4 & getCustomParameter(uint16 index) const
Returns the custom value associated with this Light at the given index.
@ ID_REF_VALUE
Definition: OgreScriptCompiler.h:818
GLStateCacheManager * _getStateCacheManager()
Definition: OgreGLRenderSystem.h:284
Definition: OgreScriptCompiler.h:470
static ParameterPtr createInWeights(int index)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
bool isVertexProgramInUse() const
Definition: OgreStaticGeometry.h:333
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.
@ 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:566
int shader
Definition: OgreQuake3Types.h:186
Quake3Shader * create(const String &name)
Create implementation.
@ SKELETON_BONE
Definition: OgreSkeletonFileFormat.h:61
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:133
float getLodTransition() const
Get the transition state between the current LOD and the next lower one (only valid after calculateCu...
Definition: OgreTerrainQuadTreeNode.h:252
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:146
std::vector< Plane > PlaneList
Definition: OgrePlane.h:275
virtual void messageLogged(const String &message, LogMessageLevel lml, bool maskDebug, const String &logName, bool &skipThisMessage)=0
This is called whenever the log receives a message and is about to write it out.
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
MetalTextureBuffer(__unsafe_unretained id< MTLTexture > renderTexture, __unsafe_unretained id< MTLTexture > resolveTexture, MetalDevice *device, const String &baseName, MTLTextureType target, int width, int height, int depth, PixelFormat format, int face, int level, Usage usage, bool writeGamma, uint fsaa)
Texture constructor.
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:96
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:190
static unsigned int getFlags(PixelFormat format)
Returns the property flags for this pixel format.
void setBoundingBox(const AxisAlignedBox &box)
@ GVA_CENTER
Definition: OgreOverlayElement.h:77
@ TL_TOP
Definition: OgreTrays.h:61
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.
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:218
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.
Definition: OgreVulkanWindow.h:40
const RenderSystemCapabilities * getCapabilities(void) const
Gets the capabilities of the render system.
Definition: OgreRenderSystem.h:832
void resetLinked()
reset link status of separable program
Definition: OgreGLSLShaderCommon.h:96
@ SwapchainUsedInRendering
We already called VulkanWindow::getImageAcquiredSemaphore.
Definition: OgreVulkanWindow.h:53
const String & getType(void) const
Get the type of the object to be created.
Definition: OgreStaticGeometry.h:736
void _setTexture(size_t unit, bool enabled, const TexturePtr &texPtr)
Sets the texture to bind to a given texture unit.
const std::vector< ManualObjectSection * > & getSections() const
Gets the list of ManualObjectSection, i.e.
Definition: OgreManualObject.h:522
const String & getName() const
Get the name of the plugin.
@ ID_TEX_COORD_SET
Definition: OgreScriptCompiler.h:694
@ ID_ROTATE
Definition: OgreScriptCompiler.h:744
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:2975
ConstMapIterator< InstanceBatchMap > InstanceBatchMapIterator
Definition: OgreInstanceManager.h:291
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.
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
bool hasMsaaExplicitResolves() const
Definition: OgreVulkanTextureGpu.h:132
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)
float z
Definition: OgreQuaternion.h:344
virtual ~FreeImageCodec()
Definition: OgreFreeImageCodec.h:66
TrackVertexColourType getVertexColourTracking(void) const
Gets which material properties follow the vertex colour.
Definition: OgrePass.h:416
@ PF_R5G6B5
16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
Definition: OgrePixelFormat.h:70
bool getBackwardsCompatibility(void) const
Gets whether backwards compatibility mode should be enabled.
Definition: OgreD3D9HLSLProgram.h:172
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.
Definition: OgreBillboardParticleRenderer.h:126
std::map< String, OverlayElement * > ElementMap
Definition: OgreOverlayManager.h:60
Default implementation of a Listener to use with the Ogre::RTShader system.
Definition: OgreSGTechniqueResolverListener.h:46
@ 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:432
int back
Definition: OgreQuake3Types.h:166
void clearPendingLodRequests()
MapIterator< NormalsMap > NormalsIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:78
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
uchar * getData(uint32 x=0, uint32 y=0, uint32 z=0)
Returns a pointer to the internal image buffer at the specified pixel location.
Definition: OgreImage.h:325
@ ACT_SINTIME_0_2PI
Sine of "Time0_2PI". Equivalent to RenderMonkey's "SinTime0_2PI".
Definition: OgreGpuProgramParams.h:995
virtual void windowResized(Ogre::RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:69
virtual void _notifyCastShadows(bool enabled)
Tells the Renderer whether to cast shadows.
Definition: OgreParticleSystemRenderer.h:118
Specialisation of HardwareVertexBuffer for D3D9.
Definition: OgreD3D9HardwareBuffer.h:39
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.
~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:164
PolygonMode
The polygon mode to use when rasterising.
Definition: OgreCommon.h:202
@ SPC_LIGHTPOSITIONVIEW_SPACE4
Definition: OgreShaderParameter.h:236
DXGI_MODE_DESC getModeDesc() const
D3D11HLSLProgram * _getBoundVertexProgram() const
bool getUseAggressiveFocusRegion() const
Definition: OgreShadowCameraSetupFocused.h:270
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
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.
uint32 data
Definition: OgreGpuProgramParams.h:1215
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:273
SceneManagerEnumerator::SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
Specialisation of PageStrategyData for Grid3DPageStrategy.
Definition: OgreGrid3DPageStrategy.h:105
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
void _setViewMatrix(const Matrix4 &m)
Definition: OgreRenderSystem.h:300
String mFactoryTypeName
Factory type name.
Definition: OgrePCZoneFactory.h:51
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 ScriptTranslator * getTranslator(const AbstractNodePtr &)=0
Returns a manager for the given object abstract node, or null if it is not supported.
@ CS_MANUAL
Definition: OgreCameraMan.h:50
@ TU_WRITE_ONLY
same as HBU_DETAIL_WRITE_ONLY
Definition: OgreTexture.h:55
std::vector< ushort > BoneHandleMap
Map to translate bone handle from one skeleton to another skeleton.
Definition: OgreSkeleton.h:373
NormalsIterator getNormalsIterator(void)
@ PROP_REAL
Definition: OgreProperty.h:112
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.
static DXGI_FORMAT getFormat(HardwareIndexBuffer::IndexType itype)
Get index type.
uint32 writeMask
The bitmask the controls which bits from stencilRefValue will be written to stencil buffer (valid for...
Definition: OgreRenderSystem.h:126
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
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
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)
@ ID_DIRECTIONAL
Definition: OgreScriptCompiler.h:672
void removeProperty(const String &name)
Removes the named property from the property set.
VkSurfaceTransformFlagBitsKHR mSurfaceTransform
Definition: OgreVulkanWindow.h:89
@ TFO_TRILINEAR
2x2 box filtering is performed when magnifying and reducing a texture, and the closest 2 mipmaps are ...
Definition: OgreCommon.h:85
Keysym keysym
Definition: OgreInput.h:60
#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.
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 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
unsigned shorts (normalized to 0..1)
Definition: OgreHardwareVertexBuffer.h:159
@ ID_TESSELLATION_DOMAIN
Definition: OgreScriptCompiler.h:841
void setStencilCheck(bool value)
Set stencil check on or off.
void markGPUEvent(const String &event)
Mark a specific, ungrouped, GPU event.
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:97
ShaderParameterList::const_iterator ShaderParameterConstIterator
Definition: OgreShaderParameter.h:401
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.
virtual Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
Definition: OgreRenderSystem.h:954
DynLib(const String &name)
Default constructor - used by DynLibManager.
D3D11VideoMode * item(const String &name)
VkSurfaceKHR mSurfaceKHR
Definition: OgreVulkanWindow.h:77
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void push_back(const T &t)
Definition: OgreCommon.h:494
CgProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, CGcontext context)
BindingType getBindingType(void) const
LodStrategy * strategy
The mesh which we want to reduce.
Definition: OgreLodConfig.h:130
void setTo(const ColourValue &col)
sets all pixels to the specified colour
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:39
static ShaderGenerator & getSingleton()
Override standard Singleton retrieval.
static MeshLodGenerator * getSingletonPtr()
void setComputeProgramConstantIntCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:774
InstancingTechnique
Definition: OgreInstanceManager.h:62
void setTessellationDomainProgramConstantFloatCount(ushort c)
The number of floating-point 4-vector constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:657
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:420
This class allows users to override resource loading behavior.
Definition: OgreResourceGroupManager.h:198
RenderOperation()
Definition: OgreRenderOperation.h:132
Predefined controller function which simply scales an input to an output value.
Definition: OgrePredefinedControllers.h:243
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:237
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
float fData
Definition: OgreGpuProgramParams.h:1216
Archive-handling class.
Definition: OgreArchive.h:86
BGRA getAsBGRA(void) const
value packed as PF_B8G8R8A8
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX_ARRAY
Array of view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:934
@ CNT_RBRACE
Definition: OgreScriptCompiler.h:57
@ MIN_TEXTURE_CHANGE
Try to minimise the number of texture changes.
Definition: OgrePass.h:1500
void _removeNode(PCZSceneNode *)
Removes an PCZscene node to this octree level.
void _clearUpdatedFlag(void)
void setActiveShader(GpuProgramType type, GLSLESProgram *fragmentGpuProgram)
Set the active shader for the next rendering state.
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
Definition: OgreOverlayManager.h:57
const Vector2 & getTextureStacksAndSlices() const
Definition: OgreBillboardParticleRenderer.h:68
@ ID_DEPTH_FAIL_OP
Definition: OgreScriptCompiler.h:827
void removeAll(void)
Overridden from ResourceManager since we have to clean up chains too.
void destroyAll(void)
Destroys all existing overlays.
@ ID_3D
Definition: OgreScriptCompiler.h:684
@ ST_EXTERIOR_FAR
Definition: OgreDeprecated.h:90
Class representing a single particle instance.
Definition: OgreParticle.h:44
IDirect3DBaseTexture9 * getTexture()
retrieves a pointer to the actual texture
@ PARTIAL
Definition: OgrePCZCamera.h:59
void destroyData(PageStrategyData *d)
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
void setOrigin(const Vector3 &newOrigin)
HashedVector()
Definition: OgreCommon.h:457
@ SPC_POSITION_OBJECT_SPACE
Position in object space.
Definition: OgreShaderParameter.h:86
virtual void setValue(const Vector2 &)
Set value.
Definition: OgreAnimable.h:160
reference operator[](unsigned idx)
Definition: OgreSmallVector.h:187
Quaternion Inverse() const
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:51
@ 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)
Definition: OgreBullet.h:111
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.
@ ID_BINDING_TYPE
Definition: OgreScriptCompiler.h:758
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:98
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...
Definition: OgrePass.h:1194
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:87
IlluminationStage stage
Definition: OgrePass.h:1563
virtual void _notifyParticleCleared(std::vector< Particle * > ¤tParticles)
Optional callback notified when particles cleared.
Definition: OgreParticleSystemRenderer.h:85
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_DEPTH24_STENCIL8
Depth texture format with 24-bit unsigned integer and 8-bit stencil.
Definition: OgrePixelFormat.h:281
@ PF_R16G16_UINT
32-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int).
Definition: OgrePixelFormat.h:161
void blitFromMemory(const PixelBox &src_orig, const Box &dstBox) override
Hardware implementation of blitFromMemory.
@ PF_BYTE_RGB
24-bit pixel format, 8 bits for blue, green and red.
Definition: OgrePixelFormat.h:296
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:473
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:95
virtual Ogre::Real getWidgetPadding() const
Definition: OgreTrays.h:839
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:164
@ TVC_SPECULAR
Definition: OgreCommon.h:303
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:925
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:1090
@ GCT_DOUBLE1
Definition: OgreGpuProgramParams.h:97
@ ID_VISIBILITY_MASK
Definition: OgreScriptCompiler.h:793
bool resourceExists(ResourceHandle handle) const
Returns whether a resource with the given handle exists in this manager.
Definition: OgreResourceManager.h:331
virtual void setEnabled(bool enabled)
Sets whether or not the emitter is enabled.
@ ID_GPU_VENDOR_RULE
Definition: OgreScriptCompiler.h:592
Radian getPitch(bool reprojectAxis=true) const
Calculate the local pitch element of this quaternion.
InputMode
Input mode of a TargetPass.
Definition: OgreCompositionTargetPass.h:56
void setLevel(const BspLevelPtr &level)
void setRenderableListener(RenderableListener *listener)
Set a renderable listener on the queue.
Definition: OgreRenderQueue.h:282
Class for managing Compositor settings for Ogre.
Definition: OgreCompositorManager.h:61
~MovablePlane()
Definition: OgreMovablePlane.h:71
GLuint getGLBufferId(void) const
Definition: OgreGLHardwareBuffer.h:66
virtual int getExecutionOrder() const
@ RENDER_QUEUE_WORLD_GEOMETRY_1
Definition: OgreRenderQueue.h:60
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:430
int getNumLeaves(void) const
Gets the number of leaf nodes.
Definition: OgreBspLevel.h:95
void setShadowTexturePixelFormat(PixelFormat fmt)
Set the pixel format of the textures used for texture-based shadows.
Definition: OgreSceneManager.h:2837
void destroyRenderTarget(const String &name)
Destroys the given named RenderTarget.
float y
Definition: OgreInput.h:82
void setConstantFromTime(size_t index, Real factor)
Definition: OgreGpuProgramParams.h:1582
float Real
Software floating point type.
Definition: OgrePrerequisites.h:54
@ RENDER_QUEUE_WORLD_GEOMETRY_2
Definition: OgreRenderQueue.h:67
void setTextureFiltering(TextureFilterOptions filterType)
Set texture filtering for every texture unit.
@ LML_WARNING
Definition: OgreLog.h:63
void addConstantDefinition(const String &name, GpuConstantType constType, uint32 arraySize=1)
Add a new constant definition to this shared set of parameters.
ConstMapIterator< VertexTrackList > VertexTrackIterator
Definition: OgreAnimation.h:382
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid2DPageStrategy.h:156
FunctionInvocation(const FunctionInvocation &rhs)
Copy constructor.
static ParameterPtr createInTexcoord(GpuConstantType type, int index, Parameter::Content content)
uint32 getFSAA() const
Definition: OgreDepthBuffer.h:96
void destroyInstance(Archive *ptr) override
Destroys an object which was created by this factory.
RenderSystemCapabilitiesManager()
Default constructor.
const ConstantList & getConstantList() const
Get a reference to the list of constants.
Definition: OgreGpuProgramParams.h:528
#define OGRE_MAX_TEXTURE_LAYERS
Define max number of texture layers allowed per pass on any card.
Definition: OgreConfig.h:48
void endAllEncoders(bool endRenderPassDesc=true)
static uint32 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:195
void _notifyCastShadows(bool enabled) override
Tells the Renderer whether to cast shadows.
Definition: OgreBillboardParticleRenderer.h:150
D3D9VideoModeList(D3D9Driver *pDriver)
std::list< PCPlane * > PCPlaneList
Definition: OgrePCZFrustum.h:44
MetalDevice * getOwnerDevice(void) const
Definition: OgreMetalTexture.h:67
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.
@ ID_SCHEME
Definition: OgreScriptCompiler.h:590
PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)
GpuProgramPtr create(const String &name, const String &group, GpuProgramType gptype, const String &language, bool isManual=false, ManualResourceLoader *loader=0)
General create method, using specific create parameters instead of name / value pairs.
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:92
Real getLightPowerScale(size_t index) const
bool isLightCapSeparate(void) const
Does this renderable require a separate light cap?
Definition: OgreShadowCaster.h:91
virtual ~LodListener()
Definition: OgreLodListener.h:121
uint32 _createVao()
Create VAO on current context.
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)
Set value from PF_R8G8B8A8.
@ GPU_MS_SOFTWARE
Microsoft software device.
Definition: OgreRenderSystemCapabilities.h:239
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.
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 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.
@ TM_SOFTWARE
Interpolate vertex positions in software.
Definition: OgreAnimationTrack.h:485
virtual size_t estimateWorldGeometry(const String &filename)
Estimate the number of loading stages required to load the named world geometry.
Definition: OgreSceneManager.h:1727
virtual bool requestTypeFlags(void) const
Does this factory require the allocation of a 'type flag', used to selectively include / exclude this...
Definition: OgreMovableObject.h:616
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)
Definition: OgreRenderSystemCapabilities.h:704
static DWORD get(TexCoordCalcMethod m, const D3DCAPS9 &caps)
return a D3D9 equivalent for a Ogre TexCoordCalsMethod value
ConstMapIterator< MovableObjectFactoryMap > MovableObjectFactoryIterator
Definition: OgreRoot.h:864
Plugin instance for Cg Program Manager.
Definition: OgreGLSLangProgramManager.h:60
@ WFT_SQUARE
Half of the time is spent at the min, half at the max with instant transition between.
Definition: OgreCommon.h:190
const String & getName(void) const
Get the name of the Texture Unit State.
Definition: OgreTextureUnitState.h:1046
@ VES_SPECULAR
Definition: OgreHardwareVertexBuffer.h:113
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.
static bool isInt(GpuConstantType c)
Definition: OgreGpuProgramParams.h:173
Definition: OgreVolumeCSGSource.h:392
unsigned int getRefreshRate() const
Definition: OgreD3D9VideoMode.h:56
int skyPlaneXSegments
Definition: OgreSceneManager.h:307
void setShadowDirLightTextureOffset(Real offset)
Sets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2914
void bindProgram(void)
Execute the binding functions for this program.
@ ID_TEXTURE_REF
Definition: OgreScriptCompiler.h:784
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
Definition: OgreOverlayElement.h:189
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.
void flush()
Definition: OgreVertexIndexData.h:318
Specialisation of HighLevelGpuProgram to provide support for nVidia's CG language.
Definition: OgreCgProgram.h:52
const Radian & getRotation(void) const
Get the rotation of the billboard.
Definition: OgreBillboard.h:104
@ SPC_LIGHTDIRECTION_WORLD_SPACE0
Light direction in world space index 0-7.
Definition: OgreShaderParameter.h:182
Camera * getCamera(const String &name) const
Retrieves a pointer to the named camera.
PagedWorld(const String &name, PageManager *manager)
Constructor.
const String & getLanguage(void) const override
Get the name of the language this factory creates programs for.
Definition: OgreGLGpuProgramManager.h:46
This emitter emits particles in a random direction from within a cylinder area, where the cylinder is...
Definition: OgreCylinderEmitter.h:46
static UniformParameterPtr createSampler2D(int index)
virtual GLContext * clone() const =0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
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
uint getRenderWindowCount() const
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreD3D11RenderWindow.h:127
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
Definition: OgreTerrain.h:1338
This struct is a base class for events which can be thrown by the compilers and caught by subscribers...
Definition: OgreScriptCompiler.h:341
@ MSE_WRITE_BEGIN
Definition: OgreMaterialSerializer.h:54
void reset()
Reset this render state.
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:409
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.
Definition: OgreSceneManager.h:1855
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:62
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
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:1361
Definition: OgreVulkanTextureGpuManager.h:56
virtual ~ParticleSystem()
Pose * getPose(const String &name) const
Retrieve an existing Pose by name.
reverse_iterator rend()
Definition: OgreCommon.h:436
@ ACT_NEAR_CLIP_DISTANCE
This variable provides the near clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1048
bool isVisible(PortalBase *portal, FrustumPlane *culledBy=0) const
BoneAssignmentIterator getBoneAssignmentIterator(void)
CompositionTechnique * getSupportedTechnique(size_t idx) const
Get a supported technique.
Definition: OgreCompositor.h:89
Definition: OgreLodData.h:101
static void extractUniforms(uint programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *geometryConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, GLUniformReferenceList &list)
Populate a list of uniforms based on a program object.
Definition: OgreGL3PlusStateCacheManager.h:39
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:459
DefaultZone(PCZSceneManager *, const String &)
void setFormat(PixelFormat pf)
Sets the desired pixel format for the texture surface; can only be set before load().
LayerBlendOperation blend
Definition: OgreQuake3Shader.h:78
std::map< String, PagedWorldSection * > SectionMap
Definition: OgrePagedWorld.h:158
static int ISign(int iValue)
Definition: OgreMath.h:265
static Vector3 calculateBasicFaceNormal(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal, no w-information.
Definition: OgreVector.h:883
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
static float DegreesToAngleUnits(float degrees)
Convert from degrees to the current AngleUnit.
ColourValue getDerivedAmbientLightColour(void) const
HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:398
virtual GpuProgramPtr loadFromString(const String &name, const String &groupName, const String &code, GpuProgramType gptype, const String &syntaxCode)
Loads a GPU program from a string.
@ 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:212
void needUpdate(bool forceParentUpdate=false) override
bool getCreateShaderOverProgrammablePass() const
Returns whether shaders are created for passes with shaders.
Definition: OgreShaderGenerator.h:432
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...
std::map< String, SceneNode * > SceneNodeList
Definition: OgrePCZone.h:60
virtual bool windowClosing(Ogre::RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:77
String getType() const override
Returns the type of the codec as a String.
MapIterator< PCZoneFactoryMap > PCZoneFactoryIterator
Definition: OgrePCZoneFactory.h:82
Real y
Definition: OgreVector.h:132
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
virtual ~ConstParameter()
Definition: OgreShaderParameter.h:643
@ ID_DECREMENT_WRAP
Definition: OgreScriptCompiler.h:825
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:302
void insertVertex(const Vector3 &vdata, size_t vertexIndex)
Inserts a vertex at a specific position.
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:67
Definition: OgreException.h:211
void releasePrograms(const ProgramSet *programSet)
Release CPU/GPU programs set associated with the given ProgramSet.
ManualObject * getManualObject(const String &name) const
Get a reference to a previously created object instance.
@ PF_PVRTC_RGB4
PVRTC (PowerVR) RGB 4 bpp.
Definition: OgrePixelFormat.h:141
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.
std::vector< Function * > ShaderFunctionList
Definition: OgreShaderFunction.h:268
Class for converting the core Ogre data types to/from Strings.
Definition: OgreStringConverter.h:77
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:1032
void reset()
Resets timer.
@ SPC_POSTOLIGHT_VIEW_SPACE4
Definition: OgreShaderParameter.h:156
virtual ~PageContentCollection()
void setTimeStampEnabled(bool timeStamp)
Enable or disable time stamps.
const MaterialPtr & _getMaterial() const
Internal getting of material.
Definition: OgreTerrain.h:1301
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, in case it was referring to ...
void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardSet.h:450
const_reference front() const
Definition: OgreSmallVector.h:199
@ ID_SEPARATE_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:619
unsigned int height
Definition: OgreCommon.h:833
bool requiresTextureFlipping() const
Definition: OgreGLWindow.h:50
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:306
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:172
bool mouseMoved(const MouseMotionEvent &evt)
Updates cursor position.
virtual ~ResourceManager()
static bool isFloat(GpuConstantType c)
Definition: OgreGpuProgramParams.h:167
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:137
void CreateVertexShader()
virtual ~ShadowRenderable()
@ RSC_TEXTURE_FLOAT
Supports float textures and render targets.
Definition: OgreRenderSystemCapabilities.h:117
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:121
void setComment(const Ogre::DisplayString &comment)
Definition: OgreTrays.h:727
Specific render system operation.
Definition: OgreCompositorInstance.h:105
@ VET_INT2
Definition: OgreHardwareVertexBuffer.h:147
ValueType getType(void) const
Gets the value type of this animable value.
Definition: OgreAnimable.h:146
void setCloneable(bool c)
Definition: OgreOverlayElement.h:433
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:272
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:148
Class for recording Quake3 shaders.
Definition: OgreQuake3Shader.h:56
VertexData * sharedVertexData
Shared vertex data.
Definition: OgreMesh.h:310
size_t calculateSize(void) const override
Calculate the size of a resource; this will only be called after 'load'.
virtual bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreGpuProgram.h:210
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.
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.
LayerInstanceList layerList
List of layer structures, one for each layer required.
Definition: OgreTerrain.h:397
virtual void customStageEnded(void)
This event is fired when a custom loading stage has been completed.
Definition: OgreResourceGroupManager.h:176
void addListener(Listener *listener)
Register a listener to this Serializer.
@ SPC_POSTOLIGHT_OBJECT_SPACE5
Definition: OgreShaderParameter.h:137
std::vector< GPUDeviceNameRule > GPUDeviceNameRuleList
Definition: OgreTechnique.h:144
@ ID_FRAGMENT_PROGRAM
Definition: OgreScriptCompiler.h:561
PCZFrustum()
Standard constructor.
int currentQueueGroupID
Current group ID.
Definition: OgreCompositorInstance.h:133
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
Class representing a font in the system.
Definition: OgreFont.h:88
ushort getTessellationHullProgramConstantIntCount(void) const
Definition: OgreRenderSystemCapabilities.h:744
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:66
String name
Definition: OgreScriptCompiler.h:148
Lowest level collection of renderables.
Definition: OgreRenderQueueSortingGrouping.h:102
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
#define _OgreBitesQtExport
Definition: OgreApplicationContextQt.h:15
Real getCharHeight() const
void setShadowsEnabled(bool enabled)
Indicate whether a given queue group will be doing any shadow setup.
Definition: OgreRenderQueueSortingGrouping.h:489
static CmdAlphaAdjust msAlphaCmd
Definition: OgreColourFaderAffector.h:137
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:2349
Definition: OgreScriptCompiler.h:67
void setDepthWriteEnabled(bool enabled)
Sets whether or not this pass renders with depth-buffer writing on or not.
Definition: OgrePass.h:776
void _writeRawConstant(size_t physicalIndex, const Vector< dims, T > &vec, size_t count=dims)
Write a Vector parameter to the program directly to the underlying constants buffer.
Definition: OgreGpuProgramParams.h:1434
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:87
void useImportData()
Set to use import data.
@ 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.
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)
@ ID_ON
Definition: OgreScriptCompiler.h:706
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
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:213
Specialisation of HighLevelGpuProgram to provide support for the GLSLang compiler by Khronos.
Definition: OgreGLSLangProgramManager.h:30
const SharedPtr< ControllerValue< T > > & getSource(void) const
Gets the input controller value.
Definition: OgreController.h:167
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
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:62
@ SHADOWDETAILTYPE_STENCIL
Mask for stencil shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:227
std::set< SubRenderState * > SubRenderStateSet
Definition: OgreShaderSubRenderState.h:164
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.
Definition: OgrePass.h:1002
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
@ AUTO_LEVEL
Definition: OgrePatchSurface.h:67
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:277
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 setShadingType(ShadeOptions so)
Sets the type of light shading required (default = Gouraud).
Definition: OgreRenderSystem.h:340
virtual void removeChild(const String &name)
Removes a named element from this container.
void setColourBlendState(const ColourBlendState &state)
Sets the global blending factors for combining subsequent renders with the existing frame contents.
void setVertexTextureUnitsShared(bool shared)
Definition: OgreRenderSystemCapabilities.h:592
void updateFromParentImpl() const
Class-specific implementation of _updateFromParent.
MapIterator< ChildMap > ChildIterator
Definition: OgreOverlayContainer.h:59
virtual void preparingComplete(Resource *)
Called whenever the resource finishes preparing (paging into memory).
Definition: OgreResource.h:95
bool nothingToStrip() const
Definition: OgreLod0Stripifier.h:81
TextureTransformType
Useful enumeration when dealing with procedural transforms.
Definition: OgreTextureUnitState.h:282
ushort getTessellationDomainProgramConstantFloatCount(void) const
The number of floating-point 4-vector constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:652
@ PROP_BOOL
Definition: OgreProperty.h:118
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:68
Matrix4 getTransposeViewMatrix() const
@ PF_R9G9B9E5_SHAREDEXP
32-bit pixel format, 9 bits for blue, green, red plus a 5 bit exponent.
Definition: OgrePixelFormat.h:199
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:356
const String & getFunctionName() const
Return the function name.
Definition: OgreShaderFunctionAtom.h:252
static D3D11_FILL_MODE get(PolygonMode level)
return a D3D11 equivalent for a Ogre PolygonMode value
Pose * getPose(size_t index) const
Retrieve an existing Pose by index.
Definition: OgreMesh.h:910
The profiler allows you to measure the performance of your code.
Definition: OgreProfiler.h:236
HardwareBufferLockGuard HardwareIndexBufferLockGuard
Definition: OgreHardwareIndexBuffer.h:81
GLint convertCompareFunction(CompareFunction func) const
bool isShadowTechniqueInUse(void) const
Is there any shadowing technique in use?
Definition: OgreSceneManager.h:2766
MemoryDataStream(const String &name, size_t size, bool freeOnClose=true, bool readOnly=false)
Create a named stream with a brand new empty memory chunk.
void validateMaterial(const String &schemeName, const Material &mat)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderGenerator.h:371
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
@ LBT_COLOUR
Definition: OgreBlendMode.h:46
virtual void setActiveProfile(Profile *p)
Set the active Profile.
Definition: OgreTerrainMaterialGenerator.h:233
virtual unsigned int getDebugLevel() const
Get the debug level of the material.
Definition: OgreTerrainMaterialGenerator.h:381
static D3D9DeviceManager * getDeviceManager()
bool isNull() const
Definition: OgreCommon.h:631
void setGreenAdjust1(float green)
Sets the green adjustment to be made per second to particles.
int windowID
Definition: OgreInput.h:67
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:520
ParameterPtr resolveOutputParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
Resolve output parameter of this function.
Definition: OgreShaderFunction.h:145
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:1046
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)
float getGamma(void) const
Returns the gamma adjustment factor applied to this texture on loading.
Definition: OgreTexture.h:168
const UserObjectBindings & getUserObjectBindings() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreMovableObject.h:346
uint32 getNameForMicrocodeCache()
virtual ~TextAreaOverlayElement()
bool getDisplaySceneNodes(void) const
Returns true if all scene nodes axis are to be displayed.
Definition: OgreSceneManager.h:1410
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:359
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:50
@ SPC_LIGHTPOSITIONVIEW_SPACE1
Definition: OgreShaderParameter.h:233
static const uint16 SUBCLASS_CHUNK_VERSION
Definition: OgreSimplePageContentCollection.h:71
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:2030
UserObjectBindings & getUserObjectBindings()
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreRenderable.h:306
@ PF_RG8
Definition: OgrePixelFormat.h:218
static void setDefaultNonVisibleUpdateTimeout(Real timeout)
Set the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:375
void destroyStaticGeometry(StaticGeometry *geom)
Remove & destroy a StaticGeometry instance.
void createZoneSpecificNodeData(PCZone *)
Create any zone-specific data necessary for all nodes for the given zone.
@ SPC_LIGHTDIRECTION_VIEW_SPACE6
Definition: OgreShaderParameter.h:198
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:75
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=HBU_GPU_ONLY, HardwareBuffer::Usage ibUsage=HBU_CPU_TO_GPU, bool vbUseShadow=false, bool ibUseShadow=false)
Define the patch, as defined in MeshManager::createBezierPatch.
void removeLayer(uint8 index)
Remove a layer from the terrain.
Octree implementation of RaySceneQuery.
Definition: OgreOctreeSceneQuery.h:70
static Real Pow(Real fBase, Real fExponent)
Definition: OgreMath.h:367
const LodStrategy * getLodStrategy() const
Get LOD strategy used by this material.
@ TFO_NONE
No filtering or mipmapping is used.
Definition: OgreCommon.h:79
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:50
virtual Real getLoadRadius() const
Get the loading radius.
GpuProgramPtr HighLevelGpuProgramPtr
Definition: OgrePrerequisites.h:298
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:471
void moveWidgetToTray(TrayLocation currentTrayLoc, const Ogre::String &name, TrayLocation targetTrayLoc, size_t place=-1)
Definition: OgreTrays.h:1031
ConcreteNodeType
These enums hold the types of the concrete parsed nodes.
Definition: OgreScriptCompiler.h:50
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
@ ACT_LIGHT_CUSTOM
Binds custom per-light constants to the shaders.
Definition: OgreGpuProgramParams.h:1155
@ GCT_SAMPLER1DSHADOW
Definition: OgreGpuProgramParams.h:79
Ogre::Real getTopSpeed()
Definition: OgreCameraMan.h:94
void setNamedAutoConstantReal(const String &name, AutoConstantType acType, Real rData)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void move(const Vector3 &vec)
Moves the camera's position by the vector offset provided along world axes.
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void doSet(void *target, const String &val)
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:280
static void setExceptionsErrorLevel(const Ogre::String &exceptionsErrorLevel)
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
void setTextureCoords(FloatRect const *coords, uint16 numCoords)
Definition: OgreBillboardSet.h:712
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
Plugin instance for Tiny Manager.
Definition: OgreTinyPlugin.h:15
PageStrategy * getStrategy(const String &name)
Get a PageStrategy.
NodeAnimationTrack * createNodeTrack(unsigned short handle)
Creates a NodeAnimationTrack for animating a Node.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE2
Definition: OgreShaderParameter.h:174
int content_flags
Definition: OgreQuake3Types.h:205
Definition: OgreShaderExLayeredBlending.h:92
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:201
virtual BackgroundProcessTicket unload(const String &resType, ResourceHandle handle, Listener *listener=0)
Unload a single resource in the background.
virtual ushort getPreferredFloatBitDepth(void) const
Gets preferred bit depth for float pixel format textures.
void setMaterial(const MaterialPtr &mat)
Definition: OgreSubMesh.h:141
bool isSupported() const override
Returns whether this program can be supported on the current renderer and hardware.
shared_ptr< GLSLShader > GLSLShaderPtr
Definition: OgreGL3PlusPrerequisites.h:48
bool getShowDebugShadows(void) const
Are debug shadows shown?
Definition: OgreSceneManager.h:2621
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 InstanceBatchHW_VTF.
Definition: OgreInstanceManager.h:66
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:135
virtual void preFindVisibleObjects(SceneManager *source, IlluminationRenderStage irs, Viewport *v)
Called prior to searching for visible objects in this SceneManager.
Definition: OgreSceneManager.h:352
virtual void update(void)
Update data if necessary.
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:1596
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
Class for managing Quake3 custom shaders.
Definition: OgreQuake3ShaderManager.h:60
OrientationMode getOrientationMode() const
Get the orientation mode of the viewport.
const float * getDeltaData(uint32 x, uint32 y) const
Get a pointer to the delta data for a given point.
Texturing sub render state implementation of layered blending.
Definition: OgreShaderExLayeredBlending.h:43
ResourceType mResourceType
Definition: OgreScriptCompiler.h:479
Real alphaArg1
Manual alpha value for manual source1.
Definition: OgreBlendMode.h:156
virtual bool isVisible(void) const
Are the batches visible?
Definition: OgreStaticGeometry.h:633
Light * createLight(Light::LightTypes type)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreSceneManager.h:1247
A billboard is a primitive which always faces the camera in every frame.
Definition: OgreBillboard.h:69
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:164
Quake3Shader * getByName(const String &name)
Retrieve a Quake3Shader by name.
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 setSkyDomeEnabled(bool enable)
Enables / disables a 'sky dome'.
Definition: OgreSceneManager.h:2117
void setVertexColourTracking(TrackVertexColourType tracking)
Sets which material properties follow the vertex colour.
Definition: OgrePass.h:386
static String FACTORY_TYPE_NAME
Definition: OgreRibbonTrail.h:232
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:717
StencilOperation getStencilDepthFailOp() const
Get stencil depth fail operation.
VectorImpl::const_reverse_iterator const_reverse_iterator
Definition: OgreCommon.h:410
@ ENDIAN_BIG
Use big endian (0x1000 is serialised as 0x10 0x00)
Definition: OgreStreamSerialiser.h:78
const ColourValue & getSurfaceEmissiveColour(void) const
@ SHADER_FUNC_SAWTOOTH
Definition: OgreQuake3Types.h:113
@ ID_ROTATE_ANIM
Definition: OgreScriptCompiler.h:745
@ CULL_CLOCKWISE
Hardware culls triangles whose vertices are listed clockwise in the view (default).
Definition: OgreCommon.h:162
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...
@ OR_DEGREE_180
Definition: OgreFrustum.h:51
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:195
std::map< String, ConfigOption > ConfigOptionMap
Definition: OgreConfigOptionMap.h:57
void _setSubMeshLodFaceList(unsigned short subIdx, unsigned short level, IndexData *facedata)
Internal methods for loading LOD, do not use.
virtual void setVSync(bool vSync, uint32 vSyncInterval)
_OgreExport const String MSN_DEFAULT
Default material scheme name.
Definition: OgreQuake3Shader.h:73
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:1986
ParticleEmitterFactoryIterator getEmitterFactoryIterator(void)
Return an iterator over the emitter factories currently registered.
virtual void setNormaliseNormals(bool normalise)
Sets whether or not normals are to be automatically normalised.
Definition: OgreRenderSystem.h:813
Basic check box widget.
Definition: OgreTrays.h:641
void setMaskToParamType()
automatically set swizzle to match parameter arity
AngleUnit
The angular units used by the API.
Definition: OgreMath.h:213
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, unsigned short stencil=0)
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:87
float Norm() const
Returns the normal length of this quaternion.
Definition: OgreQuaternion.h:211
PortalIntersectResult
Definition: OgrePortalBase.h:162
bool isVisible(const AxisAlignedBox &bound) const
virtual void swapBuffers()
Override needed to deal with multisample buffers.
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:90
virtual void copyTo(TextureGpu *dst, const PixelBox &dstBox, uint8 dstMipLevel, const PixelBox &srcBox, uint8 srcMipLevel, bool keepResolvedTexSynced=true, ResourceAccess::ResourceAccess issueBarriers=ResourceAccess::ReadWrite)
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:276
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.
void _setNormalMapRequired(bool normalMap)
Request a terrain-wide normal map.
void unbind(RenderTarget *target)
Unbind a certain render target.
bool canRestrictImageViewUsage(void) const
Definition: OgreVulkanTextureGpuManager.h:85
ushort getTessellationDomainProgramConstantIntCount(void) const
Definition: OgreRenderSystemCapabilities.h:764
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:2018
virtual Bone * createBone(const String &name, unsigned short handle)
Creates a brand new Bone owned by this Skeleton.
void setNull()
Definition: OgreCommon.h:635
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:2926
SharedPtr< ConcreteNodeList > ConcreteNodeListPtr
Definition: OgreScriptCompiler.h:65
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:670
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)
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:67
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
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:43
NumericAnimationTrack(Animation *parent, unsigned short handle, AnimableValuePtr &target)
Constructor, associates with an AnimableValue.
String mResourceGroup
Definition: OgreScriptCompiler.h:548
@ PCT_SINT
32 bit float per component
Definition: OgrePixelFormat.h:337
virtual const String & getName() const =0
Listener which gets called back on MovableObject events.
Definition: OgreMovableObject.h:62
@ VES_TEXTURE_COORDINATES
Texture coordinates, typically VET_FLOAT2.
Definition: OgreHardwareVertexBuffer.h:103
virtual ~OptimisedUtil()
Definition: OgreOptimisedUtil.h:66
btQuaternion convert(const Quaternion &q)
Definition: OgreBullet.h:37
@ SPC_TANGENT_WORLD_SPACE
Tangent in world space.
Definition: OgreShaderParameter.h:254
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:77
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.
void rayTest(const Ray &ray, RayResultCallback *callback, float maxDist=1000)
MapIterator< AnimationStateMap > AnimationStateIterator
Definition: OgreAnimationState.h:191
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:86
String generate()
Generate a new name.
Definition: OgreNameGenerator.h:59
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:617
@ LOADSTATE_LOADED
Fully loaded.
Definition: OgreResource.h:109
@ ID_VERTEX
Definition: OgreScriptCompiler.h:759
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
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:268
bool requestTypeFlags() const
Return true here as we want to get a unique type flag.
Definition: OgreAntiPortal.h:64
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:3278
MeshBuilder * meshBuilder
The MeshBuilder to use.
Definition: OgreVolumeChunkHandler.h:68
static const uint32 CHUNK_ID
Definition: OgrePageContentCollection.h:60
@ SPC_LIGHTPOSITION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:215
@ SPC_POSTOLIGHT_OBJECT_SPACE3
Definition: OgreShaderParameter.h:135
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:543
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:1135
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 loading order for scripts of this type.
@ HBU_DETAIL_WRITE_ONLY
Indicates the application will never read the contents of the buffer back, it will only ever write da...
Definition: OgreHardwareBuffer.h:65
static PropertyType getTypeForValue(const unsigned int &val)
Definition: OgreProperty.h:160
@ GCT_MATRIX_2X3
Definition: OgreGpuProgramParams.h:84
void setCompareFunction(CompareFunction function)
Definition: OgreTextureUnitState.h:187
void addRendererFactory(ParticleSystemRendererFactory *factory)
Registers a factory class for creating ParticleSystemRenderer instances.
Definition: OgreResource.h:72
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLWindow.h:51
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.
static bool isSyntaxSupported(const String &syntaxCode)
Returns whether a given syntax code (e.g.
@ CMPF_NOT_EQUAL
Write if (new_Z != existing_Z)
Definition: OgreCommon.h:68
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:94
virtual unsigned int getDisplayMonitorCount() const
Definition: OgreRenderSystem.h:1102
Plane()
Default constructor - sets everything to 0.
Definition: OgrePlane.h:71
uint32 getCustomStagesForResourceGroup(const String &group)
void setCompositeMapDiffuse(const ColourValue &c)
Set the composite map diffuse light to use.
Definition: OgreTerrain.h:1897
@ GMM_PIXELS
Positions & sizes are in absolute pixels.
Definition: OgreOverlayElement.h:57
const TerrainLayerDeclaration & getLayerDeclaration() const
Get the declaration which describes the layers in this terrain.
Definition: OgreTerrain.h:965
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
SpecialCaseRenderQueueMode
Enumeration of the possible modes allowed for processing the special case render queue list.
Definition: OgreSceneManager.h:285
AtomAbstractNode(AbstractNode *ptr)
void setLastVisibleFromCamera(PCZCamera *camera)
Set the lastVisibleFromCamera pointer.
Definition: OgrePCZone.h:118
static VkAccessFlags get(const TextureGpu *texture)
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:268
@ 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:274
void _cursorPressed(const Ogre::Vector2 &cursorPos)
bool requiresTextureFlipping() const override
Definition: OgreVulkanTextureGpu.h:179
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.
Page strategy which loads new pages based on a regular 3D grid.
Definition: OgreGrid3DPageStrategy.h:203
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:3043
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
static VkPrimitiveTopology get(RenderOperation::OperationType opType)
PCZCamera * getLastVisibleFromCamera()
Definition: OgrePCZSceneNode.h:97
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
VertexAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
virtual ~MovableObjectFactory()
Definition: OgreMovableObject.h:586
virtual SubRenderState * createInstance()
Create an instance of the SubRenderState sub class it suppose to create.
@ CE_DUPLICATEOVERRIDE
Definition: OgreScriptCompiler.h:202
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:189
static void setDefaultIterationInterval(Real iterationInterval)
Set the default iteration interval for all ParticleSystem instances.
Definition: OgreParticleSystem.h:347
@ FOG_EXP
Fog density increases exponentially from the camera (fog = 1/e^(distance * density))
Definition: OgreCommon.h:148
Real getMaxSupportedAnisotropy() const
Get the maximum supported anisotropic filtering.
Definition: OgreRenderSystemCapabilities.h:576
Operand & w()
Definition: OgreShaderFunctionAtom.h:115
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:73
void findVisibleNodes(PCZCamera *, NodeList &visibleNodeList, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters, bool displayNodes, bool showBoundingBoxes)
Find and add visible objects to the render queue.
FilterOptions
Filtering options for textures / mipmaps.
Definition: OgreCommon.h:102
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
void copyContentsToMemory(const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreRenderTarget.h:320
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:1246
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
PixelFormat suggestPixelFormat() const
Override since windows don't usually have alpha.
Definition: OgreRenderWindow.h:209
@ PROP_MATRIX4
Definition: OgreProperty.h:121
virtual void inject()
Definition: OgreLodOutputProvider.h:48
Pool()
Definition: OgreResourceManager.h:52
static bool initialize()
Initialize the Shader Generator System.
void resetOrganisationModes(void)
Reset the organisation modes required for the solids in this group.
void _writeRegisters(size_t index, const int *val, size_t count)
write values into register storage
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
ProgramWriter * createProgramWriter(const String &language)
GLES2HardwareBufferManager()
PCZCamera::Visibility getVisibility(const AxisAlignedBox &bound)
Returns the detailed visibility of the box.
static const SyntaxCodes & getSupportedSyntax(void)
Returns the syntaxes that the RenderSystem supports.
static String Type
Definition: OgreShaderFFPTexturing.h:82
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
Definition: OgreAdvancedRenderControls.h:72
Base interface for an instance of a property.
Definition: OgreProperty.h:190
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
static float Sin(Real fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:422
AnimationState * getAnimationState(const String &name) const
void CreateComputeShader()
Command object for setting matrix packing in column-major order.
Definition: OgreD3D9HLSLProgram.h:57
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:267
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:627
Dummy factory to let Regions adhere to MovableObject protocol.
Definition: OgreStaticGeometry.h:728
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:395
void setCullFace(GLenum face)
Sets the face culling setting.
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:47
Real cloudHeight
Definition: OgreQuake3Shader.h:112
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
Definition: OgreVulkanQueue.h:54
void setOptimisedSource(const String &src)
Sets the optimised GLSL source.
Definition: OgreGLSLESProgram.h:69
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:62
size_t getPolygonCount(void) const
Returns the current number of polygons.
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 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:201
@ ID_TESSELLATION_HULL_PROGRAM
Definition: OgreScriptCompiler.h:832
DataStreamPtr encode(const MemoryDataStreamPtr &input, const CodecDataPtr &pData) const override
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.
ShadowCasterSceneQueryListener(SceneManager *sm)
Definition: OgreSceneManager.h:819
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:131
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, TextureType type=TEX_TYPE_2D)
Utility function to get an existing pooled texture matching a given definition, or creating one if on...
size_t bufferSize
Shortcut to know the buffer size needs.
Definition: OgreGpuProgramParams.h:376
TriangleList mTriangleList
Definition: OgreLodData.h:155
void setRedAdjust(float red)
Sets the red adjustment to be made per second to particles.
Vector & operator-=(const Vector &b)
Definition: OgreVector.h:618
Allows the rendering of a wireframe bounding box.
Definition: OgreWireBoundingBox.h:49
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:217
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
static const char * getRequiredExtensionName()
ResourceAccess
Enum identifying the texture access privilege.
Definition: OgreVulkanTextureGpu.h:55
bool isSystemMemory(void) const
Returns whether this buffer is held in system memory.
Definition: OgreHardwareBuffer.h:369
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.
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:114
virtual unsigned short getNumBones(void) const
Returns the number of bones in this skeleton.
@ SHADER_GEN_WAVE
Definition: OgreQuake3Types.h:121
virtual void destroyInstance(T *ptr)
Destroys an object which was created by this factory.
Definition: OgreFactoryObj.h:65
SkinningType
Definition: OgreShaderPrerequisites.h:88
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:58
Definition: OgreVulkanTextureGpuWindow.h:39
TechniqueIterator getSupportedTechniqueIterator(void)
Gets an iterator over all the Techniques which are supported by the current card.
uint16 refCount
Definition: OgreVulkanRenderPassDescriptor.h:53
void notifyDelta(uint16 x, uint16 y, uint16 lod, Real delta)
Notify the node (and children) of a height delta value.
@ PM_POINTS
Only the points of each polygon are rendered.
Definition: OgreCommon.h:204
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:87
VkImageView createView(void) const
const Vector4 & _getCustomParam(InstancedEntity *instancedEntity, unsigned char idx)
uchar * getColourMask()
Gets the current colour mask setting.
Definition: OgreGLStateCacheManagerCommon.h:103
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:99
virtual void setCameraLightDirectionThreshold(Degree angle)
Sets the threshold between the camera and the light direction below which the LiSPSM projection is 'f...
size_t bufferSize
Total size of the buffer required.
Definition: OgreGpuProgramParams.h:314
const Affine3 & getInverseWorldMatrix(void) const
@ VET_INT1
Definition: OgreHardwareVertexBuffer.h:146
virtual void copyFrom(const SubRenderState &rhs)
T * getData(uint32 x=0, uint32 y=0, uint32 z=0)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreImage.h:340
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:184
HardwareBuffer HardwareUniformBuffer
Definition: OgreHardwareBuffer.h:393
@ ACT_TANTIME_0_1
Tangent of "Time0_1". Equivalent to RenderMonkey's "TanTime0_1".
Definition: OgreGpuProgramParams.h:982
ushort getTessellationDomainProgramConstantBoolCount(void) const
Definition: OgreRenderSystemCapabilities.h:769
void readData(size_t offset, size_t length, void *pDest) override
See HardwareBuffer.
void setAllParamValues(const Ogre::StringVector ¶mValues)
Vector4f getTime_0_X_packed(Real x) const
Vector4 getAs4DVector(bool cameraRelativeIfSet=false) const
Returns the details of this light as a 4D vector.
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
Get the squared distance between the camera and the LOD object.
@ ANT_VARIABLE_ACCESS
Definition: OgreScriptCompiler.h:84
virtual void setValue(const Radian &)
Set value.
Definition: OgreAnimable.h:180
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:354
static bool parse(const String &str, unsigned long &v)
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
Real getSquaredViewDepth(const Camera *cam) const
Returns the squared distance between the camera and this renderable.
Definition: OgreRectangle2D.h:89
VectorIterator< ChildObjectList > ChildObjectListIterator
Definition: OgreEntity.h:569
@ PF_R16G16_SNORM
32-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:230
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:189
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:152
void * lock(size_t offset, size_t length, LockOptions options) override
Lock the buffer for (potentially) reading / writing.
uint32 RGBA
Definition: OgreColourValue.h:41
~DefaultHardwareBufferManagerBase()
SharedPtr< GpuSharedParameters > GpuSharedParametersPtr
Definition: OgrePrerequisites.h:278
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
void setEnabled(bool enabled)
Sets whether this animation is enabled.
Vector3 singleIntersection
Single intersection point, only applicable for WFT_SINGLE_INTERSECTION.
Definition: OgreSceneQuery.h:109
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:117
static int IFloor(float fValue)
Definition: OgreMath.h:264
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask)
Update automatic parameters.
AnimationState * createAnimationState(const String &animName, Real timePos, Real length, Real weight=1.0, bool enabled=false)
Create a new AnimationState instance.
const String & getOrigin(void) const
Get the origin of this particle system, e.g.
Definition: OgreParticleSystem.h:435
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:325
Manages particle systems, particle system scripts (templates) and the available emitter & affector fa...
Definition: OgreParticleSystemManager.h:74
@ BCT_UINT
Definition: OgreGpuProgramParams.h:57
void dirtyLightmap()
Mark a the entire lightmap as dirty.
static bool isNativeEndian(PixelFormat format)
Shortcut method to determine if the format is in native endian format.
static uint16 bswap16(uint16 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:58
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:320
PoolId
Definition: OgreDepthBuffer.h:79
GL3PlusTextureBuffer(GL3PlusTexture *parent, GLint face, GLint level, uint32 width, uint32 height, uint32 depth)
Texture constructor.
HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
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:137
PixelFormat getFormat() const
Gets the native pixel format of this buffer.
Definition: OgreHardwarePixelBuffer.h:192
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:72
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.
@ ID_RENDER_QUAD
Definition: OgreScriptCompiler.h:801
DefaultWorkQueueBase(const String &name=BLANKSTRING)
Constructor.
OptimisationLevel
Shader optimisation level.
Definition: OgreD3D9HLSLProgram.h:130
void setScissorTest(bool enabled, const Rect &rect=Rect())
Sets the 'scissor region' i.e.
void operator()(void *)
Definition: OgreDeprecated.h:25
const RenderQueueGroupMap & _getQueueGroups() const
Internal method, returns the queue groups.
Definition: OgreRenderQueue.h:241
@ PF_R8G8_SNORM
16-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:222
GuiVerticalAlignment getVerticalAlignment(void) const
Gets the vertical alignment for this element.
Definition: OgreOverlayElement.h:416
size_t cacheData(const void *buf, size_t count)
Cache data pointed by 'buf'.
Definition: OgreDeflate.h:67
void setLightMapDirection(const Vector3 &v)
Set the shadow map light direction to use (world space).
Definition: OgreTerrain.h:1889
bool queryResult(MovableObject *movable, SceneQuery::WorldFragment *fragment)
Self-callback in order to deal with execute which returns collection.
SharedPtr< HardwareVertexBuffer > HardwareVertexBufferPtr
Definition: OgrePrerequisites.h:283
size_t getPassIterationNumberIndex() const
Definition: OgreGpuProgramParams.h:1802
const String & getMessages() const
Get any diagnostic messages about the process.
Definition: OgreWorkQueue.h:144
@ ID_PARTICLE_SYSTEM
Definition: OgreScriptCompiler.h:769
void setVisible(bool visible, bool cascade=true) const
Makes all objects attached to this node become visible / invisible.
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:545
void build(bool stencilShadows)
Build.
MapIterator< MaterialBucketMap > MaterialIterator
Iterator over the materials in this LOD.
Definition: OgreStaticGeometry.h:323
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:772
void setVertexProgramConstantBoolCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:709
@ BBT_POINT
Standard point billboard (default), always faces the camera completely and is always upright.
Definition: OgreBillboardSet.h:86
const QueuedRenderableCollection & getSolidsDecal(void) const
Get the collection of solids currently queued for decal passes (only applicable in additive shadow mo...
Definition: OgreRenderQueueSortingGrouping.h:293
@ ID_POINT_SPRITES
Definition: OgreScriptCompiler.h:675
const String & getType(void) const
Returns the name of the type of affector.
Definition: OgreParticleAffector.h:118
@ VET_SHORT1
Definition: OgreHardwareVertexBuffer.h:130
std::vector< VkSemaphore > mImageReadySemaphores
Makes Queue execution wait until the acquired image is done presenting.
Definition: OgreVulkanWindow.h:83
@ ID_BLEND_DIFFUSE_ALPHA
Definition: OgreScriptCompiler.h:725
This abstract listener interface lets you get notifications of completed background processes instead...
Definition: OgreResourceBackgroundQueue.h:96
iterator begin()
Definition: OgreCommon.h:421
bool isPointRenderingEnabled(void) const
Returns whether point rendering is enabled.
Definition: OgreBillboardSet.h:779
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)
Definition: OgreMath.h:635
void setNamedConstant(const String &name, const uint *val, uint32 count)
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage) override
Sets the global alpha rejection approach for future renders.
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:114
bool validate(D3D9RenderWindow *renderWindow)
void setStencilState(const StencilState &state) override
This method allows you to set all the stencil buffer parameters in one call.
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
virtual Animation * createAnimation(const String &name, Real length)=0
Create a new animation with a given length owned by this container.
void load(const DataStreamPtr &stream)
Load direct from stream.
Animation * clone(const String &newName) const
Clone this animation.
@ SPC_LIGHTPOSITION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:213
Definition: OgreScriptCompiler.h:499
@ SPC_LIGHTPOSITIONVIEW_SPACE5
Definition: OgreShaderParameter.h:237
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...
static String Type
Definition: OgreShaderExGBuffer.h:88
This is the main starting point for the new instancing system.
Definition: OgreInstanceManager.h:59
GpuSharedParametersUsage(GpuSharedParametersPtr sharedParams, GpuProgramParameters *params)
Construct usage.
static CmdPlaneNormal msPlaneNormalCmd
Definition: OgreDeflectorPlaneAffector.h:97
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
int major
Definition: OgreRenderSystemCapabilities.h:215
@ ID_MAX_ANISOTROPY
Definition: OgreScriptCompiler.h:709
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:279
void destroyOverlayElement(OverlayElement *pInstance, bool=false)
Destroys a OverlayElement.
bool closeTo(const PortalBase *otherPortal)
Check if portal touches another portal.
GLFBOManager(bool atimode)
@ GCT_SPECIALIZATION
Definition: OgreGpuProgramParams.h:96
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
Definition: OgreParticle.h:96
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:132
RenderQueue * renderQueue
Definition: OgreSceneManager.h:1015
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.
@ ID_NORMALISE_NORMALS
Definition: OgreScriptCompiler.h:646
AnyNumeric operator*(const AnyNumeric &rhs) const
Definition: OgreAny.h:335
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 addShaderProfile(const String &profile)
Adds the profile to the list of supported profiles.
@ SPC_TEXTURE_COORDINATE5
Definition: OgreShaderParameter.h:298
const String & getMovableType() const override
Returns the type name of this object.
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:96
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)
const GpuProgramParametersPtr & getDefaultParameters(void) override
Get a reference to the default parameters which are to be used for all uses of this program.
PixelBox lockImpl(const Box &lockBox, LockOptions options)
Lock a box.
Definition: OgreTinyHardwarePixelBuffer.h:19
static unsigned int intRead(const void *src, int n)
Read a n*8 bits integer value to memory in native endian.
Definition: OgreBitwise.h:283
static ColourValue parseColourValue(const String &val, const ColourValue &defaultValue=ColourValue::Black)
Parses a ColourValue out of a String.
Definition: OgreStringConverter.h:331
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.
Definition: OgrePass.h:402
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:76
static unsigned int mostSignificantBitSet(unsigned int value)
Returns the most significant bit set in a value.
Definition: OgreBitwise.h:130
virtual void optimiseAllAnimations(bool preservingIdentityNodeTracks=false)
Optimise all of this skeleton's animations.
void useRandomStartOffset(float enable)
Start animation at random frame in the texture sheet.
Definition: OgreTextureAnimatorAffector.h:55
void updateDerivedValues() const
Update the derived values.
StreamType
Requested stream type.
Definition: OgreDeflate.h:174
bool getVertexAnimationIncludesNormals() const
Returns whether animation on dedicated vertex data includes normals.
Definition: OgreSubMesh.h:203
void adjustNodeToMatch(SceneNode *node)
Adjust the portal so that it is centered and oriented on the given node.
RenderTarget * getRenderTarget(const String &name, int slice=0)
Get the render target for a given render texture name.
void notifySwapchainDestroyed()
uint8 bpp
Definition: OgreGLNativeSupport.h:46
void dirtyHash()
Definition: OgreCommon.h:412
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
Box(const TRect< T > &r)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreCommon.h:752
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.
Image(PixelFormat format=PF_UNKNOWN, uint32 width=0, uint32 height=0, uint32 depth=1, uchar *buffer=NULL, bool autoDelete=true)
Standard constructor.
virtual void _compileOutputOperation(TargetOperation &finalState)
Compile the final (output) operation.
const float * ptr() const
Pointer accessor for direct copying.
Definition: OgreColourValue.h:180
Vector< 2, int > Vector2i
Definition: OgrePrerequisites.h:244
void getVectorAlign(const Vector3 &inVec, Alignment align, Vector3 *outVec) const
Translate a vector into world space based on a specified alignment.
virtual void clearResults(void)
Clears the results of the last query execution.
PortalFactory()
Definition: OgrePortal.h:79
void setType(LightTypes type)
Sets the type of light - see LightTypes for more info.
void markUsedIndices(IDX *indices, size_t indexCount)
Definition: OgreLod0Stripifier.h:68
@ 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
Definition: OgreVulkanRenderPassDescriptor.h:52
Radian & operator/=(float f)
Definition: OgreMath.h:88
A factory that enables creation of TriplanarMapping instances.
Definition: OgreShaderExTriplanarTexturing.h:187
void setExtents(Real mx, Real my, Real mz, Real Mx, Real My, Real Mz)
Definition: OgreAxisAlignedBox.h:228
Ogre::Real getValue()
Definition: OgreTrays.h:543
static Quaternion parseQuaternion(const String &val, const Quaternion &defaultValue=Quaternion::IDENTITY)
Parses a Quaternion out of a String.
Definition: OgreStringConverter.h:321
Factory object for creating Portal instances.
Definition: OgrePortalBase.h:294
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.
Definition: OgreBillboardParticleRenderer.h:101
Frame Buffer Object abstraction.
Definition: OgreGLFrameBufferObject.h:39
Definition: OgreVulkanHardwareBuffer.h:39
bool isVSync() const
Definition: OgreD3D9RenderWindow.h:52
GpuProgramParametersSharedPtr getGeometryProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
const ShadowRenderableList & getShadowVolumeRenderableList(const Light *light, const HardwareIndexBufferPtr &indexBuffer, size_t &indexBufferUsedSize, float extrusionDist, int flags=0) override
Define a default implementation of method from ShadowCaster which implements no shadows.
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:311
This class translates script AST (abstract syntax tree) into Ogre resources.
Definition: OgreScriptTranslator.h:50
void copyParametersTo(StringInterface *dest) const
Method for copying this object's parameters to another object.
std::list< Portal * > PortalList
Definition: OgrePCZone.h:55
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:260
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.
Technique * getTechnique(size_t index) const
Gets the indexed technique.
Definition: OgreMaterial.h:212
Factory object for creating BillboardChain instances.
Definition: OgreBillboardChain.h:361
AbstractNode(AbstractNode *ptr)
uint32 referenceValue
The reference value used in the stencil comparison.
Definition: OgreRenderSystem.h:121
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.
void queueForDeletion(const std::shared_ptr< VulkanDescriptorPool > &descriptorPool)
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)
@ SPC_POSTOLIGHT_WORLD_SPACE1
Definition: OgreShaderParameter.h:143
const QueuedRenderableCollection & getTransparents(void) const
Get the collection of transparent objects currently queued.
Definition: OgreRenderQueueSortingGrouping.h:303
Interface definition for factories of GpuProgram.
Definition: OgreGpuProgramManager.h:49
@ ID_SHADOW
Definition: OgreScriptCompiler.h:763
SubmissionType
Definition: OgreVulkanPrerequisites.h:89
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:267
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:1736
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)
Definition: OgreDefaultHardwareBufferManager.h:62
const GpuProgramPtr & getGpuProgram(GpuProgramType type) const
Get the shader GPU program.
@ ID_POINT_SIZE
Definition: OgreScriptCompiler.h:674
@ TAM_CLAMP
Values beyond 1.0 are clamped to 1.0.
Definition: OgreCommon.h:127
virtual const GpuProgramParametersPtr & getFixedFunctionParams(TrackVertexColourType tracking, FogMode fog)
Definition: OgreRenderSystem.h:290
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.
std::vector< VkFence > VkFenceArray
Definition: OgreVulkanQueue.h:39
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.
@ ID_ANIM_TEXTURE
Definition: OgreScriptCompiler.h:690
static OverlaySystem & getSingleton()
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:176
void blitToMemory(const Box &srcBox, const PixelBox &dst) override
Copies a region of this pixelbuffer to normal memory.
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.
ColliderType
Definition: OgreBullet.h:28
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:53
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
@ ID_TRILINEAR
Definition: OgreScriptCompiler.h:703
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
HardwareBufferPtr createUniformBuffer(size_t sizeBytes, HardwareBufferUsage usage=HBU_CPU_TO_GPU, bool useShadowBuffer=false) override
Create uniform buffer.
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()
virtual void destroyAllLights(void)
Removes and destroys all lights in the scene.
VulkanHardwareBufferManager(VulkanDevice *device)
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
Edge(Vertex *destination)
Matrix3 mat3
Definition: OgreTinyRenderSystem.h:30
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.
void readData(size_t offset, size_t length, void *pDest) override
Reads data from the buffer and places it in the memory pointed to by pDest.
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
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.
unsigned int fsaa
Definition: OgreSceneManager.h:69
Specialized viewpoint from which an PCZone Scene can be rendered.
Definition: OgrePCZCamera.h:52
@ ID_COLOUR_OP
Definition: OgreScriptCompiler.h:711
AnyNumeric()
Definition: OgreAny.h:227
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.
virtual ~Visitor()
Virtual destructor needed as class has virtual methods.
Definition: OgreRenderable.h:329
Page * getParentPage() const
Definition: OgrePageContentCollection.h:67
ColourBlendState()
Definition: OgreBlendMode.h:293
Vector3 mC1
Definition: OgreVolumeDualGridGenerator.h:51
String vkResultToString(VkResult result)
@ CE_STRINGEXPECTED
Definition: OgreScriptCompiler.h:194
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)
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
VkPhysicalDeviceProperties mDeviceProperties
Definition: OgreVulkanDevice.h:65
InstanceBatchHW(InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap, const String &batchName)
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:186
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
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const override
Maps a magic number header to a file extension, if this codec recognises it.
Real getSquaredViewDepth(const Camera *) const override
Returns the squared distance between the camera and this renderable.
Definition: OgreShadowCaster.h:79
void reserve(size_t t)
Definition: OgreCommon.h:479
void setLightMask(uint32 mask)
Sets the light mask which can be matched to specific light flags to be handled by this pass.
Definition: OgrePass.h:1090
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).
@ LBX_ADD
add source1 and source2 together
Definition: OgreBlendMode.h:87
static T & getSingleton(void)
Get the singleton instance.
Definition: OgreSingleton.h:102
static PropertyType getTypeForValue(const Real &val)
Definition: OgreProperty.h:163
VertexDeclaration * clone(HardwareBufferManagerBase *mgr=0) const
Clones this declaration.
virtual ~D3D11RenderToVertexBuffer(void)
const std::vector< Particle * > & _getActiveParticles()
Returns all active particles in this system.
Definition: OgreParticleSystem.h:275
Ogre::FloatRect const * getTextureCoords(uint16 *oNumCoords)
@ GPV_LIGHTS
Varies with light setup.
Definition: OgreGpuProgramParams.h:131
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:111
Vector3 normal
Definition: OgreLodData.h:103
SubMeshLodGeometryLink * geometry
Definition: OgreStaticGeometry.h:174
@ ID_SYNTAX
Definition: OgreScriptCompiler.h:583
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:1297
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:577
static Ogre::String getDefaultMediaDir()
the directory where the media files were installed
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:59
ResourceHandle getHandle(void) const
Definition: OgreResource.h:312
@ PF_ATC_RGB
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:244
std::map< ushort, ushort > BindingIndexMap
Definition: OgreHardwareVertexBuffer.h:526
void initializeCache()
See GLStateCacheManager.initializeCache.
@ ID_ONE_MINUS_DEST_COLOUR
Definition: OgreScriptCompiler.h:608
Definition: OgreQuake3Types.h:236
virtual bool requiresTextureFlipping() const
Definition: OgreMetalRenderTexture.h:54
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)
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
void performLoadActions()
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
Degree operator/(float f) const
Definition: OgreMath.h:139
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere surrounding this mesh.
TRect< int32 > Rect
Structure used to define a rectangle in a 2-D integer space.
Definition: OgreCommon.h:718
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:245
A class that represents function invocation code from shader based program function.
Definition: OgreShaderFunctionAtom.h:233
friend bool getValue(const AbstractNodePtr &node, T &result)
Entity * getOctreeGrid(SceneManager *sceneManager)
Getter for the octree debug visualization of the octree starting with this node.
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:81
virtual GLPBuffer * createPBuffer(PixelComponentType format, size_t width, size_t height)
Definition: OgreGLNativeSupport.h:75
virtual bool hasManualBones(void) const
Are there any manually controlled bones?
Definition: OgreSkeleton.h:370
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.
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreD3D11RenderWindow.h:125
@ PF_SHORT_RGBA
64-bit pixel format, 16 bits for red, green, blue and alpha
Definition: OgrePixelFormat.h:121
const Plane & getReflectionPlane(void) const
Returns the reflection plane of the frustum if appropriate.
Definition: OgreFrustum.h:534
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:577
void writeComment(unsigned short level, const String &comment, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:342
virtual void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
Definition: OgreHardwareBuffer.h:212
CompositorChain * activeChain
Definition: OgreSceneManager.h:1018
FreeImageCodec(const String &type, unsigned int fiType)
@ MESH_VERSION_1_4
OGRE version v1.4+.
Definition: OgreMeshSerializer.h:54
VulkanDevice * mOwnerDevice
Definition: OgreVulkanQueue.h:83
Base class interface for shader program writers.
Definition: OgreShaderProgramWriter.h:52
virtual ~APKFileSystemArchiveFactory()
Definition: OgreFileSystem.h:77
Real getLoadingOrder(void) const
Gets the loading order for scripts of this type.
@ ID_PASS
Definition: OgreScriptCompiler.h:563
void ToAngleAxis(Radian &rfAngle, Vector3 &rkAxis) const
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:214
Real calculate(Real source)
@ ACT_INVERSE_VIEWPORT_WIDTH
This variable represents 1.0/ViewportWidth.
Definition: OgreGpuProgramParams.h:1018
virtual void setWindowGrab(NativeWindowType *win, bool grab=true)
When input is grabbed the mouse is confined to the window.
Definition: OgreApplicationContextBase.h:180
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:1157
Definition: OgreVulkanMappings.h:43
void setElapsedTime(Real elapsedTime)
Set the elapsed time.
@ SPC_POSITION_LIGHT_SPACE5
Definition: OgreShaderParameter.h:103
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
const AxisAlignedBox & getBoundingBox(void) const override
Retrieves the local axis-aligned bounding box for this object.
Definition: OgreBillboardSet.h:529
void setQueryFlags(uint32 flags)
Set the query flags for this terrain.
Definition: OgreTerrain.h:1335
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:181
Resource holding data about a dynamic library.
Definition: OgreDynLib.h:62
Default implementation of RaySceneQuery.
Definition: OgreSceneManager.h:3444
std::vector< QueuedSubMesh * > QueuedSubMeshList
Definition: OgreStaticGeometry.h:170
void setNamedConstant(const String &name, const ColourValue &colour)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ ID_ZERO
Definition: OgreScriptCompiler.h:605
Factory for GL ES 2 Frame Buffer Objects, and related things.
Definition: OgreGLES2FBORenderTexture.h:74
ApplicationContextBase ApplicationContext
Definition: OgreApplicationContext.h:102
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)
void unsetAllBindings(void)
Removes all the bindings.
int getPassNumber(void) const
ControllerValue wrapper class for AnimationState.
Definition: OgreAnimationState.h:290
collects together all the vertex-related information used to render geometry.
Definition: OgreVertexIndexData.h:60
@ PF_SHORT_L
Definition: OgrePixelFormat.h:63
int addPortalCullingPlanes(PortalBase *portal)
Calculate culling planes from portal and Frustum origin and add to list of culling planes.
GLDepthBufferCommon(uint16 poolId, GLRenderSystemCommon *renderSystem, GLContext *creatorContext, GLHardwarePixelBufferCommon *depth, GLHardwarePixelBufferCommon *stencil, const RenderTarget *target, bool isManual)
uint8_t uint8
Definition: OgrePlatform.h:272
@ BIND_ORIGINAL
Definition: OgreEntity.h:753
void setRenderQueueGroup(uint8 queueID)
Sets which render queue group this renderer should target with it's output.
Definition: OgreBillboardParticleRenderer.h:131
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D9GpuProgram.h:70
virtual void preUpdateSceneGraph(SceneManager *source, Camera *camera)
Called prior to updating the scene graph in this SceneManager.
Definition: OgreSceneManager.h:331
bool isBlendWeightsGpuRedundant() const
Returns whether blend weights information needs to be passed to the GPU see setBlendWeightsGpuRedunda...
Definition: OgreRoot.h:919
Real getPowerScale(void) const
Returns 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:191
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:149
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.
TinyHardwarePixelBuffer(const PixelBox &data, Usage usage)
Should be called by HardwareBufferManager.
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.
void uninstallPlugin(Plugin *plugin)
Uninstall an existing plugin.
@ ACDT_INT
the auto constant requires data of type int
Definition: OgreGpuProgramParams.h:1169
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:74
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:522
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()
bool getCameraRelativeRendering() const
Get whether to use camera-relative coordinates when rendering, ie to always place the camera at the o...
Definition: OgreSceneManager.h:1208
std::vector< DualCell > VecDualCell
To hold dual cells.
Definition: OgreVolumeDualGridGenerator.h:66
MapIterator< ResourceHandleMap > ResourceMapIterator
Definition: OgreResourceManager.h:486
uchar * getTopLeftFrontPixelPtr() const
Return a data pointer pointing to top left front pixel of the pixel box.
void setDepthWriteEnabled(bool enabled)
Sets whether or not each Pass renders with depth-buffer writing on or not.
static float DegreesToRadians(float degrees)
Definition: OgreMath.h:512
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:255
A class that represents a shader based program.
Definition: OgreShaderProgram.h:49
@ RSC_VERTEX_FORMAT_INT_10_10_10_2
Supports VET_INT_10_10_10_2_NORM.
Definition: OgreRenderSystemCapabilities.h:174
const Quaternion & getOrientation() const
Retrieve the orientation.
Definition: OgreInstancedEntity.h:238
@ FFP_FOG
Definition: OgreShaderFFPRenderState.h:75
@ ID_LOD_DISTANCES
Definition: OgreScriptCompiler.h:577
const ColourValue & getAmbientLight(void) const
Returns the ambient light level to be used for the scene.
void _setSampler(size_t texUnit, Sampler &s) override
set the sampler settings for the given texture unit
@ RSC_TESSELLATION_HULL_PROGRAM
Supports hardware tessellation hull programs.
Definition: OgreRenderSystemCapabilities.h:172
void setHidden(bool hidden)
Hide (or show) the window.
Factory class for GLSL ES programs.
Definition: OgreGLSLESProgram.h:116
std::map< String, String > BinaryOptionList
Definition: OgreCommon.h:595
SubRenderStateList::iterator SubRenderStateListIterator
Definition: OgreShaderSubRenderState.h:161
void setLeft(Real left)
Sets the left of this element in relation to the current GuiMetricsMode.
ConstVectorIterator< ChildNodeMap > ConstChildNodeIterator
Definition: OgreNode.h:73
void setEmissive(float red, float green, float blue)
Sets the amount of self-illumination an object has.
Definition: OgrePass.h:380
@ D3D_FUSAGE_MAG
mag filter
Definition: OgreD3D9Mappings.h:63
void doSet(void *target, const String &val)
Definition: OgreStringInterface.h:96
Vector3 mOrigin
Definition: OgreSegment.h:71
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:273
void unloadingComplete(Resource *prog)
Called whenever the resource has been unloaded.
Definition: OgreGLTextureCommon.h:40
VkDevice mDevice
Definition: OgreVulkanDevice.h:53
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...
uint32 mQueueIdx
Definition: OgreVulkanQueue.h:78
virtual ~RenderQueueListener()
Definition: OgreRenderQueueListener.h:59
const ResourceManagerMap & getResourceManagers() const
Get the registered resource managers.
Definition: OgreResourceGroupManager.h:859
void resourceGroupLoadStarted(const Ogre::String &groupName, size_t resourceCount)
This event is fired when a resource group begins loading.
Definition: OgreTrays.h:1103
bool hasFragmentProgram(void) const
Returns true if this pass uses a programmable fragment pipeline.
Definition: OgrePass.h:1182
Vector< 4, uchar > vec4b
Definition: OgreTinyRenderSystem.h:28
Factory object for creating AntiPortal instances.
Definition: OgreAntiPortal.h:50
void setIdentifier(uint32 id)
Set an identifier for this pass.
TextureUnitState(Pass *parent)
Default constructor.
@ PF_R32G32_UINT
64-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int).
Definition: OgrePixelFormat.h:169
static IDirect3DDevice9 * getActiveD3D9DeviceIfExists()
@ TU_STATIC
same as HBU_GPU_TO_CPU
Definition: OgreTexture.h:51
HardwareSkinningFactory()
@ ID_ONLY_INITIAL
Definition: OgreScriptCompiler.h:792
void install()
Perform the plugin initial installation sequence.
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).
const PriorityMap & getPriorityGroups() const
Definition: OgreRenderQueueSortingGrouping.h:420
Octree implementation of SphereSceneQuery.
Definition: OgreOctreeSceneQuery.h:79
@ 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
@ ID_CLEAR
Definition: OgreScriptCompiler.h:798
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1525
D3D9GpuProgram D3D9GpuFragmentProgram
Definition: OgreD3D9GpuProgram.h:129
SceneManager * getSceneManager() const
Definition: OgreTerrain.h:509
virtual Real getBaseValue() const =0
Get the value of the first (highest) level of detail.
Affine3 & operator=(const Matrix3 &mat3)
Definition: OgreMatrix4.h:365
std::pair< MemoryDataStreamPtr, CodecDataPtr > DecodeResult
Result of a decoding; both a decoded data stream and CodecData metadata.
Definition: OgreImageCodec.h:102
ForceApplication
Choice of how to apply the force vector to particles.
Definition: OgreLinearForceAffector.h:75
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:3283
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:481
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...
Definition: OgreNode.h:363
virtual ~Viewport()
Default destructor.
Radian & operator=(const float &f)
Definition: OgreMath.h:66
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:182
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:53
void loadPlugin(const String &pluginName)
Manually load a Plugin contained in a DLL / DSO.
@ FB_FRONT
Definition: OgreRenderTarget.h:86
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D9RenderWindow.h:54
Definition: OgreAssimpLoader.h:145
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void setStencilCheckEnabled(bool enabled)
virtual T getValue(void) const =0
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...
void toTransformationMatrix(Affine3 &kTrans) const
Convert a dual quaternion to a 4x4 transformation matrix.
void setSpecular(const ColourValue &specular)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:344
void setBufferUsage(HardwareBuffer::Usage usage)
Use before defining geometry to indicate how you intend to update the geometry.
Definition: OgreManualObject.h:172
void setBillboardsInWorldSpace(bool ws)
Sets whether billboards should be treated as being in world space.
Definition: OgreBillboardSet.h:676
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:70
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
Definition: OgreRenderSystemCapabilities.h:208
void removeCompositor(Viewport *vp, const String &compositor)
Remove a compositor from a viewport.
bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreVulkanWindow.h:122
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
@ TL_NORMAL
Definition: OgreShaderExGBuffer.h:57
virtual Light * createLight(const String &name)
Creates a light for use in the scene.
void extractLightmaps(void) const
void setDiffuse(const ColourValue &diffuse)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:325
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:193
void destroyParticleSystem(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ 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.
float texCoord
U or V texture coord depending on options.
Definition: OgreBillboardChain.h:96
VulkanRenderPassDescriptor(VulkanQueue *graphicsQueue, VulkanRenderSystem *renderSystem)
Struct used to hold hardware morph / pose vertex data information.
Definition: OgreVertexIndexData.h:105
HardwareIndexBufferSharedPtr indexBuffer
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true.
Definition: OgreVertexIndexData.h:270
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.
Definition: OgrePass.h:764
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:271
@ _DETAIL_SWAP_RB
Definition: OgreHardwareVertexBuffer.h:135
Real getSquaredViewDepth(const Camera *cam) const
Overridden from Renderable.
Definition: OgreOverlayElement.h:447
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer) override
Copy data from another buffer into this one.
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.
iterator erase(iterator S, iterator E)
Definition: OgreSmallVector.h:429
@ ID_BILINEAR
Definition: OgreScriptCompiler.h:702
id< MTLTexture > getTextureForSampling(MetalRenderSystem *renderSystem)
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:292
Vector3 convertPosition(Space inSpace, const Vector3 &inPos, Space outSpace) const
Convert a position from one space to another with respect to this terrain.
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:1536
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.
const Instances & getCompositorInstances() const
The compositor instances.
Definition: OgreCompositorChain.h:107
const String & getReferencedCompositorName() const
Gets the name of the compositor that this texture references.
Definition: OgreTextureUnitState.h:1014
Definition: OgreException.h:223
@ SPC_LIGHTPOSITION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:219
double * getDoublePointer(size_t pos)
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:516
static const String CustomAttributeString_GLCONTEXT
Definition: OgreGLRenderTexture.h:117
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)
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.
Abstract factory interface for creating SubRenderState implementation instances.
Definition: OgreShaderSubRenderState.h:231
const HardwareBufferPtr & getDefaultBuffer() const
Definition: OgreGLSLShader.h:55
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:58
void setNamedConstant(const String &name, const double *val, uint32 count)
void removeInputListener(InputListener *lis)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreApplicationContextBase.h:257
Specialized version of Ogre::Light which caches which zones the light affects.
Definition: OgrePCZLight.h:51
virtual void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreRenderWindow.h:165
static String DEFAULT_SCHEME_NAME
same as MSN_DEFAULT
Definition: OgreMaterialManager.h:157
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
Create an instance of the SubRenderState based on script properties.
Definition: OgreShaderSubRenderState.h:267
void resourceLoadStarted(const Ogre::ResourcePtr &resource)
This event is fired when a declared resource is about to be loaded.
Definition: OgreTrays.h:1110
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:319
Common subclass of DataStream for handling data from C-style file handles.
Definition: OgreDataStream.h:499
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
Definition: OgreOctreeZone.h:61
String skeletonName
Definition: OgreSkeleton.h:475
@ CMPF_EQUAL
Write if (new_Z == existing_Z)
Definition: OgreCommon.h:67
@ 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
EmbeddedZipArchiveFactory()
Real calculate(Real source)
void _removeChild(const String &name)
void setNamedAutoConstant(const String &name, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreGpuProgramParams.h:1635
void uninstall()
Perform the final plugin uninstallation sequence.
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.
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.
@ IM_VTFBESTFIT
The num.
Definition: OgreCommon.h:357
Image & flipAroundX()
Flips (mirrors) the image around the X-axis.
Represents a Direct3D rendering resource.
Definition: OgreD3D9Resource.h:41
void setTexcoordRect(float u0, float v0, float u1, float v1)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreBillboard.h:200
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:184
bool hasOwnDimensions(void) const
Returns true if this billboard deviates from the BillboardSet's default dimensions (i....
Definition: OgreBillboard.h:157
float getPointAttenuationConstant(void) const
Returns the constant coefficient of point attenuation.
Definition: OgrePass.h:507
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:63
virtual const Plane * getFrustumPlanes(void) const
Retrieves the clipping planes of the frustum (world space).
Quaternion operator*(float s) const
Definition: OgreQuaternion.h:186
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.
uint32 _getCombinedVisibilityMask(void) const
Internal method for getting the combination between the global visibility mask and the per-viewport v...
std::map< int, MaterialPtr > QuadMaterialMap
Definition: OgreDeprecated.h:29
Real _deriveShadowFarClipDistance() const
Derive a shadow camera far distance.
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.
IntersectionSceneQuery(SceneManager *mgr)
size_t numAttachedObjects(void) const
Reports the number of objects attached to this node.
Definition: OgreSceneNode.h:138
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.
bool removeAllShaderBasedTechniques(const Material &mat)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderGenerator.h:306
SceneManager * getSceneManager() const
void registerPCZoneFactory(PCZoneFactory *factory)
bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreGLWindow.h:44
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:255
VulkanProgramFactory(VulkanDevice *device)
void addFrameTextureName(const String &name)
Add a Texture name to the end of the frame container.
bool operator!=(const ColourValue &rhs) const
Definition: OgreColourValue.h:82
uint * getUnsignedIntPointer(size_t pos)
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:1529
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:702
@ MATERIAL
Definition: OgreScriptCompiler.h:475
const String & getType(void) const
Get the type of the object to be created.
Ogre::OverlayContainer * getTrayContainer(TrayLocation trayLoc)
Definition: OgreTrays.h:771
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:1162
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:1026
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...
void setSortingEnabled(bool sortenable)
Enables sorting for this BillboardSet.
Definition: OgreBillboardSet.h:385
ImportData & operator=(const ImportData &rhs)
Definition: OgreTerrain.h:433
@ ID_SCENE_BLEND
Definition: OgreScriptCompiler.h:602
@ 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:648
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:187
VkSemaphore getImageAcquiredSemaphore(void)
Returns null if getImageAcquiredSemaphore has already been called during this frame.
static const uint16 TERRAINDERIVEDDATA_CHUNK_VERSION
Definition: OgreTerrain.h:287
void disableCustomNearClipPlane(void)
Disables any custom near clip plane.
~DefaultHardwareBufferManager()
Definition: OgreDefaultHardwareBufferManager.h:110
@ ACT_LIGHT_DIFFUSE_COLOUR_ARRAY
Array of light diffuse colours (count set by extra param)
Definition: OgreGpuProgramParams.h:819
virtual const String & getMaterialName(void) const
Get the material name in use.
Definition: OgreBillboardChain.h:252
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.
SharedPtr< HardwareIndexBuffer > HardwareIndexBufferPtr
Definition: OgrePrerequisites.h:281
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.
Ogre::SharedPtr< unsigned char > indexBuffer
size of the index buffer in bytes
Definition: OgreLodBuffer.h:50
@ GPU_APPLE
Apple Software Renderer.
Definition: OgreRenderSystemCapabilities.h:237
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
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:231
void setShadingType(ShadeOptions so)
Sets the type of light shading required (default = Gouraud).
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
value packed as PF_R8G8B8A8
void doSet(void *target, const String &val)
SharedPtr(Y *ptr, Deleter d)
Definition: OgreSharedPtr.h:60
@ ID_END_BUILTIN_IDS
Definition: OgreScriptCompiler.h:854
void close(void)
Close the stream; this makes further operations invalid.
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
virtual bool hasViewportWithZOrder(int ZOrder)
Returns true if and only if a viewport exists at the given Z-order.
static LodWorkQueueWorker * getSingletonPtr()
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
String doGet(const void *target) const
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
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: OgreDeprecated.h:62
In(float f)
Definition: OgreShaderFunctionAtom.h:161
D3D9RenderWindow * getRenderWindow(uint index)
@ IM_FORCEONEWEIGHT
All techniques are forced to one weight per vertex.
Definition: OgreCommon.h:369
void _render(const RenderOperation &op)
Render something to the active viewport.
uint32 height
Definition: OgreGLNativeSupport.h:44
@ RENDER_QUEUE_8
Definition: OgreRenderQueue.h:68
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:177
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
void bindGLVertexArray(GLuint vao)
Bind an OpenGL Vertex array object.
static const uint16 CHUNK_VERSION
Definition: OgrePageContentCollection.h:61
void setAdapterOrdinalIndex(D3D9RenderWindow *renderWindow, uint adapterOrdinalInGroupIndex)
void addSubRenderStateInstance(SubRenderState *subRenderState) const
Add SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:180
AutoConstantType acType
Definition: OgreGpuProgramParams.h:1187
size_t registerCount
Number of register type params (samplers)
Definition: OgreGpuProgramParams.h:316
virtual void _notifyCurrentCamera(Camera *cam)
Internal method to notify the object of the camera to be used for the next rendering operation.
@ ID_LIGHT_SCISSOR
Definition: OgreScriptCompiler.h:635
const Affine3 & getWorldMatrix(void) const
SharedPtr< Resource > ResourcePtr
Definition: OgrePrerequisites.h:289
void setRandomness(Real force)
The amount of randomness to introduce in each axial direction.
Definition: OgreQuake3Types.h:170
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:73
@ ACT_DERIVED_AMBIENT_LIGHT_COLOUR
The derived ambient light colour, with 'r', 'g', 'b' components filled with product of surface ambien...
Definition: OgreGpuProgramParams.h:862
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:100
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:115
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
IDirect3DCubeTexture9 * getCubeTexture()
retrieves a pointer to the cube texture
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Definition: OgreAnimationState.h:42
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.
void setAutoConstant(size_t index, AutoConstantType acType, uint32 extraInfo=0)
Sets up a constant which will automatically be updated by the system.
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
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.
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:242
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:131
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.
static VkPolygonMode get(PolygonMode polygonMode)
TechniqueType
Definition: OgreTerrainMaterialGeneratorA.h:49
virtual float getDisplayDPI() const
get the vertical DPI of the display
Definition: OgreApplicationContextBase.h:183
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:204
IndexType getType(void) const
Get the type of indexes used in this buffer.
Definition: OgreHardwareIndexBuffer.h:69
void getHSB(float *hue, float *saturation, float *brightness) const
Definition: OgreColourValue.h:333
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
SettingsIterator getSettingsIterator(const String §ion=BLANKSTRING)
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
SceneType
Definition: OgreDeprecated.h:87
@ ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED
Light specular colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:817
Plugin instance for GL Manager.
Definition: OgreGLPlugin.h:40
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:350
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)
void destroyEntity(MovableObject *ent)
Removes & destroys an Entity from the SceneManager.
Definition: OgreSceneManager.h:1490
shared_ptr< GLES2Texture > GLES2TexturePtr
Definition: OgreGLES2Prerequisites.h:79
void setParamValue(const Ogre::DisplayString ¶mName, const Ogre::DisplayString ¶mValue)
LodStrategy * getDefaultStrategy()
Get the current default strategy.
UserObjectBindings & getUserObjectBindings()
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreMesh.h:948
virtual const String & getMovableType(void) const override
Returns the type name of this object.
void textureCoord(float u)
Add a texture coordinate to the current vertex.
Definition: OgreManualObject.h:277
NodeAnimationTrack(Animation *parent, unsigned short handle, Node *targetNode)
Constructor, associates with a Node.
int skyDomeYSegments_keep
Definition: OgreSceneManager.h:299
virtual void _initParticle(Particle *pParticle)
Initialises a particle based on the emitter's approach and parameters.
Definition: OgreParticleEmitter.h:399
GL3PlusStateCacheManager * getStateCacheManager()
Define the interface to a factory class that will create subclasses of PageContent.
Definition: OgrePageContentFactory.h:51
static CgFxScriptLoader * getSingletonPtr(void)
Get the singleton instance.
This is technique requires true instancing hardware support.
Definition: OgreInstanceBatchHW.h:62
TerrainMaterialGeneratorPtr getDefaultMaterialGenerator()
Get the default material generator.
void setDebugDisplayEnabled(bool enabled, bool cascade=true) const
Tells all objects attached to this node whether to display their debug information or not.
static uint64 bswap64(uint64 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:82
static GLenum getGLOriginFormat(PixelFormat format)
Takes the OGRE pixel format and returns the appropriate GL one.
void setValue(Real value) override
Definition: OgrePredefinedControllers.h:67
Real getSquaredViewDepth(const Ogre::Camera *) const
Returns the squared distance between the camera and 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'.
aiMatrix4x4t< float > aiMatrix4x4
Definition: OgreAssimpLoader.h:50
Structure recording the use of an automatic parameter.
Definition: OgreGpuProgramParams.h:1207
@ SPC_LIGHTDIRECTION_TANGENT_SPACE4
Definition: OgreShaderParameter.h:206
@ SPC_LIGHTDIRECTION_WORLD_SPACE4
Definition: OgreShaderParameter.h:186
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?
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
@ ID_SHARED_PARAMS
Definition: OgreScriptCompiler.h:765
void execute(SceneQueryListener *listener) override
Executes the query and returns each match through a listener interface.
virtual unsigned short getNumAnimations(void) const =0
Gets the number of animations in this container.
static bool isSpecialization(GpuConstantType c)
Definition: OgreGpuProgramParams.h:185
@ GPU_VENDOR_COUNT
placeholder
Definition: OgreRenderSystemCapabilities.h:246
@ WFT_SINE
Standard sine wave which smoothly changes from low to high and back again.
Definition: OgreCommon.h:186
virtual ~OctreeNode(void)
Destructor.
Viewport * source
The source of the event being raised.
Definition: OgreRenderTargetListener.h:55
bool isInSceneGraph(void) const
Determines whether this node is in the scene graph, i.e.
Definition: OgreSceneNode.h:168
bool operator>(const Radian &r) const
Definition: OgreMath.h:95
Description of a sampler that will be used with each layer.
Definition: OgreTerrainMaterialGenerator.h:104
@ PROP_MATRIX3
Definition: OgreProperty.h:120
bool isLogoVisible()
Definition: OgreTrays.h:923
ControllerReal * controller
Definition: OgreTextureUnitState.h:323
void removeWidgetFromTray(const Ogre::String &name)
Definition: OgreTrays.h:1051
Real cost
Definition: OgreLodConfig.h:47
void initApp()
This function initializes the render system and resources.
@ Right
Definition: OgreTextAreaOverlayElement.h:50
uint16 numChildren(void) const
Reports the number of child nodes under this one.
Definition: OgreNode.h:463
virtual void pitch(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the X-axis.
Definition: OgreNode.h:405
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...
ushort getNumLodLevels(void) const
Returns the number of levels of detail that this mesh supports.
Definition: OgreMesh.h:489
RealStorageFormat
The storage format of Real values.
Definition: OgreStreamSerialiser.h:85
Matrix3()
Default constructor.
Definition: OgreMatrix3.h:75
@ ACT_INVERSE_WORLD_MATRIX
The current world matrix, inverted.
Definition: OgreGpuProgramParams.h:631
GLSurfaceDesc()
Definition: OgreGLRenderTexture.h:49
void log(Log *l)
Debugging method.
void insertVertex(const Vector3 &vdata)
Inserts a vertex at the end of the polygon.
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:469
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
void reposition(int left, int top)
Reposition the window.
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:245
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
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:268
void prepareImpl()
Internal implementation of the meat of the 'prepare' action, only called if this resource is not bein...
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
@ LML_TRIVIAL
Definition: OgreLog.h:61
_OgreBulletExport btSphereShape * createSphereCollider(const MovableObject *mo)
create sphere collider using ogre provided data
@ ID_LAST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:804
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.
ShadowRenderableFlags
A set of flags that can be used to influence ShadowRenderable creation.
Definition: OgreShadowCaster.h:111
void waitForDerivedProcesses()
virtual void endCurrent()=0
This is called before another context is made current.
static uint32 firstPO2From(uint32 n)
Returns the closest power-of-two number greater or equal to value.
Definition: OgreBitwise.h:146
void doSet(void *target, const String &val)
static const uint16 TERRAINLAYERSAMPLERELEMENT_CHUNK_VERSION
Definition: OgreTerrain.h:283
MaterialBucket(LODBucket *parent, const MaterialPtr &material)
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:135
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.
@ ID_TESSELLATION_HULL
Definition: OgreScriptCompiler.h:840
void setGeometryProgramConstantBoolCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:719
void doSet(void *target, const String &val)
RenderState * getRenderState(const String &schemeName)
Return a global render state associated with the given scheme name.
@ ACT_WORLD_SCALE_SHEAR_MATRIX_ARRAY_3x4
The scale and shear components of the current array of world matrices.
Definition: OgreGpuProgramParams.h:650
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
Definition: OgreDefaultHardwareBufferManager.h:131
VisibleObjectsBoundsInfo()
virtual void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Y-axis.
Definition: OgreNode.h:412
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: OgreDeprecated.h:72
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
BoxEmitter(ParticleSystem *psys)
virtual void _updateBounds(void)
Tells the SceneNode to update the world bound info it stores.
SharedPtr< PatchMesh > PatchMeshPtr
Definition: OgrePrerequisites.h:287
virtual ~GLRenderToVertexBuffer()
D'tor.
float getLightCount() const
PixelComponentType
Pixel component format.
Definition: OgrePixelFormat.h:332
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.
const ColourValue & getInitialColour(size_t chainIndex) const
Get the starting ribbon colour.
Definition: OgreRibbonTrail.h:132
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:414
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
@ RSC_TEXTURE_COMPRESSION_BC4_BC5
Supports compressed textures in BC4 and BC5 format (DirectX feature level 10_0)
Definition: OgreRenderSystemCapabilities.h:150
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.
ProgramWriter * getProgramWriter(const String &language) const
Definition: OgreShaderProgramWriterManager.h:95
BillboardSet * createBillboardSet(unsigned int poolSize=20)
Creates a new BillboardSet for use with this scene manager.
const ColourValue & getColourChange(size_t chainIndex) const
Get the per-second fading amount.
Definition: OgreRibbonTrail.h:163
String filename
The file's fully qualified name.
Definition: OgreArchive.h:55
void setUsed(bool used)
track whether this was used
Definition: OgreShaderParameter.h:375
virtual void setClearStencil(uint32 clearStencil)
VulkanDevice(VkInstance instance, uint32 deviceIdx, VulkanRenderSystem *renderSystem)
SceneQueryResultWorldFragmentList worldFragments
List of world fragments.
Definition: OgreSceneQuery.h:210
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
void _unregisterContext(GLContext *context)
Unregister a render target->context mapping.
const SPFMNone SPFM_NONE
Definition: OgreDeprecated.h:27
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)
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:558
~DefaultIntersectionSceneQuery()
@ RSC_SEPARATE_SHADER_OBJECTS
Support for Separate Shader Objects.
Definition: OgreRenderSystemCapabilities.h:193
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 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
Definition: OgreRenderSystemCapabilities.h:699
MapIterator< RegionMap > RegionIterator
Iterator for iterating over contained regions.
Definition: OgreStaticGeometry.h:712
virtual void _notifyParticleExpired(Particle *particle)
Optional callback notified when particle expired.
Definition: OgreParticleSystemRenderer.h:81
void _setDepthBufferCheckEnabled(bool enabled=true)
GL3PlusFBOMultiRenderTarget(GL3PlusFBOManager *manager, const String &name)
bool isLeafVisible(const BspNode *from, const BspNode *to) const
Determines if one leaf node is visible from another.
ContentType
Enum identifying the type of content this texture unit contains.
Definition: OgreTextureUnitState.h:490
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.
const TexturePtr & _getWarningTexture()
Internal method to create a warning texture (bound when a texture unit is blank)
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:62
Mesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by MeshManager.
Degree & operator*=(float f)
Definition: OgreMath.h:138
virtual const Vector3 & getPositionForViewUpdate(void) const
Get the derived position of this frustum.
virtual ~TinyTextureManager()
Vector3 normal
Definition: OgreLodData.h:117
Terrain automatic LOD loading.
Definition: OgreTerrainAutoUpdateLod.h:54
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.
void load(bool backgroundThread=false)
Loads the resource, if it is not already.
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:85
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
Get the squared distance between the camera and the LOD object.
Radian operator*(float f) const
Definition: OgreMath.h:84
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:75
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
Definition: OgreRenderSystemCapabilities.h:694
const MicroCode & getMicroCode(void) const
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:120
bool operator!=(const Degree &d) const
Definition: OgreMath.h:145
virtual void setAdjacencyInfoRequired(bool r)
Definition: OgreGpuProgram.h:260
const FunctionAtomInstanceList & getAtomInstances()
Return list of atom instances composing this function.
static String eventType
Definition: OgreScriptCompiler.h:463
void doSet(void *target, const String &val)
void setLodBias(float bias)
Set the scene LOD bias used by this pass.
@ CNT_VARIABLE
Definition: OgreScriptCompiler.h:51
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:143
void _renderScene(Camera *cam, Viewport *vp, bool includeOverlays)
Overridden from basic scene manager.
bool isBool() const
Definition: OgreGpuProgramParams.h:178
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:183
unsigned int getDisplayMonitorCount() const
void _initParticle(Particle *pParticle)
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 _initParticle(Particle *pParticle) override
Initialises a particle based on the emitter's approach and parameters.
void licenseExpired(HardwareBuffer *buffer)
Overridden member from HardwareBufferLicensee.
Singleton Class which handles the registering and control of texture plugins.
Definition: OgreExternalTextureSourceManager.h:63
Real deformParams[5]
Definition: OgreQuake3Shader.h:114
void setScope(Real force)
The percentage of particles affected in each run of the affector.
void _notifyCurrentCamera(Camera *cam)
Delegated to by ParticleSystem::_notifyCurrentCamera.
Definition: OgreBillboardParticleRenderer.h:117
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:143
HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer *delegate)
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).
SceneQuery::WorldFragment * worldFragment
The world fragment, or NULL if this is not a fragment result.
Definition: OgreSceneQuery.h:349
void setCullFace(GLenum face)
Sets the face culling setting.
void frameRendered(const Ogre::FrameEvent &evt)
IndexBufferPointer buf
Definition: OgreLodData.h:144
CompositorInstance * getCompositor(size_t index) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreCompositorChain.h:96
const TexturePtr & getCompositeMap() const
Get access to the composite map, if enabled (as requested by the material generator)
Definition: OgreTerrain.h:1067
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...
int alignCameraToFace
Definition: OgreCompositorInstance.h:170
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
size_t getSize(void) const
Gets the size of this element in bytes.
static GLSLLinkProgramManager * getSingletonPtr(void)
GpuLogicalIndexUse()
Definition: OgreGpuProgramParams.h:362
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.
This class allows users to hook into the mesh loading process and modify references within the mesh a...
Definition: OgreMeshSerializer.h:180
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.
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...
Definition: OgrePass.h:1196
static LodStrategyManager & getSingleton(void)
Get the singleton instance.
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:191
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:240
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
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 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:137
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:84
static VkFormat get(PixelFormatGpu pf)
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:50
const SkyDomeGenParameters & getSkyDomeGenParameters(void) const
Get the parameters used to generate the current SkyDome, if any.
Definition: OgreSceneManager.h:2126
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:197
ResourceBackgroundQueue()
Resource holding data about 3D mesh.
Definition: OgreMesh.h:89
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...
unsigned short getLightCountPerIteration(void) const
If light iteration is enabled, determine the number of lights per iteration.
Definition: OgrePass.h:1160
Specialisation of HardwareBuffer for emulation.
Definition: OgreDefaultHardwareBufferManager.h:47
Struct containing information about a RenderTarget event.
Definition: OgreRenderTargetListener.h:45
static uint32 getDefaultVisibilityFlags()
Get the default visibility flags for all future MovableObject instances.
Definition: OgreMovableObject.h:441
@ ACT_PROJECTION_MATRIX
The current projection matrix.
Definition: OgreGpuProgramParams.h:666
const Affine3 * _getBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:585
DualQuaternion(Real *valptr)
Construct a dual quaternion from 8 manual w/x/y/z/dw/dx/dy/dz values.
Definition: OgreDualQuaternion.h:76
@ IS_DECAL
Post-lighting rendering.
Definition: OgrePass.h:55
bool has_value() const
Definition: OgreAny.h:106
AnimableValue(ValueType t)
Definition: OgreAnimable.h:142
void setWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Specialised from SceneManager to support Quake3 bsp files.
Options()
Definition: OgreAssimpLoader.h:89
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 scale(const Vector3 &s)
Scales the AABB by the vector given.
Definition: OgreAxisAlignedBox.h:614
void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const override
void setZoneData(PCZone *zone, ZoneData *zoneData)
float dist
Definition: OgreQuake3Types.h:150
NameValuePairList miscParams
Definition: OgreCommon.h:835
@ ANT_PROPERTY
Definition: OgreScriptCompiler.h:81
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:72
virtual void prepareResource(Resource *resource)
Called when a resource wishes to prepare instead of Resource::prepareImpl.
Definition: OgreResource.h:487
Quaternion operator-() const
Definition: OgreQuaternion.h:194
CameraIterator getCameraIterator(void)
Returns a specialised MapIterator over all cameras in the scene.
Definition: OgreSceneManager.h:1213
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.
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.
@ ID_MASK
Definition: OgreScriptCompiler.h:819
static const uint32 CHUNK_CONTENTCOLLECTION_DECLARATION_ID
Definition: OgrePage.h:94
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:275
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:1131
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:76
virtual void detachDepthBuffer()
Terrain(SceneManager *sm)
Constructor.
::std::hash< String > _StringHash
Definition: OgreString.h:185
Texture TextureGpu
Definition: OgreVulkanPrerequisites.h:81
Real worldSize
The world size of the texture to be applied in this layer.
Definition: OgreTerrain.h:300
virtual size_t getMaxChainElements(void) const
Get the maximum number of chain elements per chain.
Definition: OgreBillboardChain.h:121
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.
Definition: OgreVulkanTextureGpu.h:64
void removePass(unsigned short index)
Removes the Pass with the given index.
@ PFF_HASALPHA
This format has an alpha channel.
Definition: OgrePixelFormat.h:312
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
Archive * createInstance(const String &name, bool readOnly) override
Creates a new object.
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:176
void _setTextureAddressingMode(size_t stage, const Sampler::UVWAddressingMode &uvw)
FrameBufferType
Defines the frame buffer types.
Definition: OgreCommon.h:326
VectorBase()
Definition: OgreVector.h:268
Definition: OgreInput.h:79
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:349
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.
@ ACT_SHADOW_SCENE_DEPTH_RANGE
Provides information about the depth range of the scene as viewed from a given shadow camera.
Definition: OgreGpuProgramParams.h:1103
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, unsigned short stencil=0)
void setSelfIllumination(float red, float green, float blue)
Sets the amount of self-illumination of every Pass in every Technique.
void _initParticle(Particle *pParticle) override
Method called to allow the affector to initialize all newly created particles in the system.
SharedPtr< Compositor > CompositorPtr
Definition: OgrePrerequisites.h:273
void setParameters(const GpuProgramParametersSharedPtr ¶ms)
Sets the program parameters that should be used; because parameters can be shared between multiple us...
virtual void updateGpuProgramsParams(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
ushort getGeometryProgramConstantBoolCount(void) const
Definition: OgreRenderSystemCapabilities.h:689
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
void textureCoord(float u, float v, float w)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:304
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.
WireBoundingBox * getWireBoundingBox()
Creates the wire frame bounding box for this octant.
@ RSC_USER_CLIP_PLANES
Supports user clipping planes.
Definition: OgreRenderSystemCapabilities.h:109
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.
btRigidBody * addRigidBody(float mass, Entity *ent, ColliderType ct, CollisionListener *listener=nullptr, int group=1, int mask=-1)
SharedPtr< BspLevel > BspLevelPtr
Definition: OgreBspLevel.h:260
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:398
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
int skyDomeXSegments
Definition: OgreSceneManager.h:297
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
@ ID_GREATER_EQUAL
Definition: OgreScriptCompiler.h:631
Definition: OgreInput.h:58
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:40
SceneNode * createSceneNodeImpl(const String &name)
Creates a specialized BspSceneNode.
uint32 mSupportedStages
Definition: OgreVulkanDevice.h:72
const String & getTextureNameAlias(void) const
Definition: OgreTextureUnitState.h:1051
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/height)
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:54
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:178
void setBoundsPaddingFactor(Real paddingFactor)
Sets the factor by which the bounding box of an entity is padded.
Specialisation of VertexDeclaration for D3D9.
Definition: OgreD3D9VertexDeclaration.h:39
void _setDepthBias(float constantBias, float slopeScaleBias=0.0f) override
Sets the depth bias, NB you should use the Material version of this.
void setColourWriteEnabled(bool enabled)
Sets whether or not colour buffer writing is enabled for each Pass.
@ BIND_SOFTWARE_MORPH
Definition: OgreEntity.h:755
bool requiresTextureFlipping() const
Definition: OgreD3D11RenderWindow.h:73
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
void setScissorTest(bool enabled, const Rect &rect=Rect())
Sets the 'scissor region' i.e.
const String & getName()
Get the name of this shared parameter set.
Definition: OgreGpuProgramParams.h:429
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:210
This emitter emits particles from a single point, which is it’s position.
Definition: OgrePointEmitter.h:49
VkSemaphore getImageAcquiredSemaphore(void)
Returns null if getImageAcquiredSemaphore has already been called during this frame.
virtual void setRenderOperation(const RenderOperation &rend)
MapIterator< ZoneMap > ZoneIterator
ZoneMap iterator for read-only access to the zonemap.
Definition: OgrePCZSceneManager.h:310
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
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)
@ ID_ALPHA
Definition: OgreScriptCompiler.h:688
void _render(const RenderOperation &op)
Render something to the active viewport.
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
bool hasBillboardSet(const String &name) const
Returns whether a billboardset with the given name exists.
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:357
PagedWorldSection * createSection(SceneManager *sceneMgr, const String &typeName, const String §ionName=BLANKSTRING)
Create a new section of the world based on a specialised type.
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:110
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:335
void setGLMapBufferThreshold(const size_t value)
void suppressHardwareUpdate(bool suppress)
Pass true to suppress hardware upload of shadow buffer changes.
Definition: OgreHardwareBuffer.h:377
unsigned long getDirtyFrameNumber(void) const
Get the latest animation state been altered frame number.
Definition: OgreAnimationState.h:253
const ColourValue & getShadowColour(void) const
Get the colour used to modulate areas in shadow.
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...
Definition: OgreNode.h:261
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
bool intersects(const AxisAlignedBox &aab)
Check if portal intersects an aab.
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)
ControllerReal * createFrameTimePassthroughController(const ControllerValueRealPtr &dest)
Creates a new controller use frame time source and passthrough controller function.
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:313
virtual void reposition(int32 leftPt, int32 topPt)
Definition: OgreVulkanWindow.h:117
void setSource(const String &source)
Sets the source of the font.
@ Transfer
Definition: OgreVulkanQueue.h:49
void _setCompositeMapRequired(bool compositeMap)
Request a terrain-wide composite map.
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:111
StencilOperation depthFailOp
The action to perform when the stencil check passes, but the depth buffer check fails.
Definition: OgreRenderSystem.h:116
const GpuProgramPtr & getProgram() const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:123
#define _OgreD3D9Export
Definition: OgreD3D9Prerequisites.h:112
void notifyResourceCreated(D3D11DeviceResource *deviceResource)
const GpuProgramPtr & getTessellationDomainProgram(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1202
void _destroyAffector(ParticleAffector *affector)
Internal method for destroying an affector.
Billboard * createBillboard(Real x, Real y, Real z, const ColourValue &colour=ColourValue::White)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreBillboardSet.h:350
PixelCountLodStrategyBase(const String &name)
Default constructor.
#define _OgreVulkanExport
Definition: OgreVulkanPrerequisites.h:139
virtual Real getMinimumDepthInputValue(void)=0
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
size_t getOffsetFromChunkStart() const
Get the current byte position relative to the start of the data section of the last chunk that was re...
@ ID_TEX_ADDRESS_MODE
Definition: OgreScriptCompiler.h:695
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:52
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.
virtual DataStreamPtr resourceLoading(const String &name, const String &group, Resource *resource)
This event is called when a resource beings loading.
Definition: OgreResourceGroupManager.h:203
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:102
D3D9HLSLProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
@ PF_BC7_UNORM
DDS (DirectDraw Surface) BC7 format (unsigned normalised)
Definition: OgrePixelFormat.h:213
void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
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:784
SharedPtr< HardwarePixelBuffer > HardwarePixelBufferPtr
Definition: OgrePrerequisites.h:282
MultiheadUseType getMultiheadUse() const
Returns how multihead should be activated.
Definition: OgreD3D9RenderSystem.h:375
void unload()
Unload the library.
@ ID_TESSELLATION_DOMAIN_PROGRAM
Definition: OgreScriptCompiler.h:833
bool load(const String &source, Mesh *mesh, SkeletonPtr &skeletonPtr, const Options &options=Options())
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:109
@ FBT_STENCIL
Definition: OgreCommon.h:329
@ RENDER_COMPOSITE_MAP
Definition: OgreTerrainMaterialGeneratorA.h:52
Source * src
The volume source.
Definition: OgreVolumeChunk.h:61
void assign(unsigned NumElts, const T &Elt)
Definition: OgreSmallVector.h:412
@ SPC_POSTOLIGHT_TANGENT_SPACE3
Definition: OgreShaderParameter.h:165
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 upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
virtual void write(const Vector4 *vec, size_t count=1)
@ GCT_DOUBLE4
Definition: OgreGpuProgramParams.h:100
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
@ ID_TEXTURE_SOURCE
Definition: OgreScriptCompiler.h:764
static PropertyType getTypeForValue(const unsigned long &val)
Definition: OgreProperty.h:162
static String getFileExtFromMagic(DataStreamPtr stream)
Static function to get an image type string from a stream via magic numbers.
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
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_SHARED_PARAMS_REF
Definition: OgreScriptCompiler.h:767
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:186
const StringVector & getProfiles(void) const
Gets the Cg profiles which can be supported by the program.
Definition: OgreGLSLESCgProgram.h:69
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:100
GLHardwarePixelBufferCommon * getStencilBuffer() const
Definition: OgreGLDepthBufferCommon.h:38
virtual void close(void)=0
Close the stream; this makes further operations invalid.
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
void destroy(void)
Destroys the window.
Definition: OgreTinyWindow.h:24
Vector3 mPosition
Definition: OgreBillboard.h:82
@ 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:352
static VertexElementType getColourVertexElementType(void)
Definition: OgreRenderSystem.h:766
@ RSC_DEPTH_CLAMP
Supports depth clamping.
Definition: OgreRenderSystemCapabilities.h:84
@ OGREPROF_ALL
All in-built Ogre profiling will match this mask.
Definition: OgreProfiler.h:84
std::vector< IlluminationPass * > IlluminationPassList
Definition: OgrePass.h:1574
BufferType
Definition: OgreD3D11HardwareBuffer.h:44
void unsetCapability(const Capabilities c)
Remove a capability flag.
Definition: OgreRenderSystemCapabilities.h:456
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11Texture.h:65
Represents the state of an animation and the weight of its influence.
Definition: OgreAnimationState.h:59
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:103
virtual ~GLFrameBufferObjectCommon()
Definition: OgreGLRenderTexture.h:57
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
ScreenRatioPixelCountLodStrategy()
Default constructor.
bool hasSky(void)
Definition: OgrePCZone.h:109
Real getSpaceWidth() const
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreGLWindow.h:46
Real getBoundingRadius(void) const override
Retrieves the radius of the origin-centered bounding sphere for this object.
Definition: OgreLight.h:317
@ CMPF_LESS
Write if (new_Z < existing_Z)
Definition: OgreCommon.h:65
void clearSpecialCaseRenderQueues(void)
Clears the 'special case' render queue list.
bool isSkyPlaneEnabled(void) const
Return whether a key plane is enabled.
Definition: OgreSceneManager.h:1973
PolygonMode getPolygonMode(void) const
Returns the type of light shading to be used.
Definition: OgrePass.h:900
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 void _sortBillboards(Camera *cam)
Sort the billboard set.
void setVertexBufferBinding(VertexBufferBinding *binding)
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
void swapBuffers()
Swaps the frame buffers to display the next frame.
std::list< PCZone * > ZoneList
Definition: OgrePCZLight.h:43
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 removeShadowTextureListener(ShadowTextureListener *s)
Remove a listener.
void setDepthCheckEnabled(bool enabled)
Sets whether or not this pass renders with depth-buffer checking on or not.
Definition: OgrePass.h:760
bool getKeepDeclarationOrder() const
Gets whether or not the declaration order is to be kept or not.
Definition: OgreManualObject.h:544
Manager for LOD strategies.
Definition: OgreLodStrategyManager.h:47
VulkanTextureGpuWindow * mTexture
Definition: OgreVulkanWindow.h:74
@ SHADER_NOCULL
Definition: OgreQuake3Types.h:86
virtual void addChildImpl(OverlayContainer *cont)
Add a nested container to this container.
int getHighestLodPrepared()
Definition: OgreTerrainLodManager.h:118
@ SPC_TEXTURE_COORDINATE3
Definition: OgreShaderParameter.h:296
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.
void loadResourceGroup(const String &name)
Loads a resource group.
virtual void setEnclosureNode(PCZSceneNode *)=0
Set the enclosure node for this PCZone.
StringInterface()
Definition: OgreStringInterface.h:188
void setNumVertexAttributes(ushort num)
Definition: OgreRenderSystemCapabilities.h:396
bool isMoved(void)
Definition: OgrePCZSceneNode.h:103
const GpuLogicalBufferStructPtr & getLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1506
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.
void createDummyScene()
Creates dummy scene to allow rendering GUI in viewport.
@ GPU_WEBKIT
WebGL on WebKit/Chrome base browser.
Definition: OgreRenderSystemCapabilities.h:244
~PCPlane()
Standard destructor.
IteratorType iterator
Typedef to fulfill container interface.
Definition: OgreIteratorWrapper.h:74
@ PROP_QUATERNION
Definition: OgreProperty.h:119
HardwareBuffer * pBuf
Definition: OgreHardwareBuffer.h:450
SubRenderStateFactory()
Definition: OgreShaderSubRenderState.h:234
bool hasGpuProgram(GpuProgramType programType) const
An object which renders geometry to a vertex.
Definition: OgreGLES2RenderToVertexBuffer.h:45
Vector3 position
Position at which the intersection occurred.
Definition: OgreTerrainGroup.h:398
virtual ~GpuProgramFactory()
Definition: OgreGpuProgramManager.h:51
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)
WireBoundingBox * mWireBoundingBox
Definition: OgreOctree.h:99
void setTextureCoordSet(unsigned int set)
Sets which texture coordinate set is to be used for this texture layer.
ACDataType
Defines the type of the extra data item used by the auto constant.
Definition: OgreGpuProgramParams.h:1165
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:96
@ VET_USHORT2
Definition: OgreHardwareVertexBuffer.h:143
virtual ~GLRenderSystemCommon()
Definition: OgreGLRenderSystemCommon.h:88
size_t skipLine(const String &delim="\n")
Skip a single line from the stream.
const GpuNamedConstants & getConstantDefinitions() override
Get the full list of GpuConstantDefinition instances.
Definition: OgreComPtr.h:185
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:51
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
MovableObject * getMovableObject(const String &name, const String &typeName) const
Get a reference to a previously created object instance.
void setPortal(PortalBase *o)
Sets the Portal that was used to create this plane.
Definition: OgrePCPlane.h:78
void setIterationDepthBias(float biasPerIteration)
Sets a factor which derives an additional depth bias from the number of times a pass is iterated.
Definition: OgrePass.h:829
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 height)
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.
static bool isPO2(T n)
Determines whether the number is power-of-two or not.
Definition: OgreBitwise.h:161
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.
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.
void setConfigPaths(const Ogre::StringVector &paths)
Definition: OgreFileSystemLayer.h:113
bool getAutoUpdate(void) const
Return the auto update state of this billboard set.
Definition: OgreBillboardSet.h:796
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:357
virtual ~VulkanHardwareBufferManager()
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.
float mWidth
Particle width.
Definition: OgreParticle.h:54
bool getTransparencyCastsShadows(void) const
Returns whether or not objects using this material be classified as opaque to the shadow caster syste...
Definition: OgreMaterial.h:191
static String toString(int32 val)
Definition: OgreStringConverter.h:79
@ ID_TARGET_WIDTH
Definition: OgreScriptCompiler.h:779
Real distance
Distance to swap the Lod.
Definition: OgreLodConfig.h:91
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
void setTexcoordCount(uint8 count)
Sets the number of texcoords to use.
Definition: OgreTextureAnimatorAffector.h:42
virtual void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)
(recursive) Check the given light against all portals in the zone
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
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.
HardwareBufferUsage
Enums describing buffer usage.
Definition: OgreHardwareBuffer.h:45
SharedPtr< Y > dynamicCast() const
Definition: OgreSharedPtr.h:78
@ VECTOR3
Definition: OgreAnimable.h:80
ManualObjectFactory()
Definition: OgreManualObject.h:705
@ RENDER_QUEUE_1
Definition: OgreRenderQueue.h:58
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:1468
bool getNormaliseNormalsOnScale() const
Get whether to automatically normalise normals on objects whenever they are scaled.
Definition: OgreSceneManager.h:3298
void disableProfile(const String &profileName)
Disables a profile.
float getPointAttenuationQuadratic(void) const
Returns the quadratic coefficient of point attenuation.
Definition: OgrePass.h:511
std::ostream & operator<<(std::ostream &o, const TRect< T > &r)
Definition: OgreCommon.h:701
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:59
void hideBackdrop()
Definition: OgreTrays.h:799
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.
IDirect3DSurface9 * getNullSurface(IDirect3DDevice9 *d3d9Device)
For depth-only targets.
Definition: OgreD3D9HardwarePixelBuffer.h:146
QueryTypeMask
Definition: OgreSceneManager.h:241
@ TAM_UNKNOWN
Unknown.
Definition: OgreCommon.h:131
virtual void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this skeleton.
@ CE_UNDEFINEDVARIABLE
Definition: OgreScriptCompiler.h:198
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:185
SharedPtr< GpuProgram > GpuProgramPtr
Definition: OgrePrerequisites.h:275
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.
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:74
@ PORTAL_TYPE_QUAD
Definition: OgrePortalBase.h:49
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:216
void _calcBoundsFromVertexBuffer(VertexData *vertexData, AxisAlignedBox &outAABB, Real &outRadius, bool updateOnly=false)
Calculates.
virtual void write(const Ray *ray, size_t count=1)
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:177
void setStencilState(const StencilState &state) override
This method allows you to set all the stencil buffer parameters in one call.
IDirect3DSurface9 * getSurface(IDirect3DDevice9 *d3d9Device)
Accessor for surface.
Definition: OgreD3D9HardwarePixelBuffer.h:134
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)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void _updateAnimation(void)
Advanced method to perform all the updates required for an animated entity.
Plugin instance for D3D9 Manager.
Definition: OgreD3D9Plugin.h:39
@ SPC_POSITION_LIGHT_SPACE3
Definition: OgreShaderParameter.h:101
String mName
Definition: OgreScriptCompiler.h:480
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
@ VES_COLOUR2
Secondary colour. Generally free for custom data. Means specular with OpenGL FFP.
Definition: OgreHardwareVertexBuffer.h:101
std::deque< T > type
Definition: OgreDeprecated.h:39
String doGet(const void *target) const
GpuProgramParametersPtr GpuProgramParametersSharedPtr
Definition: OgrePrerequisites.h:301
size_t getNumSupportedTechniques(void) const
Retrieves the number of supported techniques.
Definition: OgreMaterial.h:248
const_reference operator[](size_type n) const
Definition: OgreCommon.h:449
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.
ColourValue getColourAt(uint32 x, uint32 y, uint32 z) const
Get colour value from a certain location in the image.
void setWorldResourceGroupName(const String &groupName)
Sets the resource group that 'world' resources will use.
Definition: OgreResourceGroupManager.h:807
@ SPC_POSTOLIGHT_WORLD_SPACE3
Definition: OgreShaderParameter.h:145
std::list< AbstractNodePtr > AbstractNodeList
Definition: OgreScriptCompiler.h:88
VectorImpl::const_iterator const_iterator
Definition: OgreCommon.h:408
void destroyDummyScene()
Destroys dummy scene.
bool getGlobalColourMapEnabled() const
Get whether a global colour map is enabled on this terrain.
Definition: OgreTerrain.h:1394
void _cursorPressed(const Ogre::Vector2 &cursorPos)
virtual ~ProfileSessionListener()
Definition: OgreProfiler.h:204
static void unpackColour(ColourValue *colour, PixelFormat pf, const void *src)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePixelFormat.h:612
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.
virtual OverlayElement * createOverlayElement(const String &instanceName)=0
Creates a new OverlayElement instance with the name supplied.
ManualCullingMode
Manual culling modes based on vertex normals.
Definition: OgreCommon.h:173
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.
Definition: OgreViewport.h:130
void removeAllAffectors(void)
Removes all the affectors from this system.
static void convertColourValue(VertexElementType srcType, VertexElementType dstType, uint32 *ptr)
static MeshLodGenerator & getSingleton()
String doGet(const void *target) const
void fillQueueCreationInfo(uint32 maxComputeQueues, uint32 maxTransferQueues, FastArray< VkDeviceQueueCreateInfo > &outQueueCiArray)
virtual void initialise(void)
Initialise.
uint32 offset
Location of the chunk (header) in bytes from the start of a stream (derived)
Definition: OgreStreamSerialiser.h:103
void remove(const ResourcePtr &r)
Remove a single resource.
@ PORTAL_TYPE_AABB
Definition: OgrePortalBase.h:50
std::vector< MovableObject * > ObjectMap
Definition: OgreSceneNode.h:64
bool operator<(const Radian &r) const
Definition: OgreMath.h:90
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.
UniqueVertexSet mUniqueVertexSet
Provides position based vertex lookup. Position is the real identifier of a vertex.
Definition: OgreLodData.h:152
uint getGLID() const
Definition: OgreGLTextureCommon.h:48
std::vector< T > VectorImpl
Definition: OgreCommon.h:381
@ 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:103
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:70
void define(const Frustum &frustum)
Build a new polygon representation from a frustum.
@ ID_POINT_SIZE_MAX
Definition: OgreScriptCompiler.h:678
Specialisation of PageStrategyData for Grid2DPageStrategy.
Definition: OgreGrid2DPageStrategy.h:118
uint32 getIdentifier() const
Get the identifier for this pass.
const char * chars
Definition: OgreInput.h:87
int mNumBrushSides
Definition: OgreQuake3Level.h:161
ParticleSystem * getTemplate(const String &name)
Retrieves a particle system template for possible modification.
PORTAL_TYPE
Definition: OgrePortalBase.h:48
void linkRenderWindow(D3D9RenderWindow *renderWindow)
const UserObjectBindings & getUserObjectBindings() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgrePass.h:1546
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:77
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.
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLCopyingRenderTexture.h:47
void _handleLodEvents()
Handle LOD events.
virtual bool getRequestsAccepted() const
Returns whether requests are being accepted right now.
@ LB_BlendPinLight
Definition: OgreShaderExLayeredBlending.h:69
virtual void setParticleVelocity(Real min, Real max)
Sets the initial velocity range of particles emitted.
@ SPC_LIGHTPOSITIONVIEW_SPACE2
Definition: OgreShaderParameter.h:234
void save(StreamSerialiser &stream)
Save world data to a serialiser.
virtual ~RenderObjectListener()
Definition: OgreRenderObjectListener.h:46
void _defragmentBatch(bool optimizeCulling, InstancedEntityVec &usedEntities, CustomParamsVec &usedParams)
void initConfigOptions() override
String doGet(const void *target) const
void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
Definition: OgreBillboardSet.h:467
SharedPtr< D3D9GpuProgram > D3D9GpuProgramPtr
Definition: OgreD3D9Prerequisites.h:92
virtual void setZoneGeometry(const String &zoneName, PCZSceneNode *parentNode, const String &filename)
Set the "main" geometry of the zone.
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:371
void uninstall()
Perform the final plugin uninstallation sequence.
Definition: OgrePixelCountLodStrategy.h:79
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:179
const String & getName() const
Definition: OgrePageStrategy.h:87
virtual Archive * createInstance(const String &name)
Creates a new object.
Definition: OgreArchiveFactory.h:72
link between a renderwindow and a platform specific window
Definition: OgreApplicationContextBase.h:77
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.
virtual void setClearDepth(Real clearDepth)
size_t outUniqueVertexCount
This is set by ProgressiveMeshGenerator::build() function.
Definition: OgreLodConfig.h:120
Real getBoundsPaddingFactor(void)
Gets the factor by which the bounding box of an entity is padded.
GlyphInfo::UVRect UVRect
Definition: OgreFont.h:106
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:2026
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)
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:59
void addListener(LogListener *listener)
Register a listener to this log.
virtual void triangleChanged(LodData *data, LodData::Triangle *tri)
@ GCT_INT2
Definition: OgreGpuProgramParams.h:93
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.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
Out(UniformParameterPtr p)
Definition: OgreShaderFunctionAtom.h:171
Factory class for GLSL shaders.
Definition: OgreGLSLShader.h:80
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.
float getGlyphAspectRatio(CodePoint id) const
Gets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:232
bool hasManualLodLevel(void) const
Returns true if this mesh has a manual LOD level.
Definition: OgreMesh.h:506
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.
virtual SortMode _getSortMode(void) const =0
Gets the desired particles sort mode of this renderer.
Definition: OgreGLPBRenderTexture.h:40
@ ID_EMISSIVE
Definition: OgreScriptCompiler.h:600
@ RSC_STENCIL_WRAP
Supports wrapping the stencil value at the range extremeties.
Definition: OgreRenderSystemCapabilities.h:105
String materialScheme
Which material scheme this op will use.
Definition: OgreCompositorInstance.h:165
BillboardType getBillboardType(void) const
Returns the billboard type in use.
Definition: OgreBillboardParticleRenderer.h:73
const String & getName() const
Get the name of the plugin.
virtual void setListener(Listener *l)
Set a listener for this track.
Definition: OgreAnimationTrack.h:239
void swapBuffers(void) override
Tells our VulkanDevice that the next commitAndNextCommandBuffer call should present us Calling swapBu...
D3D9HardwarePixelBuffer(HardwareBuffer::Usage usage, D3D9Texture *ownerTexture)
void freeAllBuffers()
Free any buffers we're holding.
@ ID_SHADING
Definition: OgreScriptCompiler.h:648
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:191
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 clear()
Definition: OgreBullet.h:154
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:253
virtual void preViewportUpdate(const RenderTargetViewportEvent &evt)
Called just before a Viewport on a RenderTarget is to be updated.
Definition: OgreRenderTargetListener.h:120
Software rasterizer Implementation as a rendering system.
Definition: OgreTinyRenderSystem.h:50
const String & getName() const
Get the name of the plugin.
void setMaterialAmbient(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
Copies the current contents of the render target to a pixelbox.
@ 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:82
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:447
const Affine3 & getViewMatrix(void) const
Gets the view matrix for this frustum.
bool isRenderWindowSpecific() const override
Definition: OgreVulkanTextureGpuWindow.h:51
A factory that enables creation of HardwareSkinning instances.
Definition: OgreShaderExHardwareSkinning.h:179
virtual bool postCreateGpuPrograms(ProgramSet *programSet)=0
Called after creation of the GPU programs.
@ ID_SHADOW_CASTER_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:569
virtual bool hasLight(const String &name) const
Returns whether a light with the given name exists.
virtual PageStrategyData * createData()=0
Create a PageStrategyData instance containing the data specific to this PageStrategy.
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
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:83
virtual bool hasOption(const String &strKey) const
Method for verifying whether the scene manager has an implementation-specific option.
Definition: OgreSceneManager.h:1798
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:228
GLenum getDepthFunc(void) const
Gets the current depth test function.
Definition: OgreGLStateCacheManager.h:148
@ D3D_CORRUPTION
Definition: OgreD3D11Device.h:92
const String & _getDerivedResourceGroup() const
Get the final resource group to use when loading / saving.
HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
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:96
std::vector< DepthBuffer * > DepthBufferVec
Definition: OgreRenderSystem.h:53
virtual void clearScene(void)
Empties the entire scene, including 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:60
void addCamera(Camera *c)
Tells the paging system to start tracking a given camera.
Definition: OgreTinyTexture.h:12
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:531
Builds the intersection between two sources.
Definition: OgreVolumeCSGSource.h:225
~PortalFactory()
Definition: OgrePortal.h:80
void bind(RenderTarget *target)
Bind a certain render target if it is a FBO.
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:368
virtual void _endUpdate()
Method for manual management of rendering - finishes statistics calculation and fires 'postRenderTarg...
HardwareBufferPtr createUniformBuffer(size_t sizeBytes, HardwareBufferUsage usage=HBU_CPU_TO_GPU, bool useShadowBuffer=false) override
Create a uniform buffer.
Capsule(const Segment &, Real)
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
void install()
Perform the plugin initial installation sequence.
Rectangle2D * createScreenSpaceRect(const String &name, bool includeTextureCoords=false)
Creates a Rectangle2D that can be displayed for screen space effects or showing a basic GUI.
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:86
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
void removeStrategy(PageStrategy *strategy)
Remove a PageStrategy implementation.
Degree operator-() const
Definition: OgreMath.h:131
@ ACT_SURFACE_EMISSIVE_COLOUR
Surface emissive colour, as set in Pass::setSelfIllumination.
Definition: OgreGpuProgramParams.h:748
MapIterator< CameraList > CameraIterator
Definition: OgreSceneManager.h:1141
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.
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:440
bool getSortingEnabled(void) const
Gets whether particles are sorted relative to the camera.
Definition: OgreParticleSystem.h:452
std::vector< AutoConstantEntry > AutoConstantList
Definition: OgreGpuProgramParams.h:1237
std::multimap< K, V, P >::const_iterator const_iterator
Definition: OgreDeprecated.h:81
bool watchForMax(const String &profileName)
Vector3 getViewUpVector() const
GpuBufferAllocator * getGpuBufferAllocator()
Get the current buffer allocator.
VkPipelineShaderStageCreateInfo getPipelineShaderStageCi() const
void translate(const Matrix3 &axes, const Vector3 &move, TransformSpace relativeTo=TS_PARENT)
Moves the node along arbitrary axes.
Definition: OgreNode.h:386
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.
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:682
VertexElementType getType(void) const
Gets the data format of this element.
Definition: OgreHardwareVertexBuffer.h:200
_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.
float getPixelRatio() const
@ CBT_BACK
Definition: OgreCommon.h:335
Interface definition for a factory class which produces a certain kind of MovableObject,...
Definition: OgreMovableObject.h:576
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:317
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.
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
CompositorPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) const
Get a resource by name.
@ FT_MAG
The filter used when magnifying a texture.
Definition: OgreCommon.h:96
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.
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 destroyWindow(const Ogre::String &name)
destroy and erase an NativeWindowPair by name
void destroyMovableObject(MovableObject *m)
Destroys a MovableObject.
void destroyWidget(TrayLocation trayLoc, size_t place)
Definition: OgreTrays.h:996
void _unregisterContext(GLContext *context)
Unregister a render target->context mapping.
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:967
DefaultHardwareBuffer(size_t sizeInBytes)
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.
DefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, Usage=HBU_CPU_ONLY)
Definition: OgreDefaultHardwareBufferManager.h:74
void setCurrentSceneManager(const SceneManager *sm)
Set the current scene manager for enquiring on demand.
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
Definition: OgreRenderSystem.h:712
void reinitialise(void)
Restart the renderer (normally following a change in settings).
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:304
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
VulkanTextureGpu(TextureManager *textureManager, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Utility class providing helper methods for reading / writing structured data held in a DataStream.
Definition: OgreStreamSerialiser.h:70
const LightList * manualLightList
Manual light list.
Definition: OgreSceneManager.h:397
void setStencilState(const StencilState &state) override
This method allows you to set all the stencil buffer parameters in one call.
bool mSuccess
Whether the work item succeeded or not.
Definition: OgreWorkQueue.h:130
FunctionStageRef getStage(uint32 s)
get a FFPShaderStage of this function
Definition: OgreShaderFunction.h:209
Content
Shader parameter content.
Definition: OgreShaderParameter.h:81
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 Vector3 & getAutoTrackOffset(void) const
Get the auto tracking offset for this node, if the node is auto tracking.
Definition: OgreSceneNode.h:412
const ChildObjectList & getAttachedObjects() const
Gets an iterator to the list of objects attached to bones on this entity.
Definition: OgreEntity.h:573
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.
@ Compute
Definition: OgreVulkanQueue.h:48
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.
void destroyLight(Light *light)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreSceneManager.h:1281
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, typically VET_FLOAT3.
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:253
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:142
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:102
AnyNumeric & operator+=(const AnyNumeric &rhs)
Definition: OgreAny.h:350
@ TU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Definition: OgreTexture.h:61
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:113
virtual ~DefaultZoneFactory()
virtual void windowResized(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:129
Specialisation of TextureManager for offline processing. Cannot be used with an active RenderSystem.
Definition: OgreTextureManager.h:428
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.
virtual void setActiveProfile(const String &name)
Set the active profile by name.
Definition: OgreTerrainMaterialGenerator.h:216
virtual ~D3D11StereoDriverAMD()
VertexElementType
Vertex element type, used to identify the base types of the vertex contents.
Definition: OgreHardwareVertexBuffer.h:124
void removeAllTerrains()
Remove all terrain instances.
@ IM_USEONEWEIGHT
Use one weight per vertex when recommended (i.e.
Definition: OgreCommon.h:366
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)
size_t getNumTargetPasses() const
Get the number of target passes.
Definition: OgreCompositionTechnique.h:134
static CmdRotationRangeStart msRotationRangeStartCmd
Definition: OgreRotationAffector.h:111
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:531
int getActualTop(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
Definition: OgreViewport.h:164
static bool solveNxNLinearSysDestr(int n, double **coeff, double *col)
Solves a full rank NxN linear system of equations.
int yrel
Definition: OgreInput.h:66
T * createSubRenderState()
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderGenerator.h:247
static uint32 bswap32(uint32 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:70
virtual const Vector3 & getOrigin(void) const
Gets the origin of this geometry.
Definition: OgreStaticGeometry.h:685
@ SPC_LIGHTDIRECTION_VIEW_SPACE4
Definition: OgreShaderParameter.h:196
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:48
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:109
String name
Definition: OgreCompositionTechnique.h:66
VkCommandPool mCommandPool
Definition: OgreVulkanQueue.h:55
HardwareAnimationDataList hwAnimationDataList
VertexElements used for hardware morph / pose animation.
Definition: OgreVertexIndexData.h:111
void updateFaceNormals(size_t vertexSet, const HardwareVertexBufferSharedPtr &positionBuffer)
Updates the face normals for this edge list based on (changed) position information,...
VulkanTextureGpuManager(RenderSystem *renderSystem, VulkanDevice *device, bool bCanRestrictImageViewUsage)
void init(const String &defaultZoneTypeName, const String &filename="none")
Initializes the manager.
~GLES2HardwareOcclusionQuery()
Object destructor.
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:182
Real getBoundingRadius(void) const
Overridden from MovableObject.
Definition: OgreMovablePlane.h:77
void setStateChange(Real NewValue)
EdgeData * getEdgeList() const
Definition: OgreStaticGeometry.h:331
@ 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:521
virtual void setTrailLength(Real len)
Set the length of the trail.
void setStatic(bool enable)
if static, the drawer contents are preserved across frames. They are cleared otherwise.
Definition: OgreDefaultDebugDrawer.h:32
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.
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:83
virtual Light * getLight(const String &name) const
Get a reference to a previously created object instance.
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 _setDepthBufferCheckEnabled(bool enabled=true)
static const uint16 WORKQUEUE_LOAD_TERRAIN_PAGE_REQUEST
Definition: OgreTerrainPagedWorldSection.h:156
bool getVertexTextureUnitsShared(void) const
Definition: OgreRenderSystemCapabilities.h:597
std::list< T >::iterator iterator
Definition: OgreDeprecated.h:56
static D3D11_COMPARISON_FUNC get(CompareFunction cf)
return a D3D11 equivalent for a Ogre CompareFunction value
RenderTarget * target
Target.
Definition: OgreCompositorInstance.h:130
void setSkipAnimationStateUpdate(bool skip)
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:805
Renderbuffer surface.
Definition: OgreGLHardwarePixelBuffer.h:78
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:97
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.
Definition: OgreViewport.h:306
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:1924
void update(void)
Update data.
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGLFBOMultiRenderTarget.h:44
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:55
static PropertyType getTypeForValue(const Matrix4 &val)
Definition: OgreProperty.h:172
virtual void touch(void)
'Touches' the resource to indicate it has been used.
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: OgreDeprecated.h:63
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.
const D3DADAPTER_IDENTIFIER9 & getAdapterIdentifier() const
Definition: OgreD3D9Driver.h:59
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
virtual void setCellRangeMinY(int32 minY)
Set the index range of all cells (values outside this will be ignored)
@ 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:698
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.
float aspectRatio
Definition: OgreFont.h:69
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:406
CompareFunction getDepthFunction(void) const
Returns the function used to compare depth values when depth checking is on.
Definition: OgrePass.h:793
static uint32 convertColourValue(const ColourValue &src, VertexElementType)
Definition: OgreHardwareVertexBuffer.h:227
@ VAT_POSE
Pose animation is made up of a single delta pose keyframe.
Definition: OgreAnimationTrack.h:472
virtual void buttonHit(Button *button)
Definition: OgreTrays.h:95
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
bool operator!=(const TRect &rhs) const
Definition: OgreCommon.h:698
Manages Font resources, parsing .fontdef files and generally organising them.
Definition: OgreFontManager.h:45
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:242
void freeImportData()
Destroy temp import resources.
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.
virtual void setClearColour(uint8 idx, const ColourValue &clearColour)
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:1917
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.
@ ID_REPLACE
Definition: OgreScriptCompiler.h:712
int mNumFaces
Definition: OgreQuake3Level.h:144
A very simple spline class which implements the Catmull-Rom class of splines.
Definition: OgreSimpleSpline.h:57
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
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.
SceneNode * createSceneNodeImpl(const String &name) override
Subclasses can override this to ensure their specialised SceneNode is used.
const String & getType(void) const
Get the type of the object to be created.
Definition: OgreSPIRVShaderFactory.h:51
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.
bool getStencilTwoSidedOperation() const
Get two sided stencil operation.
Ogre::Real getProgress()
Gets the progress as a percentage.
Definition: OgreTrays.h:707
unsigned int getHeightInLines()
Gets how many lines of text can fit in this window.
Definition: OgreTrays.h:307
BatchSettingId
Values to be used in setSetting() & BatchSettings::setting.
Definition: OgreInstanceManager.h:72
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:89
virtual void resetToBaseValue(void)
void setGlobalNumberOfInstances(const size_t val)
Sets the global number of instances.
const DisplayString & getCaption(void) const
Gets the caption for this element.
Definition: OgreOverlayElement.h:356
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:82
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
@ TL_CENTER
Definition: OgreTrays.h:64
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.
Definition: OgreEntity.h:347
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 & getType(void) const =0
Get the type of the object to be created.
Definition: OgreFileSystem.h:74
uint8 mNumFramesInFlight
Definition: OgreVulkanQueue.h:85
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.
Definition: OgreSceneManager.h:129
float getOwnHeight(void) const
Retrieves the billboard's personal height, if hasOwnDimensions is true.
Definition: OgreBillboard.h:163
void removeAllNamedSamplers()
clear the list of named samplers
Definition: OgreTextureManager.h:75
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.
virtual void windowClosed(Ogre::RenderWindow *rw)
Window has been closed (Only triggered if user pressed the [X] button)
Definition: OgreWindowEventUtilities.h:89
bool isSupported(void) const
Indicates if this technique is supported by the current graphics card.
@ SPC_COLOR_SPECULAR
Specular color.
Definition: OgreShaderParameter.h:278
const String & getResourceType(void) const
Gets a string identifying the type of resource this manager handles.
Definition: OgreResourceManager.h:386
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.
@ PF_R16G16_SINT
32-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int).
Definition: OgrePixelFormat.h:185
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.
size_t getNumPasses(void) const
Retrieves the number of passes.
Definition: OgreTechnique.h:190
MovableObjectFactory()
Definition: OgreMovableObject.h:585
IlluminationStage getIlluminationStage() const
Get the manually assigned illumination stage, if any.
Definition: OgrePass.h:1493
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
uint32 CodePoint
Definition: OgreFont.h:64
static void extractUniforms(GLuint programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, GLUniformReferenceList &list)
Populate a list of uniforms based on a program object.
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL has one progr...
Definition: OgreGLSLProgramManager.h:54
virtual const String & getName() const
Get the name of this section.
Definition: OgrePagedWorldSection.h:99
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:88
bool operator==(const Radian &r) const
Definition: OgreMath.h:92
virtual const String & getType() const
Definition: OgreLodWorkQueueInjectorListener.h:38
@ ACT_LIGHT_ATTENUATION
Light attenuation parameters, Vector4(range, constant, linear, quadric)
Definition: OgreGpuProgramParams.h:773
uint8 elementCount
The number of colour elements this semantic uses (usually standard per semantic)
Definition: OgreTerrainMaterialGenerator.h:79
@ FRUSTUM_PLANE_RIGHT
Definition: OgreFrustum.h:74
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.
@ ID_ANTICLOCKWISE
Definition: OgreScriptCompiler.h:642
const Vector3 & getDirection() const
Get the direction vector of the portal in local space.
Definition: OgrePortalBase.h:124
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:1303
void load(uint16 depthStart, uint16 depthEnd)
Load node and children in a depth range (perform GPU tasks, will be render thread)
bool isTransparentSortingForced(void) const
Returns true if this Technique has transparent sorting forced.
bool hasTessellationDomainProgram(void) const
Returns true if this pass uses a programmable tessellation control pipeline.
Definition: OgrePass.h:1188
const String & getName() const
Get the name of the plugin.
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))
CompositionTargetPass * getOutputTargetPass() const
Get output (final) target pass.
Definition: OgreCompositionTechnique.h:148
float org[3]
Definition: OgreQuake3Types.h:196
const ContentCollectionFactoryMap & getContentCollectionFactories() const
Get a reference to the registered strategies.
TextureAddressingMode w
Definition: OgreTextureUnitState.h:56
@ ID_ONCE_PER_LIGHT
Definition: OgreScriptCompiler.h:667
Nested struct defining a resource declaration.
Definition: OgreResourceGroupManager.h:249
static void _configureMeshLodUsage(const LodConfig &lodConfig)
Definition: OgreLodCollapseCostProfiler.h:44
void setEnabled(bool value)
enable the portal
Definition: OgrePortalBase.h:155
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:194
void bindGpuProgram(GpuProgram *prg)
Binds a given GpuProgram (but not the parameters).
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL ES) for Ope...
Definition: OgreGLSLESProgramPipeline.h:57
float advance
Definition: OgreFont.h:71
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:115
TexCoordDirection
The direction in which texture coordinates from elements of the chain are used.
Definition: OgreBillboardChain.h:147
void commitAndNextCommandBuffer(SubmissionType::SubmissionType submissionType=SubmissionType::FlushOnly)
float * getHeightData(uint32 x, uint32 y) const
Get a pointer to the height data for a given point.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
VectorIterator< ShadowRenderableList > ShadowRenderableListIterator
Definition: OgreShadowCaster.h:146
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.
Definition: OgreOverlayElement.h:207
virtual bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
Definition: OgreGpuProgram.h:286
virtual ~CgFxScriptLoader()
UniformParameterPtr resolveAutoParameterReal(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, float data, size_t size=0)
Resolve uniform auto constant parameter with associated real data of this program.
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
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.
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:278
void clear()
Empties this set of all particles.
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:148
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()
const TexturePtr & getTextureInstance(const String &name, size_t mrtIndex)
Get the instance of a local texture.
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGL3PlusPixelFormat.h:40
static Radian ATan(float fValue)
Arc tangent function.
Definition: OgreMath.h:303
NodeTrackIterator getNodeTrackIterator(void) const
Definition: OgreAnimation.h:388
Rect getActualDimensions() const
Access to actual dimensions (based on target size).
Definition: OgreViewport.h:276
static String FACTORY_TYPE_NAME
Definition: OgreAntiPortal.h:57
static VkCullModeFlags get(CullingMode cullMode)
void setMaterialShininess(GLfloat shininess)
@ TL_TOPLEFT
Definition: OgreTrays.h:60
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:1070
@ PF_R8_SINT
8-bit pixel format, 8 bits red (signed int).
Definition: OgrePixelFormat.h:175
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:254
virtual void destroy(void)=0
Destroys the window.
bool getCastShadows(void) const
Returns whether shadow casting is enabled for this object.
Definition: OgreMovableObject.h:518
std::vector< ID3D11Buffer * > getConstantBuffers(const GpuProgramParametersPtr ¶ms)
static DWORD get(ShadeOptions so)
return a D3D9 equivalent for a Ogre ShadeOptions value
~Log()
Default destructor.
LodWorkQueueInjectorListener * getInjectorListener()
Definition: OgreLodWorkQueueInjector.h:56
bool isNull(void) const
Definition: OgreSharedPtr.h:86
@ ACT_COSTIME_0_2PI
Cosine of "Time0_2PI". Equivalent to RenderMonkey's "CosTime0_2PI".
Definition: OgreGpuProgramParams.h:993
void setVertexData(VertexData *v_in)
Set the incoming vertex data (which will be modified)
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:105
VertexDeclaration * getGlobalInstanceVertexBufferVertexDeclaration() const
Gets vertex declaration for the global vertex buffer for the global instancing.
void baseVertexPointerToElement(void *pBase, T **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:255
int planenum
Definition: OgreQuake3Types.h:237
String getBottomRightBorderUVString() const
reverse_iterator rbegin()
Definition: OgreSmallVector.h:170
std::vector< SubMesh * > SubMeshList
Definition: OgreMesh.h:104
@ HBL_NORMAL
Normal mode, ie allows read/write and contents are preserved.
Definition: OgreHardwareBuffer.h:142
void getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
static Real Log(Real fValue)
Definition: OgreMath.h:358
virtual void attachToProgramObject(const uint programObject)=0
Definition: OgreD3D11DepthBuffer.h:37
void queryRect(Display *display, Window window, int &left, int &top, uint &width, uint &height, bool queryOffset)
@ PF_UNKNOWN
Unknown pixel format.
Definition: OgrePixelFormat.h:57
GLenum getPolygonMode(void) const
Gets the current polygon rendering mode, fill, wireframe, points, etc.
Definition: OgreGLStateCacheManager.h:194
ushort previousLodIndex
Previous level of detail index.
Definition: OgreLodListener.h:85
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from VolumeSource.
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
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreResourceGroupManager.h:652
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:272
@ ID_CLOCKWISE
Definition: OgreScriptCompiler.h:641
bool operator==(const Plane &rhs) const
Comparison operator.
Definition: OgrePlane.h:240
This is a class that is the DirectX9 implementation of hardware occlusion testing.
Definition: OgreD3D9HardwareOcclusionQuery.h:55
float getLeft(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
Definition: OgreViewport.h:140
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:823
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.
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:411
IndexData * indexData
Index data - only valid if useIndexes is true.
Definition: OgreRenderOperation.h:111
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: OgreViewport.h:237
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:621
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX
The view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:932
static D3DFORMAT _getPF(PixelFormat ogrePF)
utility method, convert Ogre pixel format to D3D9 pixel format
SharedPtr< FileInfoList > FileInfoListPtr
Definition: OgreArchive.h:67
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.
OverlayContainer * getParent()
Returns the parent container.
Definition: OgreOverlayElement.h:438
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:1517
String name
Definition: OgreCommon.h:831
String getType() const override
Returns the type of the codec as a String.
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:615
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:820
bool getTextureCompareEnabled() const
Definition: OgreTextureUnitState.h:699
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:80
bool getSamplerBinding() const
Definition: OgreGLSLShader.h:53
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.
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
VkPhysicalDevice mPhysicalDevice
Definition: OgreVulkanDevice.h:52
Keycode sym
Definition: OgreInput.h:54
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
bool destroyOnShutdown
Whether this pass is one which should be deleted itself.
Definition: OgrePass.h:1567
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
Angle(float angle)
Definition: OgreMath.h:167
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:965
const Any & getUserAny(void) const
Definition: OgreMovableObject.h:340
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.
Definition: OgreLodData.h:89
CSGNoiseSource(const Source *src, Real *frequencies, Real *amplitudes, size_t numOctaves, long seed)
Constructor.
@ SHADER_SKY
Definition: OgreQuake3Types.h:89
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:213
virtual void bakeLodLevel(LodData *data, int lodIndex)
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:106
void resourceGroupScriptingStarted(const Ogre::String &groupName, size_t scriptCount)
This event is fired when a resource group begins parsing scripts.
Definition: OgreTrays.h:1084
AnyNumeric operator-(const AnyNumeric &rhs) const
Definition: OgreAny.h:330
ProgramManager()
Class default constructor.
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader) override
@ 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.
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:55
static CmdGreenAdjust1 msGreenCmd1
Definition: OgreColourFaderAffector2.h:187
SceneManager * getSceneManager() const
void setDrawBuffer(ColourBufferType colourBuffer)
Sets the draw buffer type for the next frame.
Definition: OgreViewport.h:375
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.
~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:175
void removePose(const String &name)
Destroy a pose by name.
const String & getMaterialName(void) const
Sets the name of the material to be used for this billboard set.
Definition: OgreBillboardSet.h:508
bool getUseVertexCompressionWhenAvailable() const
Get whether to allow vertex compression to be used when the material generator states that it support...
Definition: OgreTerrain.h:2039
ushort getVertexProgramConstantFloatCount(void) const
The number of floating-point 4-vector constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:500
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.
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.
@ ID_POOLED
Definition: OgreScriptCompiler.h:788
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 swapBuffers()
Swaps the frame buffers to display the next frame.
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
void setCameraName(const String &name)
Definition: OgreCompositionPass.h:318
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).
const UserObjectBindings & getUserObjectBindings() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreMesh.h:950
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()
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED
Light diffuse colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:814
bool requiresTextureFlipping() const
Definition: OgreD3D11MultiRenderTarget.h:49
Definition: OgreColourInterpolatorAffector.h:40
VkImage getFinalTextureName(void) const
Definition: OgreVulkanTextureGpu.h:167
AbstractNodeType
This enum holds the types of the possible abstract nodes.
Definition: OgreScriptCompiler.h:77
static const long RESOURCE_SYSTEM_NUM_REFERENCE_COUNTS
The number of reference counts held per resource by the resource system.
Definition: OgreResourceGroupManager.h:246
GLHardwareOcclusionQuery()
Default object constructor.
uint16 getYOffset() const
Get the vertical offset into the main terrain data of this node.
Definition: OgreTerrainQuadTreeNode.h:98
RigidBodyState(Node *node)
Definition: OgreBullet.h:51
VectorBase(Real _x, Real _y, Real _z)
Definition: OgreVector.h:131
@ OT_TRIANGLE_STRIP
A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreRenderOperation.h:58
Class defining the common interface which classes can use to present a reflection-style,...
Definition: OgreStringInterface.h:168
@ ID_SPECULAR
Definition: OgreScriptCompiler.h:599
virtual bool queryResult(MovableObject *obj, Real distance)=0
Called when a movable objects intersects the ray.
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 ...
Factory for PCZones.
Definition: OgrePCZoneFactory.h:43
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:830
void execute(SceneQueryListener *listener) override
Executes the query and returns each match through a listener interface.
void _unprepare(void)
Internal method for undoing the load preparartion for this pass.
Real getTimeAdjust(size_t index) const
void _setMaterial(const MaterialPtr &material)
Override Material without changing the partitioning. For advanced use only.
uint32 getWidth(void) const
Gets the width of the image in pixels.
virtual bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreRenderWindow.h:170
@ 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.
void exportNamedConstants(const GpuNamedConstants *pConsts, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
ParticleSystemRenderer * _createRenderer(const String &rendererType)
Internal method for creating a new renderer from a factory.
void shutdown(void)
Shutdown the renderer and cleanup resources.
D3D9ResourceCreationPolicy
Definition: OgreD3D9ResourceManager.h:36
bool getKeepParticlesInLocalSpace(void) const
Gets whether particles (and any affector effects) remain relative to the node the particle system is ...
Definition: OgreParticleSystem.h:497
virtual ~FactoryObj()
Definition: OgreFactoryObj.h:47
virtual ~NodeAnimationTrack()
Destructor.
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
const String & getType(void) const override
Returns the factory type.
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.
void getPoint(uint32 x, uint32 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...
SubRenderState()
Class default constructor.
UserObjectBindings & getUserObjectBindings()
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgrePass.h:1543
const T * ptr() const
Definition: OgreVector.h:66
const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON)
Definition: OgreBillboardSet.h:631
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:398
bool isHashDirty() const
Definition: OgreCommon.h:416
void install()
Perform the plugin initial installation sequence.
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
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
value packed as PF_A8R8G8B8
virtual void removeListener(Listener *l)
Remove a listener to this camera.
void drawLine(const btVector3 &from, const btVector3 &to, const btVector3 &color)
const NormalsMap & getNormals(void) const
Gets a const reference to the vertex normals.
Definition: OgrePose.h:115
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...
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
InvalidCallException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:237
Real getLoadingOrder(void) const
Gets the loading order for 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)
virtual ~InstanceBatchVTF()
uint16 getNumLodLevelsPerLeaf() const
Get the number of LOD levels in a leaf of the terrain quadtree.
Definition: OgreTerrain.h:1214
~Operand()
Class destructor.
void detachFromProgramObject(const GLuint programObject)
@ RSC_INFINITE_FAR_PLANE
Definition: OgreRenderSystemCapabilities.h:206
@ ID_POINT_SIZE_ATTENUATION
Definition: OgreScriptCompiler.h:676
@ SHADER_FUNC_TRIANGLE
Definition: OgreQuake3Types.h:111
void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void removeRequestHandler(uint16 channel, RequestHandler *rh)=0
Remove a request handler.
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:313
void setCullFace(GLenum face)
Sets the face culling setting.
Main class to manage a cursor, backdrop, trays and widgets.
Definition: OgreTrays.h:746
ContextProfile getContextProfile() const
Definition: OgreGLNativeSupport.h:111
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:71
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 current GuiMetricsMode.
D3DFORMAT getBackBufferFormat() const
void setMaterialName(const String &name)
Set the material used by this pass.
@ SPC_POSTOLIGHT_VIEW_SPACE3
Definition: OgreShaderParameter.h:155
virtual void _notifyResourceLoaded(Resource *res)
Notify this manager that a resource which it manages has been loaded.
SharedPtr< DataStream > DataStreamPtr
Definition: OgrePrerequisites.h:274
static GpuProgramPtr _getProgramByName(const String &name, const String &group, GpuProgramType type)
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:726
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.
float getOwnWidth(void) const
Retrieves the billboard's personal width, if hasOwnDimensions is true.
Definition: OgreBillboard.h:160
Class to hold a dictionary of parameters for a single class.
Definition: OgreStringInterface.h:119
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables)
ID3D11HullShader * getHullShader(void) const
bool pooled
Definition: OgreCompositionTechnique.h:79
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.
std::map< String, OverlayContainer * > ChildContainerMap
Definition: OgreOverlayContainer.h:60
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.
SharedPtr< AbstractNode > AbstractNodePtr
Definition: OgreScriptCompiler.h:86
Transform specialization for projective - encapsulating a 4x4 Matrix.
Definition: OgreMatrix4.h:221
void _render(const RenderOperation &op)
Render something to the active viewport.
OrientationMode
Specifies orientation mode.
Definition: OgreFrustum.h:48
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:215
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:78
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:726
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:276
const Vector3 & getDerivedCorner(int index) const
Get the derived (world) coordinates of one of the portal corners.
Definition: OgrePortalBase.h:128
Definition: OgreDeprecated.h:54
@ FFP_PS_ALPHA_TEST
Definition: OgreShaderFFPRenderState.h:64
void setRotationSpeedRangeStart(const Radian &angle)
Sets the minimum rotation speed of particles to be emitted.
void readData(size_t offset, size_t length, void *pDest) override
Reads data from the buffer and places it in the memory pointed to by pDest.
float valueAngleUnits() const
Definition: OgreMath.h:769
static MaterialManager & getSingleton(void)
Get the singleton instance.
MouseMotionEvent motion
Definition: OgreInput.h:107
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:87
Real getHeight(void) const
Gets the height of this element in relation to the current GuiMetricsMode.
static VkImageViewType get(TextureType textureType)
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.
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.
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
@ ANT_IMPORT
Definition: OgreScriptCompiler.h:82
float valueRadians() const
Definition: OgreMath.h:764
const LodValueList & getUserLodValues(void) const
Gets the user-defined list of values which are internally transformed by the LodStrategy.
Definition: OgreMaterial.h:635
Definition: OgreDotSceneLoader.h:33
size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
SceneBlendFactor sourceFactorAlpha
Definition: OgreBlendMode.h:282
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 squared distance between the camera and this renderable.
Definition: OgreBorderPanelOverlayElement.h:244
void clearCodePointRanges()
Clear the list of code point ranges.
Definition: OgreFont.h:276
@ SPC_POSITION_WORLD_SPACE
Position in world space.
Definition: OgreShaderParameter.h:89
SkeletonManager()
Constructor.
SharedPtr< ConcreteNode > ConcreteNodePtr
Definition: OgreScriptCompiler.h:62
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:548
@ RSC_TEXTURE_COMPRESSION_BC6H_BC7
Supports compressed textures in BC6H and BC7 format (DirectX feature level 11_0)
Definition: OgreRenderSystemCapabilities.h:152
void pointOrientedToScreen(Real orientedX, Real orientedY, int orientationMode, Real &screenX, Real &screenY)
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:344
Definition: OgreInput.h:102
virtual bool hasBone(const String &name) const
Returns whether this skeleton contains the named bone.
VertexData(HardwareBufferManagerBase *mgr=0)
Constructor.
const String & getSource(void) const override
Gets the assembler source for this program.
Definition: OgreUnifiedHighLevelGpuProgram.h:115
@ BCT_SPECIALIZATION
shader specialisation constant
Definition: OgreGpuProgramParams.h:60
void setPointSize(GLfloat size)
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.
static GLenum getGLType(VertexElementType type)
Utility function to get the correct GL type based on VET's.
unsigned int getPoolSize() const
Returns the current size of the billboard pool.
Definition: OgreBillboardSet.h:411
bool isDepthWriteEnabled(void) const
Is depth writing going to occur on this technique?
VulkanTextureGpu * mDepthTexture
Definition: OgreVulkanWindow.h:75
virtual bool getOption(const String &strKey, void *pDestValue)
Method for getting the value of an implementation-specific Scene Manager option.
Definition: OgreSceneManager.h:1786
virtual void addNode(Node *n)
Add a node to be tracked.
HardwareBufferPtr HardwareCounterBufferSharedPtr
Definition: OgrePrerequisites.h:300
@ ACT_LIGHT_DIRECTION_VIEW_SPACE_ARRAY
Array of light directions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:840
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.
StencilState()
Definition: OgreRenderSystem.h:133
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:802
Base class for GL Render Textures.
Definition: OgreGLRenderTexture.h:110
size_type size() const
Definition: OgreCommon.h:439
@ ID_COLOUR_OP_MULTIPASS_FALLBACK
Definition: OgreScriptCompiler.h:735
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.
LoadingState getLoadingState() const
Returns the current loading state.
Definition: OgreResource.h:340
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.
SceneManager * targetSceneMgr
Target SM to send renderables to.
Definition: OgreSceneManager.h:391
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)
Unregister a listener from this log.
ushort getGeometryProgramConstantIntCount(void) const
Definition: OgreRenderSystemCapabilities.h:684
virtual void getRenderOperation(RenderOperation &op)=0
Get the render operation for this buffer.
@ SO_PHONG
Vertex normals are interpolated across the face, and these are used to determine colour at each pixel...
Definition: OgreCommon.h:139
const Ogre::StringVector & getAllParamNames()
Definition: OgreTrays.h:604
PassType
Enumeration that enumerates the various composition pass types.
Definition: OgreCompositionPass.h:55
void _setTexture(size_t unit, bool enabled, const TexturePtr &tex)
Sets the texture to bind to a given texture unit.
RenderSystem * getRenderSystemByName(const String &name)
Retrieve a pointer to the render system by the given name.
GLContext * _getMainContext()
Returns the main context.
Definition: OgreGLRenderSystemCommon.h:95
SceneManager * getCreator(void) const
Gets the creator of this scene node.
Definition: OgreSceneNode.h:244
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:113
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.
void blitToMemory(const Box &srcBox, const PixelBox &dst) override
Copies a region of this pixelbuffer to normal memory.
Endian
The endianness of files.
Definition: OgreStreamSerialiser.h:74
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.
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
uint64_t uint64
Definition: OgrePlatform.h:273
std::vector< ResourceLocation > LocationList
List of possible file locations.
Definition: OgreResourceGroupManager.h:268
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.
RayResult(bool _hit, Terrain *_terrain, const Vector3 &_pos)
Definition: OgreTerrainGroup.h:400
Vector normalisedCopy() const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
Definition: OgreVector.h:540
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:416
void swapBuffers()
Swaps the frame buffers to display the next frame.
bool mHwGamma
Definition: OgreVulkanWindow.h:64
virtual ~GLES2RenderBuffer()
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
virtual Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
SharedPtr< ShadowCameraSetup > ShadowCameraSetupPtr
Definition: OgrePrerequisites.h:290
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 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.
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 _setActiveSceneManager(SceneManager *sceneManager)
Set the active scene manager against which new render states are compiled.
@ ID_SCALE_Y
Definition: OgreScriptCompiler.h:751
virtual void setStrategy(const String &stratName)
Change the page strategy.
bool hasCorrectAntipodalityHandling()
Only applicable for dual quaternion skinning.
@ RSC_READ_WRITE_BUFFERS
Supports read/write buffers with atomic counters (e.g. RWStructuredBuffer or SSBO)
Definition: OgreRenderSystemCapabilities.h:90
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:389
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:53
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 the format of the vertex input.
Definition: OgreVertexIndexData.h:90
virtual void sliderMoved(Slider *slider)
Definition: OgreTrays.h:98
void _oneTimeContextInitialization()
One time initialization for the RenderState of a context.
static CmdAlphaAdjust2 msAlphaCmd2
Definition: OgreColourFaderAffector2.h:192
unsigned int flags
Definition: OgreQuake3Shader.h:74
bool getMipmapsHardwareGenerated(void) const
Are mipmaps hardware generated?
Definition: OgreTexture.h:164
void dump(std::ofstream &of) const
Dump contents for diagnostics.
BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardSet.h:456
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 squared distance between the camera and 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:75
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.
std::map< unsigned short, HardwareVertexBufferSharedPtr > VertexBufferBindingMap
Defines the vertex buffer bindings used as source for vertex declarations.
Definition: OgreHardwareVertexBuffer.h:482
D3D11VideoModeList * getVideoModeList()
TerrainIterator getTerrainIterator()
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:302
ConstVectorIterator< EnabledAnimationStateList > ConstEnabledAnimationStateIterator
Definition: OgreAnimationState.h:195
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.
Definition: OgreBillboardParticleRenderer.h:143
std::map< String, String > AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
Definition: OgreCommon.h:601
~GLFBOMultiRenderTarget()
@ ACT_INVERSE_VIEW_MATRIX
The current view matrix, inverted.
Definition: OgreGpuProgramParams.h:655
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)
This is an overloaded member function, provided for convenience. It differs from the above function o...
@ LBO_MODULATE
Multiply colour components together.
Definition: OgreBlendMode.h:63
void setWeight(Real weight)
Sets the weight (influence) of this animation.
@ CNT_VARIABLE_ASSIGN
Definition: OgreScriptCompiler.h:52
Vertex * collapseTo
Definition: OgreLodData.h:107
Archive(const String &name, const String &archType)
Constructor - don't call direct, used by ArchiveFactory.
Definition: OgreArchive.h:99
RenderOperation * getRenderOperationForUpdate(void)
Get the internal render operation for set up.
Definition: OgreShadowCaster.h:77
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
ID3D11ComputeShader * getComputeShader(void) const
Definition: OgreLod0Stripifier.h:41
@ BBO_BOTTOM_LEFT
Definition: OgreBillboardSet.h:64
virtual bool isClosed(void) const
Indicates whether the window has been closed by the user.
Definition: OgreRenderWindow.h:189
unsigned short getMaxSource(void) const
Gets the index of the highest source value referenced by this declaration.
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...
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:325
Real getLayerWorldSize(uint8 index) const
How large an area in world space the texture in a terrain layer covers before repeating.
@ ID_COMPUTE_PROGRAM
Definition: OgreScriptCompiler.h:834
unsigned int width
Definition: OgreCommon.h:832
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.
ParameterDef(const String &newName, const String &="", ParameterType=PT_INT)
Definition: OgreStringInterface.h:70
@ ID_DECAL
Definition: OgreScriptCompiler.h:639
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)
Real getSurfaceShininess(void) const
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:372
void clear()
Definition: OgreSmallVector.h:326
virtual void setCellRangeMaxZ(int32 maxZ)
get the index range of all cells (values outside this will be ignored)
void getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
static D3D11StereoDriverBridge * getSingletonPtr(void)
MouseButtonEvent button
Definition: OgreInput.h:105
std::vector< Polygon * > PolygonList
Definition: OgreConvexBody.h:55
virtual ID3D11Texture2D * getSurface(uint index=0) const
void setFiltering(FilterType ftype, FilterOptions opts)
Set a single filtering option on this texture unit.
Entity * getEntity(const String &name) const
Get a reference to a previously created object instance.
const ColourValue & getFogColour(void) const
Returns the fog colour for the scene.
Definition: OgrePass.h:963
TargetLayout
Definition: OgreShaderExGBuffer.h:55
const UVRect & getGlyphTexCoords(CodePoint id) const
Returns the texture coordinates of the associated glyph.
Definition: OgreFont.h:214
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
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:71
void queueForDeletion(VkBuffer buffer, VkDeviceMemory memory)
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.
std::vector< VkSemaphore > VkSemaphoreArray
Definition: OgreVulkanQueue.h:38
virtual const String & getType() const
@ WFT_SINGLE_INTERSECTION
Return a single intersection point (typically RaySceneQuery only)
Definition: OgreSceneQuery.h:85
@ PT_CUBE
Definition: OgreSceneManager.h:1429
unsigned int getDisplayMonitorCount() const
@ PROP_COLOUR
Definition: OgreProperty.h:117
static bool removeFile(const Ogre::String &path)
Delete a file.
@ PF_BYTE_A
Definition: OgrePixelFormat.h:66
void setHidden(bool hidden)
Hide (or show) the window.
Definition: OgreVulkanWindow.h:121
bool isBackdropVisible()
Definition: OgreTrays.h:824
String DriverDescription() const
At(ParameterPtr p)
Definition: OgreShaderFunctionAtom.h:184
virtual ~GLGpuProgramBase()
Definition: OgreGLGpuProgram.h:40
void destroyAllNumericTracks(void)
Removes and destroys all tracks making up this animation.
int mVSyncInterval
Definition: OgreVulkanWindow.h:70
virtual ~ParticleAffector()
Virtual destructor essential.
virtual void setValue(T value)=0
VulkanFrameBufferDescValue()
String target
Definition: OgreScriptCompiler.h:161
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
LayerBlendType blendType
The type of blending (colour or alpha)
Definition: OgreBlendMode.h:143
void setCaption(const Ogre::DisplayString &caption)
Definition: OgreTrays.h:256
Operand(const Operand &rhs)
Copy constructor.
void setNamedConstant(const String &name, const float *val, uint32 count)
void clear(uint32 buffers=FBT_COLOUR|FBT_DEPTH, const ColourValue &colour=ColourValue::Black, float depth=1.0f, uint16 stencil=0)
Instructs the viewport to clear itself, without performing an update.
Degree(float d=0)
Definition: OgreMath.h:115
void setViewport(const Rect &r)
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
void setShadowCastersCannotBeReceivers(bool ind)
Sets whether or not objects which cast shadows should be treated as never receiving shadows.
Definition: OgreRenderQueueSortingGrouping.h:524
AliasTextureNamePairList * mAliases
Definition: OgreScriptCompiler.h:462
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.
float valueRadians() const
Definition: OgreMath.h:71
GLES2RenderToVertexBuffer()
C'tor.
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
Operand & y()
Definition: OgreShaderFunctionAtom.h:113
Quake3Shader(const String &name)
Default constructor - used by Quake3ShaderManager (do not call directly)
void initialiseContext(RenderWindow *primary)
DecodeResult decode(const DataStreamPtr &input) const override
SharedPtr< T > & operator=(const Ogre::SharedPtr< T > &rhs)
Definition: OgreSharedPtr.h:69
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:492
virtual void setBoundingBox(const AxisAlignedBox &box)
Set the bounds of this section.
VectorSet< Edge, 8 > VEdges
Definition: OgreLodData.h:71
HardwareBufferLockGuard(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:400
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:365
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:188
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 setNamedConstant(const String &name, const Matrix4 *m, uint32 numEntries)
Sets a list of Matrix4 parameters to the program.
bool mousePressed(const MouseButtonEvent &evt)
Processes mouse presses.
GLRTTManager GL3PlusRTTManager
Definition: OgreGL3PlusPrerequisites.h:38
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
@ CULL_ANTICLOCKWISE
Hardware culls triangles whose vertices are listed anticlockwise in the view.
Definition: OgreCommon.h:164
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader) override
Create an instance of VulkanProgram.
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:349
Space
Enumeration of relative spaces that you might want to use to address the terrain.
Definition: OgreTerrain.h:513
@ 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 setClearDepth(float depth)
Set the viewport clear depth (defaults to 1.0)
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:283
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.
Describes the stencil buffer operation.
Definition: OgreRenderSystem.h:110
void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
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 ...
CompareFunction getTextureCompareFunction() const
Definition: OgreTextureUnitState.h:703
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:132
@ 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
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:168
virtual Real getPointExtrusionDistance(const Light *l) const =0
Get the distance to extrude for a point/spot light.
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.
Definition: OgrePass.h:833
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:187
bool mHidden
Definition: OgreVulkanWindow.h:67
@ ID_GREATER
Definition: OgreScriptCompiler.h:632
@ ID_EXCLUDE
Definition: OgreScriptCompiler.h:595
Definition: OgreLodData.h:115
const QueuedRenderableCollection & getTransparentsUnsorted(void) const
Get the collection of transparent objects currently queued.
Definition: OgreRenderQueueSortingGrouping.h:300
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 setAutoextend(bool autoextend)
Tells the set whether to allow automatic extension of the pool of billboards.
Definition: OgreBillboardSet.h:374
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...
void unlockImpl(void)
Unlock a box.
Definition: OgreTinyHardwarePixelBuffer.h:22
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:149
void notifyResized()
Notify this instance that the primary surface has been resized.
size_t mIndex
Definition: OgreColourInterpolatorAffector.h:63
void setColourAt(ColourValue const &cv, uint32 x, uint32 y, uint32 z)
Set colour value at a certain location in the image.
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:77
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:619
OptimisationLevel getOptimisationLevel() const
Gets the optimisation level to use.
Definition: OgreD3D9HLSLProgram.h:179
char name[64]
Definition: OgreQuake3Types.h:203
SceneNode * getAutoTrackTarget(void) const
Get the auto tracking target for this camera, if any.
Definition: OgreCamera.h:359
bool cloneShaderBasedTechniques(const Material &srcMat, Material &dstMat)
Clone all shader based techniques from one material to another.
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)
void removeWidgetFromTray(Widget *widget)
Removes a widget from its tray.
Definition: OgreTrays.h:1046
static String formatErrorCode(uint32 code)
bool hasEntity(const String &name) const
Returns whether a object instance with the given name exists.
void uninstall()
Perform the final plugin uninstallation sequence.
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:1001
HardwareBufferLockGuard(HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:403
void _setNamedConstants(const GpuNamedConstantsPtr &constantmap)
Internal method for providing a link to a name->definition map for parameters.
@ GCT_FLOAT3
Definition: OgreGpuProgramParams.h:73
ParamsPanel * createParamsPanel(TrayLocation trayLoc, const Ogre::String &name, Ogre::Real width, const Ogre::StringVector ¶mNames)
void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
Definition: OgreBillboardParticleRenderer.h:83
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
Display * getXDisplay(Display *glDisplay, Atom &deleteWindow, Atom &fullScreen, Atom &state)
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.
_OgreBulletExport btCylinderShape * createCylinderCollider(const MovableObject *mo)
create capsule collider using ogre provided data
uint16 terrainSize
Terrain size (along one edge) in vertices; must be 2^n+1.
Definition: OgreTerrain.h:328
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:278
std::map< unsigned short, VertexAnimationTrack * > VertexTrackList
Definition: OgreAnimation.h:381
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=HBU_GPU_ONLY, HardwareBuffer::Usage indexBufferUsage=HBU_GPU_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 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:37
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreRenderTarget.h:374
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)
This event is fired when a script is about to be parsed.
Definition: OgreTrays.h:1091
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:132
SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
virtual const String & getType() const
@ PFF_LUMINANCE
This is an intensity format instead of a RGB one.
Definition: OgrePixelFormat.h:325
std::vector< OctreeNode * > NodeList
Definition: OgreOctree.h:138
ViewPoint getSuggestedViewpoint(bool random=false)
Specialised to suggest viewpoints.
bool isBlank(void) const
Determines if this texture layer is currently blank.
@ ID_RENDER_CUSTOM
Definition: OgreScriptCompiler.h:849
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
GLclampf getClearDepth(void) const
Gets the clear depth in the range from [0..1].
Definition: OgreGL3PlusStateCacheManager.h:174
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
float getAttenuationRange(void) const
Returns the absolute upper range of the light.
Definition: OgreLight.h:195
uint32 HashCombine(uint32 hashSoFar, const T &data)
Combine hashes with same style as boost::hash_combine.
Definition: OgreCommon.h:53
void doSet(void *target, const String &val)
uint8 source
The source sampler index of this element relative to LayerDeclaration's list.
Definition: OgreTerrainMaterialGenerator.h:73
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:157
ShadowTextureConfig()
Definition: OgreSceneManager.h:72
Predefined controller value for getting / setting a texture coordinate modifications (scales and tran...
Definition: OgrePredefinedControllers.h:112
virtual void setColour(const ColourValue &colour)
Sets the initial colour of particles emitted.
void _focusLost()
Definition: OgreTrays.h:321
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:392
void setUseOneWeight(bool enable)
Definition: OgreInstanceBatchVTF.h:192
size_t calculateSize(void) const
virtual void prepareShadowTextures(Camera *cam, Viewport *vp, const LightList *lightList=0)
uint32 familyIdx
Definition: OgreVulkanDevice.h:45
Plane::Side outside
Definition: OgrePlaneBoundedVolume.h:55
An off-screen rendering context.
Definition: OgreGLPBuffer.h:40
In(const Vector2 &v)
Definition: OgreShaderFunctionAtom.h:162
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:187
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:120
@ ID_COLOUR_BLEND
Definition: OgreScriptCompiler.h:603
const MaterialPtr & getMaterial(void) const override
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreBillboardSet.h:532
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:349
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:127
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:97
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
@ ID_IDENTIFIER
Definition: OgreScriptCompiler.h:802
@ 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:1145
~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:64
virtual const Vector3 & getRegionDimensions(void) const
Gets the size of a single batch of geometry.
Definition: OgreStaticGeometry.h:671
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 material.
Definition: OgreGpuProgramParams.h:1057
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.
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
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:476
Definition: OgreD3D9GpuProgramManager.h:37
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.
float getAlphaAdjust(void) const
Gets the alpha adjustment to be made per second to particles.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
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
static UniformParameterPtr createSampler(GpuConstantType type, int index)
static SceneManagerEnumerator * getSingletonPtr(void)
Get the singleton instance.
ConstObjectIterator getAttachedObjectIterator(void) const
T pop_back_val()
Definition: OgreSmallVector.h:376
void _convertVertexElement(VertexElementSemantic semantic, VertexElementType dstType)
@ PROP_INT
Definition: OgreProperty.h:108
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:113
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
static float AngleUnitsToDegrees(float units)
Convert from the current AngleUnit to degrees.
String doGet(const void *target) const
bool mVisible
Definition: OgreVulkanWindow.h:66
This affector modifies the colour of particles in flight.
Definition: OgreColourFaderAffector.h:46
const String & getDependency(unsigned int index) const
Get the library name of the given index dependency.
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:92
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:319
Real getFrameDelay(void) const
Gets the constant that is added to time lapsed between each frame.
Quaternion orientation
Definition: OgreSceneManager.h:85
VkQueue mQueue
Definition: OgreVulkanQueue.h:80
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:185
void notifyContextDestroyed(GLContext *context)
Definition: OgreGLRenderTexture.h:85
static const Vector3 NEGATIVE_UNIT_Y
Definition: OgreVector.h:261
@ RSC_TEXTURE_COMPRESSION_ETC2
Supports compressed textures in the ETC2 format.
Definition: OgreRenderSystemCapabilities.h:148
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.
@ ID_PARAM_INDEXED_AUTO
Definition: OgreScriptCompiler.h:587
virtual void applyFixedFunctionParams(const GpuProgramParametersPtr ¶ms, uint16 variabilityMask)
Definition: OgreRenderSystem.h:335
String getErrorDescription(long errorNumber) const
@ SHADOWDETAILTYPE_TEXTURE
Mask for texture shadows (not for direct use, use SHADOWTYPE_ enum instead)
Definition: OgreCommon.h:230
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:283
void setFlipCullingOnNegativeScale(bool n)
Set whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:3308
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:241
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
@ PF_BYTE_L
Definition: OgrePixelFormat.h:60
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines used to compile the program.
Definition: OgreHighLevelGpuProgram.h:135
@ RENDER_QUEUE_3
Definition: OgreRenderQueue.h:61
bool hasPassIterationNumber() const
Definition: OgreGpuProgramParams.h:1799
Out(const Operand &rhs)
Definition: OgreShaderFunctionAtom.h:169
virtual RenderTarget * detachRenderTarget(const String &name)
Detaches the render target with the passed name from the render system and returns a pointer to it.
void setCaption(const Ogre::DisplayString &caption)
bool getPagingOperationsEnabled() const
Get whether paging operations are currently allowed to happen.
Definition: OgrePageManager.h:433
Definition: OgreInput.h:89
Stream(Stream &&rhs)=default
@ ACT_VERTEX_WINDING
-1 if the winding has been inverted (e.g.
Definition: OgreGpuProgramParams.h:734
bool hasFlag(const ImageFlags imgFlag) const
Returns true if the image has the appropriate flag set.
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:233
T top
Definition: OgreCommon.h:605
virtual void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
Definition: OgreSceneManager.h:3517
virtual ~SceneQueryListener()
Definition: OgreSceneQuery.h:186
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.
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:409
virtual ~RandomValueProvider()
Definition: OgreMath.h:224
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:89
static const ColourValue White
Definition: OgreColourValue.h:62
@ ACT_LIGHT_SPECULAR_COLOUR
Light specular colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:771
void uninstall()
Perform the final plugin uninstallation sequence.
Definition: OgreSTBICodec.h:81
@ PT_CLEAR
Clear target to one colour.
Definition: OgreCompositionPass.h:56
bool checkGPURules(StringStream &errors)
Internal method for checking GPU vendor / device rules.
Rectangle2D * createScreenSpaceRect(bool includeTextureCoords=false)
This is an overloaded member function, provided for convenience. It differs from the above function o...
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
float getBlendValue(uint32 x, uint32 y)
Get a single value of blend information, in image space.
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:103
size_t getShadowTextureCountPerLightType(Light::LightTypes type) const
Get the number of shadow textures is assigned for the given light type.
Definition: OgreSceneManager.h:2873
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.
ControllerReal * createTextureUScroller(TextureUnitState *layer, Real uSpeed)
Creates a basic time-based texture u coordinate modifier designed for creating scrolling textures.
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:83
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:118
@ 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:3260
void _setDepthBufferWriteEnabled(bool enabled=true)
Animation * getAnimation(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Returns the named Animation object.
std::vector< D3D11_SIGNATURE_PARAMETER_DESC > D3d11ShaderParameters
Definition: OgreD3D11HLSLProgram.h:74
unsigned int getHits()
Definition: OgreVertexIndexData.h:320
void install()
Perform the plugin initial installation sequence.
Vector & operator*=(const Vector &b)
Definition: OgreVector.h:625
void addProgramWriter(const String &lang, ProgramWriter *writer)
register and transfer ownership of writer
virtual ~PropertyBase()
Definition: OgreProperty.h:194
void Swap(ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:172
@ ID_WRAP
Definition: OgreScriptCompiler.h:696
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:98
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:910
static CmdGreenAdjust2 msGreenCmd2
Definition: OgreColourFaderAffector2.h:188
void setWidth(Real width)
Sets the width (local x size) of the emitter.
@ IS_PER_LIGHT
Part of the rendering which occurs per light.
Definition: OgrePass.h:53
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 byte offset in buffer.
Definition: OgreGpuProgramParams.h:147
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.
std::vector< TerrainLayerSamplerElement > TerrainLayerSamplerElementList
Definition: OgreTerrainMaterialGenerator.h:99
virtual void postExtraThreadsStarted()
Tell the rendersystem to perform any tasks it needs to directly after other threads which might acces...
Definition: OgreRenderSystem.h:1080
Codec specialized in images.
Definition: OgreImageCodec.h:49
static String eventType
Definition: OgreScriptCompiler.h:549
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.
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
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.
Real getBoundingRadiusScaled() const
as getBoundingRadius, but with scaling applied
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program i.e, the first method called.
Definition: OgreHighLevelGpuProgram.h:140
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:114
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.
GLint getGLBufferBinding(void) const
Definition: OgreGL3PlusHardwareBuffer.h:70
virtual void build(void)
Build the geometry.
@ SPC_TEXTURE_COORDINATE7
Definition: OgreShaderParameter.h:300
Vector4f getTime_0_1_packed(Real x) const
@ FOG_EXP2
Fog density increases at the square of FOG_EXP, i.e. even quicker (fog = 1/e^(distance * density)^2)
Definition: OgreCommon.h:150
uint32 getTypeFlags(void) const
Override to return specific type flag.
int mNumEntities
Definition: OgreQuake3Level.h:126
LinkedSkeletonAnimSourceIterator getLinkedSkeletonAnimationSourceIterator(void) const override
bool fsaa
Definition: OgreCompositionTechnique.h:76
void addInputListener(NativeWindowType *win, InputListener *lis) override
attach input listener
static ParameterPtr createConstParam(const Vector4 &val)
bool isArray() const
Returns Whether this parameter is an array.
Definition: OgreShaderParameter.h:366
bool useSharedVertices
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.
Definition: OgreSubMesh.h:132
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...
~TextureUnitState()
Default destructor.
void assign(const In &from, const Out &to) const
to = from;
Definition: OgreShaderFunction.h:74
EdgeData * getEdgeList(void) override
Implement this method to enable stencil shadows.
Definition: OgreDeprecated.h:24
void setGreenAdjust2(float green)
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:191
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:697
bool keyPressed(const KeyboardEvent &evt)
virtual VulkanFrameBufferDescMap & _getFrameBufferDescMap(void)
Definition: OgreVulkanRenderSystem.h:161
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
virtual void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
Definition: OgreRenderSystem.h:580
void setManualNamedConstants(const GpuNamedConstants &namedConstants)
Allows you to manually provide a set of named parameter mappings to a program which would not be able...
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.
~PCZLight()
Standard destructor.
bool getTransparentSortingForced(void) const
Returns whether or not transparent sorting is forced.
Definition: OgrePass.h:1059
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
Struct containing information about a material LOD change event for entities.
Definition: OgreLodListener.h:74
std::list< SceneQueryMovableObjectWorldFragmentPair > SceneQueryMovableWorldFragmentIntersectionList
Definition: OgreSceneQuery.h:476
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:307
static Degree Sign(const Degree &dValue)
Definition: OgreMath.h:382
void loadGroupDefinition(StreamSerialiser &stream)
Load the group definition only in native form from a serializing stream.
@ SPC_UNKNOWN
Unknown content.
Definition: OgreShaderParameter.h:83
Plugin instance for PCZ Manager.
Definition: OgrePCZPlugin.h:44
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.
VkImage getMsaaTextureName(void) const
Definition: OgreVulkanTextureGpu.h:168
bool mDeleteDclBinding
Whether this class should delete the declaration and binding.
Definition: OgreVertexIndexData.h:96
virtual ~ResourceLoadingListener()
Definition: OgreResourceGroupManager.h:200
@ IT_32BIT
Definition: OgreHardwareIndexBuffer.h:51
SceneBlendFactor getDestBlendFactorAlpha() const
Retrieves the alpha destination blending factor for the material.
Definition: OgrePass.h:698
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:618
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:1153
void abortRequest() const
Set the abort flag.
Definition: OgreWorkQueue.h:108
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
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...
Definition: OgreManualObject.h:350
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.
void findComputeQueue(FastArray< uint32 > &inOutUsedQueueCount, uint32 maxNumQueues)
static Matrix4 parseMatrix4(const String &val, const Matrix4 &defaultValue=Matrix4::IDENTITY)
Parses a Matrix4 out of a String.
Definition: OgreStringConverter.h:311
static String eventType
Definition: OgreScriptCompiler.h:539
String resourceType
Definition: OgreResourceGroupManager.h:251
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:57
virtual ~WindowEventListener()
Definition: OgreWindowEventUtilities.h:55
static size_t getVectorIDFromPointer(const std::vector< T, A > &vec, const T *pointer)
Definition: OgreLodData.h:172
The PCZSceneNode is an extension used to store zone information and provide additional functionality ...
Definition: OgrePCZSceneNode.h:61
Vector3 mC2
Definition: OgreVolumeDualGridGenerator.h:52
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 getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
Definition: OgreShadowCaster.h:75
void setPointSize(float ps)
Sets the point size of this pass.
Definition: OgrePass.h:466
void tangent(float x, float y, float z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:267
~D3D11HardwareOcclusionQuery()
Object destructor.
Command object for setting profiles.
Definition: OgreGLSLESCgProgram.h:44
static CmdGreenAdjust msGreenCmd
Definition: OgreColourFaderAffector.h:135
QueuedRenderableCollection()
virtual void setFullscreen(bool fullScreen, unsigned int widthPt, unsigned int heightPt)
Alter fullscreen mode options.
Definition: OgreRenderWindow.h:117
void setUseRayBoxDistanceCalculation(bool rb)
Sets whether to use an accurate ray / box intersection to determine distance from a terrain tile,...
Definition: OgreTerrain.h:1974
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:343
void _writeRawConstant(size_t physicalIndex, T val)
Write a single parameter to the program.
Definition: OgreGpuProgramParams.h:1443
Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for animating this skeleton.
size_t getIndexDataEndIndex() const
Returns the current value of the start index used for drawing.
uint32 getVersion() const
Get the version number of this shared parameter set, can be used to identify when changes have occurr...
Definition: OgreGpuProgramParams.h:450
void deleteGLRenderBuffer(GLuint buffer)
Delete an OpenGL render buffer.
void bind(T *rep)
Definition: OgreSharedPtr.h:80
void setNamedConstant(const String &name, const Vector3 &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void _notifyWorldTransforms(const Matrix4 &xform)
Internal method to notify the element when it's world transform of parent overlay has changed.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer) override
Create a hardware vertex buffer.
@ ID_EXP
Definition: OgreScriptCompiler.h:660
InstanceBatchIterator getInstanceBatchIterator(const String &materialName) const
Get non-updateable iterator over instance batches for given material.
@ 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:266
void setWorkQueue(WorkQueue *queue)
Replace the current work queue with an alternative.
void _renderScene(Viewport *vp, bool unused)
Definition: OgreCamera.h:397
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:460
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.
Definition: OgreBillboardParticleRenderer.h:103
@ 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:111
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
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:357
Definition: OgreSmallVector.h:774
Vector3 mC5
Definition: OgreVolumeDualGridGenerator.h:55
@ FBT_COLOUR
Definition: OgreCommon.h:327
A 'track' in an animation sequence, i.e.
Definition: OgreAnimationTrack.h:124
bool isLanguageSupported(const String &lang) const
Returns whether a given high-level language (e.g.
const Vector3 & getNormal(void) const
Returns the polygon normal.
TRect & merge(const TRect &rhs)
Definition: OgreCommon.h:639
void seek(size_t pos)
Repositions the read point to a specified byte.
@ RSC_TEXTURE_2D_ARRAY
Supports 2D Texture Arrays.
Definition: OgreRenderSystemCapabilities.h:101
void setNormals(const Vector3 &topLeft, const Vector3 &bottomLeft, const Vector3 &topRight, const Vector3 &bottomRight)
Sets the normals of the rectangle.
ColourValue getColour(void) const
Gets the colour of this billboard.
Definition: OgreBillboard.h:150
virtual void shutdown()=0
Perform any tasks the plugin needs to perform when the system is shut down.
@ GCT_INT1
Definition: OgreGpuProgramParams.h:92
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:2672
void setAffectsVisibleZone(bool affects)
Marks a light as affecting a visible zone.
Definition: OgrePCZLight.h:86
Vertex * vertex[3]
Definition: OgreLodData.h:116
VertexReductionMethod
Type of the reduction.
Definition: OgreLodConfig.h:62
void setWindowGrab(NativeWindowType *win, bool grab)
When input is grabbed the mouse is confined to the window.
~SimplePageContentCollection()
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const =0
Query the real capabilities of the GPU and driver in the RenderSystem.
void bindGLTexture(GLenum target, GLuint texture)
Bind an OpenGL texture of any type.
Real getShadowFarClipDistance() const
Returns the far clip plane distance to be used by the shadow camera, if this light casts texture shad...
Definition: OgreLight.h:484
static CmdKeepVelocity msKeepVelocityCmd
Definition: OgreDirectionRandomiserAffector.h:95
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:168
virtual uint32 getQueryFlags(void) const
Returns the query flags relevant for this object.
Definition: OgreMovableObject.h:405
void setFragmentProgramConstantIntCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:724
void setScaleRange(const Vector2 &range)
Definition: OgreScaleAffector.h:75
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:357
#define OGRE_MAX_TEXTURE_COORD_SETS
Define number of texture coordinate sets allowed per vertex.
Definition: OgreConfig.h:44
const String & getName() const
Get the name of the plugin.
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:160
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:77
virtual void clearFrameBuffer(uint32 buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, uint16 stencil=0)=0
Clears one or more frame buffers on the active render target.
@ SHADER_GEN_VERTEX
Definition: OgreQuake3Types.h:122
Definition: OgreMetalRenderTexture.h:39
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:711
CompositionTargetPass * createTargetPass()
Create a new target pass, and return a pointer to it.
void _focusLost()
Definition: OgreTrays.h:561
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.
@ SPC_POSITION_LIGHT_SPACE0
Position in light space index 0-7.
Definition: OgreShaderParameter.h:98
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:58
virtual void removeListener(Listener *lis)
Remove a listener on this resource.
GLES2FBOManager * getManager()
Definition: OgreGLES2FrameBufferObject.h:61
void _notifyOrigin(const String &origin)
Notify this particle system of it's origin.
Definition: OgreParticleSystem.h:437
Plugin instance for Cg Program Manager.
Definition: OgreCgPlugin.h:40
TerrainLayerSampler(const String &aliasName, PixelFormat fmt)
Definition: OgreTerrainMaterialGenerator.h:120
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 HBU_CPU_ONLY
Definition: OgreTexture.h:53
@ SPC_POSTOLIGHT_VIEW_SPACE1
Definition: OgreShaderParameter.h:153
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:575
@ SPC_LIGHTDIRECTION_WORLD_SPACE1
Definition: OgreShaderParameter.h:183
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.
@ VSOCP_MEDIUM
Definition: OgreShaderPrerequisites.h:83
bool queryResult(MovableObject *object)
Called when a MovableObject is returned by a query.
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)
void addSubRenderStateInstance(SubRenderState *subRenderState)
Add sub render state to this render state.
virtual ~CompositorManager()
Alignment terrainAlign
The alignment of the terrain.
Definition: OgreTerrain.h:326
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:452
void setShadowTextureFSAA(unsigned short fsaa)
Set the level of multisample AA of the textures used for texture-based shadows.
Definition: OgreSceneManager.h:2847
virtual ~LodWorkQueueInjectorListener()
Definition: OgreLodWorkQueueInjectorListener.h:41
@ ID_ITERATION
Definition: OgreScriptCompiler.h:665
virtual void loadResources()
Loads context-wide resource groups.
@ RSC_HWRENDER_TO_TEXTURE
Supports hardware render-to-texture (bigger than framebuffer)
Definition: OgreRenderSystemCapabilities.h:115
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:557
void setLightMask(uint32 lightMask)
Set a bitwise mask which will filter the lights affecting this object.
@ ID_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:565
Definition: OgreGLSLProgramCommon.h:57
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
@ GCT_MATRIX_DOUBLE_4X3
Definition: OgreGpuProgramParams.h:108
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
Definition: OgreHardwareVertexBuffer.h:163
void _load(void)
Load this usage (and ensure program is loaded)
MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
Definition: OgreVulkanRenderSystem.h:217
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.
unsigned char getNumCustomParams() const
Definition: OgreInstanceManager.h:199
bool _validateDevice()
Validate the device for this window.
Ogre::SceneNode * getCamera()
Definition: OgreCameraMan.h:66
void _removeChild(OverlayElement *elem)
Definition: OgreOverlayContainer.h:90
virtual void setCellRangeMaxX(int32 maxX)
Set the index range of all cells (values outside this will be ignored)
virtual void cameraDestroyed(Camera *cam)
Called when the camera is being destroyed.
Definition: OgreCamera.h:105
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:75
@ ACT_FOV
This variable provides the field of view as a floating point value.
Definition: OgreGpuProgramParams.h:1044
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:556
Template version of cache based on static array.
Definition: OgreDeflate.h:47
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Definition: OgreHardwareIndexBuffer.h:47
@ PFF_INTEGER
This is an integer format.
Definition: OgrePixelFormat.h:327
void removeQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this o...
Definition: OgreMovableObject.h:402
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:1016
ushort getDesiredFloatBitDepth(void) const
gets desired bit depth for float pixel format textures.
float getOwnWidth(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:99
DeformFunc deformFunc
Definition: OgreQuake3Shader.h:113
Definition of a property of an object.
Definition: OgreProperty.h:134
Separate SceneQuery class to query for pairs of objects which are possibly intersecting one another.
Definition: OgreSceneQuery.h:499
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.
@ ID_START_LIGHT
Definition: OgreScriptCompiler.h:664
TextureType
Enum identifying the texture type.
Definition: OgreTexture.h:94
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:149
virtual void windowMoved(Ogre::RenderWindow *rw)
Definition: OgreApplicationContextBase.h:128
void setTopBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top edge of the border.
void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model.
Definition: OgreBillboardParticleRenderer.h:75
Listener interface so you can be notified of Camera events.
Definition: OgreCamera.h:91
virtual void abortAllRequests()=0
Abort all previously issued requests.
ParticleType
Type of particle.
Definition: OgreParticle.h:48
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:382
bool attachDepthBuffer(DepthBuffer *depthBuffer) override
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:114
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:2629
const ContentFactoryMap & getContentFactories() const
Get a reference to the registered strategies.
const Capsule & getCapsule() const
Returns an updated capsule of the portal for intersection test.
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
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:744
bool isPointInside(const Vector3 &point) const
Determines if a point is inside the polygon.
@ VES_BLEND_WEIGHTS
Blending weights.
Definition: OgreHardwareVertexBuffer.h:93
QueueFamily mFamily
Definition: OgreVulkanQueue.h:72
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 Archive * createInstance(const String &name, bool readOnly)=0
Creates a new object.
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.
Definition: OgrePass.h:822
D3D11_SHADER_RESOURCE_VIEW_DESC getShaderResourceViewDesc() const
Definition: OgreD3D11Texture.h:59
static const uint16 CHUNK_VERSION
Definition: OgreGrid3DPageStrategy.h:125
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:1057
void addRenderable(Renderable *pRend, Technique *pTech)
Add a renderable to this group.
Command object for setting optimisation level.
Definition: OgreD3D9HLSLProgram.h:64
TerrainLayerSamplerElementList elements
Definition: OgreTerrainMaterialGenerator.h:134
uint8 getMaxLayers() const
Get the maximum number of layers supported with the current options.
ProcessResourceNameScriptCompilerEvent(ResourceType resourceType, const String &name)
Definition: OgreScriptCompiler.h:483
Portal Culling Plane.
Definition: OgrePCPlane.h:53
UserObjectBindings & getUserObjectBindings()
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreNode.h:658
virtual HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware vertex buffer.
ParameterType
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:587
String getTopLeftBorderUVString() const
SceneMgrQueuedRenderableVisitor()
Definition: OgreSceneManager.h:384
@ ACT_TEXTURE_MATRIX
Provides the current transform matrix of the texture unit (index determined by setAutoConstant call),...
Definition: OgreGpuProgramParams.h:1140
const UserObjectBindings & getUserObjectBindings() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreNode.h:661
@ TEXTURE
Definition: OgreScriptCompiler.h:474
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.
Definition: OgrePass.h:686
void setHeight(uint32 h)
Set the height of the texture; can only do this before load();.
Definition: OgreTexture.h:249
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:39
static void unpackColour(float *r, float *g, float *b, float *a, PixelFormat pf, const void *src)
Unpack a colour value from memory.
bool shareTransformWith(InstancedEntity *slave)
Shares the entire transformation with another InstancedEntity.
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
Node * getParentNode(void) const
Returns the node to which this object is attached.
Definition: OgreMovableObject.h:213
void setScissorTest(bool enabled, const Rect &rect=Rect())
Sets the 'scissor region' i.e.
const String & getTextureInstanceName(const String &name, size_t mrtIndex)
Get the instance name for a local texture.
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:379
Implementation of HardwareBufferManager for OpenGL ES.
Definition: OgreGLES2HardwareBufferManager.h:41
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:112
StringVector getResourceGroups(void) const
Get a list of the currently defined resource groups.
@ RSC_MIPMAP_LOD_BIAS
Supports mipmap LOD biasing.
Definition: OgreRenderSystemCapabilities.h:129
@ PROP_SHORT
Definition: OgreProperty.h:106
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.
uint32 arraySize
Length of array.
Definition: OgreGpuProgramParams.h:154
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:63
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
std::map< String, MovableObject * > MovableObjectMap
Definition: OgreSceneManager.h:416
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.
AutoConstantEntry(AutoConstantType theType, size_t theIndex, uint32 theData, uint16 theVariability, uint8 theElemCount=4)
Definition: OgreGpuProgramParams.h:1225
void setEnabled(GLenum flag)
Enables a piece of OpenGL functionality.
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.
virtual const GpuNamedConstants & getConstantDefinitions()
Get the full list of named constants.
Definition: OgreGpuProgram.h:351
const ColourValue getLightDiffuseColourWithPower(size_t index) const
@ SPC_TANGENT_OBJECT_SPACE
Tangent in object space.
Definition: OgreShaderParameter.h:251
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:127
int getDebugMode() const
Definition: OgreBullet.h:156
@ 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:317
void Define(const char *iMacroName, size_t iMacroNameLen)
Define a symbolical macro.
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:509
void bindGLBuffer(GLenum target, GLuint buffer, bool force=false)
Bind an OpenGL buffer of any type.
virtual void encodeToFile(const Any &input, const String &outFileName) const
Codes the data in the input chunk and saves the result in the output filename provided.
const UserObjectBindings & getUserObjectBindings() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreTechnique.h:698
void parseCapabilitiesFromArchive(const String &filename, const String &archiveType, bool recursive=true)
@ PROP_VECTOR2
Definition: OgreProperty.h:114
virtual void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
Definition: OgreRenderSystem.h:1074
Pass & operator=(const Pass &oth)
Operator = overload.
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.
@ TEXGEN_BASE
Definition: OgreQuake3Types.h:127
void setRenderingDistance(Real dist)
Sets the distance at which the object is no longer rendered.
Definition: OgreMovableObject.h:311
void setPolygonMode(GLenum mode)
Sets the current polygon rendering mode.
CompareFunction alphaFunc
Definition: OgreQuake3Shader.h:97
VkCommandBuffer mCommandBuffer
Definition: OgreVulkanQueue.h:56
virtual bool removeRenderWindow(const String &renderWindowName)=0
IntegratedPSSM3()
Class default constructor.
@ GCT_MATRIX_DOUBLE_2X2
Definition: OgreGpuProgramParams.h:101
VertexAnimationType getAnimationType(void) const
Get the type of vertex animation we're performing.
Definition: OgreAnimationTrack.h:497
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.
void _setRawAutoConstant(size_t physicalIndex, AutoConstantType acType, uint32 extraInfo, uint16 variability, uint8 elementSize=4)
As setAutoConstant, but sets up the auto constant directly against a physical buffer index.
ConcreteNode * parent
Definition: OgreScriptCompiler.h:72
static Real getDefaultNonVisibleUpdateTimeout(void)
Get the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:380
GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
int16 refreshRate
Definition: OgreGLNativeSupport.h:45
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
@ FRUSTUM_PLANE_LEFT
Definition: OgreFrustum.h:73
static const Vector3 UNIT_Z
Definition: OgreVector.h:259
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)
This is an overloaded member function, provided for convenience. It differs from the above function o...
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
Returns the maximum distance away from the camera that shadows by this light will be visible.
bool getCompareEnabled() const
Definition: OgreTextureUnitState.h:185
void removeTemplatesByResourceGroup(const String &resourceGroup)
Removes all templates that belong to a specific 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:930
@ GCT_BOOL2
Definition: OgreGpuProgramParams.h:115
void doSet(void *target, const String &val)
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.
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:513
void addRenderables(RenderQueue *queue, uint8 group, Real lodValue)
Add children to the render queue.
@ LB_BlendExclusion
Definition: OgreShaderExLayeredBlending.h:58
Manages threaded compilation of scripts.
Definition: OgreScriptCompiler.h:396
Definition: OgreDotSceneLoader.h:83
virtual void write(const String *string)
void * allocateScratch(uint32 size)
Allocator method to allow us to use a pool of memory as a scratch area for hardware buffers.
const String & getBaseKeyFrameAnimationName() const
If a base keyframe is being used, the Animation that provides that keyframe.
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreGLSLESCgProgram.h:65
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.
@ ID_PER_LIGHT
Definition: OgreScriptCompiler.h:668
void resetFrustumExtents()
Reset the frustum extents to be automatically derived from other params.
@ REAL
Definition: OgreAnimable.h:78
Real skyBoxDistance
Definition: OgreSceneManager.h:313
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
void setUserAny(const Any &anything)
Definition: OgreMovableObject.h:336
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:469
void copyToTexture(TexturePtr &target)
overridden from Texture
Real volume(void) const
Calculate the volume of this box.
Definition: OgreAxisAlignedBox.h:591
Matrix4 mat4
Definition: OgreTinyRenderSystem.h:31
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:859
~UnifiedHighLevelGpuProgram()
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:1515
virtual int getExecutionOrder() const
VulkanRenderTexture(const String &name, HardwarePixelBuffer *buffer, uint32 zoffset, VulkanTextureGpu *target, uint32 face)
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:77
@ 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)
const std::vector< TexturePtr > & getBlendTextures() const
Get the packed blend textures.
Definition: OgreTerrain.h:1375
std::vector< LinkedSkeletonAnimationSource > LinkedSkeletonAnimSourceList
Definition: OgreSkeleton.h:349
bool getEnabled() const
Check if portal is enabled.
Definition: OgrePortalBase.h:158
void hide(void)
Hides the overlay if it was visible.
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.
virtual const String & getLanguage(void) const =0
Get the name of the language this factory creates programs for.
size_type max_size() const
Definition: OgreSmallVector.h:176
@ ID_SRC_SPECULAR
Definition: OgreScriptCompiler.h:733
@ ACT_TIME_0_1_PACKED
Vector of "Time0_1", "SinTime0_1", "CosTime0_1", "TanTime0_1".
Definition: OgreGpuProgramParams.h:986
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:159
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
Factory class for Unified programs.
Definition: OgreUnifiedHighLevelGpuProgram.h:156
RenderTexture implementation for D3D9.
Definition: OgreD3D9Texture.h:173
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.
bool resourceExists(const String &name, const String &group=RGN_DEFAULT) const
Returns whether the named resource exists in this manager.
Definition: OgreResourceManager.h:326
void setCullingMode(CullingMode mode)
Sets the culling mode for this pass based on the 'vertex winding'.
Definition: OgrePass.h:848
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)
const String & getFactoryTypeName() const
Definition: OgrePCZoneFactory.h:49
void setStencilState(const StencilState &state) override
This method allows you to set all the stencil buffer parameters in one call.
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:115
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:144
unsigned int getLastQuerysPixelcount()
Definition: OgreD3D11HardwareOcclusionQuery.h:78
bool getUseMinPixelSize() const
Returns whether to use min display size calculations.
Definition: OgreCamera.h:649
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:3453
Ogre::DisplayString getParamValue(const Ogre::DisplayString ¶mName)
void setTransparentSortingForced(bool enabled)
Sets whether or not transparent sorting is forced.
Definition: OgrePass.h:1055
AbstractNode * parent
Definition: OgreScriptCompiler.h:97
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
static Degree Sqrt(const Degree &fValue)
Square root function.
Definition: OgreMath.h:452
uint32 getStencilRefValue() const
Get stencil reference value.
const AnimationList & getAnimations() const
Returns a const version of the animation list.
Definition: OgreSceneManager.h:2340
MeshPtr getByName(const String &name, const String &groupName=RGN_DEFAULT) const
Retrieves a pointer to a resource by name, or null if the resource does not exist.
Provides an interface to "listen in" to to render system operations executed by this CompositorInstan...
Definition: OgreCompositorInstance.h:60
Definition: OgreBullet.h:77
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.
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 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:70
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:82
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:120
iterator insert(iterator pos, const T &t)
Definition: OgreCommon.h:511
@ ID_ALPHA_REJECTION
Definition: OgreScriptCompiler.h:633
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 current GuiMetricsMode.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false) override
See HardwareBuffer.
Abstract IsoSurface.
Definition: OgreVolumeIsoSurface.h:48
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
static PropertyType getTypeForValue(const int &val)
Definition: OgreProperty.h:159
ClipResult
Generic result of clipping.
Definition: OgreCommon.h:819
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
void loadFromStream(const DataStreamPtr &inStream)
Reads Quake3 bsp data from a stream as read from the file.
bool isAnchored(void)
Definition: OgrePCZSceneNode.h:80
bool isFullScreen() const
const_reverse_iterator rend() const
Definition: OgreCommon.h:438
unsigned int * pint
Definition: OgreLodData.h:138
bool operator<(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:244
@ ID_SCROLL_Y
Definition: OgreScriptCompiler.h:749
const Instances & getSceneManagers() const
Get all the existing SceneManager instances.
static float Tan(const Radian &fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:498
bool getOnlyInitial()
Get "only initial" flag.
PCZFrustum::Visibility getVisibility(const AxisAlignedBox &bound)
void _notifyNeedsRecompile(void)
Tells the technique that it needs recompilation.
String getAttachedShaderNames() const
Definition: OgreGLSLShaderCommon.h:81
BillboardChain * getBillboardChain(const String &name) const
Get a reference to a previously created object instance.
@ IS_AMBIENT
Part of the rendering which occurs without any kind of direct lighting.
Definition: OgrePass.h:51
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:130
unsigned int line
Definition: OgreScriptCompiler.h:95
void setShowDebugShadows(bool debug)
Enables / disables the rendering of debug information for shadows.
Definition: OgreSceneManager.h:2619
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:907
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.
void throwIfFailed(HRESULT hr, const char *desc, const char *src)
void _freeUnusedBufferCopies(void)
Free all unused vertex buffer copies.
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.
uint32 getLightMask() const
Get a bitwise mask which will filter the lights affecting this object.
Definition: OgreMovableObject.h:478
void install()
Perform the plugin initial installation sequence.
Definition: OgreDeprecated.h:70
SceneManager * createSceneManager(uint16 typeMask, const String &instanceName=BLANKSTRING)
Definition: OgreRoot.h:382
uint32 length
Length of the chunk data in bytes, excluding the header of this chunk (stored)
Definition: OgreStreamSerialiser.h:101
Resource location entry.
Definition: OgreResourceGroupManager.h:261
static bool parse(const String &str, Matrix4 &v)
void setVisible(bool visible)
Shows or hides this element.
Definition: OgreOverlayElement.h:204
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:258
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:369
void setTextureAnisotropy(int maxAniso)
Sets the anisotropy level to be used for all textures.
int mCurrentSemaphoreIndex
Definition: OgreVulkanWindow.h:86
bool getVisible(void) const
Gets this object whether to be visible or not, if it has a renderable component.
Definition: OgreMovableObject.h:298
bool ToEulerAnglesXZY(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
virtual void execute(SceneManager *sm, RenderSystem *rs)=0
Set state to SceneManager and RenderSystem.
static VkFormat get(VertexElementType vertexElemType)
bool _fireFrameEnded()
Method for raising frame ended events.
@ GPU_NVIDIA
Definition: OgreRenderSystemCapabilities.h:233
IDirect3DResource9 * getD3D9Resource(void)
Get D3D9-specific resource.
Predefined controller value for getting / setting the frame number of a texture layer.
Definition: OgrePredefinedControllers.h:82
@ PF_R8G8_UINT
16-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int).
Definition: OgrePixelFormat.h:153
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
bool writeB
Definition: OgreBlendMode.h:273
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.
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)
virtual void setClearColour(const ColourValue &clearColour)
Sets the clear colour to all entries.
PCZSceneManagerFactory()
Definition: OgrePCZSceneManager.h:375
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
D3D11Sampler(D3D11Device &device)
Definition: OgreD3D11TextureManager.h:39
virtual void read(Ray *ray, size_t count=1)
MapIterator< MovableObjectMap > MovableObjectIterator
Definition: OgreSceneManager.h:3176
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:294
@ ID_POINT_SIZE_MIN
Definition: OgreScriptCompiler.h:677
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.
Definition: OgreBillboardParticleRenderer.h:119
@ PROP_UNSIGNED_INT
Definition: OgreProperty.h:109
virtual void requestOptions(Terrain *terrain)=0
Request the options needed from the terrain.
@ SPC_COLOR_DIFFUSE
Diffuse color.
Definition: OgreShaderParameter.h:275
PropertyType propType
Definition: OgreProperty.h:266
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:84
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.
String getOptimisedSource(void)
Gets he optimised GLSL source.
Definition: OgreGLSLESProgram.h:71
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:65
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)
Usual constructor - called by LogManager.
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:638
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:162
@ SPC_POSTOLIGHT_WORLD_SPACE2
Definition: OgreShaderParameter.h:144
float avgFPS
average frames per second (FPS) since call to Root::startRendering
Definition: OgreRenderTarget.h:70
Visitor interface for items in a QueuedRenderableCollection.
Definition: OgreRenderQueueSortingGrouping.h:70
@ LB_BlendScreen
Definition: OgreShaderExLayeredBlending.h:59
void removeAffector(unsigned short index)
Removes an affector from the system.
@ 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:155
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.
GLSLESLinkProgram(const GLShaderList &shaders)
Constructor should only be used by GLSLESLinkProgramManager.
static const uint32 LOD_MORPH_CUSTOM_PARAM
Definition: OgreTerrain.h:291
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)
void setCamera(Ogre::SceneNode *cam)
Swaps the camera on our camera man for another camera.
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:1955
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:132
static void destroyQueues(FastArray< VulkanQueue > &queueArray)
@ SPC_POSTOLIGHT_TANGENT_SPACE5
Definition: OgreShaderParameter.h:167
OverlayElement * createOverlayElement(const String &typeName, const String &instanceName, bool=false)
Creates a new OverlayElement of the type requested.
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.
GpuProgramParametersSharedPtr getTessellationDomainProgramParameters(void) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Vector3i getSize() const
size (width, height, depth) of the pixel buffer
Definition: OgreHardwarePixelBuffer.h:190
static StringVector getExtensions(void)
Gets the file extension list for the registered codecs.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
Definition: OgreDefaultHardwareBufferManager.h:118
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)
static GLSLESProgramManager * getSingletonPtr(void)
A class that represents an atomic code section of shader based program function.
Definition: OgreShaderFunctionAtom.h:190
MultiRenderTarget for GL ES 2.x.
Definition: OgreGLES2FBOMultiRenderTarget.h:41
Definition: OgreMeshLodGenerator.h:54
Generic ParamCommand implementation stores pointers to the class getter and setter functions.
Definition: OgreStringInterface.h:90
virtual KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
VectorIterator< GeometryBucketList > GeometryIterator
Iterator over geometry.
Definition: OgreStaticGeometry.h:269
static PropertyType getTypeForValue(const long &val)
Definition: OgreProperty.h:161
@ ID_ONE_MINUS_SRC_COLOUR
Definition: OgreScriptCompiler.h:609
void destroyRibbonTrail(MovableObject *obj)
Removes & destroys a RibbonTrail from the SceneManager.
Definition: OgreSceneManager.h:1592
void prepareResourceGroup(const String &name)
Prepares a resource group.
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:217
void setMinLogLevel(LogMessageLevel lml)
set the minimal LogMessageLevel for a message to be logged
virtual void triangleRemoved(LodData *data, LodData::Triangle *tri)
Any mData
Data associated with the result of the process.
Definition: OgreWorkQueue.h:134
const GlyphInfo & getGlyphInfo(CodePoint id) const
Gets the information available for a glyph corresponding to a given code point, or throws an exceptio...
Definition: OgreFont.h:250
void setPosition(Real x, Real y, Real z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreBillboard.h:120
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.
Definition: OgreBillboardParticleRenderer.h:77
shorthand for "dst = a OP b;"
Definition: OgreShaderFunctionAtom.h:309
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:987
@ ID_OFF
Definition: OgreScriptCompiler.h:707
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:430
uint32 queueIdx
Definition: OgreVulkanDevice.h:46
@ RSC_TESSELLATION_DOMAIN_PROGRAM
Supports hardware tessellation domain programs.
Definition: OgreRenderSystemCapabilities.h:99
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:162
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:214
void removeInjectorListener()
Definition: OgreLodWorkQueueInjector.h:57
void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
PageContentCollection * createInstance()
Definition: OgreSimplePageContentCollection.h:121
PropertyBase * getProperty(const String &name) const
Gets the property object for a given property name.
@ ID_SCALE
Definition: OgreScriptCompiler.h:746
bool getFlipCullingOnNegativeScale() const
Get whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:3313
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:272
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
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:581
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.
@ ID_FRAGMENT
Definition: OgreScriptCompiler.h:760
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:320
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:375
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:170
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:280
void _endFrame(void)
Ends rendering of a frame to the current viewport.
virtual void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
Definition: OgreRenderSystem.h:594
ProfileSessionListener should be used to visualize profile results.
Definition: OgreProfiler.h:202
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:315
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'.
IntersectionSceneQuery * createIntersectionQuery(uint32 mask=0xFFFFFFFF)
Creates an IntersectionSceneQuery for this scene manager.
PCZ implementation of AxisAlignedBoxSceneQuery.
Definition: OgrePCZSceneQuery.h:51
void addToSwitchingFullscreenCounter()
Definition: OgreD3D11RenderSystem.h:205
uint numSamples
Definition: OgreGLRenderTexture.h:47
const Plane & getDerivedPlane() const
Get the portal plane in world coordinates.
Definition: OgrePortalBase.h:140
bool operator<=(const Degree &d) const
Definition: OgreMath.h:143
static float RadiansToDegrees(float radians)
Definition: OgreMath.h:513
@ FO_NONE
No filtering, used for FT_MIP to turn off mipmapping.
Definition: OgreCommon.h:104
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
TextureAnimatorAffector(ParticleSystem *psys)
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:166
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:646
static PropertyType getTypeForValue(const bool &val)
Definition: OgreProperty.h:169
HardwareVertexBufferPtr HardwareVertexBufferSharedPtr
Definition: OgrePrerequisites.h:297
const Vector3 & getPosition(void) const
Get the position of the billboard.
Definition: OgreBillboard.h:127
bool hasCustomParameter(size_t index) const
Checks whether a custom value is associated with this Renderable at the given index.
Quaternion Exp() const
Apply to unit-length quaternion.
static float saturate(float t)
Simulate the shader function saturate that clamps a parameter value between 0 and 1.
Definition: OgreMath.h:388
@ SPC_POSTOLIGHT_WORLD_SPACE5
Definition: OgreShaderParameter.h:147
void setCompositeMapDistance(Real c)
Set the distance at which to start using a composite map if present.
Definition: OgreTerrain.h:1901
PCZSceneNode * mAssociatedNode
Definition: OgrePCZone.h:305
Definition: OgreColourFaderAffector2.h:44
void _notifyAttached(Node *parent, bool isTagPoint=false)
Delegated to by ParticleSystem::_notifyAttached.
Definition: OgreBillboardParticleRenderer.h:121
float bestFPS
best frames per second (FPS) since call to Root::startRendering
Definition: OgreRenderTarget.h:72
void fromString(const String &versionString)
GpuLogicalIndexUseMap map
Map from logical index to physical buffer location.
Definition: OgreGpuProgramParams.h:374
@ ID_DEPTH_WRITE
Definition: OgreScriptCompiler.h:621
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:145
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:1952
void importMesh(const DataStreamPtr &stream, Mesh *pDest)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
Real getShadowFarDistanceSquared(void) const
Definition: OgreSceneManager.h:2674
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLFBOMultiRenderTarget.h:45
Definition: OgreDefaultDebugDrawer.h:14
Listener class for responding to tray events.
Definition: OgreTrays.h:91
@ CNT_LBRACE
Definition: OgreScriptCompiler.h:56
void setPosition(const Vector3 &position, bool doUpdate=true)
Set the position or the offset from the parent node if a parent node exists.
Specialisation of GpuProgram to provide support for SPIRV.
Definition: OgreVulkanProgram.h:43
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:302
uint16 maxBatchSize
Maximum batch size (along one edge) in vertices; must be 2^n+1 and <= 65.
Definition: OgreTerrain.h:334
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:96
void scroll(Real xoff, Real yoff)
Scrolls the overlay by the offsets provided.
@ BBT_ORIENTED_SELF
Billboards are oriented around their own direction vector (their own Y axis) and only rotate around t...
Definition: OgreBillboardSet.h:90
virtual void startDeflate(size_t avail_in=0)
Start (un)compressing data.
const InputTex & getInput(size_t id) const
Get the value of an input.
bool hasManualObject(const String &name) const
Returns whether a object instance with the given name exists.
Definition: OgreTinyDepthBuffer.h:14
void setChildObject(MovableObject *pObject)
const FactoryMap & getOverlayElementFactoryMap() const
Get const access to the list of registered OverlayElement factories.
Definition: OgreOverlayManager.h:179
const Vector3 & _getDerivedPosition() const
Returns the derived position of the instanced entity including local transform.
Definition: OgreInstancedEntity.h:266
ID3D11SamplerState * getState()
static int64 parseLong(const String &val, int64 defaultValue=0)
Definition: OgreStringConverter.h:235
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
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:158
static void unpackColour(ColourValue &colour, PixelFormat pf, const void *src)
Unpack a colour value from memory.
Definition: OgrePixelFormat.h:607
@ TEXCALC_ENVIRONMENT_MAP_REFLECTION
Definition: OgreRenderSystem.h:68
virtual void unload()=0
Unload - will be called in main thread.
const Affine3 & getWorldViewMatrix(void) const
@ ID_FRONT
Definition: OgreScriptCompiler.h:645
void destroyEntity(const String &name)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void acquireNextImage(void)
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:116
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:168
EllipsoidEmitter(ParticleSystem *psys)
See AreaEmitter.
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)
Definition: OgreRenderSystemCapabilities.h:779
void clearVertices(void)
Clear all vertices.
virtual void _checkNodeAgainstPortals(PCZSceneNode *, Portal *)
(recursive) Check the given node against all portals in the zone
GpuConstantType constType
Data type.
Definition: OgreGpuProgramParams.h:156
std::map< String, SettingsMultiMap > SettingsBySection_
Definition: OgreConfigFile.h:90
@ ReadWrite
Definition: OgreVulkanTextureGpu.h:59
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:244
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:169
std::vector< Node * > NodeList
Definition: OgreRibbonTrail.h:86
const SubEntityList & getSubEntities() const
Retrieves SubEntity objects making up this entity.
Definition: OgreEntity.h:361
VkImageViewType getInternalVulkanTextureViewType(void) const
@ ID_SHADOWS_ENABLED
Definition: OgreScriptCompiler.h:796
Real getRightBorderSize(void) const
Gets the size of the right border.
bool isLoaded(void) const
Is this loaded?
Quaternion(float fW, float fX, float fY, float fZ)
Construct from an explicit list of values.
Definition: OgreQuaternion.h:69
const Vector4f & getAttenuation() const
Returns all the attenuation params as (range, constant, linear, quadratic)
Definition: OgreLight.h:210
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:183
void setShininess(float val)
Sets the shininess of the pass, affecting the size of specular highlights.
Definition: OgrePass.h:359
Label * createLabel(TrayLocation trayLoc, const Ogre::String &name, const Ogre::DisplayString &caption, Ogre::Real width=0)
const String & getSyntaxCode(void) const
Gets the syntax code for this program e.g.
Definition: OgreGpuProgram.h:163
const ColourValue & getLightDiffuseColour(size_t index) const
void bind()
Definition: OgreGL3PlusHardwareBuffer.h:71
std::vector< Vertex > VertexList
Definition: OgreLodData.h:64
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.
@ ID_ADD_SMOOTH
Definition: OgreScriptCompiler.h:722
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: OgreStringInterface.h:67
@ GPU_ARM
For the Mali chipsets.
Definition: OgreRenderSystemCapabilities.h:241
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:114
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:211
@ OT_LINE_STRIP
A strip of connected lines, 1 vertex per line plus 1 start vertex.
Definition: OgreRenderOperation.h:54
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:194
static const uint32 TERRAINLAYERDECLARATION_CHUNK_ID
Definition: OgreTerrain.h:278
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
Definition: OgrePass.h:427
SceneNode * getSkyBoxNode(void) const
Get the skybox node, if enabled.
Definition: OgreSceneManager.h:2040
ConstMapIterator< GpuConstantDefinitionMap > GpuConstantDefinitionIterator
Definition: OgreGpuProgramParams.h:308
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
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:305
void injectBillboard(const Billboard &bb)
Define a billboard.
void setIgnoreMissingParams(bool state)
Tells the program whether to ignore missing parameters or not.
Definition: OgreGpuProgramParams.h:1658
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:223
virtual void destroyRenderTexture(const String &name)
Destroys a render texture.
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
std::list< VertexElement > VertexElementList
Defines the list of vertex elements that makes up this declaration.
Definition: OgreHardwareVertexBuffer.h:278
@ GPV_GLOBAL
No variation except by manual setting - the default.
Definition: OgreGpuProgramParams.h:127
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.
virtual void _setDepthBias(float constantBias, float slopeScaleBias=0.0f)=0
Sets the depth bias, NB you should use the Material version of this.
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:300
static D3DMATRIX makeD3DXMatrix(const Matrix4 &mat)
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:116
LodCollapseCostOutside(LodCollapseCostPtr costCalculator, Real outsideWeight, Real outsideWalkAngle)
@ ACT_VIEWPORT_SIZE
Packed of "ViewportWidth", "ViewportHeight", "ViewportWidthInverse", "ViewportHeightInverse".
Definition: OgreGpuProgramParams.h:1026
Real getNearClipDistance() const
ApplicationContextQt(const Ogre::String &appName="Ogre3D")
Definition: OgreApplicationContextQt.h:40
void setDevice(D3D9Device *device)
ID3D11DeviceN * get()
Definition: OgreD3D11Device.h:61
VulkanQueue mGraphicsQueue
Graphics queue is guaranteed by spec to also be able to run compute and transfer A GPU may not have a...
Definition: OgreVulkanDevice.h:58
std::vector< SubRenderState * > SubRenderStateList
Definition: OgreShaderSubRenderState.h:160
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
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:153
UniformParameterPtr resolveAutoParameterReal(GpuProgramParameters::AutoConstantType autoType, Real data, size_t size=0)
Resolve uniform auto constant parameter with associated real data of this program.
virtual void beginProfileEvent(const String &eventName)=0
This marks the beginning of an event for GPU profiling.
virtual bool frameStarted(const Ogre::FrameEvent &evt)
Called when a frame is about to begin rendering.
Definition: OgreApplicationContextBase.h:122
SharedPtr< TerrainMaterialGenerator > TerrainMaterialGeneratorPtr
Definition: OgreTerrainMaterialGenerator.h:410
AnimationStateIterator getAnimationStateIterator(void)
Returns a specialised MapIterator over all animation states in the scene.
Definition: OgreSceneManager.h:2343
@ GMM_RELATIVE_ASPECT_ADJUSTED
Positions & sizes are in virtual pixels.
Definition: OgreOverlayElement.h:59
void freeMemory()
Delete all the memory held by this image, if owned by this image (not dynamic)
BaseConstantType baseType
Data type.
Definition: OgreGpuProgramParams.h:360
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 resources.
bool isDepthBuffered() const
Returns true if this window use depth buffer.
virtual void drawSceneNode(const SceneNode *node)=0
void setSpecialCaseRenderQueueMode(SpecialCaseRenderQueueMode mode)
Sets the way the special case render queue list is processed.
ConstTerrainIterator getTerrainIterator() const
void setSeparateSceneBlendingOperation(SceneBlendOperation op, SceneBlendOperation alphaOp)
Sets the specific operation used to blend source and destination pixels together.
@ GCT_SAMPLERCUBE
Definition: OgreGpuProgramParams.h:78
virtual Node * getAssociatedNode(void) const
Returns a pointer to the associated Node object (if any).
@ SPC_LIGHTDIRECTION_TANGENT_SPACE3
Definition: OgreShaderParameter.h:205
std::set< String > ExtensionList
Definition: OgreGLNativeSupport.h:58
static uint64 parseUnsignedLong(const String &val, uint64 defaultValue=0)
Definition: OgreStringConverter.h:241
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:59
Definition: OgreTerrainLodManager.h:76
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:434
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:182
Options class which just stores default options for the terrain.
Definition: OgreTerrain.h:1848
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:209
virtual void compositorInstanceDestroyed(CompositorInstance *destroyedInstance)
Called when a compositor instance has been destroyed.
Definition: OgreCompositorLogic.h:60
@ BBO_CENTER_LEFT
Definition: OgreBillboardSet.h:61
SharedPtr< GpuNamedConstants > GpuNamedConstantsPtr
Definition: OgrePrerequisites.h:276
void merge(const RenderQueue *rhs)
Merge render queue.
void setInterpolationMode(InterpolationMode im)
Tells the animation how to interpolate between keyframes.
@ ID_GPU_DEVICE_RULE
Definition: OgreScriptCompiler.h:593
Portal-Connected Zone datastructure for managing scene nodes.
Definition: OgrePCZone.h:81
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:3265
void setTop(Real Top)
Sets the top of this element in relation to the current GuiMetricsMode (where 0 = top).
static D3D11_TEXTURE_ADDRESS_MODE get(TextureAddressingMode tam)
return a D3D11 equivalent for a Ogre TextureAddressingMode value
VkRenderPass getRenderPass() const
std::vector< std::pair< VkBuffer, VkDeviceMemory > > mBufferGraveyard
Definition: OgreVulkanQueue.h:59
VectorIterator< LODBucketList > LODIterator
Definition: OgreStaticGeometry.h:407
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:674
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.
@ ID_PER_N_LIGHTS
Definition: OgreScriptCompiler.h:669
Simple class for loading / saving GpuNamedConstants.
Definition: OgreGpuProgramParams.h:337
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.
Manager/factory for RenderTextures.
Definition: OgreGLRenderTexture.h:123
void _getWorldTransforms(Matrix4 *xform) const
Used to transform the overlay when scrolling, scaling etc.
void _setPolygonMode(PolygonMode level)
Sets how to rasterise triangles, as points, wireframe or solid polys.
void doSet(void *target, const String &val)
void setMaterial(size_t subIndex, const MaterialPtr &mat)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:448
unsigned int getHeight() const
Definition: OgreD3D9VideoMode.h:54
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
Definition: OgreAssimpLoader.h:150
virtual const String & getType() const
bool queryResult(SceneQuery::WorldFragment *fragment, Real distance)
Self-callback in order to deal with execute which returns collection.
AbstractNodeList values
Definition: OgreScriptCompiler.h:150
Radian mRotation
Current rotation value.
Definition: OgreParticle.h:58
bool Inverse(Matrix3 &rkInverse, Real fTolerance=1e-06f) const
virtual Real getHoldRadius() const
Get the Holding radius.
Definition: OgreGrid2DPageStrategy.h:168
static PixelFormat getClosestOGREFormat(GLenum fmt)
Function to get the closest matching OGRE format to an internal GL format.
static CmdBlueAdjust2 msBlueCmd2
Definition: OgreColourFaderAffector2.h:190
virtual void loadTerrain(long x, long y, bool synchronous=false)
Load a specific terrain slot based on the definition that has already been supplied.
GpuParamVariability
The variability of a GPU parameter, as derived from auto-params targeting it.
Definition: OgreGpuProgramParams.h:125
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:140
Frame Buffer Object abstraction.
Definition: OgreGL3PlusFrameBufferObject.h:42
Definition: OgreBullet.h:83
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:728
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:53
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:957
unsigned short _getActiveSchemeIndex(void) const
Internal method - returns the active scheme index.
Definition: OgreMaterialManager.h:251
@ BBT_PERPENDICULAR_SELF
Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) a...
Definition: OgreBillboardSet.h:94
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()
const Vector3 & getLightMapDirection() const
Get the shadow map light direction to use (world space)
Definition: OgreTerrain.h:1887
void loadChildren(const String &filename)
Load a scene from a file as children of this node.
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:121
bool operator==(const ColourValue &rhs) const
Definition: OgreColourValue.h:78
LayerBlendOperationEx operation
The operation to be applied.
Definition: OgreBlendMode.h:145
uchar getDepthMask() const
Gets the current depth mask setting.
Definition: OgreGLStateCacheManagerCommon.h:108
@ ID_TESSELLATION_HULL_PROGRAM_REF
Definition: OgreScriptCompiler.h:835
bool operator==(const AnimationState &rhs) const
Equality operator.
virtual void setUp(const Vector3 &up)
Sets the notional up vector of the emitter.
SharedPtr< D3D9Texture > D3D9TexturePtr
Definition: OgreD3D9Prerequisites.h:96
@ SPC_LIGHTDIRECTION_VIEW_SPACE0
Light direction in view space index 0-7.
Definition: OgreShaderParameter.h:192
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.
TinyTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
@ ID_DEPTH_VALUE
Definition: OgreScriptCompiler.h:813
@ ID_BORDER
Definition: OgreScriptCompiler.h:698
const String & getLanguage(void) const override
Returns a string that specifies the language of the gpu programs as specified in a material script.
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:277
void swap(ComPtr< T > &a, ComPtr< T > &b)
Definition: OgreComPtr.h:240
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
std::set< Entity * > EntitySet
Definition: OgreEntity.h:86
@ ACT_FRAME_TIME
provides the scaled frame time, returned as a floating point value.
Definition: OgreGpuProgramParams.h:1003
@ TU_STATIC_WRITE_ONLY
same as HBU_GPU_ONLY
Definition: OgreTexture.h:57
SceneManager * _getCurrentSceneManager(void) const
Returns the scene manager currently being used to render a frame.
Definition: OgreRoot.h:768
Visibility
Visibility types.
Definition: OgreOctreeCamera.h:77
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.
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
Definition: OgreTinyRenderSystem.h:167
RaySceneQuery(SceneManager *mgr)
void Orthonormalize()
Definition: OgreMatrix3.h:217
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.
BSP specialisation of IntersectionSceneQuery.
Definition: OgreBspSceneManager.h:226
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:97
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...
int params
Definition: OgreAssimpLoader.h:84
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:776
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.
size_t calculateSize(void) const
const Radian & getRotate(void) const
Gets the rotation applied to this overlay, in degrees.
Definition: OgreOverlay.h:230
Real _deriveShadowFarClipDistance(const Camera *) const
Definition: OgreLight.h:490
void bindGpuProgramParameters(GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 mask)
Bind Gpu program parameters.
virtual const LinkedSkeletonAnimSourceList & getLinkedSkeletonAnimationSources() const
Get the linked skeletons used as animation sources.
Definition: OgreSkeleton.h:353
Definition: OgreGL3PlusHardwareBuffer.h:36
Definition: OgreTinyWindow.h:17
const TexturePtr & getLayerBlendTexture(uint8 index) const
Get a blend texture with a given index.
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:471
const Vector4 & getSceneDepthRange() const
VertexAnimationType getVertexAnimationType(void) const
Get the type of any vertex animation used by dedicated geometry.
Real skyPlaneScale
Definition: OgreSceneManager.h:304
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:297
void setCullingFrustum(Frustum *frustum)
Tells the camera to use a separate Frustum instance to perform culling.
Definition: OgreCamera.h:584
Real getWidthChange(size_t chainIndex) const
Get the change in ribbon width per second.
Definition: OgreRibbonTrail.h:154
static ControllerValueRealPtr create()
Definition: OgrePredefinedControllers.h:63
void clearText()
Definition: OgreTrays.h:276
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:107
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:353
AntiPortalList mAntiPortals
Definition: OgrePCZone.h:250
@ HBU_CPU_ONLY
CPU (system) memory This is the least optimal buffer setting.
Definition: OgreHardwareBuffer.h:56
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:337
@ ID_CULL_SOFTWARE
Definition: OgreScriptCompiler.h:643
bool isLoaded(void) const
@ GCT_INT4
Definition: OgreGpuProgramParams.h:95
Definition: OgreVulkanTextureGpu.h:172
static const bool value
Definition: OgreSmallVector.h:71
@ ID_TRANSPARENCY_CASTS_SHADOWS
Definition: OgreScriptCompiler.h:579
@ RSC_TEXTURE_COMPRESSION_DXT
Supports compressed textures in the DXT/ST3C formats.
Definition: OgreRenderSystemCapabilities.h:138
virtual bool preRender(SceneManager *sm, RenderSystem *rsys)
Called just prior to the Renderable being rendered.
virtual void _setDepthBufferCheckEnabled(bool enabled=true)
Definition: OgreRenderSystem.h:706
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:915
Real getNonVisibleUpdateTimeout(void) const
Gets when the particle system should stop updating after it hasn't been visible for a while.
Definition: OgreParticleSystem.h:371
const Polygon & getPolygon(size_t poly) const
Returns a polygon.
@ RENDER_QUEUE_7
Definition: OgreRenderQueue.h:66
Abstract class representing a loadable resource.
Definition: OgreResource.h:68
static String type
The type.
Definition: OgreShaderExTriplanarTexturing.h:136
const PixelBox & lock(const Box &lockBox, LockOptions options)
Lock the buffer for (potentially) reading / writing.
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
PropertyBase(PropertyDef *def)
Constructor.
Definition: OgreProperty.h:193
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.
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:56
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
virtual int getExecutionOrder() const
@ CT_BOX
Definition: OgreBullet.h:29
@ PROP_VECTOR4
Definition: OgreProperty.h:116
virtual void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
Initialize the render system from the capabilities.
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:2123
This affector rotates particles in flight.
Definition: OgreRotationAffector.h:47
void showNodeBoxes(bool show)
Tells the manager whether to draw the axis-aligned boxes that surround nodes in the Bsp tree.
@ BS_DOWN
Definition: OgreTrays.h:76
TerrainLayerSamplerElement()
Definition: OgreTerrainMaterialGenerator.h:89
GpuProgramUsage(const GpuProgramUsage &rhs, Pass *newparent)
Copy constructor.
Singleton(void)
Definition: OgreSingleton.h:91
function< void(T) > setter_func
Definition: OgreProperty.h:222
virtual void removeAnimation(const String &name)
Removes vertex Animation from this mesh.
@ ERR_FILE_NOT_FOUND
Definition: OgreException.h:116
Definition: OgreD3D11Prerequisites.h:145
Definition: OgreVulkanDevice.h:43
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
unsigned bytes (normalized to 0..1)
Definition: OgreHardwareVertexBuffer.h:156
int32_t int32
Definition: OgrePlatform.h:274
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:184
void * geometry
Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY.
Definition: OgreSceneQuery.h:113
void getWorldTransforms(Matrix4 *xform) const override
Gets the world transform matrix / matrices for this renderable object.
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.
void execute(IntersectionSceneQueryListener *listener) override
Executes the query and returns each match through a listener interface.
virtual ResourcePtr getByHandle(ResourceHandle handle) const
Retrieves a pointer to a resource by handle, or null if the resource does not exist.
ConstVectorIterator< PoseList > ConstPoseIterator
Definition: OgreMesh.h:927
virtual uint16 getChannel(const String &channelName)
Get a channel ID for a given channel name.
bool caseSensitive
Definition: OgreTechnique.h:137
void doSet(void *target, const String &val)
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:65
void setShadowsEnabled(bool enabled)
Tells this viewport whether it should display shadows.
Definition: OgreViewport.h:332
Represents a history of each profile during the duration of the app.
Definition: OgreProfiler.h:112
VectorImpl::pointer pointer
Definition: OgreCommon.h:402
unsigned int getClearBuffers(void) const
Gets which buffers are to be cleared each frame.
Definition: OgreViewport.h:240
@ ID_SCALE_X
Definition: OgreScriptCompiler.h:750
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.
@ PF_BC4_SNORM
DDS (DirectDraw Surface) BC4 format (signed normalised)
Definition: OgrePixelFormat.h:203
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
const Vector4 & getCustomParameter(size_t index) const
Gets the custom value associated with this Renderable at the given index.
@ NO_INTERSECT
Definition: OgrePortalBase.h:163
static void writeMicrocodeToCache(uint32 id, GLuint programHandle)
add the microcode to the cache
HardwareIndexBufferPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false) override
Create a hardware index buffer.
A LODBucket is a collection of smaller buckets with the same LOD.
Definition: OgreStaticGeometry.h:286
FFPVertexShaderStage
Definition: OgreShaderFFPRenderState.h:44
Listener * getListener(void) const
Gets the current listener for this object.
Definition: OgreMovableObject.h:452
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:789
void setTextureFiltering(FilterType ftype, FilterOptions opts)
Set a single filtering option on this texture unit.
Definition: OgreTextureUnitState.h:685
@ ID_ONE_MINUS_DEST_ALPHA
Definition: OgreScriptCompiler.h:612
@ PF_R16G16B16A16_SNORM
64-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:234
void removeInstancedEntity(InstancedEntity *instancedEntity)
Removes an InstancedEntity from the scene retrieved with getNewInstancedEntity, putting back into a q...
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:269
void _notifyIndexInFrame(size_t i)
Definition: OgreLight.h:426
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.
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:647
void doSet(void *target, const String &val)
Definition: OgreStringInterface.h:111
void startRendering(void)
Starts / restarts the automatic rendering cycle.
Definition: OgreGLStateCacheManager.h:39
virtual uint32 getHeight() const
void _updateRenderQueue(RenderQueue *queue, std::vector< Particle * > ¤tParticles, bool cullIndividually)
Delegated to by ParticleSystem::_updateRenderQueue.
@ ID_SEPARATE_UV
Definition: OgreScriptCompiler.h:692
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:134
AntiPortal(const String &name, const PORTAL_TYPE type=PORTAL_TYPE_QUAD)
@ SPC_TEXTURE_COORDINATE1
Definition: OgreShaderParameter.h:294
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:401
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool)
Converts a uniform projection matrix to suitable for this render system.
Definition: OgreTinyRenderSystem.h:93
PagedWorld * loadWorld(const String &filename, const String &name=BLANKSTRING)
Load a new PagedWorld from a file.
int32 getFSAA() const
Accessors.
Definition: OgreGLRenderTexture.h:72
float bearing
Definition: OgreFont.h:70
uint32 getHeight(void) const
Gets the height of the image in pixels.
LodCollapserPtr collapser
Definition: OgreLodWorkQueueRequest.h:49
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:2815
@ PT_PLANE
Definition: OgreSceneManager.h:1428
virtual ~MetalTextureBuffer()
void createSurface(size_t windowHandle)
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.
VkCommandBuffer mCurrentCmdBuffer
Definition: OgreVulkanQueue.h:81
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:52
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:60
Vector3 getViewSideVector() const
PORTAL_TYPE getType() const
Get the type of portal.
Definition: OgrePortalBase.h:108
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.
@ ID_SRC_ALPHA
Definition: OgreScriptCompiler.h:611
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.
const String & getCompositorLogicName() const
Get the compositor logic name assigned to this technique.
Definition: OgreCompositionTechnique.h:168
static ParameterPtr createConstParam(float val)
represents a FFPShaderStage, part of a Function
Definition: OgreShaderFunction.h:46
virtual ~ArchiveManager()
Default destructor.
@ SPC_POSTOCAMERA_WORLD_SPACE
View vector in world space.
Definition: OgreShaderParameter.h:123
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:69
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.
MapIterator< ChildContainerMap > ChildContainerIterator
Definition: OgreOverlayContainer.h:61
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:140
void setShadowTextureCountPerLightType(Light::LightTypes type, size_t count)
Set the number of shadow textures a light type uses.
Definition: OgreSceneManager.h:2870
String doGet(const void *target) const
RenderableListener()
Definition: OgreRenderQueue.h:107
int getViewportWidth(void) const
Gets the width of the destination viewport in pixels.
std::vector< Real > RealVector
Definition: OgreTerrain.h:293
IndexData * indexData
Face index data.
Definition: OgreSubMesh.h:80
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...
Definition: OgreRenderTarget.h:66
void enable(bool yesno)
Definition: OgrePCZSceneNode.h:101
void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Definition: OgrePortalBase.h:197
void freeInternalResources(void)
@ ACT_LIGHT_DIRECTION
A light direction in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:799
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.
@ RENDER_QUEUE_COUNT
Definition: OgreRenderQueue.h:76
GpuProgramPtr createProgram(const String &name, const String &groupName, const String &language, GpuProgramType gptype)
Create a new, unloaded GpuProgram.
Definition: OgreGpuProgramManager.h:219
virtual void drawFrustum(const Frustum *frust)=0
void removeAllEmitters(void)
Removes all the emitters from this system.
General purpose response structure.
Definition: OgreWorkQueue.h:126
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:142
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.
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:832
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.
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...
@ 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.
bool getAutoextend(void) const
Returns true if the billboard pool automatically extends.
Definition: OgreBillboardSet.h:380
const CameraList & getCameras() const
Returns a const version of the camera list.
Definition: OgreSceneManager.h:1218
const ShaderParameterList & getLocalParameters() const
Return a list of local parameters.
Definition: OgreShaderFunction.h:201
virtual TexCoordDirection getTextureCoordDirection(void)
Gets the direction in which texture coords specified on each element are deemed to run.
Definition: OgreBillboardChain.h:161
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)
int getLumpSize(int lumpType)
VertexData * getAssociatedVertexData(void) const
Gets the associated VertexData which this track will update.
Definition: OgreAnimationTrack.h:538
pointer data()
data - Return a pointer to the vector's buffer, even if empty().
Definition: OgreSmallVector.h:183
virtual bool resourceCollision(Resource *resource, ResourceManager *resourceManager)
This event is called when a resource collides with another existing one in a resource manager.
Definition: OgreResourceGroupManager.h:218
virtual void read(Sphere *sphere, size_t count=1)
@ ID_BLEND_MANUAL
Definition: OgreScriptCompiler.h:728
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:581
virtual void write(const Vector2 *vec, size_t count=1)
void setSpecular(float red, float green, float blue, float alpha)
Sets the specular colour reflectance properties of every Pass in every Technique.
@ FT_IMAGE
Loaded from an image created by an artist.
Definition: OgreFont.h:57
bool useIndexes
Specifies whether to use indexes to determine the vertices to use as input.
Definition: OgreRenderOperation.h:126
virtual void yesNoDialogClosed(const Ogre::DisplayString &question, bool yesHit)
Definition: OgreTrays.h:101
void _notifyDeviceStalled()
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:242
Plugin instance for GL ES 2 Manager.
Definition: OgreGLES2Plugin.h:41
uint16_t uint16
Definition: OgrePlatform.h:271
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:427
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)
Definition: OgreBillboardParticleRenderer.h:95
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.
@ ID_SRC_MANUAL
Definition: OgreScriptCompiler.h:734
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 4-vector constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:528
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
void setNamedConstant(const String &name, const Vector< dims, T > &vec)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreGpuProgramParams.h:497
void setGeometryProgramConstantIntCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:714
virtual void _updateRenderQueue(RenderQueue *queue)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
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:209
void removeEffect(const TextureEffectType type)
Removes a single effect applied to this texture layer.
@ SPC_POSTOLIGHT_OBJECT_SPACE2
Definition: OgreShaderParameter.h:134
void _notifyMoved()
Called when scene node moved.
Definition: OgrePortalBase.h:205
PCZone * getCurrentHomeZone()
Get the Zone the Portal is currently "in".
Definition: OgrePortalBase.h:114
@ ID_RENDER_SCENE
Definition: OgreScriptCompiler.h:800
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:209
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:334
Handles the management of mesh resources.
Definition: OgreMeshManager.h:66
PCZone * mAssociatedZone
Definition: OgrePCZone.h:304
T ** GetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:203
Definition: OgreAssimpLoader.h:69
static OrientationMode getDefaultOrientationMode()
Get the initial orientation mode of viewports.
@ SPC_POSTOLIGHT_TANGENT_SPACE4
Definition: OgreShaderParameter.h:166
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:141
std::vector< RenderSystemOpPair > RenderSystemOpPairs
Definition: OgreCompositorInstance.h:113
virtual bool isVisible(void) const
Should this ShadowRenderable be treated as visible?
Definition: OgreShadowCaster.h:96
void setVisibilityFlags(uint32 flags)
Set the visibility flags for this terrain.
Definition: OgreTerrain.h:1328
FastArray< VulkanQueue > mTransferQueues
Additional transfer queues to run async transfers (besides the main graphics one)
Definition: OgreVulkanDevice.h:62
@ ID_LOD_BIAS
Definition: OgreScriptCompiler.h:794
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:567
PCZone * getZoneByName(const String &zoneName)
Get a zone by name.
@ ID_CHECK
Definition: OgreScriptCompiler.h:816
Object representing one pass or operation in a composition sequence.
Definition: OgreCompositionPass.h:47
@ TA_READ_WRITE
Definition: OgreTexture.h:88
ParameterPtr getOutputParameter(Parameter::Content content, GpuConstantType type=GCT_UNKNOWN)
get output parameter by content
Definition: OgreShaderFunction.h:156
Command object for setting compilation arguments.
Definition: OgreCgProgram.h:63
@ FlushOnly
Send the work we have so far to the GPU, but there may be more under way.
Definition: OgreVulkanPrerequisites.h:95
void setRotationInterpolationMode(RotationInterpolationMode im)
Tells the animation how to interpolate rotations.
virtual void reposition(int leftPt, int topPt)
Reposition the window.
Definition: OgreRenderWindow.h:137
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:83
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.
@ ID_POLYGON_MODE
Definition: OgreScriptCompiler.h:652
@ ID_LOD_STRATEGY
Definition: OgreScriptCompiler.h:576
String logObjectInfo(const String &msg, uint obj)
if there is a message in GL info log then post it in the Ogre Log
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:86
@ ID_SAMPLER
Definition: OgreScriptCompiler.h:846
void removeTranslatorManager(ScriptTranslatorManager *man)
Removes the given translator manager from the list of managers.
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
virtual bool isRenderWindowSpecific() const
Definition: OgreVulkanTextureGpu.h:135
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.
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
uint8 getTexcoordCount(void) const
Definition: OgreTextureAnimatorAffector.h:43
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.
ushort getNumTextureUnits(void) const
Returns the number of texture units the current output hardware supports.
Definition: OgreRenderSystemCapabilities.h:418
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.
ButtonEvent cbutton
Definition: OgreInput.h:111
Specialisation of HardwareBufferManagerBase to emulate hardware buffers.
Definition: OgreDefaultHardwareBufferManager.h:89
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:1830
void resetIndexDataStartEndIndex()
Reset the custom start/end index to the default values.
virtual ~GLSLProgramManagerCommon()
void setDuration(float duration)
The length of time it takes to display the whole animation sequence, in seconds.
Definition: OgreTextureAnimatorAffector.h:50
@ SPC_LIGHTPOSITION_TANGENT_SPACE
Light position in tangent space index 0-7.
Definition: OgreShaderParameter.h:242
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:991
Real getSquaredViewDepth(const Camera *cam) const
Returns the squared distance between the camera and this renderable.
void uninstall()
Perform the final plugin uninstallation sequence.
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
HardwareBuffer HardwareCounterBuffer
Definition: OgreHardwareBuffer.h:392
virtual ~ControllerFunction()
Definition: OgreController.h:89
float animationSpeedModifier
Definition: OgreAssimpLoader.h:83
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.
virtual void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
Definition: OgrePageStrategy.h:103
Slot for a terrain instance, together with its definition.
Definition: OgreTerrainGroup.h:337
~BillboardParticleRenderer()
bool isEmpty() const
Definition: OgreAny.h:112
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
uint getGLProgramHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLProgramCommon.h:63
uint8 getRenderQueueGroup(void) const
Get the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1317
const ColourValue & getLightSpecularColour(size_t index) const
void removeAllExtraCullingPlanes(void)
Remove all extra culling planes.
void _setDepthBias(float constantBias, float slopeScaleBias)
Sets the depth bias, NB you should use the Material version of this.
void destroyAntiPortal(AntiPortal *p)
Delete a anti portal instance by pointer.
GLContext GL3PlusContext
Definition: OgreGL3PlusPrerequisites.h:36
virtual void applyDeltaValue(int)
Apply delta value.
Definition: OgreAnimable.h:194
void _addChild(OverlayElement *elem)
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:296
void setPointSize(Real ps)
Sets the point size properties for every Pass in this Technique.
static const Vector2 ZERO
Definition: OgreVector.h:120
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:502
void setShadowCasterRenderBackFaces(bool bf)
Sets whether or not shadow casters should be rendered into shadow textures using their back faces rat...
Definition: OgreSceneManager.h:3012
void removeAllTemplates(bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
static VertexElementType getBestColourVertexElementType()
Definition: OgreHardwareVertexBuffer.h:233
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:84
@ TEXCALC_NONE
No calculated texture coordinates.
Definition: OgreRenderSystem.h:63
String quoteWord(const String &val)
Definition: OgreMaterialSerializer.h:334
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:460
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:285
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:38
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:493
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.
Definition: OgreNode.h:398
void load(const String &filename, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (not using resource group locations)
@ SwapchainPendingSwap
We've come from SwapchainUsedInRendering and are waiting for VulkanDevice::commitAndNextCommandBuffer...
Definition: OgreVulkanWindow.h:56
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 ...
static size_t getNumAutoConstantDefinitions(void)
Returns the number of auto constant definitions.
@ G2D_X_Z
Grid is in the X/Z plane.
Definition: OgreGrid2DPageStrategy.h:50
Command object for scope (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:58
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:317
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
@ ID_DEPTH
Definition: OgreScriptCompiler.h:811
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:60
@ IM_VTFBONEMATRIXLOOKUP
Use a limited number of skeleton animations shared among all instances.
Definition: OgreCommon.h:361
@ PCT_FLOAT32
16 bit float per component
Definition: OgrePixelFormat.h:336
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:109
size_t ResourceHandle
Definition: OgreResource.h:38
void setCharHeight(Real height)
GLHardwarePixelBufferCommon * getDepthBuffer() const
Definition: OgreGLDepthBufferCommon.h:37
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:173
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
T * Detach() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:214
static ScriptCompilerManager * getSingletonPtr(void)
Get the singleton instance.
HardwareBufferPtr createUniformBuffer(size_t sizeBytes, HardwareBufferUsage=HBU_CPU_ONLY, bool=false) override
Create uniform buffer.
Definition: OgreDefaultHardwareBufferManager.h:97
bool areFrameStatsVisible()
Definition: OgreTrays.h:903
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
bool operator>=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:247
@ BS_OVER
Definition: OgreTrays.h:75
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:66
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
static bool isAccessible(PixelFormat srcformat)
Returns whether the format can be packed or unpacked with the packColour() and unpackColour() functio...
Definition: OgreLodConfig.h:144
uint32 elementSize
Number of typed slots per element (some programs pack each array element to float4,...
Definition: OgreGpuProgramParams.h:152
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
BspSceneManager(const String &name)
Definition: OgreVulkanQueue.h:43
void setColourBlendState(const ColourBlendState &state)
Sets the global blending factors for combining subsequent renders with the existing frame contents.
@ RENDER_QUEUE_6
Definition: OgreRenderQueue.h:65
@ 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.
virtual ~Plugin()
Definition: OgrePlugin.h:83
void _initParticle(Particle *pParticle) override
Method called to allow the affector to initialize all newly created particles in the system.
virtual bool isFullScreen(void) const
Returns true if window is running in fullscreen mode.
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:295
virtual bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:245
SwapchainStatus
Definition: OgreVulkanWindow.h:43
int skyPlaneYSegments
Definition: OgreSceneManager.h:308
ScaleAffector(ParticleSystem *psys)
Default constructor.
void setShininess(Real val)
Sets the shininess properties of every Pass in every Technique.
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:101
Specialises the SceneQuery class for querying along a ray.
Definition: OgreSceneQuery.h:361
SkinningType getSkinningType()
Returns the current skinning type in use.
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:160
Image * getImage()
Definition: OgreTinyDepthBuffer.h:23
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:246
CompareFunction getCompareFunction() const
Definition: OgreTextureUnitState.h:192
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.
Image & loadDynamicImage(uchar *data, uint32 width, uint32 height, uint32 depth, PixelFormat format, bool autoDelete=false, uint32 numFaces=1, uint32 numMipMaps=0)
Stores a pointer to raw data in memory.
void callFunction(const char *name, const InOut &inout) const
call a library function
bool hasOverlayElement(const String &name, bool=false)
Tests if an element exists.
void setMaxPointSize(Real s)
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:544
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:265
bool getSkeletalAnimationIncluded() const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreShaderProgram.h:158
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:270
void beginSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:296
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 shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
Definition: OgreAssimpLoader.h:151
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:911
void _render(const RenderOperation &op)
Render something to the active viewport.
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:541
bool operator>=(const Radian &r) const
Definition: OgreMath.h:94
void notifyDeviceLost(D3D11Device *device)
virtual uint32 _createVao()
Create VAO on current context.
Definition: OgreGLRenderSystemCommon.h:134
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.
const TexturePtr & _getTexturePtr(void) const
Get the texture pointer for the current frame.
const SubMeshList & getSubMeshes() const
Gets the available submeshes.
Definition: OgreMesh.h:298
@ FFP_VS_TRANSFORM
Definition: OgreShaderFFPRenderState.h:46
PoseIterator getPoseIterator(void)
Get an iterator over all the poses defined.
GLHardwareVertexBuffer GLHardwareBuffer
Definition: OgreGLHardwareBuffer.h:68
static unsigned short DELTA_BUFFER
Buffer binding used for holding delta values.
Definition: OgreTerrainQuadTreeNode.h:259
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:59
static D3D11_USAGE _getUsage(TextureUsage usage)
Definition: OgreD3D11Mappings.h:81
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:3293
@ Visual
Definition: OgreParticle.h:49
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.
TempBlendedBufferInfo * _getSkelAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software skeletal animation.
MaterialBucket * getParent(void)
Definition: OgreStaticGeometry.h:207
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:545
Vector3 getLightDirection(size_t index) const
@ ID_DEPTH_POOL
Definition: OgreScriptCompiler.h:791
virtual ~ResourceGroupManager()
bool isStereoEnabled(const String &renderWindowName) const
bool useFullScreen
Definition: OgreCommon.h:834
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:838
D3D9GpuProgram D3D9GpuVertexProgram
Definition: OgreD3D9GpuProgram.h:130
uint16 getLightmapSize() const
Get the requested size of lightmap for this terrain.
Definition: OgreTerrain.h:1054
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
@ ID_ONE
Definition: OgreScriptCompiler.h:604
~HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:414
virtual void setColourBlendState(const ColourBlendState &state)=0
Sets the global blending factors for combining subsequent renders with the existing frame contents.
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:72
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition: OgreSmallVector.h:151
@ VET_USHORT4_NORM
Definition: OgreHardwareVertexBuffer.h:160
Class that provides functionality to generate materials for use with a terrain.
Definition: OgreTerrainMaterialGenerator.h:162
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
T ** ReleaseAndGetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:208
const FrameStats & getStatistics(void) const
Retrieves details of current rendering performance.
Definition: OgreRenderTarget.h:209
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:899
@ FRUSTUM_PLANE_BOTTOM
Definition: OgreFrustum.h:76
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:1244
UserObjectBindings & getUserObjectBindings()
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreMovableObject.h:343
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.
void setDebugOutputEnabled(bool debugOutput)
Enable or disable outputting log messages to the debugger.
@ SHADOWTYPE_TEXTURE_ADDITIVE_INTEGRATED
Texture-based shadow technique which involves a render-to-texture of the shadow caster and a projecti...
Definition: OgreCommon.h:278
MovableObject(const String &name)
Named constructor.
@ VET_SHORT2
Definition: OgreHardwareVertexBuffer.h:131
void setNamedConstant(const String &name, T val)
Sets a single value constant parameter to the program.
Definition: OgreGpuProgramParams.h:491
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 reading back compiled shaders.
Definition: OgreRenderSystemCapabilities.h:160
int unknown
Definition: OgreQuake3Types.h:187
void setPassNumber(const int passNumber)
FastArray< VulkanQueue > mComputeQueues
Additional compute queues to run async compute (besides the main graphics one)
Definition: OgreVulkanDevice.h:60
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.
const GpuProgramParametersPtr & getDefaultParameters(void) override
Get a reference to the default parameters which are to be used for all uses of this program.
@ SHADER_LIGHTMAP
Definition: OgreQuake3Types.h:98
Real _getTop(void) const
Gets the top of this element in relation to the screen (where 0 = far top, 1.0 = far bottom)
Definition: OgreOverlayElement.h:242
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESLinkProgram.h:46
const String & getBorderMaterialName(void) const
Gets the name of the material to use for the borders.
@ CE_UNEXPECTEDTOKEN
Definition: OgreScriptCompiler.h:203
@ LBX_MODULATE_X2
as LBX_MODULATE but brighten afterwards (x2)
Definition: OgreBlendMode.h:83
void _setCullingMode(CullingMode mode) override
Sets the culling mode for the render system based on the 'vertex winding'.
ProgramWriterFactory()
Definition: OgreShaderProgramWriterManager.h:50
int skyDomeYSegments
Definition: OgreSceneManager.h:298
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.
Definition: OgrePass.h:476
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:224
void commitAndNextCommandBuffer(SubmissionType::SubmissionType submissionType=SubmissionType::FlushOnly)
const String & getName() const
Get the name of the plugin.
void attachToProgramObject(const uint programObject)
Real getDerivedRadius() const
Retrieve the radius of the portal in world coordinates.
Definition: OgrePortalBase.h:110
@ VET_UBYTE4
Definition: OgreHardwareVertexBuffer.h:134
AxisAlignedBox getBoundingBox(void)
Gets the bounding box of the mesh.
@ SPC_POSITION_LIGHT_SPACE2
Definition: OgreShaderParameter.h:100
void setCustomParam(unsigned char idx, const Vector4 &newParam)
Sets the custom parameter for this instance.
TerrainSlot(long _x, long _y)
Definition: OgreTerrainGroup.h:345
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask) const
Update automatic parameters.
void setForceOneWeight(bool enable)
Definition: OgreInstanceBatchVTF.h:187
String getDescription() const
void _setLightMapRequired(bool lightMap, bool shadowsOnly=false)
Request a terrain-wide light map.
@ 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:643
GeometryIterator getGeometryIterator(void)
SmallVectorTemplateCommon(size_t Size)
Definition: OgreSmallVector.h:143
std::vector< Widget * > WidgetList
Definition: OgreTrays.h:193
VertexData * _getSoftwareVertexAnimVertexData(void) const
Advanced method to get the temporarily blended software vertex animation information.
void destroySwapchain(void)
T * allocate(size_t n, const void *hint)
Definition: OgreAlignedAllocator.h:116
void finaliseTopLevel(Display *display, Window window, int &left, int &top, uint &width, uint &height, String &title, Atom wmDelete)
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.
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.
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:306
RenderWindow * createRenderWindow(const RenderWindowDescription &desc)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreRoot.h:577
const String & getName() const
Get the name of the property.
Definition: OgreProperty.h:146
bool getDynamic() const
Gets whether this object is marked as dynamic.
Definition: OgreManualObject.h:182
std::vector< GpuSharedParametersUsage > GpuSharedParamUsageList
Definition: OgreGpuProgramParams.h:1239
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
Definition: OgreRenderSystemCapabilities.h:749
void doSet(void *target, const String &val)
std::vector< VkFence > mImageFences
Definition: OgreVulkanWindow.h:85
void setLayerBlendMapSize(uint16 sz)
Sets the default size of blend maps for a new terrain.
Definition: OgreTerrain.h:1992
@ ACT_LIGHT_COUNT
The number of active light sources (better than gl_MaxLights)
Definition: OgreGpuProgramParams.h:757
std::vector< CodePointRange > CodePointRangeList
Definition: OgreFont.h:109
void setUserAny(const String &key, const Any &anything)
Sets any kind of user object on this class instance.
@ BIND_SOFTWARE_SKELETAL
Definition: OgreEntity.h:754
bool IsActiveDeviceLost()
void _notifyActiveComputeEnded(void)
Definition: OgreQuake3Types.h:216
void removeListener(Listener *s)
Remove a listener.
size_t indexCount
Definition: OgreLodData.h:143
int16_t int16
Definition: OgrePlatform.h:275
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:108
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.
Definition: OgreTinyRenderSystem.h:22
@ CONTEXT_CORE
Definition: OgreGLNativeSupport.h:61
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:360
void doSet(void *target, const String &val)
Factory object for creating PCZLight instances.
Definition: OgrePCZLight.h:120
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:291
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)
virtual void markProfileEvent(const String &event)
Marks an instantaneous event for graphics profilers.
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:536
const ColourValue & getSpecular(void) const
Gets the specular colour reflectance of the pass.
Definition: OgrePass.h:398
virtual ~D3D11StereoDriverNVIDIA()
DynamicsWorld(const Vector3 &gravity)
void _removeMovable(const MovableObject *mov)
Internal method for telling the node that a movable no longer intersects it.
virtual const String & getType() const
static float RadiansToAngleUnits(float radians)
Convert from radians to the current AngleUnit .
virtual GpuSharedParametersPtr getSharedParameters(const String &name) const
Retrieve a set of shared parameters, which can be used across many GpuProgramParameters objects of di...
TextureAddressingMode
Texture addressing modes - default is TAM_WRAP.
Definition: OgreCommon.h:118
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:227
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 watchForMin(const String &profileName)
@ ID_SRC_COLOUR
Definition: OgreScriptCompiler.h:607
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.
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:394
D3D11HLSLProgram * _getBoundTessellationDomainProgram() const
std::vector< PortalBase * > PortalBaseList
Definition: OgrePCZone.h:57
void setSelfIllumination(const ColourValue &selfIllum)
This is an overloaded member function, provided for convenience. It differs from the above function o...
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:202
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
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:566
BorderRenderable(BorderPanelOverlayElement *parent)
Constructed with pointers to parent.
Definition: OgreBorderPanelOverlayElement.h:234
size_type max_size() const
Definition: OgreCommon.h:440
bool _getAnimationTypesDirty(void) const
Are the derived animation types out of date?
Definition: OgreMesh.h:895
bool ToEulerAnglesZYX(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
const Vector3 & getDerivedCP() const
Get the position (centerpoint) of the portal in world coordinates.
Definition: OgrePortalBase.h:134
@ GHA_LEFT
Definition: OgreOverlayElement.h:67
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
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
IndexType
Definition: OgreHardwareIndexBuffer.h:49
static UniformParameterPtr createSamplerCUBE(int index)
void _writeRawConstants(size_t physicalIndex, const T *val, size_t count)
Write a series of values into the underlying constant buffer at the given physical index.
Definition: OgreGpuProgramParams.h:1417
~EntityFactory()
Definition: OgreEntity.h:860
size_t getGLMapBufferThreshold() const
Threshold after which glMapBuffer is used and not glBufferSubData.
HardwareBufferPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBufferUsage usage=HBU_CPU_TO_GPU, bool useShadowBuffer=false)
Create a shader storage buffer.
const Techniques & getSupportedTechniques(void) const
Gets all the Techniques which are supported by the current card.
Definition: OgreMaterial.h:238
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.
PixelFormat chooseSurfaceFormat(bool hwGamma)
void invalidateMaterial(const String &schemeName, const String &materialName, const String &groupName=RGN_DEFAULT)
Invalidate specific material scheme.
LodData * mGen
Definition: OgreLodData.h:76
bool findVisibleObjects
Whether this op needs to find visible scene objects or not.
Definition: OgreCompositorInstance.h:163
Real amplitude
Definition: OgreTextureUnitState.h:322
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)
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...
uint32 getWidth(void) const
Returns the width of the texture.
Definition: OgreTexture.h:229
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: OgreDeflate.h:111
void setDesiredFloatBitDepth(ushort bits)
Sets desired bit depth for float pixel format textures.
PCZLightFactory()
Definition: OgrePCZLight.h:124
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
bool isVisible(void) const
Returns whether or not this SubEntity is supposed to be visible.
Definition: OgreSubEntity.h:149
void setColourWriteEnabled(bool enabled)
Sets whether or not colour buffer writing is enabled for each Pass.
void setBackgroundLoaded(bool bl)
@ ACT_LIGHT_DIFFUSE_COLOUR
Light diffuse colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:769
uint32 mFamilyIdx
Definition: OgreVulkanQueue.h:74
MapIterator< OverlayMap > OverlayMapIterator
Definition: OgreOverlayManager.h:112
Real getDefaultMinPixelSize()
Get the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:929
const SkyPlaneGenParameters & getSkyPlaneGenParameters(void) const
Get the parameters used to construct the SkyPlane, if any.
Definition: OgreSceneManager.h:1979
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 deleteGLVertexArray(GLuint vao)
void setForceVector(const Vector3 &force)
Sets the force vector to apply to the particles in a system.
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
Definition: OgreTinyRenderSystem.h:95
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)
Definition: OgreShaderProgramWriterManager.h:87
~ComPtr() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:141
float lodBias
LOD offset.
Definition: OgreCompositorInstance.h:145
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...
@ HBL_DISCARD
Discards the entire buffer while locking.
Definition: OgreHardwareBuffer.h:154
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.
TextureDefinition * getTextureDefinition(const String &name) const
Get a local texture definition with a specific name.
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
void setDynamic(bool dyn)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:175
Basic label widget.
Definition: OgreTrays.h:463
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:283
LodLevel()
Definition: OgreTerrainQuadTreeNode.h:145
std::pair< bool, Real > RayTestResult
A pair structure where the first element indicates whether an intersection occurs.
Definition: OgreMath.h:51
~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:94
OpenGL supports 3 different methods: FBO, pbuffer & Copy.
Definition: OgreGLDepthBufferCommon.h:26
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreD3D9HLSLProgram.h:160
AbstractNode * mParent
Definition: OgreScriptCompiler.h:491
void _notifyObjectDetached(const MovableObject *mov)
Internal method for notifying the level that an object has been detached from a node.
@ ACT_LIGHT_POSITION_VIEW_SPACE_ARRAY
Array of light positions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:834
void setViewport(const Rect &r)
void setStencilMask(GLuint mask)
Sets the stencil mask.
std::vector< Technique * > Techniques
Definition: OgreMaterial.h:99
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:108
Represents part of the world geometry that is a result of a SceneQuery.
Definition: OgreSceneQuery.h:105
const String & getLanguage(void) const
Overridden from GpuProgram.
Definition: OgreTinyTextureManager.h:13
@ GPU_NOKIA
Definition: OgreRenderSystemCapabilities.h:238
const Vector3 & _getBindingPoseInverseScale(void) const
Gets the inverted binding pose scale.
Definition: OgreBone.h:120
bool empty() const
Definition: OgreCommon.h:442
void setAdjust(Real rate)
Sets the scale adjustment to be made per second to particles.
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:1308
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.
virtual void shutdown(void)
Shutdown the renderer and cleanup resources.
void invalidateMaterial(const String &schemeName, const Material &mat)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderGenerator.h:356
virtual void _updateRenderQueue(RenderQueue *queue)
Overloaded to avoid updating skeletons (which we don't support), check visibility on a per unit basis...
virtual ~GpuNamedConstantsSerializer()
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.
Visitor object that can be used to iterate over a collection of Renderable instances abstractly.
Definition: OgreRenderable.h:326
virtual const AxisAlignedBox & getWorldBoundingBox(bool derive=false) const =0
Get the world bounding box of the caster.
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:162
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:79
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:1399
const ShadowRenderableList & getShadowVolumeRenderableList(const Light *light, const HardwareIndexBufferPtr &indexBuffer, size_t &indexBufferUsedSize, float extrusionDist, int flags=0) override
Implement this method to enable stencil shadows.
@ ACT_WORLD_MATRIX
The current world matrix.
Definition: OgreGpuProgramParams.h:629
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:123
@ CE_OBJECTBASENOTFOUND
Definition: OgreScriptCompiler.h:204
void setTexcoordRect(const FloatRect &texcoordRect)
sets the individual texture coordinate rect of this billboard will use when rendering.
virtual ~TrayListener()
Definition: OgreTrays.h:94
GeneralAllocatedObject PropertyAlloc
Definition: OgreProperty.h:126
virtual const String & getType() const =0
Returns the factory type.
@ RCP_CREATE_ON_ACTIVE_DEVICE
Creates the rendering resource on the current active device that needs it.
Definition: OgreD3D9ResourceManager.h:42
@ ID_MATERIAL_SCHEME
Definition: OgreScriptCompiler.h:795
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:990
@ LB_BlendLighten
Definition: OgreShaderExLayeredBlending.h:50
const String & getMovableType(void) const override
Returns the type name of this object.
virtual ~GLPBRenderTexture()
D3D11HLSLProgram * _getBoundTessellationHullProgram() const
void setBillboardType(BillboardType bbt)
Sets the orientation behaviour of the billboards to render.
Definition: OgreBillboardParticleRenderer.h:71
void setEnableBackwardsCompatibility(bool enableBackwardsCompatibility)
Sets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:181
Compositor * getParent()
Get parent object.
static const uint16 TERRAINLAYERSAMPLER_CHUNK_VERSION
Definition: OgreTerrain.h:281
size_t size
Definition: OgreImageCodec.h:87
void createResourceGroup(const String &name, bool inGlobalPool=!OGRE_RESOURCEMANAGER_STRICT)
Create a resource group.
Factory class for TextureAnimatorAffector.
Definition: OgreTextureAnimatorAffector.h:66
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:85
@ SPC_POSTOCAMERA_VIEW_SPACE
View vector in view space.
Definition: OgreShaderParameter.h:126
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:779
void setStencilState(const StencilState &state) override
This method allows you to set all the stencil buffer parameters in one call.
size_t tell(void) const
Returns the current byte offset from beginning.
virtual Ogre::Real getTrayPadding() const
Definition: OgreTrays.h:841
Definition: OgreScriptCompiler.h:536
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:66
void _setSampler(size_t unit, Sampler &sampler)
set the sampler settings for the given texture unit
String mResourceGroup
Definition: OgreScriptCompiler.h:538
virtual MaterialPtr getDefaultSettings(void) const
Returns a pointer to the default Material settings.
Definition: OgreMaterialManager.h:238
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:546
virtual Animation * _getAnimationImpl(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Internal accessor for animations (returns null if animation does not exist)
virtual void applyDeltaValue(const Vector2 &)
Apply delta value.
Definition: OgreAnimable.h:202
@ ID_CAMERA_FAR_CORNERS_WORLD_SPACE
Definition: OgreScriptCompiler.h:807
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:68
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:324
void scale(const Vector3 &scale)
Scales the node, combining it's current scale with the passed in scaling factor.
VertexHash()
Definition: OgreLodData.h:78
virtual void clearResults(void)
Clears the results of the last query execution.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
@ ACT_INVERSE_TEXTURE_SIZE
Provides inverse texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1124
BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:81
PixelFormat format
The pixel format.
Definition: OgrePixelFormat.h:396
virtual bool canHandleRequest(const Request *req, const WorkQueue *srcQ)
Return whether this handler can process a given request.
Definition: OgreWorkQueue.h:176
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:341
GLContext GLES2Context
Definition: OgreGLES2Prerequisites.h:38
const VertexOffsetMap & getVertexOffsets(void) const
Gets a const reference to the vertex offsets.
Definition: OgrePose.h:108
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:54
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
void setTextureAddressingMode(Ogre::TextureAddressingMode u, Ogre::TextureAddressingMode v, Ogre::TextureAddressingMode w)
Sets the texture addressing mode, i.e.
Definition: OgreTextureUnitState.h:668
@ ID_ALWAYS_PASS
Definition: OgreScriptCompiler.h:626
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...
Class representing a node in the scene graph.
Definition: OgreSceneNode.h:61
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:382
~GL3PlusFrameBufferObject()
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
EncoderState
Definition: OgreVulkanQueue.h:64
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:65
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.
void _firePreparingComplete(bool unused=false)
Firing of preparing complete event.
virtual Real getLoadingOrder(void) const =0
Gets the loading order for 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
const HardwareVertexBufferSharedPtr & getPositionBuffer(void) const
Definition: OgreShadowCaster.h:106
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:129
MeshPtr manualMesh
Hard link to mesh to avoid looking up each time.
Definition: OgreMesh.h:973
MaterialPtr clone(const String &newName, const String &newGroup=BLANKSTRING) const
Creates a new copy of this material with the same settings but a new name.
std::vector< Plugin * > PluginInstanceList
Definition: OgreRoot.h:74
shared_ptr< GLGpuProgram > GLGpuProgramPtr
Definition: OgreGLPrerequisites.h:45
void setOverlaysEnabled(bool enabled)
Tells this viewport whether it should display Overlay objects.
Definition: OgreViewport.h:302
void _setFog(FogMode f)
Definition: OgreRenderSystem.h:316
InvalidStateException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:201
bool intersects(const PlaneBoundedVolume &pbv)
Check if portal intersects a plane bounded volume.
void setPosition(Real x, Real y, Real z)
Sets the camera's position.
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
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...
@ ID_TRANSFORM
Definition: OgreScriptCompiler.h:757
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, float expDensity=0.001f, float linearStart=0.0f, float linearEnd=1.0f)
Sets the fogging mode applied to this pass.
void setVSyncInterval(unsigned interval)
Definition: OgreD3D11RenderWindow.h:129
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:54
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:632
@ 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
static UniformParameterPtr createSampler2DArray(int index)
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:511
virtual void objectAttached(MovableObject *)
MovableObject has been attached to a node.
Definition: OgreMovableObject.h:69
Comparator function to be used for comparisons.
Definition: OgreShaderFunctionAtom.h:278
~DefaultSphereSceneQuery()
bool getSkiesEnabled(void) const
Returns whether or not skies (created in the SceneManager) are displayed in this viewport.
Definition: OgreViewport.h:322
void setAsABGR(ABGR val)
Set value from PF_A8B8G8R8.
String farboxName
Definition: OgreQuake3Shader.h:110
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.
bool isLoaded(void) const
Returns true if the Resource has been loaded, false otherwise.
Definition: OgreResource.h:324
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
@ ID_RECEIVE_SHADOWS
Definition: OgreScriptCompiler.h:578
void destroyXWindow(Display *display, Window window)
void scriptParseEnded(const Ogre::String &scriptName, bool skipped)
This event is fired when the script has been fully parsed.
Definition: OgreTrays.h:1097
static bool endsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string ends with the pattern passed in.
void setInstancesPerBatch(size_t instancesPerBatch)
Raises an exception if trying to change it after creating the first InstancedEntity The actual value ...
@ BS_UP
Definition: OgreTrays.h:74
Vector< 3, float > vec3
Definition: OgreTinyRenderSystem.h:25
void updateShadowRenderables(const Vector4 &lightPos, const HardwareIndexBufferPtr &indexBuffer, Real extrusionDistance, int flags=0)
LodData()
Definition: OgreLodData.h:183
virtual ResourcePtr getResourceByName(const String &name, const String &groupName=RGN_DEFAULT) const
Retrieves a pointer to a resource by name, or null if the resource does not exist.
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
Radian & operator-=(const Radian &r)
Definition: OgreMath.h:82
simplified wrapper with automatic memory management
Definition: OgreBullet.h:90
uint16 getLightMapSize() const
Get the default size of the lightmaps for a new terrain.
Definition: OgreTerrain.h:2014
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
static VkFilter get(FilterOptions filter)
void setCaption(const Ogre::DisplayString &caption)
Definition: OgreTrays.h:474
Definition: OgreLodCollapser.h:46
const Vector3 & getVertex(size_t poly, size_t vertex) const
Returns a specific vertex of a polygon.
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:2999
void setNamedConstant(const String &name, int val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
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:1129
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.
virtual String validateConfigOptions(void)
Validates the options set for the rendering system, returning a message if there are problems.
Definition: OgreRenderSystem.h:253
const String & getMovableType(void) const
Returns the type name of this object.
virtual void abortAllRequests()
Abort all previously issued requests.
@ ID_LINE_WIDTH
Definition: OgreScriptCompiler.h:845
void useCustomRenderSystemCapabilities(RenderSystemCapabilities *capabilities)
Force the render system to use the special capabilities.
size_t getShaderStorageBufferCount()
Definition: OgreGL3PlusHardwareBufferManager.h:70
String refTexName
Definition: OgreCompositionTechnique.h:69
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.
ProgramProcessor()
Class constructor.
UniformParameterPtr resolveParameter(GpuConstantType type, const String &name, int index=-1)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderProgram.h:94
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:623
std::vector< TextureUnitState * > TextureUnitStates
Definition: OgrePass.h:133
static CmdBlueAdjust1 msBlueCmd1
Definition: OgreColourFaderAffector2.h:189
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:518
static GpuProgramManager & getSingleton(void)
Get the singleton instance.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
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:237
void setLastVisibleFromCamera(PCZCamera *camera)
Definition: OgrePCZSceneNode.h:96
const String & getType(void) const
Get the type of the object to be created.
@ OPT_1
Optimisation level 1.
Definition: OgreD3D9HLSLProgram.h:138
void setTessellationDomainProgramConstantIntCount(ushort c)
Definition: OgreRenderSystemCapabilities.h:754
void setSplitPassesByLightingType(bool split)
Sets whether or not the queue will split passes by their lighting type, ie ambient,...
Definition: OgreRenderQueueSortingGrouping.h:497
virtual ~HashFunc()
Need virtual destructor in case subclasses use it.
Definition: OgrePass.h:130
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:93
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:79
bool isLoading() const
Returns whether the resource is currently in the process of background loading.
Definition: OgreResource.h:333
const NodeTrackList & _getNodeTrackList(void) const
Fast access to NON-UPDATEABLE node track list.
Factory object for creating Light instances.
Definition: OgreLight.h:618
Class for manipulating bit patterns.
Definition: OgreBitwise.h:54
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:536
Real skirtFactor
Factor for the skirt length generation.
Definition: OgreVolumeChunk.h:76
@ GCT_UINT2
Definition: OgreGpuProgramParams.h:111
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.
ConstVectorIterator< LinkedSkeletonAnimSourceList > LinkedSkeletonAnimSourceIterator
Definition: OgreSkeleton.h:351
bool mLowestLatencyVSync
Definition: OgreVulkanWindow.h:63
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
D3D9HardwareBufferManager()
bool isUav() const
Definition: OgreVulkanTextureGpu.h:133
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.
bool isCloneable() const
Definition: OgreOverlayElement.h:432
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:108
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
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:326
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:960
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:119
void setShadowReceiverMaterial(const String &name)
set this material specific shadow receiving specific material
virtual ~PagedWorldSection()
virtual const String & getSource(void) const
Gets the assembler source for this program.
Definition: OgreGpuProgram.h:171
virtual void applyDeltaValue(const ColourValue &)
Apply delta value.
Definition: OgreAnimable.h:218
@ PF_ASTC_RGBA_4X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 4x4)
Definition: OgrePixelFormat.h:250
const Ogre::MeshPtr & _getMeshReference(void) const
Definition: OgreInstanceBatch.h:242
void useQtEventLoop(bool enable)
signal that you want to use the Qt event loop
Definition: OgreApplicationContextQt.h:71
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:103
Real getCosTime_0_X(Real x) const
SmallVector(ItTy S, ItTy E)
Definition: OgreSmallVector.h:726
BackgroundProcessResult()
Definition: OgreResourceBackgroundQueue.h:58
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 _update(bool updateChildren, bool parentHasChanged)
Overridden from Node.
~BillboardChainFactory()
Definition: OgreBillboardChain.h:366
void invalidate(D3D9RenderWindow *renderWindow)
OctreeSceneManagerFactory()
Definition: OgreOctreeSceneManager.h:231
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:528
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.
Element(const Vector3 &position, float width, float texCoord, const ColourValue &colour, const Quaternion &orientation)
@ SRF_EXTRUDE_IN_SOFTWARE
For shadow volume techniques only, indicates hardware extrusion is not supported.
Definition: OgreShadowCaster.h:119
const Vector3 & getAutoTrackLocalDirection(void) const
Get the auto tracking local direction for this node, if it is auto tracking.
Definition: OgreSceneNode.h:414
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:492
static ArchiveManager * getSingletonPtr(void)
Get the singleton instance.
AxisAlignedBox receiverAabb
The axis-aligned bounds of the visible shadow receiver objects.
Definition: OgreSceneManager.h:105
void _setDepthBuffer(DepthBuffer *depthBuffer)
Definition: OgreD3D9Texture.h:187
ConstMapIterator< VertexOffsetMap > ConstVertexOffsetIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:74
void setPointParameters(const GLfloat *attenuation, float minSize=-1, float maxSize=-1)
void getWorldTransforms(Matrix4 *xform) const override
Gets the world transform matrix / matrices for this renderable object.
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:106
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)
Real getDefaultWidth(void) const
See setDefaultDimensions - this gets 1 component individually.
Definition: OgreBillboardSet.h:494
Information about one element of a sampler / texture within a layer.
Definition: OgreTerrainMaterialGenerator.h:71
@ ID_LESS
Definition: OgreScriptCompiler.h:628
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:279
const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON)
Definition: OgreBillboardParticleRenderer.h:99
VertexData * clone(bool copyData=true, HardwareBufferManagerBase *mgr=0) const
Clones this vertex data, potentially including replicating any vertex buffers.
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:579
float getAttenuationQuadric(void) const
Returns the quadric factor in the attenuation formula.
Definition: OgreLight.h:207
This singleton class manages the list of resource groups, and notifying the various resource managers...
Definition: OgreResourceGroupManager.h:236
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:107
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
static const uint16 TERRAINLAYERINSTANCE_CHUNK_VERSION
Definition: OgreTerrain.h:285
InputMode getInputMode() const
Get input mode.
TerrainLayerDeclaration layerDeclaration
Definition of the contents of each layer (required).
Definition: OgreTerrain.h:392
void destroySceneManager(SceneManager *sm)
Destroy an instance of a SceneManager.
GLSLESProgramPipeline(const GLShaderList &shaders)
Constructor should only be used by GLSLESProgramPipelineManager.
LodOutputProviderBuffer(MeshPtr mesh)
Definition: OgreLodOutputProviderBuffer.h:45
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
@ CE_INVALIDPARAMETERS
Definition: OgreScriptCompiler.h:201
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:136
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:312
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
static const uint16 WORKQUEUE_GENERATE_MATERIAL_REQUEST
Definition: OgreTerrain.h:1503
@ PF_DXT2
DDS (DirectDraw Surface) DXT2 format.
Definition: OgrePixelFormat.h:94
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:156
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)
static CmdScope msScopeCmd
Definition: OgreDirectionRandomiserAffector.h:94
const String & getFontName() const
std::vector< Real > LodValueList
Definition: OgreMesh.h:99
Defines an object property which is animable, i.e.
Definition: OgreAnimable.h:72
PCZSceneManager(const String &name)
Standard Constructor.
void destroyOverlayElement(const String &instanceName, bool=false)
Destroys a OverlayElement.
@ FRUSTUM_PLANE_NEAR
Definition: OgreFrustum.h:71
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:299
ShadowTextureListener()
Definition: OgreSceneManager.h:130
@ ACT_LIGHT_NUMBER
The absolute light number of a local light index.
Definition: OgreGpuProgramParams.h:893
Records the state of all the vertex buffer bindings required to provide a vertex declaration with the...
Definition: OgreHardwareVertexBuffer.h:479
const ColourValue & getBackgroundColour(void) const
Gets the background colour.
Definition: OgreViewport.h:213
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:185
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:723
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.
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:212
~Stream()
Definition: OgreLog.h:218
@ BBO_TOP_RIGHT
Definition: OgreBillboardSet.h:60
void setDepthFunction(CompareFunction func)
Sets the function used to compare depth values when depth checking is on.
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:427
bool getCompilationRequired() const
Gets the compilation status of the material.
Definition: OgreMaterial.h:668
void setBlendValue(uint32 x, uint32 y, float val)
Set a single value of blend information (0 = transparent, 255 = solid)
unsigned long getNextFrameNumber(void) const
Gets the number of the next frame to be rendered.
Definition: OgreRoot.h:761
Predefined controller function which just passes through the original source directly to dest.
Definition: OgrePredefinedControllers.h:195
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.
bool isCompressedStreamValid() const
Returns whether the compressed stream is valid deflated data.
Definition: OgreDeflate.h:243
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:177
virtual void setPageRangeMaxX(int32 maxX)
Set the index range of all Pages (values outside this will be ignored)
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false) override
See HardwareBuffer.
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.
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:84
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).
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:291
static D3D11DeviceResourceManager * get()
ColourInterpolatorAffector(ParticleSystem *psys)
Default constructor.
void setGLBufferBinding(GLint binding)
@ PF_DEPTH32F
Depth texture format with 32-bit floating point.
Definition: OgrePixelFormat.h:279
void setMoved(bool value)
Definition: OgrePCZSceneNode.h:104
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:89
const_reference operator[](unsigned idx) const
Definition: OgreSmallVector.h:191
void _notifyEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Notify that an entity material LOD change event has occurred.
virtual void applyDeltaValue(const Vector3 &)
Apply delta value.
Definition: OgreAnimable.h:206
virtual String toString() const
Returns the string representation of this parameter.
Definition: OgreShaderParameter.h:363
void endOcclusionQuery()
Ends the hardware occlusion test.
ValueType
The type of the value being animated.
Definition: OgreAnimable.h:76
int getTrueTypeMaxBearingY() const
Gets the maximum baseline distance of all glyphs used in the texture.
void unregisterPCZoneFactory(PCZoneFactory *factory)
void clearStoredErrorMessages() const
Definition: OgreTinyHardwarePixelBuffer.h:12
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:629
Helper class to assist you in managing multiple terrain instances that are connected to each other.
Definition: OgreTerrainGroup.h:74
String message
Any messages from the process.
Definition: OgreResourceBackgroundQueue.h:56
const String & getName(void) const
Gets the name of this overlay.
virtual ~MetalTextureManager()
static Real UnitRandom()
Generate a random number of unit length.
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:372
const Radian & operator+() const
Definition: OgreMath.h:74
D3D11_BOX getSubresourceBox(const Box &box) const
ControllerReal * createGpuProgramTimerParam(GpuProgramParametersPtr params, size_t paramIndex, Real timeFactor=1.0f)
Creates a controller for passing a frame time value through to a vertex / fragment program parameter.
bool mousePressed(const MouseButtonEvent &evt)
Processes mouse button down events.
HardwareVertexBufferPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false) override
Create a hardware vertex buffer.
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:410
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.
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
void setTextureMipmapBias(float bias)
Sets the bias value applied to the mipmap calculation.
Definition: OgreTextureUnitState.h:709
@ 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:102
void unload()
Unload the terrain and free GPU resources.
void rebindIndexBuffer(const HardwareIndexBufferSharedPtr &indexBuffer)
This function informs the shadow renderable that the global index buffer from the SceneManager has be...
static String DEFAULT_SCHEME_NAME
same as MSN_SHADERGEN
Definition: OgreShaderGenerator.h:444
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
void setColourBlendState(const ColourBlendState &state)
Sets the global blending factors for combining subsequent renders with the existing frame contents.
bool hasShaderBasedTechnique(const Material &mat, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreShaderGenerator.h:269
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:80
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...
bool is3D(void) const
Definition: OgreTextureUnitState.h:520
void setBoneMatrixLookup(bool enable, size_t maxLookupTableInstances)
Sets the state of the usage of bone matrix lookup.
Definition: OgreInstanceBatchVTF.h:174
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
static void * allocate(size_t size, size_t alignment)
Allocate memory with given alignment.
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)
ProcessNameExclusionScriptCompilerEvent(const String &cls, AbstractNode *parent)
Definition: OgreScriptCompiler.h:494
std::vector< uchar > ConstantList
Definition of container that holds the current constants.
Definition: OgreGpuProgramParams.h:385
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:128
@ PF_B8G8R8
24-bit pixel format, 8 bits for blue, green and red.
Definition: OgrePixelFormat.h:80
ConstShadowTextureConfigIterator getShadowTextureConfigIterator() const
void generateAutoconfiguredLodLevels(MeshPtr &mesh)
Generates the Lod levels for a mesh without configuring it.
static D3D9StereoDriverBridge & getSingleton(void)
AnimationStateSet()
Mutex, public for external locking if needed.
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)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool hasParticleSystem(const String &name) const
Returns whether a object instance with the given name exists.
virtual ~Listener()
Virtual destructor needed as class has virtual methods.
Definition: OgreMaterialManager.h:86
void getGraphicsEncoder(void)
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 write(std::ostream &os) const
write the parameter name and the usage mask like this 'color.xyz'
virtual void _updateRenderQueue(RenderQueue *queue, std::vector< Particle * > ¤tParticles, bool cullIndividually)=0
Delegated to by ParticleSystem::_updateRenderQueue.
void _cleanupDepthBuffers(IDirect3DDevice9 *creator)
Structure recording a queued submesh for the build.
Definition: OgreStaticGeometry.h:159
@ CNT_WORD
Definition: OgreScriptCompiler.h:53
void blitFromTexture(MetalTextureBuffer *src, const Box &srcBox, const Box &dstBox)
bool isShadowTechniqueStencilBased(void) const
Is there a stencil shadow based shadowing technique in use?
Definition: OgreSceneManager.h:2751
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.
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.
iterator findExists(const T &item)
Definition: OgreVectorSetImpl.h:108
RenderOperation::OperationType operationType
The render operation type used to render this submesh.
Definition: OgreSubMesh.h:135
@ RSC_COMPUTE_PROGRAM
Supports hardware compute programs.
Definition: OgreRenderSystemCapabilities.h:111
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:194
void abortRequest(BackgroundProcessTicket ticket)
Aborts background process.
uint16 getNativeShadingLanguageVersion() const
Gets the native shading language version for this render system.
Definition: OgreRenderSystem.h:878
void copyFromTemplate(OverlayElement *templateOverlay)
Specialisation of HighLevelGpuProgram to provide support for D3D9 High-Level Shader Language (HLSL).
Definition: OgreD3D9HLSLProgram.h:46
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...
String doGet(const void *target) const
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Definition: OgreTinyRenderSystem.h:92
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:805
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.
std::vector< MovableObject * > ChildObjectList
Contains the child objects (attached to bones) indexed by name.
Definition: OgreEntity.h:305
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:206
int elem_count
Definition: OgreQuake3Types.h:192
std::map< PageID, Page * > PageMap
Definition: OgrePagedWorldSection.h:72
D3D9HardwareBuffer(D3DFORMAT type, size_t sizeInBytes, Usage usage, bool useShadowBuffer)
bool isShadowingEnabled(TechniqueType tt, const Terrain *terrain) const
AutoConstantType paramType
The type of parameter.
Definition: OgreGpuProgramParams.h:1212
@ FT_MIN
The filter used when shrinking a texture.
Definition: OgreCommon.h:94
static uint16 floatToHalf(float i)
Convert a float32 to a float16 (NV_half_float) Courtesy of OpenEXR.
Definition: OgreBitwise.h:308
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.
uint8 elementCount
The number of elements per individual entry in this constant Used in case people used packed elements...
Definition: OgreGpuProgramParams.h:1223
virtual const Element & getChainElement(size_t chainIndex, size_t elementIndex) const
Get the detail of a chain element.
static void packColour(const float r, const float g, const float b, const float a, const PixelFormat pf, void *dest)
This is an overloaded member function, provided for convenience. It differs from the above function o...
static const Real INFINITE_FAR_PLANE_ADJUST
Small constant used to reduce far plane projection to avoid inaccuracies.
Definition: OgreFrustum.h:617
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
virtual ~MetalRenderTexture()
SharedPtr< ControllerFunction< Real > > ControllerFunctionRealPtr
Definition: OgreControllerManager.h:48
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:1009
uint32 getCurrentImageIdx(void) const
Definition: OgreVulkanTextureGpuWindow.h:57
static Radian ATan2(float fY, float fX)
Arc tangent between two values function.
Definition: OgreMath.h:311
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:279
@ PF_DXT1
DDS (DirectDraw Surface) DXT1 format.
Definition: OgrePixelFormat.h:92
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:186
void _cursorPressed(const Ogre::Vector2 &cursorPos)
void autoUpdateLodAll(bool synchronous, const Any &data)
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 _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:284
@ PF_BC5_SNORM
DDS (DirectDraw Surface) BC5 format (signed normalised)
Definition: OgrePixelFormat.h:207
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 ....
void setOrigin(const Vector3 &newOrigin)
Set the origin value.
Definition: OgrePCZFrustum.h:105
Filter
Definition: OgreImage.h:426
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:829
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
std::vector< VkImage > mSwapchainImages
Definition: OgreVulkanWindow.h:79
SharedPtr(const shared_ptr< Y > &r)
Definition: OgreSharedPtr.h:67
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:243
@ ID_SEPARATE_SCENE_BLEND
Definition: OgreScriptCompiler.h:614
A 3x3 matrix which can represent rotations around axes.
Definition: OgreMatrix3.h:69
bool mouseReleased(const MouseButtonEvent &evt)
Processes mouse button up events.
bool operator>(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:245
void _setDepthBufferCheckEnabled(bool enabled=true)
CompositorChain * getChain()
Get Chain that this instance is part of.
void * lockImpl(size_t offset, size_t length, HardwareBuffer::LockOptions options)
Internal implementation of lock()
RenderOperation * getRenderOperation(void)
Retrieve render operation for manipulation.
virtual ~ManualObjectSection()
@ ACT_WORLDVIEW_MATRIX
The current world & view matrices concatenated.
Definition: OgreGpuProgramParams.h:696
Base composition technique, can be subclassed in plugins.
Definition: OgreCompositionTechnique.h:47
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:524
static bool isDirectX9Ex()
Tells whether the system is initialized with DirectX 9Ex driver Read more in http://msdn....
Definition: OgreD3D9RenderSystem.h:333
@ ShaderBased
Any SM 2.0+ InstanceBatchShader
Definition: OgreInstanceManager.h:63
@ PF_ASTC_RGBA_8X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x5)
Definition: OgrePixelFormat.h:260
uint32 num_mipmaps
Definition: OgreImageCodec.h:89
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
void setStencilState(const StencilState &state) override
This method allows you to set all the stencil buffer parameters in one call.
Definition: OgreTinyRenderSystem.h:143
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
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.
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:361
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:1211
Definition: OgreQuake3Types.h:148
void _waitOnFrame(uint8 frameIdx)
void _copySharedParamsToTargetParams() const
Update the target parameters by copying the data from the shared parameters.
size_type capacity() const
Definition: OgreCommon.h:441
bool mVSync
Definition: OgreVulkanWindow.h:69
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
bool setDrawBuffer(const ColourBufferType colourBuffer) const
VertexBufferBinding * vertexBufferBinding
Defines which vertex buffers are bound to which sources.
Definition: OgreVertexIndexData.h:94
const VertexData * vertexData
Pointer to vertex data used by this edge group.
Definition: OgreEdgeListBuilder.h:107
LayerBlendOperation
List of valid texture blending operations, for use with TextureUnitState::setColourOperation.
Definition: OgreBlendMode.h:57
Texturing sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPTexturing.h:54
ushort getFragmentProgramConstantFloatCount(void) const
The number of floating-point 4-vector constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:510
static const uint16 CHUNK_VERSION
Definition: OgreGrid2DPageStrategy.h:142
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.
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:184
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:1140
bool isUnsignedInt() const
Definition: OgreGpuProgramParams.h:175
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 ParticleAffector * createAffector(ParticleSystem *psys)=0
Creates a new affector instance.
std::vector< const Image * > ConstImagePtrList
Definition: OgreImage.h:474
virtual GpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)=0
virtual void detachDepthBuffer()
SharedPtr(std::nullptr_t)
Definition: OgreSharedPtr.h:55
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:709
Real baseError
The smallest allowed geometric error of the highest LOD.
Definition: OgreVolumeChunk.h:64
~Grid3DPageStrategyData()
Definition: OgreSTBICodec.h:48
static void convertColourValue(const ColourValue &colour, uint32 *pDest)
Definition: OgreRenderSystem.h:761
size_t vertexStart
The position in the bound buffers to start reading vertex data from. This allows you to use a single ...
Definition: OgreVertexIndexData.h:98
Rectangle2D(bool includeTextureCoordinates=false, HardwareBuffer::Usage vBufUsage=HBU_GPU_ONLY)
void setHasSky(bool yesno)
If sky should be drawn with this zone.
Definition: OgrePCZone.h:105
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:435
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:61
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 setVisible(bool visible) override
Set the visibility state.
Definition: OgreVulkanWindow.h:119
FilterOptions getTextureFiltering(FilterType ftype) const
Get the texture filtering for the given type.
Definition: OgreTextureUnitState.h:695
unsigned short _rationaliseBoneAssignments(size_t vertexCount, VertexBoneAssignmentList &assignments)
Rationalises the passed in bone assignment list.
Basic parameters panel widget.
Definition: OgreTrays.h:596
void _releaseManualHardwareResources() override
Notifies the movable object that hardware resources were lost.
String DisplayString
Definition: OgreOverlayElement.h:48
void destroy(void)
Destroys the window.
TinyDepthBuffer(uint16 poolId, uint32 width, uint32 height, uint32 fsaa, bool manual)
Definition: OgreTinyDepthBuffer.h:17
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)
@ ID_GEOMETRY_PROGRAM
Definition: OgreScriptCompiler.h:560
Controller< Real > ControllerReal
Definition: OgrePrerequisites.h:88
void setRenderQueueGroup(uint8 grp)
Set the render queue group that terrains will be rendered into.
Definition: OgreTerrain.h:1932
Rectangle2D * getScreenSpaceRect(const String &name) const
Get a reference to a previously created object instance.
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:280
void setLogDetail(LoggingLevel ll)
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 (normalized to -1..1)
Definition: OgreHardwareVertexBuffer.h:155
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:69
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
@ PF_ETC2_RGBA8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:240
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.
virtual T get() const
Definition: OgreProperty.h:241
GLES2FBORenderTexture(GLES2FBOManager *manager, const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa)
virtual const String & getMovableType(void) const
Overridden from MovableObject.
DynamicsWorld(btDynamicsWorld *btWorld)
Definition: OgreBullet.h:100
void _setPosition(Real left, Real top)
Sets the left and top of this element in relation to the screen (where 1.0 = screen width/height)
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:248
int xrel
Definition: OgreInput.h:66
Command object for keep_velocity (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:66
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:478
@ 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:447
unsigned char uchar
In order to avoid finger-aches :)
Definition: OgrePrerequisites.h:59
@ GHA_CENTER
Definition: OgreOverlayElement.h:68
HWND getWindowHandle() const
Definition: OgreD3D9RenderWindow.h:62
GLHardwareVertexBuffer(GLenum target, size_t sizeInBytes, Usage usage, bool useShadowBuffer)
AssignmentAtom(int groupOrder)
Definition: OgreShaderFunctionAtom.h:292
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.
Exception(int number, const String &description, const String &source, const char *type, const char *file, long line)
Advanced constructor.
@ 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
@ ID_SRC_CURRENT
Definition: OgreScriptCompiler.h:730
@ FFP_VS_COLOUR
Definition: OgreShaderFFPRenderState.h:47
Quaternion interpolate(Real t, bool useShortestPath=true)
Returns an interpolated point based on a parametric value over the whole series.
@ 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:1142
void freePooledTextures(bool onlyIfUnreferenced=true)
Free pooled textures from the shared pool (compositor instances still using them will keep them in me...
InterpolationMode getInterpolationMode(void) const
Gets the current interpolation mode of this animation.
PixelBox getPixelBox(uint32 face=0, uint32 mipmap=0) const
Get a PixelBox encapsulating the image data of a mipmap.
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
Quaternion(float *valptr)
Construct a quaternion from 4 manual w/x/y/z values.
Definition: OgreQuaternion.h:96
virtual ~RaySceneQueryListener()
Definition: OgreSceneQuery.h:322
static const ColourValue ZERO
Definition: OgreColourValue.h:60
static CmdAlphaAdjust1 msAlphaCmd1
Definition: OgreColourFaderAffector2.h:191
void setNumMipmaps(uint32 num)
Sets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:153
NumericKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
Definition: OgreInput.h:85
virtual void _notifyParticleEmitted(Particle *particle)
Optional callback notified when particle emitted.
Definition: OgreParticleSystemRenderer.h:79
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.
void setTexcoordStart(uint8 start)
Sets the texcoord index at which the animation should start.
Definition: OgreTextureAnimatorAffector.h:36
@ ANT_OBJECT
Definition: OgreScriptCompiler.h:80
Specialises the SceneQuery class for querying within a sphere.
Definition: OgreSceneQuery.h:283
static const String & BLANK
Definition: OgreString.h:52
Implementation of GL as a rendering system.
Definition: OgreGLRenderSystem.h:58
@ HBU_DYNAMIC
same as HBU_CPU_ONLY
Definition: OgreHardwareBuffer.h:120
Definition: OgreFreeImageCodec.h:86
@ BCT_DOUBLE
Definition: OgreGpuProgramParams.h:56
String doGet(const void *target) const
Class representing a Compositor object.
Definition: OgreCompositor.h:50
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:926
Specialisation of ParticleSystemRenderer to render particles using a BillboardSet.
Definition: OgreBillboardParticleRenderer.h:53
@ ID_LESS_EQUAL
Definition: OgreScriptCompiler.h:627
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.
Class to listen in on items being added to the render queue.
Definition: OgreRenderQueue.h:105
virtual void postqueueEntityMaterialLodChanged(const EntityMaterialLodChangedEvent &evt)
Called after an entity's material LOD has changed.
Definition: OgreLodListener.h:199
ParameterPtr resolveLocalParameter(GpuConstantType type, const String &name)
Resolve local parameter of this function.
void destroyWidget(const Ogre::String &name)
Definition: OgreTrays.h:1006
const Vector4 & getShadowSceneDepthRange(size_t index) const
TerrainLayerSamplerList samplers
Definition: OgreTerrainMaterialGenerator.h:133
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:422
virtual ProgramWriter * create(void)=0
Create writer instance.
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:326
virtual PageID getID() const
Get the ID of this page, unique within the parent.
Definition: OgrePage.h:106
virtual ID3D11RenderTargetView * getRenderTargetView(uint index=0) const
bool load(const DataStreamPtr &source, Mesh *mesh, SkeletonPtr &skeletonPtr, const Options &options=Options())
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:1083
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
void setBillboardType(BillboardType bbt)
Sets the orientation behaviour of the billboards to render.
Definition: OgreBillboardSet.h:590
VectorImpl::value_type value_type
Definition: OgreCommon.h:401
void setShadowTextureSettings(uint16 size, uint16 count, PixelFormat fmt=PF_BYTE_RGBA, uint16 fsaa=0, uint16 depthBufferPoolId=1)
Sets the size and count of textures used in texture-based shadows.
Definition: OgreSceneManager.h:2883
const float * ptr() const
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:134
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.
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op=SBO_ADD, SceneBlendOperation alphaOp=SBO_ADD)
Definition: OgreRenderSystem.h:601
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:884
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.
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.
VulkanDescriptorPool(const std::vector< VkDescriptorPoolSize > &poolSizes, VkDescriptorSetLayout layout, VulkanDevice *device)
static String toString(bool val, bool yesNo=false)
Converts a boolean to a String.
void swap(SmallVectorImpl &RHS)
Definition: OgreSmallVector.h:598
@ ID_CMPFUNC
Definition: OgreScriptCompiler.h:708
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:246
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:1001
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.
bool requiresTextureFlipping() const
Vulkan clip space has inverted Y axis compared to OpenGL.
Definition: OgreVulkanWindow.h:128
static String FACTORY_TYPE_NAME
Definition: OgreBillboardSet.h:818
void _setDepthBufferParams(bool depthTest, bool depthWrite, CompareFunction depthFunction) override
Sets the mode of operation for depth buffer tests from this point onwards.
@ ID_POINTS
Definition: OgreScriptCompiler.h:655
virtual void finalize(LodData *data)
@ ACT_FOG_COLOUR
Fog colour.
Definition: OgreGpuProgramParams.h:737
Quaternion orientation
Only used when mFaceCamera == false.
Definition: OgreBillboardChain.h:99
void getComputeEncoder(void)
static String FACTORY_TYPE_NAME
Definition: OgreEntity.h:862
void setAnimatedTextureName(const String &name, size_t numFrames, Real duration=0)
Sets the names of the texture images for an animated texture.
void decode(const DataStreamPtr &input, const Any &output) const override
Codes the data from the input chunk into the output chunk.
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:837
void setCurrentLightList(const LightList *ll)
Sets the light list that should be used, and it's base index from the global list.
UnifiedHighLevelGpuProgramFactory()
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.
Definition: OgrePass.h:788
Command object for inner size (see ParamCommand).
Definition: OgreHollowEllipsoidEmitter.h:63
@ GCT_FLOAT4
Definition: OgreGpuProgramParams.h:74
@ 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:324
bool isRemoved
Definition: OgreLodData.h:118
void textureCoord(float u, float v)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:290
std::map< size_t, GpuLogicalIndexUse > GpuLogicalIndexUseMap
Definition: OgreGpuProgramParams.h:367
virtual bool isReadable() const
Reports whether this stream is readable.
Definition: OgreDataStream.h:92
static const uint32 CHUNK_ID
Definition: OgreTerrainGroup.h:518
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:269
unsigned char * mLumpStart
Definition: OgreQuake3Level.h:120
Texture surface.
Definition: OgreMetalHardwarePixelBuffer.h:85
Bone(const String &name, unsigned short handle, Skeleton *creator)
Constructor, not to be used directly (use Bone::createChild or Skeleton::createBone)
KeyFrame * getKeyFrame(size_t index) const
Returns the KeyFrame at the specified index.
Definition: OgreAnimationTrack.h:153
virtual void setValue(const Vector4 &)
Set value.
Definition: OgreAnimable.h:168
Out(ParameterPtr p)
Definition: OgreShaderFunctionAtom.h:170
unsigned int getMisses()
Definition: OgreVertexIndexData.h:321
Ogre::Overlay * getCursorLayer()
Definition: OgreTrays.h:774
unsigned short boneIndex
Definition: OgreVertexBoneAssignment.h:53
~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.
void _setLogicalIndexes(const GpuLogicalBufferStructPtr &indexMap)
Internal method for providing a link to a logical index->physical index map for parameters.
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
void setDefaultDimensions(Real width, Real height)
Sets the default dimensions of the billboards in this set.
Definition: OgreBillboardSet.h:485
DriverVersion getDriverVersion() const
Definition: OgreRenderSystemCapabilities.h:334
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:488
bool getAutomaticColour() const
Retrieves if the clear colour is automatically set to the background colour of the original viewport.
virtual void swapBuffers()
Swaps the frame buffers to display the next frame.
Definition: OgreRenderTarget.h:158
Definition: OgreLodConfig.h:44
std::vector< ParameterPtr > ShaderParameterList
Definition: OgreShaderPrerequisites.h:77
OperationType operationType
The type of operation to perform.
Definition: OgreRenderOperation.h:120
bool hasTextureAliases(void) const
Definition: OgreSubMesh.h:196
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)
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.
@ PM_WIREFRAME
Polygons are drawn in outline only.
Definition: OgreCommon.h:206
void windowMovedOrResized() override
Query the current size and position from an external window handle.
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:203
GpuConstantType getType() const
Get the type of this parameter.
Definition: OgreShaderParameter.h:348
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.
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
Initialize the render system from the capabilities.
void attachRenderTarget(RenderTarget &target)
Attaches the passed render target to the render system.
void create(PixelFormat format, uint32 width, uint32 height, uint32 depth=1, uint32 numFaces=1, uint32 numMipMaps=0)
allocates a buffer of given size if needed
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 ...
void findGraphicsQueue(FastArray< uint32 > &inOutUsedQueueCount)
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
Resource(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Standard constructor.
@ ID_TWO_SIDED
Definition: OgreScriptCompiler.h:829
@ ID_INPUT
Definition: OgreScriptCompiler.h:777
GLES2FBOMultiRenderTarget(GLES2FBOManager *manager, const String &name)
virtual void encodeToFile(const MemoryDataStreamPtr &input, const String &outFileName, const CodecDataPtr &pData) const
Definition: OgreImageCodec.h:99
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
static RayTestResult intersects(const Ray &ray, const std::vector< Plane > &planeList, bool normalIsOutside)
Ray / convex plane list intersection test.
VkInstance mInstance
Definition: OgreVulkanDevice.h:51
PageContentFactory * getContentFactory(const String &name)
Get a PageContentFactory.
static const T * rawOffsetPointer(const T *ptr, ptrdiff_t offset)
Returns raw offsetted of the given pointer.
Definition: OgreOptimisedUtil.h:214
void mergePolygons(void)
Merges all neighboring polygons into one single polygon if they are lay in the same plane.
static uint8 getBlendTextureCount(uint8 numLayers)
Get the number of blend textures needed for a given number of layers.
Definition: OgreTerrain.h:1368
FontType getType(void) const
Gets the type of font.
void removeSoftwareAnimationRequest(bool normalsAlso)
Removes a request for software animation.
const TexturePtr & getTextureInstance(const String &name, size_t mrtIndex)
Get the instance of a global texture.
OgreBites::WindowEventListener WindowEventListener
Definition: OgreWindowEventUtilities.h:163
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:278
void recalcTangents(void)
Recalculates the tangents associated with this spline.
AnimationStateSet * getParent(void) const
Get the parent animation state set.
Definition: OgreAnimationState.h:132
String logObjectInfo(const String &msg, GLuint obj)
If there is a message in GL info log then post it in the Ogre Log.
size_t alignToNextMultiple(size_t offset, size_t alignment)
Aligns the input 'offset' to the next multiple of 'alignment'.
Definition: OgreMetalPrerequisites.h:83
void Attach(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:221
@ CBT_BACK_RIGHT
Definition: OgreCommon.h:337
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:256
virtual ~GpuProgram()
Definition: OgreGpuProgram.h:148
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:465
static PropertyType getTypeForValue(const Matrix3 &val)
Definition: OgreProperty.h:171
void reinterpretGSForStreamOut(void)
unsigned char * mLightmaps
Definition: OgreQuake3Level.h:152
AccessMode
Definition: OgreDataStream.h:68
void * getUserData(void)
Get & set the user data.
Definition: OgrePCZone.h:245
ParticleVisualData * _createVisualData(void)
Definition: OgreParticleSystemRenderer.h:87
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:292
@ SPC_TANGENT_VIEW_SPACE
Tangent in view space.
Definition: OgreShaderParameter.h:257
WorkQueue::RequestID BackgroundProcessTicket
Identifier of a background process.
Definition: OgreResourceBackgroundQueue.h:48
@ SPC_POSITION_LIGHT_SPACE6
Definition: OgreShaderParameter.h:104
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:81
virtual void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
Definition: OgreGpuProgram.h:317
std::array< GLSLShaderCommon *, GPT_COUNT > GLShaderList
Definition: OgreGLSLProgramCommon.h:54
virtual ~GLES2HardwareBufferManager()
String getRightBorderUVString() const
const OverlayContainerList & get2DElements() const
Returns all 2D elements in this manager.
Definition: OgreOverlay.h:261
void TransferOwnership(ID3D11DeviceN *device)
static uint32 halfToFloatI(uint16 y)
Converts a half in uint16 format to a float in uint32 format.
Definition: OgreBitwise.h:368
TerrainLayerSamplerSemantic semantic
The semantic this element represents.
Definition: OgreTerrainMaterialGenerator.h:75
virtual ~FunctionAtom()
Class default destructor.
Definition: OgreShaderFunctionAtom.h:196
void customStageEnded()
This event is fired when a custom loading stage has been completed.
Definition: OgreTrays.h:1128
void _fireLoadingComplete(bool unused=false)
Firing of loading complete event.
void pop_back()
Definition: OgreCommon.h:501
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:173
ShadowRenderable()
Definition: OgreShadowCaster.h:65
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESProgramCommon.h:44
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:58
void addEffect(TextureEffect &effect)
Generic method for setting up texture effects.
float isRandomStartOffset(void) const
Definition: OgreTextureAnimatorAffector.h:56
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:347
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.
static String _resolveIncludes(const String &source, Resource *resourceBeingLoaded, const String &fileName, bool supportsFilename=false)
Scan the source for #include and replace with contents from OGRE resources.
Real arg2
Definition: OgreTextureUnitState.h:317
static PCZoneFactoryManager & getSingleton(void)
Get the singleton instance.
This affector applies a force vector to all particles to modify their trajectory.
Definition: OgreLinearForceAffector.h:56
uint8 getBlendTextureCount() const
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:485
const Any & getData() const
Return the response data (user defined, only valid on success)
Definition: OgreWorkQueue.h:146
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:102
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:693
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:218
void setLastVisibleFrame(unsigned long frameCount)
Set the lastVisibleFrame counter.
Definition: OgrePCZone.h:112
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:52
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:84
@ ID_FAIL_OP
Definition: OgreScriptCompiler.h:820
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.
void enableTextureCoordGen(GLenum type)
Enable the specified texture coordinate generation option for the currently active texture unit.
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
virtual String getAsString(void)
Returns a String containing the entire stream.
unsigned int getSize()
Definition: OgreVertexIndexData.h:322
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:104
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgrePass.h:912
CullingMode getCullingMode(void) const
Returns the culling mode for geometry rendered with this pass.
Definition: OgrePass.h:852
PageContentCollectionFactory * getContentCollectionFactory(const String &name)
Get a PageContentCollectionFactory.
void _updateBoundsFromVertexBuffers(bool pad=false)
Automatically update the bounding radius and bounding box for this Mesh.
Definition: OgreVulkanDevice.h:41
virtual Animation * getAnimation(const String &name) const =0
Retrieve an animation by name.
bool scissoring
Scissoring if requested?
Definition: OgreSceneManager.h:399
virtual Real getParticleVelocity(void) const
Returns the initial velocity of particles emitted.
int getIndex() const
Get the index of this parameter.
Definition: OgreShaderParameter.h:354
TextAreaOverlayElement(const String &name)
Constructor.
@ ID_PLANAR
Definition: OgreScriptCompiler.h:739
virtual ~LodWorkQueueInjector()
const String & getTargetLanguage() const
Definition: OgreShaderProgramProcessor.h:62
Definition: OgreScriptCompiler.h:526
BspSceneNode(SceneManager *creator, const String &name)
Definition: OgreBspSceneNode.h:61
bool hasColourWriteDisabled(void) const
Exists colour writing disabled pass on this technique?
float Dot(const Quaternion &rkQ) const
Returns the dot product of the quaternion.
Definition: OgreQuaternion.h:206
PCZone * getNewHomeZone()
Get the Zone the Portal should be moved to.
Definition: OgrePortalBase.h:117
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:3040
MapIterator< ResourceManagerMap > ResourceManagerIterator
Definition: OgreResourceGroupManager.h:258
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:87
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:434
ControllerReal * createTextureAnimator(TextureUnitState *layer, Real sequenceTime)
Creates a texture layer animator controller.
bsp_plane_t * mPlanes
Definition: OgreQuake3Level.h:140
std::multimap< Real, Vertex * > CollapseCostHeap
Definition: OgreLodData.h:69
@ FB_AUTO
Definition: OgreRenderTarget.h:88
void setActiveShader(GpuProgramType type, GLSLShader *shader)
Set the shader for the next rendering state.
PageID calculatePageID(int32 x, int32 y, int32 z)
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.
This affector makes it possible to have an animated texture for each individual particle.
Definition: OgreTextureAnimatorAffector.h:24
virtual void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
Definition: OgreRenderSystem.h:710
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.
Definition: OgrePass.h:284
void setGlobalColourMapEnabled(bool enabled, uint16 size=0)
Set whether a global colour map is enabled.
void logResults()
Outputs current profile statistics to the log.
@ PF_PVRTC_RGB2
PVRTC (PowerVR) RGB 2 bpp.
Definition: OgrePixelFormat.h:137
DefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, Usage=HBU_CPU_ONLY)
Definition: OgreDefaultHardwareBufferManager.h:64
@ ID_KEEP
Definition: OgreScriptCompiler.h:821
void _setLodUsage(unsigned short level, const MeshLodUsage &usage)
Internal methods for loading LOD, do not use.
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 current GuiMetricsMode.
virtual bool isSupported(bool allowTextureDegradation)
Determine if this technique is supported on the current rendering device.
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=HBU_GPU_ONLY, HardwareBuffer::Usage ibUsage=HBU_CPU_TO_GPU, bool vbUseShadow=true, bool ibUseShadow=true)
Creates a Bezier patch based on an array of control vertices.
void clear()
Clear the cache.
Definition: OgreDeflate.h:146
const IlluminationPassList & getIlluminationPasses()
Gets the illumination-stage categorised passes.
void destroyManualObject(MovableObject *obj)
Removes & destroys a ManualObject from the SceneManager.
Definition: OgreSceneManager.h:1526
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...
CreateGpuProgramCallback callback
Definition: OgreGLGpuProgramManager.h:45
void _setPointParameters(bool attenuationEnabled, Real minSize, Real maxSize)
void addFactory(GpuProgramFactory *factory)
Add a new factory object for programs of a given language.
@ SBO_REVERSE_SUBTRACT
Definition: OgreBlendMode.h:251
static String FACTORY_TYPE_NAME
Definition: OgreBillboardChain.h:368
@ PF_R3G3B2
8-bit pixel format, 2 bits blue, 3 bits green, 3 bits red.
Definition: OgrePixelFormat.h:123
@ PROP_UNKNOWN
Definition: OgreProperty.h:123
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: OgreDeprecated.h:40
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:1014
bool isAttributeValid(VertexElementSemantic semantic, uint index)
Test whether attribute index for a given semantic is valid.
virtual ~ArchiveFactory()
Definition: OgreArchiveFactory.h:62
void setSceneBlending(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
Allows very fine control of blending every Pass with the existing contents of the scene.
@ IT_16BIT
Definition: OgreHardwareIndexBuffer.h:50
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:203
String doGet(const void *target) const
HardwareBufferPtr HardwareUniformBufferSharedPtr
Definition: OgrePrerequisites.h:299
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
VSOutputCompactPolicy
Definition: OgreShaderPrerequisites.h:81
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:147
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters)
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:213
void performStoreActions()
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:255
void setMaterial(const MaterialPtr &mat)
Overridden from SimpleRenderable.
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
Definition: OgreTinyRenderSystem.h:127
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.
void normal(float x, float y, float z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:247
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.
@ 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:102
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
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:43
std::vector< TerrainLayerSampler > TerrainLayerSamplerList
Definition: OgreTerrainMaterialGenerator.h:125
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.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information.
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:91
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
@ PF_R8_SNORM
8-bit pixel format, 8 bits red (signed normalised int).
Definition: OgrePixelFormat.h:220
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:719
Definition: OgreD3D11Driver.h:41
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:57
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:810
Factory for OctreeSceneManager.
Definition: OgreOctreeSceneManager.h:227
Class encapsulating a set of AnimationState objects.
Definition: OgreAnimationState.h:200
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed) override
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
@ RSC_HWOCCLUSION_ASYNCHRONOUS
D3D11: Supports asynchronous hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:186
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:393
bool operator==(const TerrainLayerSamplerElement &e) const
Definition: OgreTerrainMaterialGenerator.h:81
void setSourceModifier(unsigned short index, SourceModifier modType, int customNum)
Set the source modifier parameters for a given texture unit.
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:1242
static float Cos(float fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:344
void rotate(const Quaternion &q, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an arbitrary 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:296
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.
float getShininess(void) const
Gets the 'shininess' property of the pass (affects specular highlights).
Definition: OgrePass.h:412
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:320
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
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:77
A pose is a linked set of vertex offsets applying to one set of vertex data.
Definition: OgrePose.h:57
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:142
@ ID_PARAM_INDEXED
Definition: OgreScriptCompiler.h:585
void install()
Perform the plugin initial installation sequence.
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, unsigned short stencil=0)
virtual void _update(void)
Overridden from OverlayElement.
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:997
ChunkParameters * getChunkParameters(void)
Gets the parameters with which the chunktree got loaded.
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:214
void getMetrics(unsigned int &width, unsigned int &height, int &left, int &top) const
Overloaded version of getMetrics from RenderTarget, including extra details specific to windowing sys...
void setSubroutine(GpuProgramType gptype, unsigned int slotIndex, const String &subroutineName)
bool writeG
Definition: OgreBlendMode.h:272
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 loading order for 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
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for Pages in this world.
Definition: OgrePagedWorld.h:173
FunctionAtomInstanceList::const_iterator FunctionAtomInstanceConstIterator
Definition: OgreShaderFunctionAtom.h:319
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:655
StencilOperation depthStencilPassOp
The action to take when both the stencil and depth check pass.
Definition: OgreRenderSystem.h:118
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:307
RingEmitter(ParticleSystem *psys)
int type
Definition: OgreInput.h:86
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
unsigned long ulong
Definition: OgrePrerequisites.h:62
MapIterator(typename T::iterator start, typename T::iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:326
RenderTarget * getRenderTarget(const String &name, int slice=0)
Get the render target for a given render texture name.
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED_ARRAY
Array of light diffuse colours scaled by light power (count set by extra param)
Definition: OgreGpuProgramParams.h:823
void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
bool isLoadingBarVisible()
Definition: OgreTrays.h:939
void _update(void)
Internal method to update the element based on transforms applied.
void toggle(bool notifyListener=true)
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:142
Encapsulates a node in a BSP tree.
Definition: OgreBspNode.h:59
WorkQueue * getWorkQueue() const
Get the WorkQueue for processing background tasks.
Definition: OgreRoot.h:885
const StringVector & getScriptPatterns(void) const override
Gets the file patterns which should be used to find scripts for this class.
Definition: OgreResourceManager.h:381
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.
void bindToFramebuffer(uint32 attachment, uint32 zoffset) override
Bind surface to frame buffer.
bool scalingShearingSupport
Definition: OgreShaderExHardwareSkinning.h:70
void setMaximumY(Real y)
Definition: OgreAxisAlignedBox.h:206
@ SPC_POSTOLIGHT_TANGENT_SPACE7
Definition: OgreShaderParameter.h:169
const Vector3 & getDirection(void) const
std::map< String, OverlayElement * > ChildMap
Definition: OgreOverlayContainer.h:58
DistanceLodStrategyBase(const String &name)
Default constructor.
Real getCosTime_0_2Pi(Real x) const
static RenderSystemCapabilitiesManager * getSingletonPtr(void)
Get the singleton instance.
static Radian Sign(const Radian &rValue)
Definition: OgreMath.h:378
uint32 getWidth() const
Gets the width of this buffer.
Definition: OgreHardwarePixelBuffer.h:184
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.
virtual void destroyInstance(SubRenderState *subRenderState)
Destroy the given instance.
void setSkyBoxEnabled(bool enable)
Enables / disables a 'sky box'.
Definition: OgreSceneManager.h:2034
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:103
bool restoreConfig(void)
Checks for saved video/sound/etc settings.
Real getFrameDelay(void) const
Definition: OgrePredefinedControllers.h:71
~D3D9HardwareBufferManager()
Definition: OgreSTBICodec.h:77
@ SBF_SOURCE_ALPHA
The texel alpha value.
Definition: OgreBlendMode.h:238
virtual ~InstancedEntity()
void lock(const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:447
void setTimeFactor(Real tf)
Set the relative speed to update frame time based controllers.
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
virtual void buildConstantDefinitions() override
Build the constant definition map, must be overridden.
void setTime(Real timeVal)
Set the time value manually.
uint32 ABGR
Definition: OgreColourValue.h:43
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual, ManualResourceLoader *loader, const NameValuePairList *createParams, HardwareBuffer::Usage vertexBufferUsage, HardwareBuffer::Usage indexBufferUsage=HBU_GPU_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 shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
String doGet(const void *target) const
Definition: OgreStringInterface.h:92
@ SPC_LIGHTDIRECTION_VIEW_SPACE7
Definition: OgreShaderParameter.h:199
virtual void setStencilState(const StencilState &state)=0
This method allows you to set all the stencil buffer parameters in one call.
virtual Real getLoadRadius() const
Get the loading radius.
Definition: OgreGrid3DPageStrategy.h:141
void setTextureType(TextureType ttype)
Sets the type of texture; can only be changed before load()
Definition: OgreTexture.h:139
virtual ~ScriptLoader()
Definition: OgreScriptLoader.h:62
size_t getSize(void) const
Default implementation of IntersectionSceneQuery.
Definition: OgreSceneManager.h:3434
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:312
void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
int getTargetLodLevel() const
Definition: OgreTerrain.h:1831
Collection of renderables by priority.
Definition: OgreRenderQueueSortingGrouping.h:240
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...
virtual void _notifyParticleMoved(std::vector< Particle * > ¤tParticles)
Optional callback notified when particles moved.
Definition: OgreParticleSystemRenderer.h:83
Specialized SceneNode that is customized for working within an Octree.
Definition: OgreOctreeNode.h:67
static void setDefaultVisibilityFlags(uint32 flags)
Set the default visibility flags for all future MovableObject instances.
Definition: OgreMovableObject.h:437
static bool isSampler(GpuConstantType c)
Definition: OgreGpuProgramParams.h:182
virtual ~CPreprocessor()
Destroy the preprocessor object.
Definition: OgreGLRenderSystemCommon.h:42
void _setDepthClamp(bool enable)
Clamp depth values to near and far plane rather than discarding.
@ 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 injectMovableObject(MovableObject *m)
Inject a MovableObject instance created externally.
DebugDrawer * getDebugDrawer() const
Definition: OgreSceneManager.h:1418
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:195
void setSplitPassesByLightingType(bool split)
Sets whether or not the queue will split passes by their lighting type, ie ambient,...
Definition: OgreRenderQueueSortingGrouping.h:345
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:493
@ VET_SHORT2_NORM
signed shorts (normalized to -1..1)
Definition: OgreHardwareVertexBuffer.h:157
const Ogre::DisplayString & getCaption()
Definition: OgreTrays.h:251
static ShadowCameraSetupPtr create()
Definition: OgreShadowCameraSetup.h:90
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.
void _notifyDeviceStalled(void)
void mul(const In &arg0, const In &arg1, const Out &dst) const
dst = arg0 * arg1;
Definition: OgreShaderFunction.h:79
Definition: OgreAssimpLoader.h:54
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.
@ ID_CAMERA
Definition: OgreScriptCompiler.h:851
float getHeightAtPoint(uint32 x, uint32 y) const
Get the height data for a given terrain point.
void copyData(HardwareBuffer &srcBuffer)
Copy all data from another buffer into this one.
Definition: OgreHardwareBuffer.h:339
This is a abstract class that that provides the interface for the query class for hardware occlusion.
Definition: OgreHardwareOcclusionQuery.h:52
void removeListener(ProfileSessionListener *listener)
Unregister a ProfileSessionListener from the Profiler.
static uint16 uint16Cast(size_t t)
saturated cast of size_t to uint16
Definition: OgreMath.h:392
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.
Definition: OgreBillboardParticleRenderer.h:97
float width
Definition: OgreBillboardChain.h:94
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:203
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:154
Definition: OgreLodCollapseCost.h:44
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:428
General purpose class used for encapsulating the reading and writing of data.
Definition: OgreDataStream.h:65
Specialisation of HardwareBuffer for a vertex buffer.
Definition: OgreHardwareVertexBuffer.h:49
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:97
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:53
void setVertex(const Vector3 &vdata, size_t vertexIndex)
Sets a specific vertex of a polygon.
~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:661
virtual void _notifyBeforeIlluminationPassesCleared(Technique *mat)
Internal method for sorting out illumination passes for a scheme.
virtual void setValue(const Vector3 &)
Set value.
Definition: OgreAnimable.h:164
bool isShadowTechniqueAdditive(void) const
Is there an additive shadowing technique in use?
Definition: OgreSceneManager.h:2760
GPUDeviceNameRule()
Definition: OgreTechnique.h:138
std::list< SceneQuery::WorldFragment * > SceneQueryResultWorldFragmentList
Definition: OgreSceneQuery.h:203
@ ACT_VIEWPROJ_MATRIX
The current view & projection matrices concatenated.
Definition: OgreGpuProgramParams.h:681
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
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 setAutoHardwareBufferManagement(bool autoManagement)
Set automatic hardware buffers management.
Definition: OgreD3D9HardwareBufferManager.h:48
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:172
int TrackVertexColourType
An enumeration describing which material properties should track the vertex colours.
Definition: OgreCommon.h:298
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
virtual ~D3D9StereoDriverNVIDIA()
static ParameterPtr createOutTexcoord(GpuConstantType type, int index, Parameter::Content content)
virtual void addListener(Listener *lis)
Register a listener on this resource.
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
Definition: OgreSharedPtr.h:40
bool frameStarted(const FrameEvent &evt) override
Called when a frame is about to begin rendering.
@ GCT_SAMPLER_EXTERNAL_OES
Definition: OgreGpuProgramParams.h:82
uchar * getCurrentPtr(void)
Get a pointer to the current position in the memory block this stream holds.
Definition: OgreDataStream.h:321
virtual ~ShadowTextureListener()
Definition: OgreSceneManager.h:131
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:1399
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.
A viewpoint from which the scene will be rendered.
Definition: OgreCamera.h:86
virtual void load()=0
Load - will be called in main thread.
static void _initialisePool()
Initialise the internal polygon pool used to minimise allocations.
size_t getCompositorPosition(const String &name) const
Get compositor position by name. Returns NPOS if not found.
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:96
@ ID_AMBIENT
Definition: OgreScriptCompiler.h:597
void setGlobalInstanceVertexBufferVertexDeclaration(VertexDeclaration *val)
Sets vertex declaration for the global vertex buffer for the global instancing.
Definition: OgreGLES2HardwarePixelBuffer.h:37
@ CMPF_GREATER
Write if (new_Z >= existing_Z)
Definition: OgreCommon.h:70
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.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
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:338
~PixelBox()
Definition: OgrePixelFormat.h:353
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, unsigned short stencil=0)
shared_ptr< UniformParameter > UniformParameterPtr
Definition: OgreShaderPrerequisites.h:76
virtual ~QueuedRenderableVisitor()
Definition: OgreRenderQueueSortingGrouping.h:73
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:421
unsigned short getMaxSimultaneousLights(void) const
Gets the maximum number of lights to be used by this pass.
Definition: OgrePass.h:1073
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.
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:205
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:243
SharedPtr< RenderToVertexBuffer > RenderToVertexBufferPtr
Definition: OgrePrerequisites.h:288
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:50
ResourcePool(const String &name)
Definition: OgreLodData.h:55
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:363
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:2120
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
ZoneIterator getZoneIterator(void)
Definition: OgrePCZSceneManager.h:311
Real getShadowDirectionalLightExtrusionDistance(void) const
Gets the distance a shadow volume is extruded for a directional light.
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:236
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
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:128
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
Definition: OgreBorderPanelOverlayElement.h:240
LoaderParams
Definition: OgreAssimpLoader.h:72
@ RENDER_QUEUE_2
Definition: OgreRenderQueue.h:59
const String & getName() const
Returns the name of the rendering system.
Singleton wrapper for hardware buffer manager.
Definition: OgreHardwareBufferManager.h:389
std::map< String, ZoneData * > ZoneDataMap
Definition: OgrePCZSceneNode.h:49
void setAlphaToCoverageEnabled(bool enabled)
Sets whether to use alpha to coverage (A2C) when blending alpha rejected values.
Definition: OgrePass.h:1021
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:332
bool isDebugDisplayEnabled(void) const
Gets whether debug display of this object is enabled.
Definition: OgreMovableObject.h:562
@ OR_LANDSCAPELEFT
Definition: OgreFrustum.h:56
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:1021
virtual SceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
virtual ~ZipArchiveFactory()
Definition: OgreZip.h:59
void setShadowTextureSelfShadow(bool selfShadow)
Sets whether or not texture shadows should attempt to self-shadow.
SharedPtr< MemoryDataStream > MemoryDataStreamPtr
Definition: OgrePrerequisites.h:285
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:440
@ CE_REFERENCETOANONEXISTINGOBJECT
Definition: OgreScriptCompiler.h:205
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()
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreTechnique.h:695
uint32 getHeight()
Definition: OgreGLPBuffer.h:48
void setSamplerBinding(bool enable)
Definition: OgreGLSLShader.h:52
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.
Definition: OgreViewport.h:66
~Program()
Class destructor.
_OgreExport const char *const RGN_AUTODETECT
Special resource group name which causes resource group to be automatically determined based on searc...
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
@ ID_TARGET_OUTPUT
Definition: OgreScriptCompiler.h:775
bool getLightScissoringEnabled() const
Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are...
Definition: OgrePass.h:1429
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
void add3D(SceneNode *node)
Adds a node capable of holding 3D objects to the overlay.
static VkInstance createInstance(FastArray< const char * > &extensions, FastArray< const char * > &layers, PFN_vkDebugReportCallbackEXT debugCallback)
OperationType
The rendering operation type to perform.
Definition: OgreRenderOperation.h:48
IDirect3DPixelShader9 * getPixelShader(void)
Gets the pixel shader.
void clip(const Plane &pl, bool keepNegative=true)
Clips the object by the positive half space of a plane.
void colour(const ColourValue &col)
Add a vertex colour to a vertex.
Definition: OgreManualObject.h:340
void setDefaultGlobalColourMapSize(uint16 sz)
Set the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2009
Real normalise(void)
Normalises the plane.
Definition: OgrePlane.h:216
static const Quaternion ZERO
Definition: OgreQuaternion.h:341
void _writeRawConstant(size_t physicalIndex, const TransformBaseReal *m, size_t numEntries)
Write a list of Matrix4 parameters to the program.
const ColourValue getLightSpecularColourWithPower(size_t index) const
Real noise(Real xIn, Real yIn, Real zIn) const
3D noise function.
float getDepthClear(void) const
Gets the default depth buffer value to which the viewport is cleared.
Definition: OgreViewport.h:222
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 setCustomStagesForResourceGroup(const String &group, uint32 stageCount)
Declare the number custom loading stages for a resource group.
void setLodLevels(const LodValueList &lodValues)
Sets the distance at which level-of-detail (LOD) levels come into effect.
size_t getSize() const
Returns the size of the data buffer in bytes.
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.
bool resourceExists(const String &group, const String &filename) const
Find out if the named file exists in a group.
@ GCT_UINT1
Definition: OgreGpuProgramParams.h:110
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:264
A factory class for creating types of world section.
Definition: OgrePagedWorldSection.h:302
@ FRUSTUM_PLANE_TOP
Definition: OgreFrustum.h:75
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:515
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.
SharedPtr< GpuProgramParameters > GpuProgramParametersPtr
Definition: OgrePrerequisites.h:279
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:1056
GLFrameBufferObjectCommon * getFBO()
Definition: OgreGLES2FBORenderTexture.h:58
virtual void clear(void)
Completely clear the contents of the object.
int getHighestLodLoaded()
Definition: OgreTerrainLodManager.h:119
void setCompositeMapAmbient(const ColourValue &c)
Set the composite map ambient light to use.
Definition: OgreTerrain.h:1893
@ ACT_SINTIME_0_1
Sine of "Time0_1". Equivalent to RenderMonkey's "SinTime0_1".
Definition: OgreGpuProgramParams.h:980
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...
void setUserData(void *userData)
Definition: OgrePCZone.h:246
Factory class for Vulkan programs.
Definition: OgreVulkanProgram.h:68
Lightweight struct to represent a mesh vertex.
Definition: OgreVolumeMeshBuilder.h:48
reverse_iterator rend()
Definition: OgreSmallVector.h:172
Real mExtent
Definition: OgreSegment.h:73
@ BOTH_SIDE
Definition: OgrePlane.h:100
static const uint16 WORKQUEUE_CHANGECOLLECTION_REQUEST
Definition: OgrePage.h:185
@ ID_SAMPLER_REF
Definition: OgreScriptCompiler.h:847
SceneBlendOperation getSceneBlendingOperation() const
Returns the current blending operation.
Definition: OgrePass.h:718
GLContext * getContext() const
Get the GL context that needs to be active to render to this target.
Definition: OgreGL3PlusFBORenderTexture.h:57
PCZPlaneBoundedVolumeListSceneQuery(SceneManager *creator)
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:57
void setForceApplication(ForceApplication fa)
Sets how the force vector is applied to a particle.
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
@ TAM_BORDER
Texture coordinates outside the range [0.0, 1.0] are set to the border colour.
Definition: OgreCommon.h:129
float getFogDensity(void) const
Returns the fog density for this pass.
Definition: OgrePass.h:981
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...
@ ID_GEOMETRY_PROGRAM_REF
Definition: OgreScriptCompiler.h:566
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:222
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:123
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 object instance 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
@ ID_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:680
@ CE_OBJECTNAMEEXPECTED
Definition: OgreScriptCompiler.h:199
VertexData * vertexData
Dedicated vertex data (only valid if useSharedVertices = false).
Definition: OgreSubMesh.h:77
@ ACT_TANTIME_0_X
Tangent of "Time0_X". Equivalent to RenderMonkey's "TanTime0_X".
Definition: OgreGpuProgramParams.h:967
uint16 getClearStencil() const
Get the viewport clear stencil value (defaults to 0)
void setMaterialScheme(const String &schemeName)
Set the material scheme used by this pass.
virtual ~AxisAlignedBoxSceneQuery()
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.
bool useOneWeight() const
Definition: OgreInstanceBatchVTF.h:195
std::list< T >::const_iterator const_iterator
Definition: OgreDeprecated.h:57
virtual ~ScriptCompilerEvent()
Definition: OgreScriptCompiler.h:346
Listener()
Definition: OgreSceneManager.h:322
static const String & DEFAULT_RESOURCE_GROUP
Definition: OgreOverlayElement.h:105
void endSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:306
virtual bool canGenerateUsingDeclaration(const TerrainLayerDeclaration &decl)
Whether this generator can generate a material for a given declaration.
Definition: OgreTerrainMaterialGenerator.h:268
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:299
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.
@ ID_PREVIOUS
Definition: OgreScriptCompiler.h:778
DepthBuffer * getDepthBuffer() const
const Vector3 & getInitialPosition(void) const
Gets the initial position of this node, see setInitialState for more info.
Definition: OgreNode.h:588
A way of recording the way each LODs is recorded this Mesh.
Definition: OgreMesh.h:955
String doGet(const void *target) const
virtual void initialise()=0
Perform any tasks the plugin needs to perform on full system initialisation.
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.
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:1562
void setInUse(bool used)
Sets whether the entity is in use.
Abstract class that defines a 'codec'.
Definition: OgreCodec.h:56
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:38
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:3386
@ PF_ASTC_RGBA_5X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x5)
Definition: OgrePixelFormat.h:254
void setPosition(Real left, Real top)
Sets the position of the top-left corner in relation to the current GuiMetricsMode (where 0 = top).
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:317
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:81
Abstract class defining the interface to be implemented by creators of ParticleEmitter subclasses.
Definition: OgreParticleEmitterFactory.h:57
virtual StreamSerialiser * readWorldStream(const String &filename)
Get a serialiser set up to read PagedWorld data for the given world filename.
Definition: OgrePageManager.h:99
SharedPtr< D3D11Texture > D3D11TexturePtr
Definition: OgreD3D11Prerequisites.h:125
Vector operator-(const Vector &b) const
Definition: OgreVector.h:709
const SmallVectorImpl & operator=(const SmallVectorImpl &RHS)
Definition: OgreSmallVector.h:637
static BaseConstantType getBaseType(GpuConstantType ctype)
Definition: OgreGpuProgramParams.h:187
std::vector< RenderWindow * > RenderWindowList
Render window container.
Definition: OgreCommon.h:842
@ 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:942
WorkQueue()
Definition: OgreWorkQueue.h:224
const LODBucketList & getLODBuckets() const
Get an list of the LODs in this region.
Definition: OgreStaticGeometry.h:411
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:100
void setImageFence(VkFence fence)
Definition: OgreVulkanWindow.h:144
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:376
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.
void drawWireBox(const AxisAlignedBox &aabb, const ColourValue &colour=ColourValue::White)
Allows the rendering of a wireframe bounding box.
MaterialPtr generate(const Terrain *terrain)
Generate / reuse a material for the terrain.
GuiHorizontalAlignment getHorizontalAlignment(void) const
Gets the horizontal alignment for this element.
Definition: OgreOverlayElement.h:398
@ ID_ALPHA_TO_COVERAGE
Definition: OgreScriptCompiler.h:634
PagedWorldSection * getSection(const String &name)
Retrieve a section of the world.
void setPointSize(GLfloat size)
MapIterator< Instances > SceneManagerIterator
Definition: OgreSceneManagerEnumerator.h:180
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:289
virtual void _destroyVao(GLContext *context, uint32 vao)
Destroy VAO immediately or defer if it was created on other context.
Definition: OgreGLRenderSystemCommon.h:138
void setGeometryProgramNumOutputVertices(int numOutputVertices)
Set the number of vertices a single geometry program run can emit.
Definition: OgreRenderSystemCapabilities.h:603
void rotate(const Vector3 &axis, const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an arbitrary axis.
Definition: OgreNode.h:419
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:193
String doGet(const void *target) const
LodOutputProviderCompressedMesh(MeshPtr mesh)
void unlockImpl()
Internal implementation of unlock()
void destroyBillboardChain(MovableObject *obj)
Removes & destroys a BillboardChain from the SceneManager.
Definition: OgreSceneManager.h:1569
HollowEllipsoidEmitter(ParticleSystem *psys)
const Vector3 getCorner2(void) const
Gets the coordinate of corner 2.
Definition: OgreVolumeOctreeNode.h:467
std::list< PCZone * > PCZoneList
Definition: OgrePCZone.h:54
void setNumMultiRenderTargets(ushort num)
The number of simultaneous render targets supported.
Definition: OgreRenderSystemCapabilities.h:391
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:84
const AxisAlignedBox & getBoundingBox(void) const
Get the AABB (local coords) of this node.
Definition: OgreTerrainQuadTreeNode.h:225
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:369
This class is used to perform Resource operations in a background thread.
Definition: OgreResourceBackgroundQueue.h:85
Technique * getParent(void) const
Gets the parent Technique.
Definition: OgrePass.h:1164
bool watchForMax(void)
Definition: OgreProfiler.h:158
void addShadowTextureListener(ShadowTextureListener *s)
Add a listener which will get called back on shadow texture events.
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.
GuiMetricsMode getMetricsMode(void) const
Retrieves the current settings of how the element metrics are interpreted.
Definition: OgreOverlayElement.h:380
unsigned short getNumPoints(void) const
Gets the number of control points in the spline.
const Radian & getRotation(void) const
Definition: OgreParticle.h:107
virtual const String & getMovableType(void) const override
Returns the type name of this object.
@ SPC_POSITION_LIGHT_SPACE4
Definition: OgreShaderParameter.h:102
@ D3D_TEX_TYPE_CUBE
cube texture
Definition: OgreD3D9Mappings.h:50
float getLineWidth() const
Definition: OgrePass.h:441
@ VET_FLOAT2
Definition: OgreHardwareVertexBuffer.h:126
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 ...
Definition: OgreViewport.h:257
@ 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 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.
PCZSceneManager * mPCZSM
Pointer to the pcz scene manager that created this zone.
Definition: OgrePCZone.h:252
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:1061
Terrain * getNeighbour(NeighbourIndex index) const
Retrieve the terrain's neighbour, or null if not present.
MetalRenderTexture(MetalDevice *ownerDevice, const String &name, HardwarePixelBuffer *buffer, __unsafe_unretained id< MTLTexture > renderTexture, __unsafe_unretained id< MTLTexture > resolveTexture, PixelFormat format, uint32 depthPlane, uint32 slice, uint32 fsaa, uint32 mip, bool hwGamma)
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:106
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
Vector3 & getPrevPosition(void)
Definition: OgrePCZSceneNode.h:93
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.
MovableObject * movableObject
The movable object whose level of detail has changed.
Definition: OgreLodListener.h:47
static UINT _getAccessFlags(TextureUsage usage)
Definition: OgreD3D11Mappings.h:83
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:803
Implementation of a dual quaternion, i.e.
Definition: OgreDualQuaternion.h:48
TextureDefinition()
Definition: OgreCompositionTechnique.h:82
uint32 getNumFaces() const
Return the number of faces this texture has.
int type
Definition: OgreInput.h:64
@ IRS_RENDER_TO_TEXTURE
Render to texture stage, used for texture based shadows.
Definition: OgreSceneManager.h:275
DebugDrawer(SceneNode *node, btDynamicsWorld *world)
Definition: OgreBullet.h:119
static Radian Abs(const Radian &rValue)
Absolute value function.
Definition: OgreMath.h:285
Real getAnimationDuration(void) const
Get the animated-texture animation duration.
SceneQueryMovableWorldFragmentIntersectionList movables2world
List of movable / world intersections.
Definition: OgreSceneQuery.h:483
ParticleSystem * createTemplate(const String &name, const String &resourceGroup)
Create a new particle system template.
void destroyParticleSystem(MovableObject *obj)
Removes & destroys a ParticleSystem from the SceneManager.
Definition: OgreSceneManager.h:1657
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:516
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D9GpuProgram.h:68
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
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.
LayerBlendSource
List of valid sources of values for blending operations used in TextureUnitState::setColourOperation ...
Definition: OgreBlendMode.h:113
void blitToMemory(const Box &srcBox, const PixelBox &dst) override
Copies a region of this pixelbuffer to normal memory.
ParticleSystem * getParticleSystem(const String &name) const
Get a reference to a previously created object instance.
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:131
GL3PlusRenderToVertexBuffer()
VSOutputCompactPolicy getVertexShaderOutputsCompactPolicy() const
Get the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:419
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:78
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:239
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.
VkImage getDisplayTextureName(void) const
Definition: OgreVulkanTextureGpu.h:166
@ ID_THREAD_GROUPS
Definition: OgreScriptCompiler.h:848
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)
virtual Real getSquaredRenderingDistance(void) const
Gets the squared distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:626
void setVerbose(bool v)
Sets whether this manager and its resources habitually produce log output.
Definition: OgreResourceManager.h:389
Interface for visualising debugging the SceneManager state.
Definition: OgreSceneManager.h:3423
String refCompName
Definition: OgreCompositionTechnique.h:68
ColourFaderAffector(ParticleSystem *psys)
Default constructor.
Utility class to handle Window Messages.
Definition: OgreWindowEventUtilities.h:107
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareVertexBuffer.h:66
virtual void _endFrame(void)
Ends rendering of a frame to the current viewport.
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
static const uint32 CHUNK_ID
Definition: OgreGrid3DPageStrategy.h:124
@ MANUAL_CULL_NONE
No culling so everything is sent to the hardware.
Definition: OgreCommon.h:175
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:345
virtual void getRenderOperation(RenderOperation &op) override
Gets the render operation required to send this object to the frame buffer.
@ ID_CONTENT_TYPE
Definition: OgreScriptCompiler.h:761
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:66
VulkanTextureGpu * mDepth
Definition: OgreVulkanRenderPassDescriptor.h:80
LightList * _getLightList()
Returns a pointer to the current list of lights for this object.
Definition: OgreMovableObject.h:493
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:1899
MemoryDataStream(const DataStreamPtr &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a stream which pre-buffers the contents of another stream.
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:63
~VertexCacheProfiler()
Definition: OgreVertexIndexData.h:311
@ 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.
void encodeToFile(const Any &input, const String &outFileName) const override
Codes the data in the input chunk and saves the result in the output filename provided.
virtual void setValue(int)
Set value.
Definition: OgreAnimable.h:152
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
Converts a uniform projection matrix to suitable for this render system.
@ EncoderGraphicsOpen
Definition: OgreVulkanQueue.h:65
Holds the results of an intersection scene query (pair values).
Definition: OgreSceneQuery.h:479
virtual void _setDepthBufferWriteEnabled(bool enabled=true)
Definition: OgreRenderSystem.h:708
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:237
@ SPC_POSTOCAMERA_OBJECT_SPACE
View vector in object space.
Definition: OgreShaderParameter.h:120
void setLightingEnabled(bool enabled)
Sets whether or not dynamic lighting is enabled.
@ SO_FLAT
No interpolation takes place. Each face is shaded with a single colour determined from the first vert...
Definition: OgreCommon.h:137
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:385
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.
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.
std::vector< VkImageView > mSwapchainImageViews
Definition: OgreVulkanWindow.h:80
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:61
PixelFormat format
The format required of this texture.
Definition: OgreTerrainMaterialGenerator.h:108
Specialized frustum shaped culling volume that has culling planes created from portals.
Definition: OgrePCZFrustum.h:67
std::map< String, ParticleSystemRendererFactory * > ParticleSystemRendererFactoryMap
Definition: OgreParticleSystemManager.h:80
void calculateCell(PageID inPageID, int32 *x, int32 *y)
void setLightCountAutoUpdate(bool autoUpdate)
Set the light count auto update state.
Definition: OgreShaderRenderState.h:103
@ EncoderCopyOpen
Definition: OgreVulkanQueue.h:67
Implements the plane optimal shadow camera algorithm.
Definition: OgreShadowCameraSetupPlaneOptimal.h:63
TransformSpace
Enumeration denoting the spaces which a transform can be relative to.
Definition: OgreNode.h:63
@ GCT_UINT3
Definition: OgreGpuProgramParams.h:112
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 * DYNLIB_HANDLE
Definition: OgreDynLib.h:49
void present(D3D9RenderWindow *renderWindow)
bool isPointAttenuationEnabled(void) const
Returns whether points are attenuated with distance.
Definition: OgrePass.h:504
virtual void clearScene(void)
Overridden to clean up zones.
void _setBoundingSphereRadius(Real radius)
Manually set the bounding radius.
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:73
ImageData()
Definition: OgreImageCodec.h:79
@ SBF_ONE
Constant value of 1.0.
Definition: OgreBlendMode.h:231
@ VET_SHORT3
Definition: OgreHardwareVertexBuffer.h:132
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.
void position(float x, float y, float z)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreManualObject.h:230
Command object for inner size (see ParamCommand).
Definition: OgreRingEmitter.h:66
ParticleEmitterFactory()
Definition: OgreParticleEmitterFactory.h:61
virtual ~LiSPSMShadowCameraSetup()
int getSoftwareAnimationRequests(void) const
Returns the number of requests that have been made for software animation.
Definition: OgreEntity.h:617
void setEnclosureNode(PCZSceneNode *)
Set the enclosure node for this Zone.
ControllerReal * createTextureUVScroller(TextureUnitState *layer, Real speed)
Creates a basic time-based texture uv coordinate modifier designed for creating scrolling textures.
Definition: OgreVulkanRenderPassDescriptor.h:77
VulkanProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, VulkanDevice *device)
ConstVectorIterator< ShadowTextureConfigList > ConstShadowTextureConfigIterator
Definition: OgreSceneManager.h:76
@ ID_SCOPE_CHAIN
Definition: OgreScriptCompiler.h:786
struct mz_stream_s z_stream
Definition: OgreDeflate.h:39
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:310
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.
@ PF_ATC_RGBA_EXPLICIT_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:246
bool isLoaded(void) const
Is this loaded?
AnimationContainer * getContainer()
Retrieve the container of this animation.
const Sphere & getDerivedSphere() const
Get the sphere centered on the derived CP of the portal in world coordinates.
Definition: OgrePortalBase.h:137
High level interface of Direct3D9 Device.
Definition: OgreD3D9Device.h:43
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.
SamplerPtr createSampler(const String &name=BLANKSTRING)
create a new sampler
@ GPU_UNKNOWN
Definition: OgreRenderSystemCapabilities.h:232
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:218
String doGet(const void *target) const
Definition: OgreStringInterface.h:107
bool isHardwareGammaEnabled() const
Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
Definition: OgreTexture.h:203
@ SPC_LIGHTDIRECTION_VIEW_SPACE1
Definition: OgreShaderParameter.h:193
virtual void setSortByDistance(bool sort, ushort maxresults=0)
Sets whether the results of this query will be sorted by distance along the ray.
virtual void detachDepthBuffer()
unsigned short getStartLight(void) const
Gets the light index that this pass will start at in the light list.
Definition: OgrePass.h:1087
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.